⑫ BytedToken 换取 GroupId
POST /v1/real-avatar/groups/from-token
概览
| Method | POST |
|---|---|
| Path | /v1/real-avatar/groups/from-token |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 87318197 |
参数
{ "path": [], "query": [], "cookie": [], "header": [] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "required": [ "model", "BytedToken" ], "properties": { "model": { "type": "string", "description": "路由选择参数(固定传此值)", "enum": [ "doubao-seedance-2-0-260128", "doubao-seedance-2-0-fast-260128" ], "examples": [ "doubao-seedance-2-0-260128" ] }, "BytedToken": { "type": "string", "description": "接口⑪ Result.BytedToken(须在 120 秒内调用)", "examples": [ "202603311449168C23BA26XXXXXXXX" ] } }, "x-apifox-orders": [ "model", "BytedToken" ] }, "mediaType": "application/json", "oasExtensions": "", "required": true, "additionalContentTypes": [] }
响应
[ { "id": 179405463, "name": "", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": { "ResponseMetadata": { "type": "object", "properties": { "RequestId": { "type": "string", "examples": [ "20260601191715C9DAA092032F19CEC367" ] }, "Action": { "type": "string", "examples": [ "CreateAssetGroup" ] }, "Version": { "type": "string", "examples": [ "2024-01-01" ] }, "Service": { "type": "string", "examples": [ "ark" ] }, "Region": { "type": "string", "examples": [ "cn-beijing" ] }, "Error": { "type": "object", "properties": { "Code": { "type": "string", "examples": [ "AccessDenied" ] }, "Message": { "type": "string" } }, "x-apifox-orders": [ "Code", "Message" ] } }, "x-apifox-orders": [ "RequestId", "Action", "Version", "Service", "Region", "Error" ] }, "Result": { "type": "object", "properties": { "GroupId": { "type": "string", "description": "真人素材组 ID,后续接口⑥上传使用", "examples": [ "group-20260331145705-xxxxx" ] } }, "x-apifox-orders": [ "GroupId" ] } }, "x-apifox-orders": [ "ResponseMetadata", "Result" ] }, "itemSchema": {}, "description": "成功,返回真人 GroupId", "mediaType": "application/json", "headers": [], "oasExtensions": "" } ]