{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autoshort-org/json-schema/autoshort-org-x402-video-request-schema.json",
  "title": "X402VideoRequest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autoshort-org-openapi.json#/components/schemas/X402VideoRequest",
  "type": "object",
  "required": [
    "topic"
  ],
  "properties": {
    "topic": {
      "type": "string",
      "maxLength": 500,
      "description": "What the video is about; the script is AI-written from it."
    },
    "style": {
      "type": "string",
      "enum": [
        "AUTOSHORTS",
        "LEGO",
        "COMIC_BOOK",
        "DISNEY_TOON",
        "STUDIO_GHIBLI",
        "PIXEL_ART",
        "WATERCOLOR",
        "OIL_PAINTING",
        "CYBERPUNK",
        "FANTASY",
        "ANIME",
        "STICKMAN"
      ],
      "default": "AUTOSHORTS"
    },
    "voice": {
      "type": "string",
      "enum": [
        "google",
        "elevenlabs"
      ],
      "default": "google",
      "description": "elevenlabs costs more (see the price)."
    },
    "length": {
      "type": "integer",
      "enum": [
        15,
        30,
        60,
        90
      ],
      "default": 30,
      "description": "Target length in seconds."
    },
    "language": {
      "type": "string",
      "default": "auto",
      "description": "BCP-47 code such as \"en\" or \"vi\", or \"auto\"."
    }
  }
}