AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Video generationSeedance

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.

POST/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
AuthorizationBearer <token>

In: header

Query Parameters

Action*"CreateAsset"

Always CreateAsset.

Default"CreateAsset"

Value in

  • "CreateAsset"
Version*"2024-01-01"

API version, always 2024-01-01.

Default"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