curl --request POST \
--url https://api.comfy.org/proxy/vidu/start-end2video \
--header 'Content-Type: application/json' \
--data '
{
"aspect_ratio": "<string>",
"audio": true,
"audio_type": "all",
"bgm": true,
"callback_url": "<string>",
"duration": 123,
"enhance": true,
"images": [
"<string>"
],
"is_rec": true,
"meta_data": "<string>",
"model": "<string>",
"movement_amplitude": "auto",
"off_peak": true,
"payload": "<string>",
"priority": 123,
"prompt": "<string>",
"resolution": "<string>",
"seed": 123,
"style": "general",
"voice_id": "<string>",
"watermark": true,
"wm_position": 123,
"wm_url": "<string>"
}
'{
"credits": 123,
"state": "created",
"task_id": "<string>",
"aspect_ratio": "<string>",
"bgm": true,
"created_at": "2023-11-07T05:31:56Z",
"duration": 123,
"images": [
"<string>"
],
"model": "<string>",
"movement_amplitude": "auto",
"off_peak": true,
"payload": "<string>",
"prompt": "<string>",
"resolution": "<string>",
"seed": 123,
"style": "general",
"watermark": true
}curl --request POST \
--url https://api.comfy.org/proxy/vidu/start-end2video \
--header 'Content-Type: application/json' \
--data '
{
"aspect_ratio": "<string>",
"audio": true,
"audio_type": "all",
"bgm": true,
"callback_url": "<string>",
"duration": 123,
"enhance": true,
"images": [
"<string>"
],
"is_rec": true,
"meta_data": "<string>",
"model": "<string>",
"movement_amplitude": "auto",
"off_peak": true,
"payload": "<string>",
"priority": 123,
"prompt": "<string>",
"resolution": "<string>",
"seed": 123,
"style": "general",
"voice_id": "<string>",
"watermark": true,
"wm_position": 123,
"wm_url": "<string>"
}
'{
"credits": 123,
"state": "created",
"task_id": "<string>",
"aspect_ratio": "<string>",
"bgm": true,
"created_at": "2023-11-07T05:31:56Z",
"duration": 123,
"images": [
"<string>"
],
"model": "<string>",
"movement_amplitude": "auto",
"off_peak": true,
"payload": "<string>",
"prompt": "<string>",
"resolution": "<string>",
"seed": 123,
"style": "general",
"watermark": true
}Enable direct audio-video generation capability (default true for q3 model)
Audio type when audio is true: all (sound effects + vocals), speech_only, sound_effect_only. Ineffective for q3 model
all, speech_only, sound_effect_only Add background music to generated video (ineffective for q3 model)
Callback URL for task status updates
Video duration in seconds. viduq3-pro: 1-16, viduq2-pro-fast: 1-10, viduq2-pro/turbo: 1-8
Images for img2video (accepts 1 image as start frame)
Use recommended prompt (consumes additional 10 credits)
Metadata identification, JSON format string for custom metadata
Model name: viduq3-pro, viduq2-pro-fast, viduq2-pro, viduq2-turbo, viduq1, viduq1-classic, vidu2.0
Movement amplitude of objects in frame (ineffective for q2, q3 models)
auto, small, medium, large Off peak mode (lower cost, tasks generated within 48 hours)
Transparent transmission parameters (max 1048576 characters)
Text prompt for video generation (max 2000 characters)
Resolution: 360p, 540p, 720p, 1080p, 2K (availability depends on model and duration)
Random seed (defaults to random if not specified)
general, anime Voice ID for audio (ineffective for q3 model)
Add watermark to video (default false)
Watermark position: 1 (top left), 2 (top right), 3 (bottom right, default), 4 (bottom left)
Watermark image URL (uses default watermark if not provided)
OK
created, processing, queueing, success, failed Whether background music was added
auto, small, medium, large Off peak mode status
Transparent transmission parameters
general, anime Whether watermark was added
Was this page helpful?