{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/varosity-ai/json-schema/varosity-ai-post-v1-video-generate-request-schema.json",
  "title": "PostV1VideoGenerateRequest",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/varosity-ai-openapi-generated.yml#/components/schemas/PostV1VideoGenerateRequest",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "description": "Prompt for the video"
    },
    "modelId": {
      "type": "string",
      "description": "Model ID from GET /v1/models"
    },
    "aspectRatio": {
      "type": "string",
      "description": "Aspect ratio for rendering"
    },
    "durationSec": {
      "type": "integer",
      "description": "Seconds, limited by model maxDurationSec"
    },
    "referenceImageUrl": {
      "type": "string",
      "description": "Reference image URL"
    },
    "referenceVideoUrl": {
      "type": "string",
      "description": "Reference video URL"
    },
    "audioUrl": {
      "type": "string",
      "description": "External audio track for avatar / lip-sync models"
    },
    "authPreference": {
      "type": "string",
      "description": "Payment preference"
    },
    "providerOptions": {
      "type": "object",
      "description": "Advanced per-model knobs"
    }
  },
  "required": [
    "prompt",
    "modelId"
  ]
}