Upload an asset
Upload an asset to a real-person or virtual-character asset group with the Doubao Action format.
Upload a publicly accessible image, video, or audio file to the specified asset group. A 200 response only means the upload request has been accepted. Continue retrieving the asset until its status changes to Active or Failed.
An asset in a real-person asset group must match the verified face. A mismatch causes the asset to enter the failed state and return FaceMismatch.
/v1/assets/doubao/The upload request is processed asynchronously. A successful response only means the task was accepted; continue calling GetAsset to retrieve its status.
Authorization
bearerAuth In: header
Query Parameters
Always CreateAsset.
"CreateAsset"Value in
- "CreateAsset"
API version, always 2024-01-01.
"2024-01-01"Value in
- "2024-01-01"
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json