Avatar
Create Task
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Request Body
Avatar Reference Image
- Support inputting image Base64 encoding or image URL (ensure accessibility).
Base64 Encoding Note:
Please note, if you use the Base64 method, make sure all image data parameters you pass are in Base64 encoding format. When using Base64, do NOT add any prefix like data:image/png;base64,. Only provide the Base64-encoded string.
Correct:
Incorrect:
- Supported image formats: .jpg / .jpeg / .png
- Image file size ≤ 10MB, dimensions ≥ 300px, aspect ratio between 1:2.5 ~ 2.5:1
Audio ID Generated via TTS API
- Only supports audio generated within the last 30 days, duration between 2-300 seconds
- Either
audio_idorsound_filemust be provided (mutually exclusive)
Sound File
- Supports Base64-encoded audio or accessible audio URL
- Accepted formats: .mp3/.wav/.m4a/.aac, max 5MB, format mismatch or file too large will return error codes and other information
- Duration must be between 2-300 seconds
- Either
audio_idorsound_filemust be provided (mutually exclusive)
- System will verify audio content and return error codes if there are problems
Positive text prompt
- Can be used to define avatar actions, emotions, and camera movements
- Cannot exceed 2500 characters
Video generation mode
std: Standard Mode, cost-effective
pro: Professional Mode, higher quality video output
Different model versions and video modes have different support ranges. For details, see Capability Map
Whether to generate watermarked results simultaneously
- Defined by the enabled parameter, format:
- true: generate watermarked result, false: do not generate
- Custom watermarks are not currently supported
The callback notification address for the result of this task. If configured, the server will actively notify when the task status changes
- For the specific message schema, see Callback Protocol
Customized Task ID
- Will not overwrite system-generated task ID, but can be used for task queries
- Must be unique within a single user account
Query Task (Single)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Path Parameters
Task ID for avatar, fill the value directly in the request path
Customized Task ID for avatar. Fill the value directly in the request path. Choose either task_id or external_task_id for querying.
Query Task (List)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Query Parameters
Page number
- Value range: [1, 1000]
Number of items per page
- Value range: [1, 500]