{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/damdafa-com/json-schema/damdafa-com-video-generate-request-schema.json",
  "title": "VideoGenerateRequest",
  "description": "Schema for the video generation API request.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/damdafa-com-video-api-openapi.yml#/components/schemas/VideoGenerateRequest",
  "properties": {
    "projectId": {
      "type": "string",
      "title": "Projectid"
    },
    "versionId": {
      "type": "string",
      "title": "Versionid"
    },
    "screenshotGroupId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Screenshotgroupid",
      "description": "The screenshot group to use as context for the video."
    },
    "prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prompt",
      "description": "Optional specific user instruction/concept"
    },
    "guideImageUrls": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Guideimageurls"
    },
    "aspectRatio": {
      "$ref": "#/$defs/AspectRatio",
      "description": "Target orientation for the video",
      "default": "9:16"
    }
  },
  "type": "object",
  "required": [
    "projectId",
    "versionId"
  ],
  "$defs": {
    "AspectRatio": {
      "type": "string",
      "enum": [
        "9:19.5",
        "3:4",
        "9:16",
        "16:9"
      ],
      "title": "AspectRatio",
      "description": "Centralized canvas defaults for preview rendering."
    }
  }
}