Skip to content
Open CastalyConsole

Video

kling-3.0-omni API

Use the exact kling-3.0-omni model ID through Modelflare asynchronous video routing.

Use the exact model ID kling-3.0-omni. The model field must match this page exactly.

Sample outputkling-3.0-omniPOST /v1/videos5.0s

Parameters: duration=5resolution=1080pratio=16:9

Prompt: One continuous take, no cuts. A concrete rooftop at golden hour, the city low and hazy behind. A model in a chrome moulded dress stands still with arms down while loose fabric panels fly in from off frame, hundreds of them in coral, ultraviolet and bronze, and assemble around her into a vast sculpted train that keeps growing past the roof edge. The camera orbits her a full half turn at chest height and rises as the train forms. One hard low sun from the left, deep cool shadow on the right. Real weight and inertia, cloth snapping in the wind, no text.

Request that produced this sample
{
"model": "kling-3.0-omni",
"prompt": "One continuous take, no cuts. A concrete rooftop at golden hour, the city low and hazy behind. A model in a chrome moulded dress stands still with arms down while loose fabric panels fly in from off frame, hundreds of them in coral, ultraviolet and bronze, and assemble around her into a vast sculpted train that keeps growing past the roof edge. The camera orbits her a full half turn at chest height and rises as the train forms. One hard low sun from the left, deep cool shadow on the right. Real weight and inertia, cloth snapping in the wind, no text.",
"seconds": "5",
"duration": 5,
"resolution": "1080p",
"ratio": "16:9",
"aspect_ratio": "16:9"
}

Use a Modelflare API key with https://modelflare.dev/v1. The gateway entry point is POST /v1/videos.

HTTP
Authorization: Bearer YOUR_MODELFLARE_API_KEY
Terminal windowbash
curl https://modelflare.dev/v1/videos \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_name": "kling-3.0-omni",
"prompt": "A white cat runs through a neon-lit street in the rain, cinematic tracking shot",
"duration": "5", "mode": "std"
}'

Save the task ID. Poll GET /v1/videos/{task_id} and download with GET /v1/videos/{task_id}/content. Result URLs may expire, so transfer the file promptly.

Terminal windowbash
curl https://modelflare.dev/v1/videos/TASK_ID \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY"

Kling uses family-specific model_name, prompt, mode, duration, image_list, or contents / settings fields; native JSON is preserved and forwarded.

Kling Omni/O1 uses model_name, prompt, and media lists. Follow each model’s official constraints when combining image_list, video_list, element_list, multi_shot, and sound.

Field Required Notes
model_name Yes kling-3.0-omni
prompt Conditional Required when multi-shot is disabled
mode No std / pro
aspect_ratio Conditional 16:9 / 9:16 / 1:1
duration No 3–15 seconds (string)
image_list No First/end-frame, scene, or style references; Omni/O1 allow multiple items within model limits
video_list No Video editing or style references
element_list No Kling element IDs; this integration does not provide element management
multi_shot No Enable multi-shot storyboarding
sound No Whether to generate synchronized sound

Omni supports 720p/1080p/4k, 3–15 seconds, image/video/element references, and up to six storyboard shots. Set sound off when a reference video is present.

Terminal windowbash
curl https://modelflare.dev/v1/videos \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_name": "kling-3.0-omni",
"prompt": "让图 1 中的人物在雨中向镜头挥手",
"image_list": [{"image_url": "https://example.com/character.png"}],
"duration": "5", "mode": "pro", "aspect_ratio": "16:9", "sound": "off"
}'

Reference videos, elements, and multi-shot combinations must follow this page’s limits; turn sound off when a reference video is present.

Invalid model parameters return a 4xx with a request ID. An asynchronous task can also enter failed after creation succeeds; use error_code and error_message from the poll response as the final task reason. Do not retry the same request with a different JSON shape.

This page covers Modelflare model generation and editing calls. Search or map enrichment, voice management, and element-library management are resource APIs outside this public model-call surface and are not required request fields.

This model uses per-second video billing. See the model pricing page for the current customer price, reference list price, and complete specification.

Media contract · v1

Contract ID: media.kling-3-0-omni.v1Adapter: video.kling.omni.v1@v1Fingerprint: 70c3e0fcc5727858f11c8e080f06c223e40cb2e20363d856fbb2fcfa79e4d9b1

Official source: Kuaishou Kling

Contract parameters

Intent fieldControlOptions
ratioselect16:9 / 9:16 / 1:1
resolutionselect720p / 1080p / 4k
durationselect3 / 5 / 8 / 10 / 15
audioswitch—

Supported capability

  • allowed_values · ratio · 16:9, 9:16, 1:1
  • allowed_values · resolution · 720p, 1080p, 4k
  • allowed_values · duration · 3, 5, 8, 10, 15
  • max_assets · reference_asset_ids · 7

Structured request example

text

Intent

{
  "audio": false,
  "duration": 3,
  "prompt": "A red paper kite over a quiet harbour at dusk.",
  "ratio": "16:9",
  "resolution": "720p"
}

Provider request

{
  "aspect_ratio": "16:9",
  "duration": "3",
  "mode": "std",
  "model_name": "kling-3.0-omni",
  "prompt": "A red paper kite over a quiet harbour at dusk.",
  "sound": "off"
}

reference

Intent

{
  "audio": false,
  "duration": 3,
  "prompt": "A red paper kite over a quiet harbour at dusk.",
  "ratio": "16:9",
  "resolution": "720p"
}

Provider request

{
  "aspect_ratio": "16:9",
  "duration": "3",
  "image_list": [
    {
      "image_url": "https://example.com/reference.png"
    }
  ],
  "mode": "std",
  "model_name": "kling-3.0-omni",
  "prompt": "A red paper kite over a quiet harbour at dusk.",
  "sound": "off"
}