{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/distribea-com/json-schema/distribea-com-generate-video-request-schema.json",
  "title": "GenerateVideoRequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/distribea-com-openapi.json#/components/schemas/GenerateVideoRequest",
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "description": "What happens in the clip."
    },
    "model": {
      "type": "string",
      "description": "A model id from GET /api/v1/models?type=video.",
      "default": "grok-imagine-video"
    },
    "duration_seconds": {
      "type": "integer",
      "description": "One of the model's `durations_seconds`. Default 6 when `model` is omitted."
    },
    "resolution": {
      "type": "string",
      "description": "One of the model's `resolutions`. Default 720p when `model` is omitted."
    },
    "aspect_ratio": {
      "type": "string",
      "description": "One of the model's `aspect_ratios`."
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "description": "Public URL of a start image (image-to-video)."
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "true returns the exact price only, with or without a key. Nothing is generated or charged."
    }
  }
}