{"openapi":"3.1.0","info":{"title":"PixelDojo API","description":"Agent-first async API for AI image and video generation. 58 models currently available with machine-readable discovery, per-model request schemas, and job control-plane routes.","version":"1.0.0"},"servers":[{"url":"https://pixeldojo.ai/api/v1","description":"Production"}],"security":[{"bearerAuth":[]}],"paths":{"/models":{"get":{"operationId":"listModels","summary":"List Models","description":"List available models with pricing and capabilities. Currently 58 models enabled.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelListResponse"}}}}}}},"/models/{apiId}":{"get":{"operationId":"getModel","summary":"Get Model Details","parameters":[{"name":"apiId","in":"path","required":true,"schema":{"type":"string","enum":["flux-dev","flux-krea-dev","flux-1.1-pro","flux-1.1-pro-ultra","flux-kontext-pro","flux-kontext-max","flux-2-flex","flux-2-klein-4b","flux-2-klein-9b","flux-2-pro","flux-2-max","flux-2-dev","seedream-4","seedream-5-lite","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-image-plus","qwen-image-max","qwen-image-2.0","qwen-image-2.0-pro","wan-image","wan-2.6-image","wan-2.7-image","wan-2.7-image-pro","z-image-turbo","p-image","imagineart","gemini-flash","nano-banana-pro","nano-banana-2","gpt-image-low","gpt-image-medium","gpt-image-high","kling-image","xai-image","dreamina","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","wan-2.6-standard","wan-2.6-flash","wan-2.7-t2v","wan-2.7-i2v","wan-2.2-standard","wan-2.2-plus","wan-2.2-extended","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","seedance-1.5","p-video","heygen-avatar","xai-video","seedance-2","ltx-2-fast","ltx-2-pro"]},"description":"flux-dev: High-quality development model with configurable steps, guidance, and LoRA support.; flux-krea-dev: Photorealistic generation that avoids the oversaturated AI look. LoRA compatible.; flux-1.1-pro: Latest pro model with enhanced quality and strong prompt adherence.; flux-1.1-pro-ultra: Highest quality Flux model with raw mode for natural-looking images.; flux-kontext-pro: Advanced model with state-of-the-art performance for both generation and editing.; flux-kontext-max: Premium model with maximum performance and improved typography for generation and editing.; flux-2-flex: Max-quality with up to 10 reference images; flux-2-klein-4b: Very fast generation and editing with up to 5 reference images; flux-2-klein-9b: 4-step distilled FLUX.2 [klein] foundation model for flexible control; flux-2-pro: High-quality with up to 8 reference images; flux-2-max: The highest fidelity image model from Black Forest Labs; flux-2-dev: Fast quality with up to 4 reference images; seedream-4: ByteDance Seedream 4.5 - New-generation image creation with superior aesthetics, text rendering, and up to 4K resolution; seedream-5-lite: ByteDance Seedream 5.0 Lite - fast, high-quality image generation and editing with strong aesthetics and text rendering; ponyxl-ponyrealism-v23: Pony Realism - Stylized anime generation; ponyxl-tponynai3-v7: Pony NAI - Stylized anime generation; ponyxl-waianinsfwponyxl-v140: Wai ANI - Stylized anime generation; qwen-image-plus: Fast generation with excellent quality; qwen-image-max: Highest quality output; qwen-image-2.0: Fast, balanced image generation and editing; qwen-image-2.0-pro: Enhanced text rendering, realistic textures, and semantic adherence; wan-image: Fast cinematic image generation (3-6 seconds) with up to 4MP output and optional LoRA support; wan-2.6-image: Alibaba WAN 2.6 high-quality AI image generation with prompt enhancement and up to 2MP output; wan-2.7-image: Faster Wan 2.7 image generation and editing; wan-2.7-image-pro: Higher quality Wan 2.7 tier with 4K support for text-to-image; z-image-turbo: Super fast 6B parameter photorealistic image generation with excellent text rendering and LoRA support; p-image: Sub-second text-to-image generation with exceptional text rendering and prompt adherence; imagineart: Advanced text-to-image model generating ultra-high-fidelity 4K visuals with lifelike realism and refined aesthetics; gemini-flash: Fast generation with Gemini 2.5 Flash; nano-banana-pro: SOTA with accurate typography and reasoning; nano-banana-2: Next-generation SOTA model with stronger consistency; gpt-image-low: Fast, lower detail generation; gpt-image-medium: Balanced quality and speed; gpt-image-high: Maximum detail and quality; kling-image: Kling Image V3 text-to-image generation with optional image edits and flexible aspect ratios; xai-image: Grok Imagine Image via Replicate for text-to-image and single-image edits; dreamina: ByteDance 4MP cinematic image generation with enhanced quality, precise style control, and commercial design optimization; kling-video-v3-standard-text: Standard text-to-video with native audio; kling-video-v3-standard-image: Standard image-to-video with native audio; kling-video-v3-pro-text: Pro text-to-video with cinematic quality and native audio; kling-video-v3-pro-image: Pro image-to-video with cinematic quality and native audio; wan-2.6-standard: Higher quality, 720p/1080p support; wan-2.6-flash: Fast and affordable image-to-video; wan-2.7-t2v: Text-to-video with audio sync, 720p/1080p output, and 2-15 second durations; wan-2.7-i2v: Image-to-video with first+last frame control and audio sync; wan-2.2-standard: Premium quality with enhanced detail; wan-2.2-plus: Official Alibaba model with 1080p support; wan-2.2-extended: fal.ai WAN 2.2 with up to 10-second videos and dual LoRA support; veo-3.1-fast: Faster generation at 3 credits per second; veo-3.1-standard: Higher quality at 8 credits per second; veo-3.1-lite: Runware-powered Lite variant at 1.5 credits/sec for 720p and 2 credits/sec for 1080p; seedance-1.5: ByteDance Seedance 1.5 video generation with native audio, dance motion, 480p/720p resolution, and up to 12 seconds duration; p-video: Pruna AI video generation with text/image input, optional audio conditioning, draft mode, and 720p/1080p outputs.; heygen-avatar: Generate a talking avatar video from a portrait image and script using Heygen Avatar 4 on fal.ai.; xai-video: Grok Imagine video generation via Replicate with text-to-video and image-to-video support; seedance-2: ByteDance Seedance 2.0: cinematic text-to-video and image-to-video with 5–15s clips, basic/high quality, native audio, and up to 2K resolution; ltx-2-fast: Fast text/image generation at 1, 2, or 4 credits per second depending on resolution.; ltx-2-pro: Higher quality text/image generation plus extend-video at 2, 3, or 6 credits per second by resolution."}],"responses":{"200":{"description":"Model details with request schema and integration links","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelDetails"}}}},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/models/{apiId}/schema":{"get":{"operationId":"getModelSchema","summary":"Get Model Request Schema","description":"Return the canonical JSON Schema for a model request body so agents and SDKs can build valid inputs.","parameters":[{"name":"apiId","in":"path","required":true,"schema":{"type":"string","enum":["flux-dev","flux-krea-dev","flux-1.1-pro","flux-1.1-pro-ultra","flux-kontext-pro","flux-kontext-max","flux-2-flex","flux-2-klein-4b","flux-2-klein-9b","flux-2-pro","flux-2-max","flux-2-dev","seedream-4","seedream-5-lite","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-image-plus","qwen-image-max","qwen-image-2.0","qwen-image-2.0-pro","wan-image","wan-2.6-image","wan-2.7-image","wan-2.7-image-pro","z-image-turbo","p-image","imagineart","gemini-flash","nano-banana-pro","nano-banana-2","gpt-image-low","gpt-image-medium","gpt-image-high","kling-image","xai-image","dreamina","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","wan-2.6-standard","wan-2.6-flash","wan-2.7-t2v","wan-2.7-i2v","wan-2.2-standard","wan-2.2-plus","wan-2.2-extended","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","seedance-1.5","p-video","heygen-avatar","xai-video","seedance-2","ltx-2-fast","ltx-2-pro"]}}],"responses":{"200":{"description":"Model request schema","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSchemaResponse"}}}},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/models/{apiId}/run":{"post":{"operationId":"submitJob","summary":"Submit Generation Job","description":"Submit an async generation job for a specific model.","parameters":[{"name":"apiId","in":"path","required":true,"schema":{"type":"string","enum":["flux-dev","flux-krea-dev","flux-1.1-pro","flux-1.1-pro-ultra","flux-kontext-pro","flux-kontext-max","flux-2-flex","flux-2-klein-4b","flux-2-klein-9b","flux-2-pro","flux-2-max","flux-2-dev","seedream-4","seedream-5-lite","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-image-plus","qwen-image-max","qwen-image-2.0","qwen-image-2.0-pro","wan-image","wan-2.6-image","wan-2.7-image","wan-2.7-image-pro","z-image-turbo","p-image","imagineart","gemini-flash","nano-banana-pro","nano-banana-2","gpt-image-low","gpt-image-medium","gpt-image-high","kling-image","xai-image","dreamina","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","wan-2.6-standard","wan-2.6-flash","wan-2.7-t2v","wan-2.7-i2v","wan-2.2-standard","wan-2.2-plus","wan-2.2-extended","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","seedance-1.5","p-video","heygen-avatar","xai-video","seedance-2","ltx-2-fast","ltx-2-pro"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/FluxDevRequest"},{"$ref":"#/components/schemas/FluxKreaDevRequest"},{"$ref":"#/components/schemas/Flux11ProRequest"},{"$ref":"#/components/schemas/Flux11ProUltraRequest"},{"$ref":"#/components/schemas/FluxKontextProRequest"},{"$ref":"#/components/schemas/FluxKontextMaxRequest"},{"$ref":"#/components/schemas/Flux2FlexRequest"},{"$ref":"#/components/schemas/Flux2Klein4bRequest"},{"$ref":"#/components/schemas/Flux2Klein9bRequest"},{"$ref":"#/components/schemas/Flux2ProRequest"},{"$ref":"#/components/schemas/Flux2MaxRequest"},{"$ref":"#/components/schemas/Flux2DevRequest"},{"$ref":"#/components/schemas/Seedream4Request"},{"$ref":"#/components/schemas/Seedream5LiteRequest"},{"$ref":"#/components/schemas/PonyxlPonyrealismV23Request"},{"$ref":"#/components/schemas/PonyxlTponynai3V7Request"},{"$ref":"#/components/schemas/PonyxlWaianinsfwponyxlV140Request"},{"$ref":"#/components/schemas/QwenImagePlusRequest"},{"$ref":"#/components/schemas/QwenImageMaxRequest"},{"$ref":"#/components/schemas/QwenImage20Request"},{"$ref":"#/components/schemas/QwenImage20ProRequest"},{"$ref":"#/components/schemas/WanImageRequest"},{"$ref":"#/components/schemas/Wan26ImageRequest"},{"$ref":"#/components/schemas/Wan27ImageRequest"},{"$ref":"#/components/schemas/Wan27ImageProRequest"},{"$ref":"#/components/schemas/ZImageTurboRequest"},{"$ref":"#/components/schemas/PImageRequest"},{"$ref":"#/components/schemas/ImagineartRequest"},{"$ref":"#/components/schemas/GeminiFlashRequest"},{"$ref":"#/components/schemas/NanoBananaProRequest"},{"$ref":"#/components/schemas/NanoBanana2Request"},{"$ref":"#/components/schemas/GptImageLowRequest"},{"$ref":"#/components/schemas/GptImageMediumRequest"},{"$ref":"#/components/schemas/GptImageHighRequest"},{"$ref":"#/components/schemas/KlingImageRequest"},{"$ref":"#/components/schemas/XaiImageRequest"},{"$ref":"#/components/schemas/DreaminaRequest"},{"$ref":"#/components/schemas/KlingVideoV3StandardTextRequest"},{"$ref":"#/components/schemas/KlingVideoV3StandardImageRequest"},{"$ref":"#/components/schemas/KlingVideoV3ProTextRequest"},{"$ref":"#/components/schemas/KlingVideoV3ProImageRequest"},{"$ref":"#/components/schemas/Wan26StandardRequest"},{"$ref":"#/components/schemas/Wan26FlashRequest"},{"$ref":"#/components/schemas/Wan27T2vRequest"},{"$ref":"#/components/schemas/Wan27I2vRequest"},{"$ref":"#/components/schemas/Wan22StandardRequest"},{"$ref":"#/components/schemas/Wan22PlusRequest"},{"$ref":"#/components/schemas/Wan22ExtendedRequest"},{"$ref":"#/components/schemas/Veo31FastRequest"},{"$ref":"#/components/schemas/Veo31StandardRequest"},{"$ref":"#/components/schemas/Veo31LiteRequest"},{"$ref":"#/components/schemas/Seedance15Request"},{"$ref":"#/components/schemas/PVideoRequest"},{"$ref":"#/components/schemas/HeygenAvatarRequest"},{"$ref":"#/components/schemas/XaiVideoRequest"},{"$ref":"#/components/schemas/Seedance2Request"},{"$ref":"#/components/schemas/Ltx2FastRequest"},{"$ref":"#/components/schemas/Ltx2ProRequest"}],"description":"Canonical request body. Match the path apiId to the corresponding schema variant.","x-pixeldojo-model-schema-map":{"flux-dev":"#/components/schemas/FluxDevRequest","flux-krea-dev":"#/components/schemas/FluxKreaDevRequest","flux-1.1-pro":"#/components/schemas/Flux11ProRequest","flux-1.1-pro-ultra":"#/components/schemas/Flux11ProUltraRequest","flux-kontext-pro":"#/components/schemas/FluxKontextProRequest","flux-kontext-max":"#/components/schemas/FluxKontextMaxRequest","flux-2-flex":"#/components/schemas/Flux2FlexRequest","flux-2-klein-4b":"#/components/schemas/Flux2Klein4bRequest","flux-2-klein-9b":"#/components/schemas/Flux2Klein9bRequest","flux-2-pro":"#/components/schemas/Flux2ProRequest","flux-2-max":"#/components/schemas/Flux2MaxRequest","flux-2-dev":"#/components/schemas/Flux2DevRequest","seedream-4":"#/components/schemas/Seedream4Request","seedream-5-lite":"#/components/schemas/Seedream5LiteRequest","ponyxl-ponyrealism-v23":"#/components/schemas/PonyxlPonyrealismV23Request","ponyxl-tponynai3-v7":"#/components/schemas/PonyxlTponynai3V7Request","ponyxl-waianinsfwponyxl-v140":"#/components/schemas/PonyxlWaianinsfwponyxlV140Request","qwen-image-plus":"#/components/schemas/QwenImagePlusRequest","qwen-image-max":"#/components/schemas/QwenImageMaxRequest","qwen-image-2.0":"#/components/schemas/QwenImage20Request","qwen-image-2.0-pro":"#/components/schemas/QwenImage20ProRequest","wan-image":"#/components/schemas/WanImageRequest","wan-2.6-image":"#/components/schemas/Wan26ImageRequest","wan-2.7-image":"#/components/schemas/Wan27ImageRequest","wan-2.7-image-pro":"#/components/schemas/Wan27ImageProRequest","z-image-turbo":"#/components/schemas/ZImageTurboRequest","p-image":"#/components/schemas/PImageRequest","imagineart":"#/components/schemas/ImagineartRequest","gemini-flash":"#/components/schemas/GeminiFlashRequest","nano-banana-pro":"#/components/schemas/NanoBananaProRequest","nano-banana-2":"#/components/schemas/NanoBanana2Request","gpt-image-low":"#/components/schemas/GptImageLowRequest","gpt-image-medium":"#/components/schemas/GptImageMediumRequest","gpt-image-high":"#/components/schemas/GptImageHighRequest","kling-image":"#/components/schemas/KlingImageRequest","xai-image":"#/components/schemas/XaiImageRequest","dreamina":"#/components/schemas/DreaminaRequest","kling-video-v3-standard-text":"#/components/schemas/KlingVideoV3StandardTextRequest","kling-video-v3-standard-image":"#/components/schemas/KlingVideoV3StandardImageRequest","kling-video-v3-pro-text":"#/components/schemas/KlingVideoV3ProTextRequest","kling-video-v3-pro-image":"#/components/schemas/KlingVideoV3ProImageRequest","wan-2.6-standard":"#/components/schemas/Wan26StandardRequest","wan-2.6-flash":"#/components/schemas/Wan26FlashRequest","wan-2.7-t2v":"#/components/schemas/Wan27T2vRequest","wan-2.7-i2v":"#/components/schemas/Wan27I2vRequest","wan-2.2-standard":"#/components/schemas/Wan22StandardRequest","wan-2.2-plus":"#/components/schemas/Wan22PlusRequest","wan-2.2-extended":"#/components/schemas/Wan22ExtendedRequest","veo-3.1-fast":"#/components/schemas/Veo31FastRequest","veo-3.1-standard":"#/components/schemas/Veo31StandardRequest","veo-3.1-lite":"#/components/schemas/Veo31LiteRequest","seedance-1.5":"#/components/schemas/Seedance15Request","p-video":"#/components/schemas/PVideoRequest","heygen-avatar":"#/components/schemas/HeygenAvatarRequest","xai-video":"#/components/schemas/XaiVideoRequest","seedance-2":"#/components/schemas/Seedance2Request","ltx-2-fast":"#/components/schemas/Ltx2FastRequest","ltx-2-pro":"#/components/schemas/Ltx2ProRequest"}}}}},"responses":{"202":{"description":"Job accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitJobResponse"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"},"402":{"$ref":"#/components/responses/InsufficientCreditsError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/jobs":{"get":{"operationId":"listJobs","summary":"List Recent Jobs","description":"List recent jobs for the authenticated API key owner. Supports filters for status and model.","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["pending","processing","completed","failed"]}},{"name":"apiId","in":"query","required":false,"schema":{"type":"string","enum":["flux-dev","flux-krea-dev","flux-1.1-pro","flux-1.1-pro-ultra","flux-kontext-pro","flux-kontext-max","flux-2-flex","flux-2-klein-4b","flux-2-klein-9b","flux-2-pro","flux-2-max","flux-2-dev","seedream-4","seedream-5-lite","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-image-plus","qwen-image-max","qwen-image-2.0","qwen-image-2.0-pro","wan-image","wan-2.6-image","wan-2.7-image","wan-2.7-image-pro","z-image-turbo","p-image","imagineart","gemini-flash","nano-banana-pro","nano-banana-2","gpt-image-low","gpt-image-medium","gpt-image-high","kling-image","xai-image","dreamina","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","wan-2.6-standard","wan-2.6-flash","wan-2.7-t2v","wan-2.7-i2v","wan-2.2-standard","wan-2.2-plus","wan-2.2-extended","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","seedance-1.5","p-video","heygen-avatar","xai-video","seedance-2","ltx-2-fast","ltx-2-pro"]}}],"responses":{"200":{"description":"Recent jobs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobListResponse"}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/jobs/{jobId}":{"get":{"operationId":"getJobStatus","summary":"Get Job Status","description":"Poll job status and retrieve outputs when complete.","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Job status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"},"410":{"$ref":"#/components/responses/ExpiredError"}}}},"/jobs/{jobId}/webhook":{"get":{"operationId":"getWebhookStatus","summary":"Get Webhook Delivery State","description":"Inspect webhook delivery state for a single job.","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Webhook delivery state","content":{"application/json":{"schema":{"type":"object","properties":{"jobId":{"type":"string"},"apiId":{"type":"string"},"status":{"type":"string","enum":["pending","processing","completed","failed"]},"webhook":{"$ref":"#/components/schemas/WebhookState"}},"required":["jobId","apiId","status","webhook"]}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}},"post":{"operationId":"replayWebhook","summary":"Replay Job Webhook","description":"Redeliver the terminal webhook for a completed or failed job.","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Replay attempt result","content":{"application/json":{"schema":{"type":"object","properties":{"replayed":{"type":"boolean"},"replayError":{"type":"string"},"job":{"$ref":"#/components/schemas/Job"}},"required":["replayed","job"]}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"},"409":{"$ref":"#/components/responses/ValidationError"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"ErrorBody":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"ErrorResponse":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"required":["error"]},"CreditCost":{"type":"object","properties":{"default":{"type":"number","description":"Display cost at default resolution"},"type":{"type":"string","enum":["fixed","per_second"],"description":"Pricing model (fixed per-image or per-second for video)"},"amount":{"type":"number","description":"Base rate (per image or per second)"},"resolutionCosts":{"type":"object","additionalProperties":{"type":"number"},"description":"Per-resolution cost overrides. For per_second models, values are credits/second. For fixed/per_image, values are credits per output."},"resolutionDurationCosts":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}},"description":"Fixed costs by resolution+duration combo (e.g. {\"768p\":{\"6\":8,\"10\":12}}). Only present for models with non-linear pricing."}},"required":["default","type","amount"]},"ModelSummary":{"type":"object","properties":{"apiId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"modality":{"type":"string","enum":["image","video"]},"creditCost":{"$ref":"#/components/schemas/CreditCost"},"hasAudio":{"type":"boolean"},"supportsLora":{"type":"boolean"},"supportsEditing":{"type":"boolean"},"supportsNSFW":{"type":"boolean"},"speed":{"type":"string"},"quality":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}}},"required":["apiId","name","description","modality","creditCost"]},"ModelListResponse":{"type":"object","properties":{"models":{"type":"array","items":{"$ref":"#/components/schemas/ModelSummary"}},"total":{"type":"integer"},"imageCount":{"type":"integer"},"videoCount":{"type":"integer"}},"required":["models","total","imageCount","videoCount"]},"ModelDetails":{"type":"object","properties":{"apiId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"modality":{"type":"string","enum":["image","video"]},"provider":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"creditCost":{"$ref":"#/components/schemas/CreditCost"},"refundable":{"type":"boolean"},"inputParameters":{"type":"array","items":{"type":"object"}},"aspectRatios":{"type":"array","items":{"type":"string"}},"requestSchema":{"type":"object","additionalProperties":true},"endpoints":{"type":"object","properties":{"run":{"type":"string"},"schema":{"type":"string"},"docs":{"type":"string"},"llmDoc":{"type":"string"}}}},"required":["apiId","name","description","modality","provider","creditCost","requestSchema","endpoints"]},"ModelSchemaResponse":{"type":"object","properties":{"apiId":{"type":"string"},"name":{"type":"string"},"modality":{"type":"string","enum":["image","video"]},"schema":{"type":"object","additionalProperties":true}},"required":["apiId","name","modality","schema"]},"SubmitJobResponse":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["pending","processing"]},"statusUrl":{"type":"string"},"creditCost":{"type":"number"},"creditsRemaining":{"type":"number"},"expiresAt":{"type":"string","format":"date-time"},"webhookUrl":{"type":"string"}},"required":["jobId","status","statusUrl","creditCost","creditsRemaining","expiresAt"]},"JobOutput":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string","format":"uri"}},"video":{"type":"string","format":"uri"}}},"AssetReference":{"type":"object","properties":{"assetId":{"type":"string"},"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"apiId":{"type":"string"},"jobId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"}},"required":["assetId","kind","url","apiId","jobId","expiresAt"]},"WebhookState":{"type":"object","properties":{"configured":{"type":"boolean"},"url":{"type":"string","format":"uri"},"delivered":{"type":"boolean"},"attempts":{"type":"integer"},"lastError":{"type":"string"}},"required":["configured","delivered","attempts"]},"Job":{"type":"object","properties":{"jobId":{"type":"string"},"apiId":{"type":"string"},"status":{"type":"string","enum":["pending","processing","completed","failed"]},"creditCost":{"type":"number"},"refunded":{"type":"boolean"},"error":{"type":"string"},"output":{"$ref":"#/components/schemas/JobOutput"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/AssetReference"}},"webhook":{"$ref":"#/components/schemas/WebhookState"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["jobId","apiId","status","creditCost","refunded","assets","webhook","createdAt","updatedAt","expiresAt"]},"JobListResponse":{"type":"object","properties":{"jobs":{"type":"array","items":{"$ref":"#/components/schemas/Job"}},"total":{"type":"integer"},"filters":{"type":"object","properties":{"limit":{"type":"integer"},"status":{"type":"string"},"apiId":{"type":"string"}}}},"required":["jobs","total","filters"]},"FluxDevRequest":{"title":"Flux DevRequest","description":"High-quality development model with configurable steps, guidance, and LoRA support.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"FluxKreaDevRequest":{"title":"Flux Krea DevRequest","description":"Photorealistic generation that avoids the oversaturated AI look. LoRA compatible.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"Flux11ProRequest":{"title":"Flux 1.1 ProRequest","description":"Latest pro model with enhanced quality and strong prompt adherence.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"Flux11ProUltraRequest":{"title":"Flux 1.1 Pro UltraRequest","description":"Highest quality Flux model with raw mode for natural-looking images.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"FluxKontextProRequest":{"title":"Flux Kontext ProRequest","description":"Advanced model with state-of-the-art performance for both generation and editing.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"FluxKontextMaxRequest":{"title":"Flux Kontext MaxRequest","description":"Premium model with maximum performance and improved typography for generation and editing.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"Flux2FlexRequest":{"title":"Flux 2 FlexRequest","description":"Max-quality with up to 10 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2Klein4bRequest":{"title":"Flux 2 Klein 4BRequest","description":"Very fast generation and editing with up to 5 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2Klein9bRequest":{"title":"Flux 2 Klein 9BRequest","description":"4-step distilled FLUX.2 [klein] foundation model for flexible control","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2ProRequest":{"title":"Flux 2 ProRequest","description":"High-quality with up to 8 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2MaxRequest":{"title":"Flux 2 MaxRequest","description":"The highest fidelity image model from Black Forest Labs","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2DevRequest":{"title":"Flux 2 DevRequest","description":"Fast quality with up to 4 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Seedream4Request":{"title":"Seedream 4.5Request","description":"ByteDance Seedream 4.5 - New-generation image creation with superior aesthetics, text rendering, and up to 4K resolution","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output size preset or resolution","type":"string","enum":["auto_2K","auto_4K","square_1_1","landscape_16_9","portrait_9_16","landscape_4_3","portrait_3_4","landscape_3_2","portrait_2_3","landscape_21_9"],"default":"auto_2K"},"custom_width":{"title":"Custom Width","description":"Custom width in pixels (1296-4096)","type":"integer","minimum":1296,"maximum":4096},"custom_height":{"title":"Custom Height","description":"Custom height in pixels (1296-4096)","type":"integer","minimum":1296,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"num_outputs":{"title":"Number of Images","description":"Number of images to generate (1-15)","type":"integer","default":1,"minimum":1,"maximum":15}},"required":["prompt"]},"Seedream5LiteRequest":{"title":"Seedream 5 LiteRequest","description":"ByteDance Seedream 5.0 Lite - fast, high-quality image generation and editing with strong aesthetics and text rendering","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output size preset or resolution","type":"string","enum":["auto_2K","auto_3K","square_1_1","landscape_16_9","portrait_9_16","landscape_4_3","portrait_3_4","landscape_3_2","portrait_2_3","landscape_21_9"],"default":"auto_2K"},"custom_width":{"title":"Custom Width","description":"Custom width in pixels (1296-4096)","type":"integer","minimum":1296,"maximum":4096},"custom_height":{"title":"Custom Height","description":"Custom height in pixels (1296-4096)","type":"integer","minimum":1296,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"num_outputs":{"title":"Number of Images","description":"Number of images to generate (1-15)","type":"integer","default":1,"minimum":1,"maximum":15}},"required":["prompt"]},"PonyxlPonyrealismV23Request":{"title":"Pony RealismRequest","description":"Pony Realism - Stylized anime generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string","default":"distorted face, asymmetric features, extra limbs, deformed hands, blurry eyes, disfigured, bad anatomy"},"width":{"title":"Width","description":"Image width in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"height":{"title":"Height","description":"Image height in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"steps":{"title":"Steps","description":"Number of diffusion steps (1-100)","type":"integer","default":35,"minimum":1,"maximum":100},"cfg_scale":{"title":"CFG Scale","description":"Classifier-free guidance scale (1-50)","type":"number","default":5,"minimum":1,"maximum":50},"scheduler":{"title":"Scheduler","description":"Sampling scheduler","type":"string","enum":["DPM++ 2M SDE Karras","DPM++ 2M Karras","Euler","Euler a"],"default":"DPM++ 2M SDE Karras"},"batch_size":{"title":"Batch Size","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (-1 for random)","type":"integer","default":-1}},"required":["prompt"]},"PonyxlTponynai3V7Request":{"title":"Pony NAIRequest","description":"Pony NAI - Stylized anime generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string","default":"distorted face, asymmetric features, extra limbs, deformed hands, blurry eyes, disfigured, bad anatomy"},"width":{"title":"Width","description":"Image width in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"height":{"title":"Height","description":"Image height in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"steps":{"title":"Steps","description":"Number of diffusion steps (1-100)","type":"integer","default":35,"minimum":1,"maximum":100},"cfg_scale":{"title":"CFG Scale","description":"Classifier-free guidance scale (1-50)","type":"number","default":5,"minimum":1,"maximum":50},"scheduler":{"title":"Scheduler","description":"Sampling scheduler","type":"string","enum":["DPM++ 2M SDE Karras","DPM++ 2M Karras","Euler","Euler a"],"default":"DPM++ 2M SDE Karras"},"batch_size":{"title":"Batch Size","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (-1 for random)","type":"integer","default":-1}},"required":["prompt"]},"PonyxlWaianinsfwponyxlV140Request":{"title":"Wai ANIRequest","description":"Wai ANI - Stylized anime generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string","default":"distorted face, asymmetric features, extra limbs, deformed hands, blurry eyes, disfigured, bad anatomy"},"width":{"title":"Width","description":"Image width in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"height":{"title":"Height","description":"Image height in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"steps":{"title":"Steps","description":"Number of diffusion steps (1-100)","type":"integer","default":35,"minimum":1,"maximum":100},"cfg_scale":{"title":"CFG Scale","description":"Classifier-free guidance scale (1-50)","type":"number","default":5,"minimum":1,"maximum":50},"scheduler":{"title":"Scheduler","description":"Sampling scheduler","type":"string","enum":["DPM++ 2M SDE Karras","DPM++ 2M Karras","Euler","Euler a"],"default":"DPM++ 2M SDE Karras"},"batch_size":{"title":"Batch Size","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (-1 for random)","type":"integer","default":-1}},"required":["prompt"]},"QwenImagePlusRequest":{"title":"QWEN Image PlusRequest","description":"Fast generation with excellent quality","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9"],"default":"1:1"},"num_inference_steps":{"title":"Inference Steps","description":"Number of inference steps (28-50)","type":"integer","default":35,"minimum":28,"maximum":50},"guidance":{"title":"Guidance","description":"Guidance scale (2-4)","type":"number","default":3,"minimum":2,"maximum":4},"go_fast":{"title":"Go Fast","description":"Enable faster generation","type":"boolean","default":false},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"QwenImageMaxRequest":{"title":"QWEN Image MaxRequest","description":"Highest quality output","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9"],"default":"1:1"},"num_inference_steps":{"title":"Inference Steps","description":"Number of inference steps (28-50)","type":"integer","default":35,"minimum":28,"maximum":50},"guidance":{"title":"Guidance","description":"Guidance scale (2-4)","type":"number","default":3,"minimum":2,"maximum":4},"go_fast":{"title":"Go Fast","description":"Enable faster generation","type":"boolean","default":false},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"QwenImage20Request":{"title":"QWEN Image 2.0Request","description":"Fast, balanced image generation and editing","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate or editing instruction","type":"string"},"model":{"title":"Model","description":"Model variant to use","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-pro"],"default":"qwen-image-2.0"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height)","type":"string","enum":["1024*1024","1536*1536","768*1152","1024*1536","1152*768","1536*1024","960*1280","1080*1440","1280*960","1440*1080","720*1280","1080*1920","1280*720","1920*1080","1344*576","2048*872"],"default":"1024*1024"},"prompt_extend":{"title":"Prompt Enhancement","description":"Enable AI prompt enhancement for better results","type":"boolean","default":false},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-6)","type":"integer","default":1,"minimum":1,"maximum":6},"seed":{"title":"Seed","description":"Random seed for reproducibility (0-2147483647)","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt"]},"QwenImage20ProRequest":{"title":"QWEN Image 2.0 ProRequest","description":"Enhanced text rendering, realistic textures, and semantic adherence","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate or editing instruction","type":"string"},"model":{"title":"Model","description":"Model variant to use","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-pro"],"default":"qwen-image-2.0"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height)","type":"string","enum":["1024*1024","1536*1536","768*1152","1024*1536","1152*768","1536*1024","960*1280","1080*1440","1280*960","1440*1080","720*1280","1080*1920","1280*720","1920*1080","1344*576","2048*872"],"default":"1024*1024"},"prompt_extend":{"title":"Prompt Enhancement","description":"Enable AI prompt enhancement for better results","type":"boolean","default":false},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-6)","type":"integer","default":1,"minimum":1,"maximum":6},"seed":{"title":"Seed","description":"Random seed for reproducibility (0-2147483647)","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt"]},"WanImageRequest":{"title":"WAN 2.2 ImageRequest","description":"Fast cinematic image generation (3-6 seconds) with up to 4MP output and optional LoRA support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4"],"default":"1:1"},"megapixels":{"title":"Megapixels","description":"Output resolution in megapixels (1-4)","type":"integer","default":2,"minimum":1,"maximum":4},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Wan26ImageRequest":{"title":"WAN 2.6 ImageRequest","description":"Alibaba WAN 2.6 high-quality AI image generation with prompt enhancement and up to 2MP output","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height)","type":"string","enum":["1280*1280","1024*1024","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280"],"default":"1280*1280"},"prompt_extend":{"title":"Prompt Enhancement","description":"Enable AI prompt enhancement","type":"boolean","default":false},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"required":["prompt"]},"Wan27ImageRequest":{"title":"WAN 2.7 StandardRequest","description":"Faster Wan 2.7 image generation and editing","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height)","type":"string","enum":["1280*1280","1024*1024","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280"],"default":"1280*1280"},"thinking_mode":{"title":"Thinking Mode","description":"Improves text-to-image quality at the cost of slower generation","type":"boolean","default":false},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"required":["prompt"]},"Wan27ImageProRequest":{"title":"WAN 2.7 ProRequest","description":"Higher quality Wan 2.7 tier with 4K support for text-to-image","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height)","type":"string","enum":["1280*1280","1024*1024","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280"],"default":"1280*1280"},"thinking_mode":{"title":"Thinking Mode","description":"Improves text-to-image quality at the cost of slower generation","type":"boolean","default":false},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"required":["prompt"]},"ZImageTurboRequest":{"title":"Z Image TurboRequest","description":"Super fast 6B parameter photorealistic image generation with excellent text rendering and LoRA support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4"],"default":"1:1"},"num_inference_steps":{"title":"Inference Steps","description":"Number of inference steps (1-8)","type":"integer","default":8,"minimum":1,"maximum":8},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"PImageRequest":{"title":"P-ImageRequest","description":"Sub-second text-to-image generation with exceptional text rendering and prompt adherence","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","9:16","16:9"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"required":["prompt"]},"ImagineartRequest":{"title":"ImagineArt 1.5 ProRequest","description":"Advanced text-to-image model generating ultra-high-fidelity 4K visuals with lifelike realism and refined aesthetics","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","1:3","3:1"],"default":"1:1"},"seed":{"title":"Seed","description":"Seed for image generation (optional)","type":"integer"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"required":["prompt"]},"GeminiFlashRequest":{"title":"Google Gemini FlashRequest","description":"Fast generation with Gemini 2.5 Flash","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["1K","2K","4K"],"default":"2K"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"required":["prompt"]},"NanoBananaProRequest":{"title":"Google Nano Banana ProRequest","description":"SOTA with accurate typography and reasoning","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["1K","2K","4K"],"default":"2K"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"reference_images":{"title":"Reference images","description":"HTTPS URLs of one or more reference images for style, composition, or guidance. Multiple images supported.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14}},"required":["prompt"]},"NanoBanana2Request":{"title":"Google Nano Banana 2Request","description":"Next-generation SOTA model with stronger consistency","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["1K","2K","4K"],"default":"2K"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"reference_images":{"title":"Reference images","description":"HTTPS URLs of one or more reference images for style, composition, or guidance. Multiple images supported.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14}},"required":["prompt"]},"GptImageLowRequest":{"title":"GPT-Image 1.5 LowRequest","description":"Fast, lower detail generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output image dimensions","type":"string","enum":["1024x1024","1536x1024","1024x1536"],"default":"1024x1024"},"quality":{"title":"Quality","description":"Generation quality tier","type":"string","enum":["low","medium","high"],"default":"high"},"background":{"title":"Background","description":"Background handling","type":"string","enum":["auto","transparent","opaque"],"default":"auto"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpeg","webp"],"default":"png"}},"required":["prompt"]},"GptImageMediumRequest":{"title":"GPT-Image 1.5 MediumRequest","description":"Balanced quality and speed","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output image dimensions","type":"string","enum":["1024x1024","1536x1024","1024x1536"],"default":"1024x1024"},"quality":{"title":"Quality","description":"Generation quality tier","type":"string","enum":["low","medium","high"],"default":"high"},"background":{"title":"Background","description":"Background handling","type":"string","enum":["auto","transparent","opaque"],"default":"auto"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpeg","webp"],"default":"png"}},"required":["prompt"]},"GptImageHighRequest":{"title":"GPT-Image 1.5 HighRequest","description":"Maximum detail and quality","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output image dimensions","type":"string","enum":["1024x1024","1536x1024","1024x1536"],"default":"1024x1024"},"quality":{"title":"Quality","description":"Generation quality tier","type":"string","enum":["low","medium","high"],"default":"high"},"background":{"title":"Background","description":"Background handling","type":"string","enum":["auto","transparent","opaque"],"default":"auto"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpeg","webp"],"default":"png"}},"required":["prompt"]},"KlingImageRequest":{"title":"Kling Image V3Request","description":"Kling Image V3 text-to-image generation with optional image edits and flexible aspect ratios","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string"},"resolution":{"title":"Resolution","description":"Image generation resolution","type":"string","enum":["1K","2K"],"default":"1K"},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio of the generated image","type":"string","enum":["16:9","9:16","1:1","4:3","3:4","3:2","2:3","21:9"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-9)","type":"integer","default":1,"minimum":1,"maximum":9},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpeg","webp"],"default":"png"}},"required":["prompt"]},"XaiImageRequest":{"title":"Grok Imagine ImageRequest","description":"Grok Imagine Image via Replicate for text-to-image and single-image edits","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation or editing","type":"string"},"image_url":{"title":"Image URL","description":"Optional source image URL for edit mode","type":"string","format":"uri"},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio for generated images (ignored for edits)","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"default":"1:1"}},"required":["prompt"]},"DreaminaRequest":{"title":"Dreamina 3.1Request","description":"ByteDance 4MP cinematic image generation with enhanced quality, precise style control, and commercial design optimization","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"enhance_prompt":{"title":"Enhance Prompt","description":"Enable AI prompt enhancement","type":"boolean","default":true},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio (or \"custom\" for specific dimensions)","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["HD","2K","4K"],"default":"2K"},"width":{"title":"Width","description":"Custom width (256-2048, for custom aspect ratio)","type":"integer","minimum":256,"maximum":2048},"height":{"title":"Height","description":"Custom height (256-2048, for custom aspect ratio)","type":"integer","minimum":256,"maximum":2048},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"KlingVideoV3StandardTextRequest":{"title":"Kling Video v3 Standard (Text)Request","description":"Standard text-to-video with native audio","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for video generation","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"voice_ids":{"title":"Voice IDs","description":"Voice IDs for audio synthesis (up to 2 voices)","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize","intelligent"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature, watermark, excessive motion, flickering"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["prompt"]},"KlingVideoV3StandardImageRequest":{"title":"Kling Video v3 Standard (Image)Request","description":"Standard image-to-video with native audio","type":"object","additionalProperties":false,"properties":{"start_image_url":{"title":"Start Image URL","description":"Source image for image-to-video generation","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional motion prompt (required if multi_prompt is omitted)","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"end_image_url":{"title":"End Image URL","description":"Optional end frame image for interpolation","type":"string","format":"uri"},"elements":{"title":"Elements","description":"Optional character/object elements for reference","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature, watermark, excessive motion, flickering"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["start_image_url"]},"KlingVideoV3ProTextRequest":{"title":"Kling Video v3 Pro (Text)Request","description":"Pro text-to-video with cinematic quality and native audio","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for video generation","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"voice_ids":{"title":"Voice IDs","description":"Voice IDs for audio synthesis (up to 2 voices)","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize","intelligent"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature, watermark, excessive motion, flickering"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["prompt"]},"KlingVideoV3ProImageRequest":{"title":"Kling Video v3 Pro (Image)Request","description":"Pro image-to-video with cinematic quality and native audio","type":"object","additionalProperties":false,"properties":{"start_image_url":{"title":"Start Image URL","description":"Source image for image-to-video generation","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional motion prompt (required if multi_prompt is omitted)","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"end_image_url":{"title":"End Image URL","description":"Optional end frame image for interpolation","type":"string","format":"uri"},"elements":{"title":"Elements","description":"Optional character/object elements for reference","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature, watermark, excessive motion, flickering"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["start_image_url"]},"Wan26StandardRequest":{"title":"WAN 2.6 StandardRequest","description":"Higher quality, 720p/1080p support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"image_url":{"title":"Image URL","description":"Source image for image-to-video mode","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5-15)","type":"integer","default":5,"minimum":5,"maximum":15},"enable_prompt_expansion":{"title":"Prompt Expansion","description":"Automatically enhance the prompt","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}}},"Wan26FlashRequest":{"title":"WAN 2.6 FlashRequest","description":"Fast and affordable image-to-video","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"image_url":{"title":"Image URL","description":"Source image for image-to-video mode","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5-15)","type":"integer","default":5,"minimum":5,"maximum":15},"enable_prompt_expansion":{"title":"Prompt Expansion","description":"Automatically enhance the prompt","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}}},"Wan27T2vRequest":{"title":"WAN 2.7 Text-to-VideoRequest","description":"Text-to-video with audio sync, 720p/1080p output, and 2-15 second durations","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate (max 5000 characters)","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video (max 500 characters)","type":"string"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["text-to-video"],"default":"text-to-video"},"resolution":{"title":"Resolution","description":"Video resolution tier","type":"string","enum":["720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio (text-to-video only)","type":"string","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (2-15)","type":"integer","default":5,"minimum":2,"maximum":15},"enable_prompt_expansion":{"title":"Prompt Expansion","description":"Automatically enhance the prompt","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}}},"Wan27I2vRequest":{"title":"WAN 2.7 Image-to-VideoRequest","description":"Image-to-video with first+last frame control and audio sync","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate (max 5000 characters)","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video (max 500 characters)","type":"string"},"image_url":{"title":"Image URL","description":"First-frame image for image-to-video mode","type":"string","format":"uri"},"last_frame_url":{"title":"Last Frame URL","description":"Optional last-frame image for first-and-last-frame-to-video","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["image-to-video"],"default":"image-to-video"},"resolution":{"title":"Resolution","description":"Video resolution tier","type":"string","enum":["720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio (text-to-video only)","type":"string","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (2-15)","type":"integer","default":5,"minimum":2,"maximum":15},"enable_prompt_expansion":{"title":"Prompt Expansion","description":"Automatically enhance the prompt","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}}},"Wan22StandardRequest":{"title":"WAN 2.2 StandardRequest","description":"Premium quality with enhanced detail","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video mode","type":"string","format":"uri"},"last_image_url":{"title":"Last Image URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output video resolution","type":"string","enum":["480p","720p","1080p"],"default":"480p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5 or 10, Extended mode)","type":"integer","default":5,"minimum":5,"maximum":10},"num_frames":{"title":"Number of Frames","description":"Number of frames to generate (81-100)","type":"integer","default":100,"minimum":81,"maximum":100},"sample_shift":{"title":"Sample Shift","description":"Sampling shift value (0-20)","type":"number","default":12,"minimum":0,"maximum":20},"sample_steps":{"title":"Sample Steps","description":"Number of sampling steps (10-50)","type":"integer","default":30,"minimum":10,"maximum":50},"frames_per_second":{"title":"FPS","description":"Frames per second (8-24)","type":"integer","default":16,"minimum":8,"maximum":24},"interpolate_output":{"title":"Interpolate Output","description":"Interpolate output to 30 FPS","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Wan22PlusRequest":{"title":"WAN 2.2 PlusRequest","description":"Official Alibaba model with 1080p support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video mode","type":"string","format":"uri"},"last_image_url":{"title":"Last Image URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output video resolution","type":"string","enum":["480p","720p","1080p"],"default":"480p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5 or 10, Extended mode)","type":"integer","default":5,"minimum":5,"maximum":10},"num_frames":{"title":"Number of Frames","description":"Number of frames to generate (81-100)","type":"integer","default":100,"minimum":81,"maximum":100},"sample_shift":{"title":"Sample Shift","description":"Sampling shift value (0-20)","type":"number","default":12,"minimum":0,"maximum":20},"sample_steps":{"title":"Sample Steps","description":"Number of sampling steps (10-50)","type":"integer","default":30,"minimum":10,"maximum":50},"frames_per_second":{"title":"FPS","description":"Frames per second (8-24)","type":"integer","default":16,"minimum":8,"maximum":24},"interpolate_output":{"title":"Interpolate Output","description":"Interpolate output to 30 FPS","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Wan22ExtendedRequest":{"title":"WAN 2.2 ExtendedRequest","description":"fal.ai WAN 2.2 with up to 10-second videos and dual LoRA support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video mode","type":"string","format":"uri"},"last_image_url":{"title":"Last Image URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output video resolution","type":"string","enum":["480p","720p","1080p"],"default":"480p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5 or 10, Extended mode)","type":"integer","default":5,"minimum":5,"maximum":10},"num_frames":{"title":"Number of Frames","description":"Number of frames to generate (81-100)","type":"integer","default":100,"minimum":81,"maximum":100},"sample_shift":{"title":"Sample Shift","description":"Sampling shift value (0-20)","type":"number","default":12,"minimum":0,"maximum":20},"sample_steps":{"title":"Sample Steps","description":"Number of sampling steps (10-50)","type":"integer","default":30,"minimum":10,"maximum":50},"frames_per_second":{"title":"FPS","description":"Frames per second (8-24)","type":"integer","default":16,"minimum":8,"maximum":24},"interpolate_output":{"title":"Interpolate Output","description":"Interpolate output to 30 FPS","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Veo31FastRequest":{"title":"VEO 3.1 FastRequest","description":"Faster generation at 3 credits per second","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image":{"title":"Image URL","description":"Starting image for image-to-video generation","type":"string","format":"uri"},"last_frame":{"title":"Last Frame URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 3 reference images for style guidance","type":"array","items":{"type":"string","format":"uri"}},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["4","6","8"],"default":"8"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["720p","1080p"],"default":"1080p"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Veo31StandardRequest":{"title":"VEO 3.1 StandardRequest","description":"Higher quality at 8 credits per second","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image":{"title":"Image URL","description":"Starting image for image-to-video generation","type":"string","format":"uri"},"last_frame":{"title":"Last Frame URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 3 reference images for style guidance","type":"array","items":{"type":"string","format":"uri"}},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["4","6","8"],"default":"8"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["720p","1080p"],"default":"1080p"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Veo31LiteRequest":{"title":"VEO 3.1 LiteRequest","description":"Runware-powered Lite variant at 1.5 credits/sec for 720p and 2 credits/sec for 1080p","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image":{"title":"Image URL","description":"Starting image for image-to-video generation","type":"string","format":"uri"},"last_frame":{"title":"Last Frame URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 3 reference images for style guidance","type":"array","items":{"type":"string","format":"uri"}},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["4","6","8"],"default":"8"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["720p","1080p"],"default":"1080p"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Seedance15Request":{"title":"Seedance 1.5Request","description":"ByteDance Seedance 1.5 video generation with native audio, dance motion, 480p/720p resolution, and up to 12 seconds duration","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video generation","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Ending frame for video interpolation (requires start image)","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Video duration in seconds (4-12)","type":"string","enum":["4","5","6","7","8","9","10","11","12"],"default":"5"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["480p","720p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"default":"16:9"},"camera_fixed":{"title":"Camera Fixed","description":"Keep camera stationary during generation","type":"boolean","default":false},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility (-1 for random)","type":"integer"}},"required":["prompt"]},"PVideoRequest":{"title":"P VideoRequest","description":"Pruna AI video generation with text/image input, optional audio conditioning, draft mode, and 720p/1080p outputs.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image":{"title":"Image URL","description":"Optional start image for image-to-video generation (jpg, jpeg, png, webp)","type":"string","format":"uri"},"last_frame_image":{"title":"Last Image URL","description":"Optional ending image for smoother transitions (jpg, jpeg, png, webp)","type":"string","format":"uri"},"audio":{"title":"Audio URL","description":"Optional audio track (flac, mp3, wav). When provided, model uses audio timing.","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Output duration in seconds (1-20). Ignored when audio is provided.","type":"integer","default":5,"minimum":1,"maximum":20},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Ignored when image input is provided.","type":"string","enum":["16:9","9:16","1:1","4:3","3:2","2:3"],"default":"16:9"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["720p","1080p"],"default":"720p"},"fps":{"title":"FPS","description":"Output frame rate (24 or 48 FPS)","type":"integer","default":24,"minimum":24,"maximum":48},"draft":{"title":"Draft Mode","description":"Lower-cost fast mode (720p draft=1 credit, 1080p draft=2 credits)","type":"boolean","default":false},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt automatically before generation","type":"boolean","default":false},"disable_safety_filter":{"title":"Disable Safety Filter","description":"Dashboard requests automatically use the account global spicy mode setting","type":"boolean","default":false},"save_audio":{"title":"Save Audio","description":"Preserve generated/provided audio in output video","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"HeygenAvatarRequest":{"title":"Heygen AvatarRequest","description":"Generate a talking avatar video from a portrait image and script using Heygen Avatar 4 on fal.ai.","type":"object","additionalProperties":false,"properties":{"image_url":{"title":"Image URL","description":"URL of the portrait image to animate","type":"string","format":"uri"},"prompt":{"title":"Script","description":"Text the avatar will speak. Required unless audio_url is provided.","type":"string"},"voice":{"title":"Voice","description":"Name of the voice to use for the avatar. Ignored when audio_url is provided.","type":"string","enum":["Warm Pro Narrator","Chill Brian","Ivy","John Doe","Monika Sogam","Hope ","Archer ","Brittney","Patrick","David Castlemore","Michael C","Adam Stone ","Juniper","Cassidy ","Jessica Anne Bogart","Arabella","Andrew","Spuds Oxley ","Grace Elder","Helen","Canyon Rivers","Derya - Lifelike - Excited 🤩","Mellow Marcus","Jack Sterling - Broadcaster 🎙️","Brenda - UGC - 1.mp4","Reid","Reagan","Terry","Jenny","Radio Rick","Denise","Tim in car - Excited 🤩","Iskander","Thompson","Delicate Daisy - Excited 🤩","Kingston","George UGC 1","Bold Blake","Jane","Expressive Evan","Marianne - IA","Aaron","Modern Recipe Host - Voice 1","Willow","Cute Chloe - Friendly 😊","Rafael","June - Lifelike","Crisp Chloe","Slick Simon","Nassim - Informative","Baritone Ben","Maxwell","Ellie Faye - Excited 🤩","Milani","Feisty Fiona - Excited 🤩","Professor Dean","Rose - UGC - 1.mp4","Shona","Hudson Wilder","Ann - IA","Alastair Kensington","Oxley","Christina","Andrew Rizz ","Peyton","Gerardo - Outdoor","Chloe - Lifelike","Stephanie","Anthony - IA","Signal - Voice 1","Luca","Lisa - Voice 1","T.W.Tucker","Jack Sullivan - Serious 😐","Winter","Mireia - Lifelike","Georgia","Stella","Masha - Lifelike","Charming Charles - Friendly 😊","Serenity","Annie - Excited","Ralph","Bethany","Dominic","Mason Finn","Leena","Veteran Victor","Tamara","Nik Public","Calm Chloe","Sevik","Reilly","Raul","Imposing Ian","Relaxed Ray","Dexter - Professional","Relaxed Rick","Edwin","Rupert Blackwood","Ginny","Hope"],"default":"Ivy"},"talking_style":{"title":"Talking Style","description":"stable for minimal movement, expressive for animated motion","type":"string","enum":["stable","expressive"],"default":"stable"},"expression":{"title":"Expression","description":"Optional facial expression. Current supported fixed value: \"happy\".","type":"string","enum":["happy"]},"background.type":{"title":"Background Type","description":"Background type: color, image, or video","type":"string","enum":["color","image","video"]},"background.value":{"title":"Background Value","description":"Hex color for color type, URL for image/video type","type":"string"},"audio_url":{"title":"Audio URL","description":"URL of an audio file for lip-sync. When provided, overrides prompt and voice.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution preset","type":"string","enum":["360p","480p","540p","720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output video aspect ratio: 16:9 landscape, 9:16 portrait, or 1:1 square","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"caption":{"title":"Captions","description":"Overlay generated captions on the output video","type":"boolean","default":false}},"required":["image_url"]},"XaiVideoRequest":{"title":"Grok Imagine VideoRequest","description":"Grok Imagine video generation via Replicate with text-to-video and image-to-video support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Source image for image-to-video mode","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["720p","480p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","4:3","1:1","9:16","3:4","3:2","2:3"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (1-15)","type":"integer","default":5,"minimum":1,"maximum":15}},"required":["prompt"]},"Seedance2Request":{"title":"Seedance 2Request","description":"ByteDance Seedance 2.0: cinematic text-to-video and image-to-video with 5–15s clips, basic/high quality, native audio, and up to 2K resolution","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video or motion to generate","type":"string"},"image_url":{"title":"Image URL","description":"Reference image for image-to-video (required when mode is image-to-video)","type":"string","format":"uri"},"mode":{"title":"Mode","description":"text-to-video or image-to-video","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["16:9","9:16","4:3","3:4"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5, 10, or 15)","type":"string","enum":["5","10","15"],"default":"5"},"quality":{"title":"Quality","description":"basic (faster) or high (more detail)","type":"string","enum":["basic","high"],"default":"basic"},"remove_watermark":{"title":"Remove Watermark","description":"Remove watermark from the generated video when supported","type":"boolean","default":false}},"required":["prompt"]},"Ltx2FastRequest":{"title":"LTX 2.3 FastRequest","description":"Fast text/image generation at 1, 2, or 4 credits per second depending on resolution.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate or how an extension should continue.","type":"string"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video generation.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Optional end frame to create a transition between start and end images.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Source video used when extending an existing clip.","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Clip duration in seconds. Fast text/image supports 6-20s, Pro text/image supports 6-10s, extend supports 1-20s.","type":"integer","default":6,"minimum":1,"maximum":20},"resolution":{"title":"Resolution","description":"Output resolution for text/image modes.","type":"string","enum":["1080p","1440p","2160p"],"default":"1080p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio for text/image modes.","type":"string","enum":["auto","16:9","9:16"],"default":"16:9"},"fps":{"title":"FPS","description":"Frames per second for text/image modes.","type":"string","enum":["24","25","48","50"],"default":"25"},"generate_audio":{"title":"Generate Audio","description":"Whether to generate synchronized audio when supported.","type":"boolean","default":true},"extend_mode":{"title":"Extend Direction","description":"For extend-video, choose whether to extend the start or end of the input clip.","type":"string","enum":["start","end"],"default":"end"},"context":{"title":"Context Seconds","description":"How many seconds from the source clip to use as context for extension.","type":"number","minimum":0,"maximum":20},"seed":{"title":"Seed","description":"Optional random seed for reproducibility.","type":"integer"}}},"Ltx2ProRequest":{"title":"LTX 2.3 ProRequest","description":"Higher quality text/image generation plus extend-video at 2, 3, or 6 credits per second by resolution.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate or how an extension should continue.","type":"string"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video generation.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Optional end frame to create a transition between start and end images.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Source video used when extending an existing clip.","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Clip duration in seconds. Fast text/image supports 6-20s, Pro text/image supports 6-10s, extend supports 1-20s.","type":"integer","default":6,"minimum":1,"maximum":20},"resolution":{"title":"Resolution","description":"Output resolution for text/image modes.","type":"string","enum":["1080p","1440p","2160p"],"default":"1080p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio for text/image modes.","type":"string","enum":["auto","16:9","9:16"],"default":"16:9"},"fps":{"title":"FPS","description":"Frames per second for text/image modes.","type":"string","enum":["24","25","48","50"],"default":"25"},"generate_audio":{"title":"Generate Audio","description":"Whether to generate synchronized audio when supported.","type":"boolean","default":true},"extend_mode":{"title":"Extend Direction","description":"For extend-video, choose whether to extend the start or end of the input clip.","type":"string","enum":["start","end"],"default":"end"},"context":{"title":"Context Seconds","description":"How many seconds from the source clip to use as context for extension.","type":"number","minimum":0,"maximum":20},"seed":{"title":"Seed","description":"Optional random seed for reproducibility.","type":"integer"}}}},"responses":{"ValidationError":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"UnauthorizedError":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"NotFoundError":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"InsufficientCreditsError":{"description":"Insufficient credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"ExpiredError":{"description":"Job expired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}