Create Task
POST
/ent/v2/multiframeQuery Creations
GET
/ent/v2/tasks/{id}/creationsOne-click Solutions
Authorizationstring*Replace {your api key} with your token
Bearer <YOUR_API_KEY>start_imagestring*First-frame image
Note 1: Supports a Base64-encoded image or an image URL (ensure it is accessible);
Note 2: Only 1 image is supported. The input image will be used as the first frame to generate the multi-frame video;
Note 3: Supported image formats: png, jpeg, jpg, and webp;
Note 4: The image aspect ratio must be less than 1:4 or 4:1;
Note 5: The image size must not exceed 50 MB;
Note 6: Please note that the byte length after Base64 decoding must be less than 10 MB, and the encoding must include an appropriate content-type string
data:image/pngwm_urlstringAuthorizationstring*Replace {your api key} with your token
Token {your api key}idstring*idstring*Task ID, returned upon successful creation by the task creation API
Watermark content, specified here as a watermark image URL
If watermarking is enabled but no custom watermark URL is provided, the default watermark "AI-generated content" is used
This parameter is invalid if no watermark is added
meta_datastringMetadata identifier, a JSON-formatted string. This is a pass-through field; you can use a custom format or the example format shown below:
{
"Label": "your_label",
"ContentProducer": "your_content_producer",
"ContentPropagator": "your_contetn_propagator",
"ProduceID": "your_product_id",
"PropagateID": "your_propagate_id",
"ReservedCode1": "your_reserved_code1",
"ReservedCode2": "your_reserved_code2"
}
If this parameter is empty, the metadata identifier generated by Vidu is used by default
callback_urlstringCallback protocol
You need to explicitly set callback_url when creating a task. The request method is POST. When the video generation task status changes, Vidu will send a callback request containing the task's latest status to this address. The callback request body has the same structure as the response body of the Query Task API
The "status" returned in the callback includes the following states:
- processing: Task is being processed
- success: Task completed (if delivery fails, the callback is retried three times)
- failed: Task failed (if delivery fails, the callback is retried three times)
Vidu uses a callback signature algorithm for authentication. For details, see: Callback Signature Algorithm
resolutionstringVideo resolution. The default is 720p; available values: 360p, 540p, 720p, and 1080p
watermarkbooleanWhether to add a watermark
- true: Add a watermark;
- false: Do not add a watermark;
Note: The watermark text is currently fixed as "AI-generated content". No watermark is added by default
wm_positionstringWatermark position. The default is bottom-left. The enum values are as follows:
- top_left: Top-left
- top_right: Top-right
- bottom_right: Bottom-right
- bottom_left: Bottom-left
- This parameter is invalid if no watermark is added
modelstringModel name
Available values: `viduq2-turbo` and `viduq2-pro`
payloadstringPass-through parameter
No processing is performed; the data is only transmitted
Note: Up to 1,048,576 characters
image_settingsarray*Smart multi-frame configuration; up to 9 frames per task
promptstringPrompt for continuing from the previous image, used to control the content of the extended video
key_imagestring*Reference image for the intermediate frame
The model uses the image in this parameter as the **last frame** to generate the video.
Note 1: Supports a Base64-encoded image or an image URL (ensure it is accessible);
Note 2: Only 1 image is supported at a time;
Note 3: The input order is the timeline order (from the first frame to the last frame);
Note 4: Supported image formats: png, jpeg, jpg, and webp;
Note 5: The image aspect ratio must be less than 1:4 or 4:1;
Note 6: The image size must not exceed 50 MB;
Note 7: Please note that the byte length after Base64 decoding must be less than 10 MB, and the encoding must include an appropriate content-type string
data:image/pngdurationintegerMulti-frame duration
Video duration between different keyframes. The default is 5 s; available values are 2–7 s
application/jsonResponse fields
idstringTask ID
statestringProcessing status
Optional values:
created: Created successfully
queueing: Task queued
processing: Task processing
success: Task succeeded
failed: Task failed
err_codestringError code; see the error code table for details
creditsintegerNumber of credits consumed by this task, unit: credits
payloadThe passthrough parameter provided when this task was invoked
bgmbooleanWhether this task invocation used background music
off_peakbooleanWhether this task invocation used off-peak mode
creationsarrayGeneration results
idstringGeneration ID, used to identify different generated results
urlstringGeneration URL, valid for 24 hours
cover_urlstringGeneration cover image, valid for 24 hours
watermarked_urlstringWatermarked generation URL, valid for 24 hours
application/jsonResponse fields
start_imagestring*First-frame image parameter used in this request
wm_urlstringWatermark content used for this task
created_atstringTask creation time
creditsstringNumber of credits used for this request
resolutionstringResolution of the video output for this task
watermarkbooleanWhether a watermark is used for this task
wm_positionstringWatermark position used for this task
payloadstringPass-through parameter provided in this request
image_settingsarray*Multi-frame configuration used in this request
promptstringPrompt used for this task
key_imagestringLast-frame image parameter used in this request
data:image/pngdurationintegerDuration used in this request
task_idstringTask ID generated by Vidu
statestringProcessing status
Available values:
created: Created successfully
queueing: Task is queued
processing: Task is being processed
success: Task succeeded
failed: Task failed
meta_datastringMetadata identifier information used for this task
curl --request POST \
--url 'https://api.vidu.cn/ent/v2/multiframe' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
"start_image": "data:image/png",
"wm_url": "string",
"meta_data": "string",
"callback_url": "string",
"resolution": "1080p",
"watermark": true,
"wm_position": "string",
"model": "viduq2-turbo",
"payload": "string",
"image_settings": [
{
"prompt": "your_prompt1",
"key_image": "data:image/png",
"duration": 5
}
]
}'{
"task_id": "your_task_id",
"state": "success",
"model": "viduq2-turbo",
"start_image": "your_start_image",
"image_settings": [
{
"key_image": "your_key_image1",
"prompt": "",
"duration": 5
},
{
"key_image": "your_key_image2",
"prompt": "",
"duration": 5
},
{
"key_image": "your_key_image3",
"prompt": "",
"duration": 5
},
{
"key_image": "your_key_image4",
"prompt": "",
"duration": 5
},
{
"key_image": "your_key_image5",
"prompt": "",
"duration": 5
}
],
"resolution": "1080p",
"watermark": false,
"wm_url": "",
"wm_position": "unspecified",
"meta_data": "",
"payload": "",
"credits": 40,
"created_at": "2025-11-11T03:07:57.538965937Z"
}curl --request GET \
--url 'https://api.vidu.com/ent/v2/tasks/{your_id}/creations' \
--header 'Authorization: Token {your api key}' \
--header 'Content-Type: application/json'{
"id":"your_task_id",
"state": "success",
"err_code": "",
"credits": 4,
"payload": "",
"creations": [
{
"id": "your_creations_id",
"url": "your_generated_results_url",
"cover_url": "your_generated_results_cover_url",
"watermarked_url": "your_generated_results_watermarked_url"
}
]
}