当前浏览的是 v7 预览版文档(v7 尚未正式发布,API 可能随版本调整)。本页是 v7 新增内容,去 v6 正式版文档首页
@ikenxuan/amagi

单个作品详细信息

取快手作品详情。要图集预渲染地址等完整版字段时用 `videoWorkFull`。

GET
/api/kuaishou/fetch_one_work

Authorization

bearerAuth
AuthorizationBearer <token>

仅在 startServer 传了 token 时生效

In: header

Query Parameters

photoId*string

作品 ID

Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/api/kuaishou/fetch_one_work?photoId=string"
{  "success": true,  "data": {    "counts": {      "collectionCount": 0,      "fanCount": 0,      "followCount": 0,      "photoCount": 0    },    "photo": {      "adminTags": [        null      ],      "caption": "string",      "commentCount": 0,      "commentShowType": 0,      "coverUrls": [        {          "cdn": "string",          "url": "string"        }      ],      "duration": 0,      "exp_tag": "string",      "ext_params": {        "color": "string",        "h": 0,        "interval": 0,        "mtype": 0,        "sound": 0,        "video": 0,        "w": 0      },      "forcePublic": "string",      "forwardCount": 0,      "headUrl": "string",      "headUrls": [        {          "cdn": "string",          "url": "string"        }      ],      "height": 0,      "kwaiId": "string",      "likeCount": 0,      "mainMvUrls": [        {          "cdn": "string",          "url": "string"        }      ],      "manifest": {        "adaptationSet": [          {            "duration": 0,            "id": 0,            "representation": [              {                "agc": true,                "avgBitrate": 0,                "backupUrl": [                  "string"                ],                "bitratePattern": [                  0                ],                "colorInfo": {                  "bright": 0,                  "contrast": 0,                  "saturation": 0,                  "yMean": 0,                  "yMeanMax": 0,                  "yMeanMin": 0                },                "comment": "string",                "defaultSelect": true,                "disableAdaptive": true,                "featureP2sp": true,                "fileSize": 0,                "frameRate": 0,                "hdrType": 0,                "height": 0,                "hidden": true,                "id": 0,                "kvqScore": {                  "FR": 0,                  "FRPost": 0,                  "NR": 0,                  "NRPost": 0,                  "blur": 0,                  "nnvcScore": 0,                  "sharpness": 0,                  "srModelVersion": "string"                },                "makeupGain": 0,                "maxBitrate": 0,                "minorInfo": "string",                "mute": true,                "normalizeGain": 0,                "oriLoudness": 0,                "p2spCode": "string",                "quality": 0,                "qualityLabel": "string",                "qualityType": "string",                "realLoudness": 0,                "realNormalizeGain": 0,                "url": "string",                "videoCodec": "string",                "volumeInfo": {                  "chCorr": 0,                  "loudness": 0,                  "lra": 0,                  "lraHigh": 0,                  "lraLow": 0,                  "lraTh": 0,                  "th": 0,                  "tp": 0                },                "width": 0              }            ]          }        ],        "audioFeature": {          "audioClip": 0,          "audioQuality": 0,          "audioSnr": 0,          "backgroundSoundProbability": 0,          "dialogProbability": 0,          "effectiveBandwidthInHz": 0,          "musicProbability": 0,          "stereophonicRichness": 0        },        "businessType": 0,        "hideAuto": true,        "manualDefaultSelect": true,        "mediaType": 0,        "playInfo": {          "bizType": 0,          "cdnTimeRangeLevel": 0,          "strategyBus": "string"        },        "stereoType": 0,        "version": "string",        "videoFeature": {          "avgEntropy": 0,          "blockyProbability": 0,          "blurProbability": 0,          "capSrc": 0,          "contrast": 0,          "mosScore": 0,          "overExposed": 0,          "underExposed": 0,          "yMean": 0,          "yMeanMax": 0,          "yMeanMin": 0        },        "videoId": "string"      },      "photoId": "string",      "photoStatus": 0,      "photoType": "string",      "sameFrame": {        "allow": true,        "availableDepth": 0      },      "serverExpTag": "string",      "shareCount": 0,      "share_info": "string",      "singlePicture": true,      "soundTrack": {        "artist": "string",        "audioType": 0,        "audioUrls": [          {            "cdn": "string",            "url": "string"          }        ],        "avatarUrls": [          {            "cdn": "string",            "url": "string"          }        ],        "disableEnhancedEntry": true,        "finalStatus": 0,        "genreId": 0,        "hasCopyright": true,        "id": 0,        "imageUrls": [          {            "cdn": "string",            "url": "string"          }        ],        "isOffline": true,        "loudness": 0,        "name": "string",        "photoCount": 0,        "photoId": 0,        "type": 0,        "usageCount": 0,        "user": {          "eid": "string",          "following": true,          "headurl": "string",          "headurls": [            {              "cdn": "string",              "url": "string"            }          ],          "kwaiId": "string",          "user_id": 0,          "user_name": "string",          "user_sex": "string",          "visitorBeFollowed": true        }      },      "tagShow": {        "bannerType": 0,        "bizId": "string",        "type": 0,        "usedCount": "string"      },      "timestamp": 0,      "type": 0,      "userEid": "string",      "userId": 0,      "userName": "string",      "userSex": "string",      "verified": true,      "viewCount": 0,      "webpCoverUrls": [        {          "cdn": "string",          "url": "string"        }      ],      "width": 0    },    "result": 0,    "serialInfo": {      "msg": null,      "serialId": null,      "serialType": null,      "show": true,      "title": null,      "valid": true    }  },  "error": {    "kind": "validation",    "code": "string",    "message": "string",    "retryable": true,    "platform": {      "code": "string",      "message": "string"    },    "http": {      "status": 0,      "statusText": "string"    },    "issues": [      {        "path": "string",        "message": "string",        "received": null      }    ]  },  "message": "string",  "meta": {    "requestId": "string",    "clientId": "string",    "platform": "douyin",    "endpoint": "string",    "durationMs": 0,    "attempts": 0,    "trace": [      {        "url": "string",        "method": "string",        "status": 0,        "durationMs": 0,        "reason": "initial",        "retryOf": "string"      }    ]  },  "requestPath": "/api/bilibili/fetch_one_video?bvid=BV1xx"}