Vidu Q2 offers efficient image-to-video generation with stable quality, fast processing speeds, and high cost-effectiveness.
Generate video
All API requests must be authenticated using a Bearer token in the Authorization header. Please ensure your API key is active.Authorization: Bearer sk-xxxxxx
These parameters come from the selected model form_schema. Switching models updates this list and the request example.
prompt*stringText description, max 2000 characters. Vidu Q2 text-to-video generates a video directly from the prompt.
stype?stringGeneration style. general: general/realistic style; anime: anime style. Default general.
duration?numberVideo duration in seconds; Vidu Q2 range 1-10 seconds, default 5.
aspect_ratio?stringVideo aspect ratio; Vidu Q2 supports 16:9, 9:16, 1:1, 4:3, 3:4. Default 16:9.
resolution?stringVideo output resolution; Vidu Q2 supports 540p, 720p, 1080p, default 720p.
bgm?booleanSystem automatically adds suitable background music. Note: BGM is not supported for 9s or 10s videos.
off_peak?booleanConsumes fewer credits, but generates within 48 hours
seed?numbertask_id?stringParameter description for Task Id
status?stringParameter description for Status
error?objectParameter description for Error
message?stringError Message
type?stringError Type
param?stringRelated Parameters
code?stringError Code