{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/varosity-ai/json-schema/varosity-ai-post-api-v1-image-generate-request-schema.json",
  "title": "PostApiV1ImageGenerateRequest",
  "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/PostApiV1ImageGenerateRequest",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "description": "1–2000 characters describing the image"
    },
    "modelId": {
      "type": "string",
      "description": "Model identifier, defaults to \"flux-1-schnell\""
    },
    "aspectRatio": {
      "type": "string",
      "description": "One of \"16:9\", \"9:16\", \"1:1\", \"4:5\", \"21:9\"; defaults to \"1:1\""
    },
    "referenceImageUrl": {
      "type": "string",
      "description": "URL of an image to edit (image‑to‑image)"
    },
    "providerOptions": {
      "type": "object",
      "description": "Per‑model optional knobs"
    }
  },
  "required": [
    "prompt"
  ]
}