{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kling-ai/json-schema/kling-ai-image-to-video-request-schema.json",
  "title": "ImageToVideoRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kling-ai-image-to-video-api-openapi.yml#/components/schemas/ImageToVideoRequest",
  "type": "object",
  "required": [
    "image"
  ],
  "properties": {
    "model_name": {
      "type": "string"
    },
    "image": {
      "type": "string",
      "description": "Start-frame image as a URL or base64 string."
    },
    "image_tail": {
      "type": "string",
      "description": "Optional end-frame image as a URL or base64 string."
    },
    "prompt": {
      "type": "string"
    },
    "negative_prompt": {
      "type": "string"
    },
    "cfg_scale": {
      "type": "number"
    },
    "mode": {
      "type": "string",
      "enum": [
        "std",
        "pro"
      ]
    },
    "duration": {
      "type": "string",
      "enum": [
        "5",
        "10"
      ]
    },
    "callback_url": {
      "type": "string"
    }
  }
}