① 创建素材组
POST /v1/private-avatar/groups
概览
| Method | POST |
|---|---|
| Path | /v1/private-avatar/groups |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 87318195 |
参数
{ "path": [], "query": [], "cookie": [], "header": [] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "required": [ "model", "Name" ], "properties": { "model": { "type": "string", "description": "路由选择参数(固定传此值)", "enum": [ "doubao-seedance-2-0-260128", "doubao-seedance-2-0-fast-260128" ], "examples": [ "doubao-seedance-2-0-260128" ] }, "Name": { "type": "string", "description": "素材组名称(必填)", "examples": [ "my_virtual_group" ] }, "Description": { "type": "string", "description": "素材组描述(可选)", "examples": [ "可选描述" ] }, "GroupType": { "type": "string", "default": "AIGC", "description": "虚拟人像固定 AIGC,可省略", "examples": [ "AIGC" ] } }, "x-apifox-orders": [ "model", "Name", "Description", "GroupType" ] }, "mediaType": "application/json", "oasExtensions": "", "required": true, "additionalContentTypes": [], "examples": [ { "mediaType": "application/json", "value": "{\n \"model\": \"doubao-seedance-2-0-260128\",\n \"Name\": \"my_virtual_group\",\n \"Description\": \"可选描述\",\n \"GroupType\": \"AIGC\"\n}" } ] }
响应
[ { "id": 191824377, "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": { "Id": { "type": "string", "description": "GroupId,后续接口使用", "examples": [ "group-20260601191715-9q47m" ] } }, "x-apifox-orders": [ "Id" ] } }, "x-apifox-orders": [ "ResponseMetadata", "Result" ] }, "itemSchema": {}, "description": "创建成功(透传火山响应)", "mediaType": "application/json", "headers": [], "oasExtensions": "" } ]