{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vivideo-ai/json-schema/vivideo-ai-create-video-auto-schema.json",
  "title": "CreateVideoAuto",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vivideo-ai-openapi.yaml#/components/schemas/CreateVideoAuto",
  "type": "object",
  "required": [
    "mode",
    "prompt"
  ],
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "auto"
      ]
    },
    "prompt": {
      "type": "string",
      "maxLength": 5000
    },
    "duration_seconds": {
      "type": "integer",
      "minimum": 5,
      "maximum": 300,
      "default": 30
    },
    "avatar_id": {
      "type": "string",
      "description": "From GET /v1/avatars (optional)."
    },
    "voice_id": {
      "type": "string",
      "description": "From GET /v1/voices (optional)."
    },
    "brand_kit_id": {
      "type": "string",
      "description": "A brand_ref from GET /v1/brand-kits (optional)."
    },
    "style_id": {
      "type": "string",
      "description": "A HeyGen template/style id (optional)."
    },
    "file_asset_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "HeyGen asset_ids from POST /v1/assets — reference files the video agent can weave in."
    },
    "orientation": {
      "type": "string",
      "enum": [
        "landscape",
        "portrait"
      ]
    },
    "folder_id": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "maxLength": 60
    }
  }
}