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-video-to-video",
"input": {
"duration": "5",
"resolution": "1080p",
"prompt": "<prompt>",
"video_urls": "<video_urls>"
}
}'Inputs & settings
audiobooleanWhether 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
resolutionstringVideo resolution tier
Options: 720p, 1080p
video_urlsarrayRequiredReference video URLs. (Accepted types: video/mp4, video/quicktime, video/x-matroska; Max size: 10.0MB)
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",
"video_urls"
],
"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"
],
"type": "string",
"title": "Duration",
"default": "5",
"description": "The duration of the generated video in seconds"
},
"resolution": {
"enum": [
"720p",
"1080p"
],
"type": "string",
"title": "Resolution",
"default": "1080p",
"description": "Video resolution tier"
},
"video_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Video URLs",
"x-media": "video",
"maxItems": 3,
"description": "Reference video URLs. (Accepted types: video/mp4, video/quicktime, video/x-matroska; Max size: 10.0MB)"
},
"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.






