Build with Vidu Q4
Make your first request
Use your Sorceress API key on your server. The playground uses your signed-in account; your application uses the same model with an API key.
curl -X POST 'https://sorceress.games/api/v1/jobs' \
-H 'Authorization: Bearer $SORCERESS_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "vidu-q4-image-to-video",
"input": {
"audio": true,
"duration": 5,
"resolution": "720p",
"image_url": "<image_url>"
}
}'Inputs & settings
audiobooleanGenerate synchronized audio (dialogue and sound effects). Set false for a silent video.
promptstringText description of the motion and scene. Optional. Up to 20,000 characters.
durationintegerVideo length in seconds. Integer from 3 to 16.
image_urlstringRequiredFirst-frame image URL (http/https). JPG, JPEG, PNG or WEBP, up to 50 MB. The video inherits this image's aspect ratio.
resolutionstringOutput resolution.
Options: 540p, 720p, 1080p, 2k, 4k
Full input schema
{
"type": "object",
"required": [
"image_url"
],
"properties": {
"audio": {
"type": "boolean",
"title": "Audio",
"default": true,
"description": "Generate synchronized audio (dialogue and sound effects). Set false for a silent video."
},
"prompt": {
"type": "string",
"title": "Prompt",
"maxLength": 20000,
"description": "Text description of the motion and scene. Optional. Up to 20,000 characters."
},
"duration": {
"type": "integer",
"title": "Duration",
"default": 5,
"maximum": 16,
"minimum": 3,
"description": "Video length in seconds. Integer from 3 to 16."
},
"image_url": {
"type": "string",
"title": "Image URL",
"format": "uri",
"x-media": "image",
"minLength": 1,
"description": "First-frame image URL (http/https). JPG, JPEG, PNG or WEBP, up to 50 MB. The video inherits this image's aspect ratio."
},
"resolution": {
"enum": [
"540p",
"720p",
"1080p",
"2k",
"4k"
],
"type": "string",
"title": "Resolution",
"default": "720p",
"description": "Output resolution."
}
}
}Results, saved runs & billing
Media requests return a job ID. Poll GET /api/v1/jobs/:id until it succeeds or fails; keep the same ID while it is processing. Long chat requests can also return a saved job to poll. Completed outputs are stored in your account, and successful work is billed using your model's current rates.
A multi-step workflow may include separately billed successful actions. If a connection drops, check your saved run before submitting it again.






