Build with Kling 3.0 Omni
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": "kling-3.0-omni/video",
"input": {
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"with_audio": false,
"prefer_multi_shots": false,
"generation_mode": "i2v",
"prompt": "<prompt>"
}
}'Inputs & settings
promptstringRequiredDescribe what you would like to create.
durationintegerVideo length (3-15 seconds). Video-only Transform/Refs follow the source clip instead; with reference images, this slider is the output length.
resolutionstringOutput video resolution (4k costs significantly more)
Options: 720p, 1080p, 4k
aspect_ratiostringVideo aspect ratio. Forced to auto with start+end frames or a reference video.
Options: 16:9, 9:16, 1:1
with_audiobooleanNative audio — dialogue, SFX, ambience (costs more at 720p/1080p; free at 4k). Unavailable with a reference video.
prefer_multi_shotsbooleanLet Kling split the prompt into multiple shots automatically (Text and single-frame Image modes)
generation_modestringOptions: i2v, t2v, reference, transform
image_urlsarrayUpload a file or enter one public HTTPS URL per line.
end_image_urlstringvideo_urlsarrayUpload a file or enter one public HTTPS URL per line.
Full input schema
{
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Describe what you would like to create."
},
"duration": {
"type": "integer",
"title": "Duration (seconds)",
"default": 5,
"minimum": 3,
"maximum": 15,
"description": "Video length (3-15 seconds). Video-only Transform/Refs follow the source clip instead; with reference images, this slider is the output length."
},
"resolution": {
"type": "string",
"title": "Resolution",
"default": "720p",
"enum": [
"720p",
"1080p",
"4k"
],
"description": "Output video resolution (4k costs significantly more)"
},
"aspect_ratio": {
"type": "string",
"title": "Aspect Ratio",
"default": "16:9",
"enum": [
"16:9",
"9:16",
"1:1"
],
"description": "Video aspect ratio. Forced to auto with start+end frames or a reference video."
},
"with_audio": {
"type": "boolean",
"title": "Generate Audio",
"default": false,
"description": "Native audio — dialogue, SFX, ambience (costs more at 720p/1080p; free at 4k). Unavailable with a reference video."
},
"prefer_multi_shots": {
"type": "boolean",
"title": "Smart Storyboarding",
"default": false,
"description": "Let Kling split the prompt into multiple shots automatically (Text and single-frame Image modes)"
},
"generation_mode": {
"type": "string",
"title": "Mode",
"enum": [
"i2v",
"t2v",
"reference",
"transform"
],
"default": "i2v"
},
"image_urls": {
"type": "array",
"title": "Reference images",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 7,
"description": "Upload a file or enter one public HTTPS URL per line."
},
"end_image_url": {
"type": "string",
"title": "End frame URL",
"format": "uri"
},
"video_urls": {
"type": "array",
"title": "Reference videos",
"items": {
"type": "string",
"format": "uri"
},
"description": "Upload a file or enter one public HTTPS URL per line."
}
}
}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.






