{ "model_id": "klingai/kling-v3-omni", "provider_id": "klingai", "name": "Kling v3 Omni", "description": "Kling V3 Omni is Kling AI's multimodal video generation model supporting text-to-video with audio.", "task": "Text-to-Video", "tags": [ "Video Generation", "Audio", "Multimodal" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "Default (per second)": 0.113, "default_audio": 0.145 }, "examples": [ { "name": "Simple Video", "description": "Basic text-to-video generation", "input": { "aspect_ratio": "16:9", "duration": 5, "prompt": "A cat chasing a butterfly through a sunlit meadow of wildflowers", "sound": "on" }, "output": { "video": "https://examples.aig.cloudflare.com/klingai/kling-v3-omni/simple-video.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/klingai/kling-v3-omni/simple-video.mp4" } }, "code_snippets": [ { "label": "typescript", "code": "const response = await env.AI.run(\n 'klingai/kling-v3-omni',\n {\n prompt: 'A cat chasing a butterfly through a sunlit meadow of wildflowers',\n duration: 5,\n aspect_ratio: '16:9',\n sound: 'on',\n },\n {\n gateway: { id: 'default' },\n }\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"klingai/kling-v3-omni\",\n \"input\": {\n \"aspect_ratio\": \"16:9\",\n \"duration\": 5,\n \"prompt\": \"A cat chasing a butterfly through a sunlit meadow of wildflowers\",\n \"sound\": \"on\"\n }\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": false, "zdr_comment": null, "external_info": "https://klingai.com/", "terms": "https://klingai.com/terms", "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/klingai/kling-v3-omni.png", "metadata": { "Audio Generation": "Yes" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "klingai", "pricing": { "default": 0.113, "default_audio": 0.145 } } ], "banner": null, "created_at": "2026-10-30 16:52:43", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "prompt": { "type": "string", "description": "Text prompt describing the video to generate" }, "negative_prompt": { "description": "Negative text prompt", "type": "string" }, "image_input": { "description": "Base64-encoded reference image for i2v", "type": "string" }, "duration": { "default": 5, "description": "Video duration in seconds", "type": "integer", "minimum": 3, "maximum": 15 }, "aspect_ratio": { "default": "16:9", "description": "Video aspect ratio", "type": "string", "enum": [ "16:9", "9:16", "1:1" ] }, "sound": { "default": "on", "description": "Whether to generate sound with the video", "type": "string", "enum": [ "on", "off" ] } }, "required": [ "prompt", "duration", "aspect_ratio", "sound" ], "additionalProperties": false }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "video": { "type": "string", "description": "URL to the generated video" } }, "required": [ "video" ], "additionalProperties": false } } }