Vidu Q3 Pro - Start End to Video
viduq3-pro-start-end2video
Vidu Q3 Pro - Start end to Video efficiently generates high-quality audio-video content with stronger motion and richer scene expression
Эндпоинты
Заголовок раздела «Эндпоинты»POST /v1/queue/viduq3-pro-start-end2video # Создать задачуGET /v1/queue/viduq3-pro-start-end2video/requests/{request_id}/status # Проверить статусGET /v1/queue/viduq3-pro-start-end2video/requests/{request_id}/response # Получить результатPUT /v1/queue/viduq3-pro-start-end2video/requests/{request_id}/cancel # Отменить задачуПараметры запроса
Заголовок раздела «Параметры запроса»curl --request 'POST' 'https://odirouter.ai/model/v1/queue/viduq3-pro-start-end2video' \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --location \ --data-raw '{ "images": [ "https://www.gstatic.com/webp/gallery/3.jpg", "https://www.gstatic.com/webp/gallery/4.jpg" ], "prompt": "A smooth transition between the scenes", "duration": 5, "resolution": "720p", "is_rec": false, "audio": true, "seed": 0}'images array<string> required
Заголовок раздела «images array<string> required»Two-image input for start-end generation. The first image is treated as the start frame, the second image is treated as the end frame
Note 1: Start/end image resolutions should be close. Start resolution / end resolution must be between 0.8 and 1.25, and aspect ratio must be less than 1:4 or 4:1
Note 2: Supports image Base64 or image URL (must be accessible)
Note 3: Supported formats: png, jpeg, jpg, webp
Note 4: Max image size is 50MB
Note 5: HTTP POST body must be under 20MB, and encoding must include content type, for example data:image/png;base64,{base64_encode}
prompt string
Заголовок раздела «prompt string»Text prompt describing the video to generate
Limit: Up to 5000 characters
is_rec boolean
Заголовок раздела «is_rec boolean»Whether to use a recommended prompt
true: System auto-generates one recommended prompt and uses it for generation
false: Uses the provided prompt
Note: Enabling recommended prompts consumes an extra 10 credits per task
Options: true, false
Default: false
duration integer
Заголовок раздела «duration integer»Video duration in seconds
Options: 1 - 16
Default: 5
seed integer
Заголовок раздела «seed integer»Random seed. If omitted or set to 0, a random seed is used automatically
resolution string
Заголовок раздела «resolution string»Output resolution
Options: 540p, 720p, 1080p
Default: 720p
audio boolean
Заголовок раздела «audio boolean»Whether to enable direct audio-video generation
false: Outputs a silent video
true: Outputs a video with speech and sound effects
Options: true, false
Default: true
payload string
Заголовок раздела «payload string»Pass-through parameter for custom payload data
Limit: Up to 1048576 characters
off_peak boolean
Заголовок раздела «off_peak boolean»Note: Temporarily unavailable
Off-peak generation mode
true: Off-peak generation
false: Immediate generation
Note 1: Off-peak mode consumes fewer credits
Note 2: Tasks are processed within 48 hours, unfinished tasks are auto-canceled with credit refund
Note 3: You can also cancel off-peak tasks manually
Options: true, false
Default: false
watermark boolean
Заголовок раздела «watermark boolean»Whether to add a watermark
true: Add watermark
false: No watermark
Note 1: Current watermark content is fixed and AI-generated, disabled by default
Note 2: You can retrieve watermarked content via watermarked_url
Options: true, false
Default: false
wm_position integer
Заголовок раздела «wm_position integer»Watermark position in the frame
1: Top-left
2: Top-right
3: Bottom-right
4: Bottom-left
Default: 3
wm_url string
Заголовок раздела «wm_url string»Watermark image URL. If omitted, the default AI-generated watermark is used
meta_data string
Заголовок раздела «meta_data string»Metadata identifier in JSON string format, passed through without modification
{ "Label": "your_label", "ContentProducer": "yourcontentproducer", "ContentPropagator": "your_content_propagator", "ProduceID": "yourproductid", "PropagateID": "your_propagate_id", "ReservedCode1": "yourreservedcode1", "ReservedCode2": "your_reserved_code2"}If empty, default metadata generated by vidu is used
callback_url string
Заголовок раздела «callback_url string»Callback URL. Set callback_url when creating the task, request method is POST
When task status changes, Vidu will send callback payloads matching the task-query API response structure
Параметры ответа
Заголовок раздела «Параметры ответа»{ "request_id": "task_01hxyz...", "response_url": "https://odirouter.ai/model/v1/queue/viduq3-pro-start-end2video/requests/task_01hxyz.../response", "status_url": "https://odirouter.ai/model/v1/queue/viduq3-pro-start-end2video/requests/task_01hxyz.../status", "cancel_url": "https://odirouter.ai/model/v1/queue/viduq3-pro-start-end2video/requests/task_01hxyz.../cancel", "queue_position": 0}| Поле | Тип | Описание |
|---|---|---|
request_id | string | Идентификатор задачи для последующей проверки статуса, получения результата и отмены. |
response_url | string | URL для получения итогового результата. |
status_url | string | URL для проверки статуса задачи. |
cancel_url | string | URL для отмены задачи. |
queue_position | int | Текущая позиция в очереди. |