Video Generation
Vidu Q4 Preview
ShengShu Vidu Q4 Preview: start-frame-to-video, or video from up to 15 reference images plus 3 reference audio clips, 3–16 seconds, up to 4K, audio on by default
POST
Vidu Q4 Preview
ShengShu Technology’s Vidu Q4 preview, model ID
A successful submission returns a
The shared
You are only billed for a video that is produced. Failed and cancelled tasks, and tasks that return no usable video, are refunded in full. The final charge is the
vidu-q4-preview. It has a single generate action with two ways in, chosen by the assets you send: a start frame for image-to-video, or reference images (optionally with reference audio) for reference-to-video, where characters and subjects come from the images. Output runs from 540p to 4k, with a dialogue and sound-effects track on by default. The model does not do text-only or first-and-last-frame video; for those, use vidu-q3-pro or vidu-q3-turbo from the Vidu Q3 Series.
Quick start
task_id. Retrieve the result with GET /v1/tasks/{task_id}, wait inline with Prefer: wait, or configure a webhook.
Request parameters
string
required
Always
vidu-q4-preview.string
default:"generate"
generate is the only action. The input mode follows the assets you send:- Start frame to video: send
first_frame_image; the prompt is optional - Reference to video: send
image_urls, optionally withaudio_urls; the prompt is required
400; the model does not do text-only video.string
Description of the video — motion, camera, mood. Required when
image_urls is sent; optional with first_frame_image alone, in which case the model decides the content from the start frame.string
Start frame URL, used as the opening shot; the aspect ratio follows this image. With it set,
image_urls and audio_urls cannot be sent.string[]
Reference image URLs, 1–15; they decide characters, subjects, setting and style. Every image is treated as a reference, a single image included — it is never used as a start frame. With it set,
prompt is required.string[]
Reference audio URLs, at most 3 clips, MP3, 3–12 seconds each. Only usable together with
image_urls, and cannot be sent with first_frame_image. If a clip’s format or length does not fit, the task fails during generation and is refunded in full.integer
default:"5"
Clip length in seconds, an integer from
3 to 16.string
default:"720p"
Output resolution:
540p, 720p, 1080p, 2k or 4k.string
default:"16:9"
Frame ratio:
16:9, 9:16, 4:3, 3:4, 1:1. Applies to reference-to-video only; with first_frame_image it has no effect and the ratio follows the start frame.boolean
default:"true"
Whether to generate an audio track (dialogue and sound effects). Set it to
false for a silent clip; the price is the same.integer
Random seed. The same parameters with the same seed produce similar, though not identical, results.
callback_url, callback_events, Prefer: wait, Idempotency-Key and cost-cap headers are documented in Submit Task.
The model does not accept last_frame_image, video_urls, n, negative_prompt, watermark or quality. Anything beyond the parameters above returns 400 and is not billed.
Limits
Pricing
Billed by resolution tier times output seconds: the resolution sets the per-second rate,duration sets the number of seconds, and their product is the cost of the call — known before you submit. A higher resolution has a higher per-second rate.
Start-frame and reference-to-video are priced the same. Reference images and reference audio are not billed separately; generate_audio, seed and the aspect ratio do not affect the price either, so audio and silent clips cost the same. Without resolution the 720p default tier applies.
Rates are in
price_config on GET /v1/models, and in the console’s Model Market.What a single call actually cost is the cost field on the task response — an integer quota at 500,000 quota = 1 USD.cost field on the task response — an integer quota, not dollars.
Response
Task completed
result.videos holds the generated video; url is an array and expires_at is when the link stops working (Unix seconds) — copy the file to your own storage before then. Full field reference in Query Task Status.