Build with Wan 2.6 Flash
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": "wan-2-6-flash-image-to-video",
"input": {
"duration": "5",
"resolution": "1080p",
"prompt": "<prompt>",
"image_urls": "<image_urls>",
"audio": "<audio>"
}
}'Inputs & settings
audiobooleanRequiredWhether to generate video with audio. Audio directly affects the cost, as the pricing differs between videos with sound and silent videos. (Boolean value (true/false))
promptstringRequiredText prompts for video generation. Supports Chinese and English, 2–1,500 characters.
durationstringThe duration of the generated video in seconds
Options: 5, 10, 15
image_urlsarrayRequiredA list of image URLs. All images must be at least 256x256px. (Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB)
resolutionstringVideo resolution tier
Options: 720p, 1080p
multi_shotsbooleanThe multi shots parameter controls the shot composition style during AI video generation, determining whether the generated video is a single continuous shot or multiple shots with transitions. (Boolean value (true/false))
nsfw_checkerbooleanDefaults to false. When false, no additional content filtering is applied and results are returned directly by the model.
Full input schema
{
"type": "object",
"required": [
"prompt",
"image_urls",
"audio"
],
"properties": {
"audio": {
"type": "boolean",
"title": "Audio",
"description": "Whether to generate video with audio. Audio directly affects the cost, as the pricing differs between videos with sound and silent videos. (Boolean value (true/false))"
},
"prompt": {
"type": "string",
"title": "Prompt",
"maxLength": 1500,
"description": "Text prompts for video generation. Supports Chinese and English, 2–1,500 characters."
},
"duration": {
"enum": [
"5",
"10",
"15"
],
"type": "string",
"title": "Duration",
"default": "5",
"description": "The duration of the generated video in seconds"
},
"image_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Image URLs",
"x-media": "image",
"maxItems": 1,
"description": "A list of image URLs. All images must be at least 256x256px. (Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB)"
},
"resolution": {
"enum": [
"720p",
"1080p"
],
"type": "string",
"title": "Resolution",
"default": "1080p",
"description": "Video resolution tier"
},
"multi_shots": {
"type": "boolean",
"title": "Multi shots",
"description": "The multi shots parameter controls the shot composition style during AI video generation, determining whether the generated video is a single continuous shot or multiple shots with transitions. (Boolean value (true/false))"
},
"nsfw_checker": {
"type": "boolean",
"title": "NSFW checker",
"description": "Defaults to false. When false, no additional content filtering is applied and results are returned directly by the model."
}
}
}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.






