{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vivideo-ai/json-schema/vivideo-ai-create-video-manual-schema.json",
  "title": "CreateVideoManual",
  "description": "The operation is inferred from the inputs: text-to-video by default; image_to_video with image_url; first_last_frame with first_frame_url + last_frame_url; multiple_images with image_urls. resolution, duration_seconds, aspect_ratio and style are validated against the chosen model's allowed values (see GET /v1/models) — a 400 lists what's allowed.\n",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vivideo-ai-openapi.yaml#/components/schemas/CreateVideoManual",
  "type": "object",
  "required": [
    "mode",
    "model",
    "prompt"
  ],
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "manual"
      ]
    },
    "model": {
      "type": "string",
      "description": "A model id from GET /v1/models."
    },
    "prompt": {
      "type": "string",
      "maxLength": 5000
    },
    "duration_seconds": {
      "type": "integer",
      "description": "Must match one of the model's durations (e.g. 4 for '4s')."
    },
    "resolution": {
      "type": "string",
      "description": "Must be one of the model's resolutions."
    },
    "aspect_ratio": {
      "type": "string",
      "description": "Must be one of the model's aspect_ratios."
    },
    "negative_prompt": {
      "type": "string",
      "description": "Models with supports_negative_prompt."
    },
    "seed": {
      "type": "integer",
      "description": "Models with supports_seed."
    },
    "generate_audio": {
      "type": "boolean",
      "description": "Models with native_audio."
    },
    "style": {
      "type": "string",
      "description": "One of the model's styles (e.g. PixVerse anime)."
    },
    "movement_amplitude": {
      "type": "string",
      "description": "Vidu motion control (auto/small/medium/large)."
    },
    "cfg_scale": {
      "type": "number",
      "description": "Kling prompt-adherence 0–1."
    },
    "camera_fixed": {
      "type": "boolean"
    },
    "auto_fix": {
      "type": "boolean"
    },
    "image_url": {
      "type": "string",
      "description": "Switches the request to image_to_video."
    },
    "first_frame_url": {
      "type": "string",
      "description": "With last_frame_url → first_last_frame."
    },
    "last_frame_url": {
      "type": "string"
    },
    "end_image_url": {
      "type": "string"
    },
    "image_urls": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Reference images → multiple_images (models that support it, e.g. veo31_fast)."
    },
    "folder_id": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "maxLength": 60
    }
  }
}