{"openapi":"3.1.0","info":{"title":"PixelDojo API","description":"Agent-first async API for AI image and video generation. 144 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 144 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":["boogu-image","boogu-image-edit","bria-3-2","change-camera-angle","clarity-pro-upscaler","consistent-characters","creative-upscale","ernie","face-enhance","flux","flux-2-flex","flux-2-klein-4b","flux-2-klein-9b","flux-2-pro","flux-2-max","flux-2-dev","flux-2-lora","flux-edit","flux-dev","flux-krea-dev","flux-dev-multi-lora","flux-1.1-pro","flux-1.1-pro-ultra","flux-kontext-pro","flux-kontext-max","gemini-flash","nano-banana-pro","nano-banana-2","nano-banana-2-lite","google-gemini-omni-flash","google-nano-banana","gpt-image-2","gpt-image-2-edit","grok-r2v","grok-video-extend","hailuo-standard","hailuo-fast","happyhorse-1.0-r2v","happyhorse-1.0-t2v","happyhorse-1.0-i2v","happyhorse-1.0-video-edit","heygen-avatar","hunyuan-3d","hunyuan-image-3","ideogram-v4-turbo","ideogram-v4-balanced","ideogram-v4-quality","ideogram-character","image-editor","image-relighting","image-to-image-flux","imagineart","kling-image","kling-image-edit","kling-motion-control","kling-motion-control-pro","kling-reference-to-video","kling-v2-6","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","kling-video-edit","krea-v2","ltx-2-fast-t2v","ltx-2-fast-i2v","ltx-2-pro-t2v","ltx-2-pro-i2v","ltx-2-pro-extend","luma-uni-1","magnific-upscaler","mai-image","omnihuman","outpaint","p-image","p-image-edit","p-image-upscale","p-video","p-video-avatar","pixverse","pixverse-v6","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-image-plus","qwen-image-max","qwen-image-2.0","qwen-image-2.0-pro","qwen-image-2-edit","qwen-image-edit","qwen-image-edit-spicy","recraft-v4.1","recraft-v4.1-pro","recraft-v4.1-svg","recraft-v4.1-pro-svg","redux-flux","reve","riverflow","rodin","seed-audio","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-4","seedream-5","seedream-5-lite","text-to-music","text-to-speech","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","video-autocaption","video-reframe","video-transform","video-upscaler","vidu-q3","wan-2.1-video","wan-2.2-standard","wan-2.2-plus","wan-2.2-extended","wan-2.2-animate","wan-2.2-i2v-spicy","wan-2.2-replace","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","wan-2.7-i2v-spicy","wan-2.7-image","wan-2.7-image-pro","wan-2.7-image-edit","wan-2.7-t2v","wan-2.7-i2v","wan-image","wan-reference-to-video","wan-video-character-swap","wan-video-edit","xai-image","xai-image-edit","xai-video","xai-video-edit","z-image-spicy","z-image-turbo"]},"description":"boogu-image: Boogu Image — bilingual (EN/ZH) text-to-image generation with crisp detail and 2K output.; boogu-image-edit: Boogu Image instruction-based editing. Provide a source image and an edit instruction.; bria-3-2: Bria 3.2 — text-to-image with 9 aspect ratio presets at 1K resolution, optional image and prompt enhancement, and photography/art medium hints.; change-camera-angle: Camera-aware editing via fal.ai Qwen Image Edit 2511 with multi-angle LoRA. 360° orbit, tilt, and zoom.; clarity-pro-upscaler: Clarity Pro Upscaler via Replicate. Photorealistic upscaling with identity preservation and creative control — up to 16× and 64 megapixels.; consistent-characters: Generate consistent character variations with FLUX Kontext, Nano Banana Pro/2, Flux 2 Dev, Qwen Image 2 Pro, or Grok Imagine.; creative-upscale: Clarity Upscaler (creative upscale) via Replicate. Boost detail with stable-diffusion refinement.; ernie: Baidu Ernie text-to-image (fal.ai). Multilingual prompts and built-in prompt expansion.; face-enhance: Crystal Upscaler via Replicate. Face-detail preserving upscale, cost scales with output megapixels.; flux: FLUX family on Replicate. Schnell, Dev, Pro, Kontext, Ultra, and LoRA remix variants in one entrypoint.; 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; flux-2-lora: Dev model with custom LoRA support; flux-edit: Black Forest Labs FLUX.1 Kontext for text-driven image editing. Dev (open-weight), Pro (state-of-the-art), and Max (premium typography).; flux-dev: High-quality development model with configurable steps and guidance. For LoRAs, use Flux Dev Multi LoRA.; flux-krea-dev: Photorealistic generation that avoids the oversaturated AI look. Supports a single LoRA via lora_weights.; flux-dev-multi-lora: Flux Dev with multiple stacked custom LoRAs for complex style combinations.; 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.; 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; nano-banana-2-lite: Faster, lower-cost Nano Banana 2 at fixed 1K resolution; google-gemini-omni-flash: Google Gemini Omni Flash: text, image, or video into 3–10s 720p clips with native audio. Image-to-video, reference images, and video editing.; google-nano-banana: Google Nano Banana image editing. Multi-image fusion + edit instruction with Standard/Pro/Pro-fal tiers and 1K/2K/4K resolution.; gpt-image-2: OpenAI GPT Image 2 via fal.ai — next-generation image model with 4K rendering and sharper text fidelity.; gpt-image-2-edit: OpenAI GPT Image 2 image editing — supply 1-8 reference images plus an edit instruction. Optional mask for inpainting. 4K-capable; pricing varies by quality + size.; grok-r2v: xAI Grok Imagine reference-to-video via Replicate. 1 to 7 reference images plus prompt for 1 to 10 second clips at 480p or 720p.; grok-video-extend: xAI Grok Imagine video extension. Continue an existing MP4 with a prompt-directed extension (2 to 10 seconds).; hailuo-standard: Premium quality text-to-video and image-to-video; hailuo-fast: Fast image-to-video generation; happyhorse-1.0-r2v: Alibaba Happy Horse reference-to-video (1.0 or 1.1) — multi-reference image input that preserves subject characters, driven by a text prompt. 720p / 1080p, 3-15 second clips. Version 1.1 runs at a lower per-second credit rate.; happyhorse-1.0-t2v: Text-to-video with 720p/1080p output and 2-15 second durations; happyhorse-1.0-i2v: Image-to-video animation with 720p/1080p output and 2-15 second durations; happyhorse-1.0-video-edit: Alibaba Happy Horse 1.0 video edit — apply style transfer or local replacement to a source video using text prompts and optional reference images. 720p / 1080p, 3-15 second output.; heygen-avatar: Heygen Avatar 4 via fal.ai. Animate a portrait with prompt-driven speech or an audio track, with optional background and captions. Costs 2 credits per second of output video: an estimate is held at submission and settled to the actual duration when the job completes.; hunyuan-3d: Tencent Hunyuan 3D 3.1. Generate 3D meshes from a text prompt or a single image.; hunyuan-image-3: Hunyuan Image 3.0 — Tencent's 80B-parameter MoE text-to-image model. High-fidelity generation with seven aspect ratio presets and a fast mode toggle.; ideogram-v4-turbo: Fastest and cheapest Ideogram 4.0. Same stunning realism, creative designs, and text rendering — tuned for speed and iteration.; ideogram-v4-balanced: The sweet spot. Balances speed, quality, and cost — a great default for most graphic design, marketing, and poster work.; ideogram-v4-quality: The highest-quality Ideogram 4.0. Slowest but best for hero images, print-ready work, and detailed text-heavy layouts.; ideogram-character: Generate consistent characters from a single reference image in many styles.; image-editor: One-shot FLUX Kontext variants — filters, cartoonify, iconic locations, haircut swap, headshots, renaissance, face-to-many, and more.; image-relighting: Relight images with Magic Lighting, Nano Banana Pro/2, or Qwen Image Edit — multi-provider routing with per-model credit rates.; image-to-image-flux: FLUX Dev LoRA image-to-image on Replicate. Prompt + source image + optional LoRA weights.; imagineart: ImagineArt family: 1.5, 1.5 Pro, and the 2.0 preview.; kling-image: Kling Image V3 (fal.ai). High-quality text-to-image with flexible aspect ratios.; kling-image-edit: Kling Image V3 (fal.ai) image-to-image editing with a text instruction.; kling-motion-control: Kling Video v3 Standard motion control endpoint; kling-motion-control-pro: Kling Video v3 Pro motion control endpoint; kling-reference-to-video: Kling O3 reference-driven video generation. Image or video references, Standard or Pro tier.; kling-v2-6: Kling Video v2.6 Pro (fal.ai). Text-to-video or image-to-video, 5 or 10 seconds, with audio generation.; 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; kling-video-edit: Kling O3 video-to-video edit. Standard or Pro, with optional reference images and audio preservation.; krea-v2: Krea's aesthetic text-to-image, three tiers in one tool. Turbo for fast, cheap (0.5 credit), spicy-capable generation with optional custom LoRAs; Medium and Large for higher fidelity with a creativity control and optional style-reference images.; ltx-2-fast-t2v: Fast text-to-video generation (6-20s, 1080p-2160p).; ltx-2-fast-i2v: Fast image-to-video generation (6-20s, 1080p-2160p).; ltx-2-pro-t2v: Higher quality text-to-video generation (6-10s, 1080p-2160p).; ltx-2-pro-i2v: Higher quality image-to-video generation (6-10s, 1080p-2160p).; ltx-2-pro-extend: Extend an existing video clip from the start or end (1-20s, Pro tier only).; luma-uni-1: Luma UNI 1 (Standard + MAX) via Runware. Text-to-image and reference-guided image editing with one prompt, two quality tiers.; magnific-upscaler: Freepik Magnific upscaler. Creative or precision mode, up to 16x.; mai-image: Microsoft MAI Image 2.5 — text-to-image with strong prompt adherence, natural lighting, and clean detail across 11 aspect ratios.; omnihuman: ByteDance OmniHuman 1.5 via Replicate. Audio-driven talking-head video with lip sync.; outpaint: fal.ai Image Apps V2 outpainting. Expand an image beyond its original edges.; p-image: Pruna P-Image. Sub-second text-to-image with optional custom dimensions.; p-image-edit: Pruna P-Image Edit. Fast image editing with up to 5 reference images.; p-image-upscale: Pruna P-Image Upscale. Fast image upscaling to a target megapixel size, with optional detail and realism enhancement.; p-video: Pruna P-Video — video generation with text/image/audio conditioning, draft mode, and 720p/1080p outputs.; p-video-avatar: Pruna P Video Avatar — animate a portrait into a talking avatar from a script or an audio file. 30 voices, 10 languages, 720p / 1080p.; pixverse: Pixverse v5.6 video generation via Replicate — text-to-video or image-to-video with optional audio, at 360p–1080p.; pixverse-v6: Pixverse V6 video generation via Runware. Text-to-video, image-to-video (start frame), or multi-clip (start + end frame).; 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; qwen-image-2-edit: Alibaba DashScope Qwen Image 2 edit — supply 1-3 reference images plus an edit instruction. Standard and Pro variants.; qwen-image-edit: Alibaba DashScope Qwen Image edit — supply 1-3 reference images plus an edit instruction. Plus and Max model variants.; qwen-image-edit-spicy: Qwen Image Edit Spicy. Add, remove, or modify elements in an existing image with text guidance.; recraft-v4.1: Recraft's latest image model. Better photorealism, smoother gradients, and improved text rendering vs V4. ~1024px output.; recraft-v4.1-pro: V4.1 at ~2048px resolution. Print-ready and large-scale work with the same prompt accuracy and design taste as standard.; recraft-v4.1-svg: Production-ready SVG vector output. Clean geometry, structured layers, editable paths — V4.1's design taste applied to vector.; recraft-v4.1-pro-svg: Detailed SVG vector graphics with finer paths and more geometric detail than standard SVG.; redux-flux: Black Forest Labs Flux Redux image variations — feed a source image, get stylistic riffs.; reve: Reve 2.1 — generate from text, edit a single image, or remix up to 8 reference images with frame-level prompt control.; riverflow: Sourceful Riverflow 2.0 (Fast + Pro) via Runware. Text-to-image with optional reference image guidance — references steer style and composition, the model generates a fresh frame from your prompt. Two quality tiers.; rodin: Hyper3D Rodin v2.5. Turn up to 5 reference images into production-ready 3D models, with fast and standard quality modes.; seed-audio: ByteDance Seed Audio 1.0. Generate speech, voice clones, and full audio scenes (radio dramas, podcasts, narration) from a prompt.; seedance-1.5: ByteDance Seedance 1 video generation. Text-to-video or image-to-video with optional end frame.; seedance-2-high: Higher-quality Seedance 2.0 video generation (supports 1080p); seedance-2-reference: Seedance 2.0 multimodal reference-to-video. Combine up to 9 images, 3 video clips, and 3 audio tracks to guide characters, motion, and sound.; seedance-video-edit: Edit source videos with Seedance 2.0 using prompted changes, optional reference images, and 480p, 720p, or 1080p output.; seedream-4: ByteDance Seedream 4.5 — new-generation image creation with superior aesthetics, text rendering, and up to 4K resolution.; seedream-5: Seedream 5 Pro — the flagship Seedream image model with sharper realism, stronger prompt adherence, and best-in-class text rendering.; seedream-5-lite: ByteDance Seedream 5.0 Lite — fast, high-quality image generation and editing with strong aesthetics and text rendering.; text-to-music: ElevenLabs Music. Generate full songs from a prompt, or compose section by section with a structured plan.; text-to-speech: MiniMax Speech 2.8 Turbo via Replicate. Convert text into natural-sounding speech.; 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. No reference images, no audio generation, no 1:1 aspect ratio.; video-autocaption: TikTok-style auto-captioning via Replicate.; video-reframe: Luma Reframe Video via Replicate. Change a video's aspect ratio intelligently.; video-transform: Runway Aleph 2.0 via Replicate. Transform up to 30 seconds of video with a prompt.; video-upscaler: Topaz Labs Video Upscale via Replicate. Upscale video resolution and FPS.; vidu-q3: Vidu Q3 — text-to-video and image-to-video at 360p, 540p, 720p, or 1080p with optional synchronized audio.; wan-2.1-video: WAN 2.1 (14B) text & image to video with LoRA support. 480p/720p, 1-5 second clips.; 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; wan-2.2-animate: WAN 2.2 video animation. Drive a character image with a motion reference video.; wan-2.2-i2v-spicy: Image-to-video with WAN 2.2 Spicy. Animate a starting image. 480p or 720p, 5s or 8s clips.; wan-2.2-replace: WAN 2.2 character replacement. Swap a character in a source video while preserving scene and motion.; wan-2.6-standard: Higher quality, 720p/1080p support; wan-2.6-flash: Fast and affordable image-to-video; wan-2.6-image: Alibaba WAN 2.6 text-to-image with prompt enhancement and multi-image output.; wan-2.6-image-edit: Alibaba WAN 2.6 image editing. Up to 4 reference images.; wan-2.7-i2v-spicy: Image-to-video with WAN 2.7 Spicy. Animate a starting image with optional driving audio. 720p or 1080p, 2–15 second clips.; 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; wan-2.7-image-edit: Alibaba WAN 2.7 image editing. Standard and Pro tiers, supports up to 9 input images for fusion edits.; 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 and video continuation with optional last-frame control and audio sync; wan-image: Fast cinematic image generation (3-6 seconds) with up to 2MP output and optional LoRA support.; wan-reference-to-video: Alibaba WAN reference-to-video. Up to 5 image/video references with multi-shot support.; wan-video-character-swap: Alibaba WAN character swap. Combine a character image with a reference video to produce a new clip.; wan-video-edit: Alibaba WAN 2.7 video editing. Modify an existing clip via prompt with optional reference images.; xai-image: xAI Grok Imagine. Fast tier for quick iteration, Quality tier for higher fidelity at 1k or 2k.; xai-image-edit: xAI Grok image editing. Sync response (no polling). Provide an image URL and a text edit instruction. Optional quality tier for 1k/2k high-fidelity edits.; xai-video: xAI Grok Imagine video. Text-to-video or image-to-video, 1-15 seconds at 480p or 720p. Image-to-video can use the Grok Imagine 1.5 backbone for natively-synchronized audio.; xai-video-edit: xAI Grok Imagine Video edit. Transform short clips via Replicate.; z-image-spicy: Z Image Spicy text-to-image. Square / portrait / landscape compositions, 256–1536px on each side.; z-image-turbo: Super-fast 6B parameter text-to-image with great text rendering and LoRA support."}],"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":["boogu-image","boogu-image-edit","bria-3-2","change-camera-angle","clarity-pro-upscaler","consistent-characters","creative-upscale","ernie","face-enhance","flux","flux-2-flex","flux-2-klein-4b","flux-2-klein-9b","flux-2-pro","flux-2-max","flux-2-dev","flux-2-lora","flux-edit","flux-dev","flux-krea-dev","flux-dev-multi-lora","flux-1.1-pro","flux-1.1-pro-ultra","flux-kontext-pro","flux-kontext-max","gemini-flash","nano-banana-pro","nano-banana-2","nano-banana-2-lite","google-gemini-omni-flash","google-nano-banana","gpt-image-2","gpt-image-2-edit","grok-r2v","grok-video-extend","hailuo-standard","hailuo-fast","happyhorse-1.0-r2v","happyhorse-1.0-t2v","happyhorse-1.0-i2v","happyhorse-1.0-video-edit","heygen-avatar","hunyuan-3d","hunyuan-image-3","ideogram-v4-turbo","ideogram-v4-balanced","ideogram-v4-quality","ideogram-character","image-editor","image-relighting","image-to-image-flux","imagineart","kling-image","kling-image-edit","kling-motion-control","kling-motion-control-pro","kling-reference-to-video","kling-v2-6","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","kling-video-edit","krea-v2","ltx-2-fast-t2v","ltx-2-fast-i2v","ltx-2-pro-t2v","ltx-2-pro-i2v","ltx-2-pro-extend","luma-uni-1","magnific-upscaler","mai-image","omnihuman","outpaint","p-image","p-image-edit","p-image-upscale","p-video","p-video-avatar","pixverse","pixverse-v6","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-image-plus","qwen-image-max","qwen-image-2.0","qwen-image-2.0-pro","qwen-image-2-edit","qwen-image-edit","qwen-image-edit-spicy","recraft-v4.1","recraft-v4.1-pro","recraft-v4.1-svg","recraft-v4.1-pro-svg","redux-flux","reve","riverflow","rodin","seed-audio","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-4","seedream-5","seedream-5-lite","text-to-music","text-to-speech","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","video-autocaption","video-reframe","video-transform","video-upscaler","vidu-q3","wan-2.1-video","wan-2.2-standard","wan-2.2-plus","wan-2.2-extended","wan-2.2-animate","wan-2.2-i2v-spicy","wan-2.2-replace","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","wan-2.7-i2v-spicy","wan-2.7-image","wan-2.7-image-pro","wan-2.7-image-edit","wan-2.7-t2v","wan-2.7-i2v","wan-image","wan-reference-to-video","wan-video-character-swap","wan-video-edit","xai-image","xai-image-edit","xai-video","xai-video-edit","z-image-spicy","z-image-turbo"]}}],"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":["boogu-image","boogu-image-edit","bria-3-2","change-camera-angle","clarity-pro-upscaler","consistent-characters","creative-upscale","ernie","face-enhance","flux","flux-2-flex","flux-2-klein-4b","flux-2-klein-9b","flux-2-pro","flux-2-max","flux-2-dev","flux-2-lora","flux-edit","flux-dev","flux-krea-dev","flux-dev-multi-lora","flux-1.1-pro","flux-1.1-pro-ultra","flux-kontext-pro","flux-kontext-max","gemini-flash","nano-banana-pro","nano-banana-2","nano-banana-2-lite","google-gemini-omni-flash","google-nano-banana","gpt-image-2","gpt-image-2-edit","grok-r2v","grok-video-extend","hailuo-standard","hailuo-fast","happyhorse-1.0-r2v","happyhorse-1.0-t2v","happyhorse-1.0-i2v","happyhorse-1.0-video-edit","heygen-avatar","hunyuan-3d","hunyuan-image-3","ideogram-v4-turbo","ideogram-v4-balanced","ideogram-v4-quality","ideogram-character","image-editor","image-relighting","image-to-image-flux","imagineart","kling-image","kling-image-edit","kling-motion-control","kling-motion-control-pro","kling-reference-to-video","kling-v2-6","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","kling-video-edit","krea-v2","ltx-2-fast-t2v","ltx-2-fast-i2v","ltx-2-pro-t2v","ltx-2-pro-i2v","ltx-2-pro-extend","luma-uni-1","magnific-upscaler","mai-image","omnihuman","outpaint","p-image","p-image-edit","p-image-upscale","p-video","p-video-avatar","pixverse","pixverse-v6","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-image-plus","qwen-image-max","qwen-image-2.0","qwen-image-2.0-pro","qwen-image-2-edit","qwen-image-edit","qwen-image-edit-spicy","recraft-v4.1","recraft-v4.1-pro","recraft-v4.1-svg","recraft-v4.1-pro-svg","redux-flux","reve","riverflow","rodin","seed-audio","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-4","seedream-5","seedream-5-lite","text-to-music","text-to-speech","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","video-autocaption","video-reframe","video-transform","video-upscaler","vidu-q3","wan-2.1-video","wan-2.2-standard","wan-2.2-plus","wan-2.2-extended","wan-2.2-animate","wan-2.2-i2v-spicy","wan-2.2-replace","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","wan-2.7-i2v-spicy","wan-2.7-image","wan-2.7-image-pro","wan-2.7-image-edit","wan-2.7-t2v","wan-2.7-i2v","wan-image","wan-reference-to-video","wan-video-character-swap","wan-video-edit","xai-image","xai-image-edit","xai-video","xai-video-edit","z-image-spicy","z-image-turbo"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BooguImageRequest"},{"$ref":"#/components/schemas/BooguImageEditRequest"},{"$ref":"#/components/schemas/Bria32Request"},{"$ref":"#/components/schemas/ChangeCameraAngleRequest"},{"$ref":"#/components/schemas/ClarityProUpscalerRequest"},{"$ref":"#/components/schemas/ConsistentCharactersRequest"},{"$ref":"#/components/schemas/CreativeUpscaleRequest"},{"$ref":"#/components/schemas/ErnieRequest"},{"$ref":"#/components/schemas/FaceEnhanceRequest"},{"$ref":"#/components/schemas/FluxRequest"},{"$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/Flux2LoraRequest"},{"$ref":"#/components/schemas/FluxEditRequest"},{"$ref":"#/components/schemas/FluxDevRequest"},{"$ref":"#/components/schemas/FluxKreaDevRequest"},{"$ref":"#/components/schemas/FluxDevMultiLoraRequest"},{"$ref":"#/components/schemas/Flux11ProRequest"},{"$ref":"#/components/schemas/Flux11ProUltraRequest"},{"$ref":"#/components/schemas/FluxKontextProRequest"},{"$ref":"#/components/schemas/FluxKontextMaxRequest"},{"$ref":"#/components/schemas/GeminiFlashRequest"},{"$ref":"#/components/schemas/NanoBananaProRequest"},{"$ref":"#/components/schemas/NanoBanana2Request"},{"$ref":"#/components/schemas/NanoBanana2LiteRequest"},{"$ref":"#/components/schemas/GoogleGeminiOmniFlashRequest"},{"$ref":"#/components/schemas/GoogleNanoBananaRequest"},{"$ref":"#/components/schemas/GptImage2Request"},{"$ref":"#/components/schemas/GptImage2EditRequest"},{"$ref":"#/components/schemas/GrokR2vRequest"},{"$ref":"#/components/schemas/GrokVideoExtendRequest"},{"$ref":"#/components/schemas/HailuoStandardRequest"},{"$ref":"#/components/schemas/HailuoFastRequest"},{"$ref":"#/components/schemas/Happyhorse10R2vRequest"},{"$ref":"#/components/schemas/Happyhorse10T2vRequest"},{"$ref":"#/components/schemas/Happyhorse10I2vRequest"},{"$ref":"#/components/schemas/Happyhorse10VideoEditRequest"},{"$ref":"#/components/schemas/HeygenAvatarRequest"},{"$ref":"#/components/schemas/Hunyuan3dRequest"},{"$ref":"#/components/schemas/HunyuanImage3Request"},{"$ref":"#/components/schemas/IdeogramV4TurboRequest"},{"$ref":"#/components/schemas/IdeogramV4BalancedRequest"},{"$ref":"#/components/schemas/IdeogramV4QualityRequest"},{"$ref":"#/components/schemas/IdeogramCharacterRequest"},{"$ref":"#/components/schemas/ImageEditorRequest"},{"$ref":"#/components/schemas/ImageRelightingRequest"},{"$ref":"#/components/schemas/ImageToImageFluxRequest"},{"$ref":"#/components/schemas/ImagineartRequest"},{"$ref":"#/components/schemas/KlingImageRequest"},{"$ref":"#/components/schemas/KlingImageEditRequest"},{"$ref":"#/components/schemas/KlingMotionControlRequest"},{"$ref":"#/components/schemas/KlingMotionControlProRequest"},{"$ref":"#/components/schemas/KlingReferenceToVideoRequest"},{"$ref":"#/components/schemas/KlingV26Request"},{"$ref":"#/components/schemas/KlingVideoV3StandardTextRequest"},{"$ref":"#/components/schemas/KlingVideoV3StandardImageRequest"},{"$ref":"#/components/schemas/KlingVideoV3ProTextRequest"},{"$ref":"#/components/schemas/KlingVideoV3ProImageRequest"},{"$ref":"#/components/schemas/KlingVideoEditRequest"},{"$ref":"#/components/schemas/KreaV2Request"},{"$ref":"#/components/schemas/Ltx2FastT2vRequest"},{"$ref":"#/components/schemas/Ltx2FastI2vRequest"},{"$ref":"#/components/schemas/Ltx2ProT2vRequest"},{"$ref":"#/components/schemas/Ltx2ProI2vRequest"},{"$ref":"#/components/schemas/Ltx2ProExtendRequest"},{"$ref":"#/components/schemas/LumaUni1Request"},{"$ref":"#/components/schemas/MagnificUpscalerRequest"},{"$ref":"#/components/schemas/MaiImageRequest"},{"$ref":"#/components/schemas/OmnihumanRequest"},{"$ref":"#/components/schemas/OutpaintRequest"},{"$ref":"#/components/schemas/PImageRequest"},{"$ref":"#/components/schemas/PImageEditRequest"},{"$ref":"#/components/schemas/PImageUpscaleRequest"},{"$ref":"#/components/schemas/PVideoRequest"},{"$ref":"#/components/schemas/PVideoAvatarRequest"},{"$ref":"#/components/schemas/PixverseRequest"},{"$ref":"#/components/schemas/PixverseV6Request"},{"$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/QwenImage2EditRequest"},{"$ref":"#/components/schemas/QwenImageEditRequest"},{"$ref":"#/components/schemas/QwenImageEditSpicyRequest"},{"$ref":"#/components/schemas/RecraftV41Request"},{"$ref":"#/components/schemas/RecraftV41ProRequest"},{"$ref":"#/components/schemas/RecraftV41SvgRequest"},{"$ref":"#/components/schemas/RecraftV41ProSvgRequest"},{"$ref":"#/components/schemas/ReduxFluxRequest"},{"$ref":"#/components/schemas/ReveRequest"},{"$ref":"#/components/schemas/RiverflowRequest"},{"$ref":"#/components/schemas/RodinRequest"},{"$ref":"#/components/schemas/SeedAudioRequest"},{"$ref":"#/components/schemas/Seedance15Request"},{"$ref":"#/components/schemas/Seedance2HighRequest"},{"$ref":"#/components/schemas/Seedance2ReferenceRequest"},{"$ref":"#/components/schemas/SeedanceVideoEditRequest"},{"$ref":"#/components/schemas/Seedream4Request"},{"$ref":"#/components/schemas/Seedream5Request"},{"$ref":"#/components/schemas/Seedream5LiteRequest"},{"$ref":"#/components/schemas/TextToMusicRequest"},{"$ref":"#/components/schemas/TextToSpeechRequest"},{"$ref":"#/components/schemas/Veo31FastRequest"},{"$ref":"#/components/schemas/Veo31StandardRequest"},{"$ref":"#/components/schemas/Veo31LiteRequest"},{"$ref":"#/components/schemas/VideoAutocaptionRequest"},{"$ref":"#/components/schemas/VideoReframeRequest"},{"$ref":"#/components/schemas/VideoTransformRequest"},{"$ref":"#/components/schemas/VideoUpscalerRequest"},{"$ref":"#/components/schemas/ViduQ3Request"},{"$ref":"#/components/schemas/Wan21VideoRequest"},{"$ref":"#/components/schemas/Wan22StandardRequest"},{"$ref":"#/components/schemas/Wan22PlusRequest"},{"$ref":"#/components/schemas/Wan22ExtendedRequest"},{"$ref":"#/components/schemas/Wan22AnimateRequest"},{"$ref":"#/components/schemas/Wan22I2vSpicyRequest"},{"$ref":"#/components/schemas/Wan22ReplaceRequest"},{"$ref":"#/components/schemas/Wan26StandardRequest"},{"$ref":"#/components/schemas/Wan26FlashRequest"},{"$ref":"#/components/schemas/Wan26ImageRequest"},{"$ref":"#/components/schemas/Wan26ImageEditRequest"},{"$ref":"#/components/schemas/Wan27I2vSpicyRequest"},{"$ref":"#/components/schemas/Wan27ImageRequest"},{"$ref":"#/components/schemas/Wan27ImageProRequest"},{"$ref":"#/components/schemas/Wan27ImageEditRequest"},{"$ref":"#/components/schemas/Wan27T2vRequest"},{"$ref":"#/components/schemas/Wan27I2vRequest"},{"$ref":"#/components/schemas/WanImageRequest"},{"$ref":"#/components/schemas/WanReferenceToVideoRequest"},{"$ref":"#/components/schemas/WanVideoCharacterSwapRequest"},{"$ref":"#/components/schemas/WanVideoEditRequest"},{"$ref":"#/components/schemas/XaiImageRequest"},{"$ref":"#/components/schemas/XaiImageEditRequest"},{"$ref":"#/components/schemas/XaiVideoRequest"},{"$ref":"#/components/schemas/XaiVideoEditRequest"},{"$ref":"#/components/schemas/ZImageSpicyRequest"},{"$ref":"#/components/schemas/ZImageTurboRequest"}],"description":"Canonical request body. Match the path apiId to the corresponding schema variant.","x-pixeldojo-model-schema-map":{"boogu-image":"#/components/schemas/BooguImageRequest","boogu-image-edit":"#/components/schemas/BooguImageEditRequest","bria-3-2":"#/components/schemas/Bria32Request","change-camera-angle":"#/components/schemas/ChangeCameraAngleRequest","clarity-pro-upscaler":"#/components/schemas/ClarityProUpscalerRequest","consistent-characters":"#/components/schemas/ConsistentCharactersRequest","creative-upscale":"#/components/schemas/CreativeUpscaleRequest","ernie":"#/components/schemas/ErnieRequest","face-enhance":"#/components/schemas/FaceEnhanceRequest","flux":"#/components/schemas/FluxRequest","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","flux-2-lora":"#/components/schemas/Flux2LoraRequest","flux-edit":"#/components/schemas/FluxEditRequest","flux-dev":"#/components/schemas/FluxDevRequest","flux-krea-dev":"#/components/schemas/FluxKreaDevRequest","flux-dev-multi-lora":"#/components/schemas/FluxDevMultiLoraRequest","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","gemini-flash":"#/components/schemas/GeminiFlashRequest","nano-banana-pro":"#/components/schemas/NanoBananaProRequest","nano-banana-2":"#/components/schemas/NanoBanana2Request","nano-banana-2-lite":"#/components/schemas/NanoBanana2LiteRequest","google-gemini-omni-flash":"#/components/schemas/GoogleGeminiOmniFlashRequest","google-nano-banana":"#/components/schemas/GoogleNanoBananaRequest","gpt-image-2":"#/components/schemas/GptImage2Request","gpt-image-2-edit":"#/components/schemas/GptImage2EditRequest","grok-r2v":"#/components/schemas/GrokR2vRequest","grok-video-extend":"#/components/schemas/GrokVideoExtendRequest","hailuo-standard":"#/components/schemas/HailuoStandardRequest","hailuo-fast":"#/components/schemas/HailuoFastRequest","happyhorse-1.0-r2v":"#/components/schemas/Happyhorse10R2vRequest","happyhorse-1.0-t2v":"#/components/schemas/Happyhorse10T2vRequest","happyhorse-1.0-i2v":"#/components/schemas/Happyhorse10I2vRequest","happyhorse-1.0-video-edit":"#/components/schemas/Happyhorse10VideoEditRequest","heygen-avatar":"#/components/schemas/HeygenAvatarRequest","hunyuan-3d":"#/components/schemas/Hunyuan3dRequest","hunyuan-image-3":"#/components/schemas/HunyuanImage3Request","ideogram-v4-turbo":"#/components/schemas/IdeogramV4TurboRequest","ideogram-v4-balanced":"#/components/schemas/IdeogramV4BalancedRequest","ideogram-v4-quality":"#/components/schemas/IdeogramV4QualityRequest","ideogram-character":"#/components/schemas/IdeogramCharacterRequest","image-editor":"#/components/schemas/ImageEditorRequest","image-relighting":"#/components/schemas/ImageRelightingRequest","image-to-image-flux":"#/components/schemas/ImageToImageFluxRequest","imagineart":"#/components/schemas/ImagineartRequest","kling-image":"#/components/schemas/KlingImageRequest","kling-image-edit":"#/components/schemas/KlingImageEditRequest","kling-motion-control":"#/components/schemas/KlingMotionControlRequest","kling-motion-control-pro":"#/components/schemas/KlingMotionControlProRequest","kling-reference-to-video":"#/components/schemas/KlingReferenceToVideoRequest","kling-v2-6":"#/components/schemas/KlingV26Request","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","kling-video-edit":"#/components/schemas/KlingVideoEditRequest","krea-v2":"#/components/schemas/KreaV2Request","ltx-2-fast-t2v":"#/components/schemas/Ltx2FastT2vRequest","ltx-2-fast-i2v":"#/components/schemas/Ltx2FastI2vRequest","ltx-2-pro-t2v":"#/components/schemas/Ltx2ProT2vRequest","ltx-2-pro-i2v":"#/components/schemas/Ltx2ProI2vRequest","ltx-2-pro-extend":"#/components/schemas/Ltx2ProExtendRequest","luma-uni-1":"#/components/schemas/LumaUni1Request","magnific-upscaler":"#/components/schemas/MagnificUpscalerRequest","mai-image":"#/components/schemas/MaiImageRequest","omnihuman":"#/components/schemas/OmnihumanRequest","outpaint":"#/components/schemas/OutpaintRequest","p-image":"#/components/schemas/PImageRequest","p-image-edit":"#/components/schemas/PImageEditRequest","p-image-upscale":"#/components/schemas/PImageUpscaleRequest","p-video":"#/components/schemas/PVideoRequest","p-video-avatar":"#/components/schemas/PVideoAvatarRequest","pixverse":"#/components/schemas/PixverseRequest","pixverse-v6":"#/components/schemas/PixverseV6Request","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","qwen-image-2-edit":"#/components/schemas/QwenImage2EditRequest","qwen-image-edit":"#/components/schemas/QwenImageEditRequest","qwen-image-edit-spicy":"#/components/schemas/QwenImageEditSpicyRequest","recraft-v4.1":"#/components/schemas/RecraftV41Request","recraft-v4.1-pro":"#/components/schemas/RecraftV41ProRequest","recraft-v4.1-svg":"#/components/schemas/RecraftV41SvgRequest","recraft-v4.1-pro-svg":"#/components/schemas/RecraftV41ProSvgRequest","redux-flux":"#/components/schemas/ReduxFluxRequest","reve":"#/components/schemas/ReveRequest","riverflow":"#/components/schemas/RiverflowRequest","rodin":"#/components/schemas/RodinRequest","seed-audio":"#/components/schemas/SeedAudioRequest","seedance-1.5":"#/components/schemas/Seedance15Request","seedance-2-high":"#/components/schemas/Seedance2HighRequest","seedance-2-reference":"#/components/schemas/Seedance2ReferenceRequest","seedance-video-edit":"#/components/schemas/SeedanceVideoEditRequest","seedream-4":"#/components/schemas/Seedream4Request","seedream-5":"#/components/schemas/Seedream5Request","seedream-5-lite":"#/components/schemas/Seedream5LiteRequest","text-to-music":"#/components/schemas/TextToMusicRequest","text-to-speech":"#/components/schemas/TextToSpeechRequest","veo-3.1-fast":"#/components/schemas/Veo31FastRequest","veo-3.1-standard":"#/components/schemas/Veo31StandardRequest","veo-3.1-lite":"#/components/schemas/Veo31LiteRequest","video-autocaption":"#/components/schemas/VideoAutocaptionRequest","video-reframe":"#/components/schemas/VideoReframeRequest","video-transform":"#/components/schemas/VideoTransformRequest","video-upscaler":"#/components/schemas/VideoUpscalerRequest","vidu-q3":"#/components/schemas/ViduQ3Request","wan-2.1-video":"#/components/schemas/Wan21VideoRequest","wan-2.2-standard":"#/components/schemas/Wan22StandardRequest","wan-2.2-plus":"#/components/schemas/Wan22PlusRequest","wan-2.2-extended":"#/components/schemas/Wan22ExtendedRequest","wan-2.2-animate":"#/components/schemas/Wan22AnimateRequest","wan-2.2-i2v-spicy":"#/components/schemas/Wan22I2vSpicyRequest","wan-2.2-replace":"#/components/schemas/Wan22ReplaceRequest","wan-2.6-standard":"#/components/schemas/Wan26StandardRequest","wan-2.6-flash":"#/components/schemas/Wan26FlashRequest","wan-2.6-image":"#/components/schemas/Wan26ImageRequest","wan-2.6-image-edit":"#/components/schemas/Wan26ImageEditRequest","wan-2.7-i2v-spicy":"#/components/schemas/Wan27I2vSpicyRequest","wan-2.7-image":"#/components/schemas/Wan27ImageRequest","wan-2.7-image-pro":"#/components/schemas/Wan27ImageProRequest","wan-2.7-image-edit":"#/components/schemas/Wan27ImageEditRequest","wan-2.7-t2v":"#/components/schemas/Wan27T2vRequest","wan-2.7-i2v":"#/components/schemas/Wan27I2vRequest","wan-image":"#/components/schemas/WanImageRequest","wan-reference-to-video":"#/components/schemas/WanReferenceToVideoRequest","wan-video-character-swap":"#/components/schemas/WanVideoCharacterSwapRequest","wan-video-edit":"#/components/schemas/WanVideoEditRequest","xai-image":"#/components/schemas/XaiImageRequest","xai-image-edit":"#/components/schemas/XaiImageEditRequest","xai-video":"#/components/schemas/XaiVideoRequest","xai-video-edit":"#/components/schemas/XaiVideoEditRequest","z-image-spicy":"#/components/schemas/ZImageSpicyRequest","z-image-turbo":"#/components/schemas/ZImageTurboRequest"}}}}},"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":["boogu-image","boogu-image-edit","bria-3-2","change-camera-angle","clarity-pro-upscaler","consistent-characters","creative-upscale","ernie","face-enhance","flux","flux-2-flex","flux-2-klein-4b","flux-2-klein-9b","flux-2-pro","flux-2-max","flux-2-dev","flux-2-lora","flux-edit","flux-dev","flux-krea-dev","flux-dev-multi-lora","flux-1.1-pro","flux-1.1-pro-ultra","flux-kontext-pro","flux-kontext-max","gemini-flash","nano-banana-pro","nano-banana-2","nano-banana-2-lite","google-gemini-omni-flash","google-nano-banana","gpt-image-2","gpt-image-2-edit","grok-r2v","grok-video-extend","hailuo-standard","hailuo-fast","happyhorse-1.0-r2v","happyhorse-1.0-t2v","happyhorse-1.0-i2v","happyhorse-1.0-video-edit","heygen-avatar","hunyuan-3d","hunyuan-image-3","ideogram-v4-turbo","ideogram-v4-balanced","ideogram-v4-quality","ideogram-character","image-editor","image-relighting","image-to-image-flux","imagineart","kling-image","kling-image-edit","kling-motion-control","kling-motion-control-pro","kling-reference-to-video","kling-v2-6","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","kling-video-edit","krea-v2","ltx-2-fast-t2v","ltx-2-fast-i2v","ltx-2-pro-t2v","ltx-2-pro-i2v","ltx-2-pro-extend","luma-uni-1","magnific-upscaler","mai-image","omnihuman","outpaint","p-image","p-image-edit","p-image-upscale","p-video","p-video-avatar","pixverse","pixverse-v6","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-image-plus","qwen-image-max","qwen-image-2.0","qwen-image-2.0-pro","qwen-image-2-edit","qwen-image-edit","qwen-image-edit-spicy","recraft-v4.1","recraft-v4.1-pro","recraft-v4.1-svg","recraft-v4.1-pro-svg","redux-flux","reve","riverflow","rodin","seed-audio","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-4","seedream-5","seedream-5-lite","text-to-music","text-to-speech","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","video-autocaption","video-reframe","video-transform","video-upscaler","vidu-q3","wan-2.1-video","wan-2.2-standard","wan-2.2-plus","wan-2.2-extended","wan-2.2-animate","wan-2.2-i2v-spicy","wan-2.2-replace","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","wan-2.7-i2v-spicy","wan-2.7-image","wan-2.7-image-pro","wan-2.7-image-edit","wan-2.7-t2v","wan-2.7-i2v","wan-image","wan-reference-to-video","wan-video-character-swap","wan-video-edit","xai-image","xai-image-edit","xai-video","xai-video-edit","z-image-spicy","z-image-turbo"]}}],"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"}}}},"/upload":{"post":{"operationId":"uploadFile","summary":"Upload File (24h temp URL)","description":"Upload a local image/video (multipart form, single `file` field) and get back a public URL on the 24-hour temp bucket, usable as a reference input in any run call.","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"Public temp URL","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"expiresInHours":{"type":"integer"}},"required":["url"]}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/library":{"get":{"operationId":"searchLibrary","summary":"Search Your Library","description":"Search the key owner's media library: saved My Media items (permanent) plus recent generations, newest first. Saved copies never expire; recent generation URLs may expire after 24 hours (expiredCount reports dropped matches).","parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Substring match against the producing prompt."},{"name":"model","in":"query","schema":{"type":"string"},"description":"Restrict to one model/tool (apiId)."},{"name":"modality","in":"query","schema":{"type":"string","enum":["image","video","audio"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Matching library items","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"prompt":{"type":"string"},"model":{"type":"string"},"modality":{"type":"string","enum":["image","video","audio"]},"source":{"type":"string","enum":["saved","api","kept"]},"createdAt":{"type":"string","format":"date-time"}},"required":["url","source","createdAt"]}},"count":{"type":"integer"},"expiredCount":{"type":"integer"}},"required":["items","count"]}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/media/save":{"post":{"operationId":"saveMedia","summary":"Save to My Media (permanent)","description":"Save a generated asset URL into My Media: the file is re-hosted on the permanent CDN (generation outputs otherwise expire after 24 hours) and becomes searchable via /library. Accepts URLs from PixelDojo and known provider CDNs only.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"prompt":{"type":"string"},"tool_name":{"type":"string"},"modality":{"type":"string","enum":["image","video","audio"]},"job_id":{"type":"string"}},"required":["url"]}}}},"responses":{"200":{"description":"Saved item","content":{"application/json":{"schema":{"type":"object","properties":{"saved":{"type":"boolean"},"id":{"type":"string"},"url":{"type":"string"},"kind":{"type":"string","enum":["image","video"]}},"required":["saved","id","url","kind"]}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/workflows":{"get":{"operationId":"listWorkflows","summary":"List Saved Workflows","description":"List the key owner's named multi-step skill chains.","responses":{"200":{"description":"Saved workflows","content":{"application/json":{"schema":{"type":"object","properties":{"workflows":{"type":"array","items":{"$ref":"#/components/schemas/SavedWorkflow"}}},"required":["workflows"]}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}},"post":{"operationId":"saveWorkflow","summary":"Save a Workflow","description":"Save (upsert by name) a named multi-step skill chain. Step args may reference {{input.<key>}} and {{prev}}.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedWorkflow"}}}},"responses":{"200":{"description":"Saved","content":{"application/json":{"schema":{"type":"object","properties":{"saved":{"type":"boolean"},"created":{"type":"boolean"}}}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/workflows/{name}":{"get":{"operationId":"getWorkflow","summary":"Get a Workflow","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The workflow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedWorkflow"}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}},"delete":{"operationId":"deleteWorkflow","summary":"Delete a Workflow","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"boolean"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/credits":{"get":{"operationId":"getCredits","summary":"Check Credit Balance","description":"Return the authenticated API key owner's current credit balance. Use before submitting jobs to confirm there are enough credits.","responses":{"200":{"description":"Current credit balance","content":{"application/json":{"schema":{"type":"object","properties":{"credits":{"type":"integer","description":"Credits available across all image, video, and training generations."}},"required":["credits"]}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"SavedWorkflow":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,40}$"},"description":{"type":"string"},"steps":{"type":"array","maxItems":8,"items":{"type":"object","properties":{"skill":{"type":"string","description":"Runnable skill name, e.g. pixeldojo:generate."},"args":{"type":"object","additionalProperties":true}},"required":["skill","args"]}}},"required":["name","steps"]},"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"}},"useCases":{"type":"array","items":{"type":"string"},"description":"Use-case taxonomy tags (e.g., \"marketing\", \"character\", \"cinematic\"). Filter on /api-platform."},"sale":{"type":"object","description":"Active time-limited sale, present only while a campaign covers this model. creditCost never changes meaning; run charges are discounted automatically.","properties":{"percentOff":{"type":"number"},"salePrice":{"type":"number","nullable":true},"endsAt":{"type":"string","format":"date-time"},"headline":{"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"}},"useCases":{"type":"array","items":{"type":"string"},"description":"Use-case taxonomy tags (e.g., \"marketing\", \"character\", \"cinematic\"). Filter on /api-platform."},"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"]},"BooguImageRequest":{"title":"Boogu ImageRequest","description":"Boogu Image — bilingual (EN/ZH) text-to-image generation with crisp detail and 2K output.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing the image to generate. Boogu-Image is bilingual — English and Chinese are both supported.","type":"string"},"image_size":{"title":"Image Size","description":"Output size preset. 1K presets cost 1 credit; 2K presets cost more (priced per megapixel). Max native resolution is 2K.","type":"string","enum":["square_hd","landscape_4_3","portrait_4_3","landscape_16_9","portrait_16_9","square_2k","landscape_2k_16_9","portrait_2k_9_16"],"default":"square_hd"},"negative_prompt":{"title":"Negative Prompt","description":"Elements to exclude from the generated image.","type":"string"},"num_images":{"title":"Number of Images","description":"How many images to generate (1–4). Each image is billed separately.","type":"integer","default":1,"minimum":1,"maximum":4},"num_inference_steps":{"title":"Inference Steps","description":"Denoising steps (20–50). Default 30.","type":"integer","default":30,"minimum":20,"maximum":50},"guidance_scale":{"title":"Guidance Scale","description":"How closely generation follows the prompt (1–8). Default 4.","type":"number","default":4,"minimum":1,"maximum":8},"seed":{"title":"Seed","description":"Random seed for reproducibility. Omit for random.","type":"integer"},"cfg_range_start":{"title":"Cfg Range Start","description":"","type":"number","minimum":0,"maximum":1},"cfg_range_end":{"title":"Cfg Range End","description":"","type":"number","minimum":0,"maximum":1},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["jpeg","png"],"default":"jpeg"}},"required":["prompt"]},"BooguImageEditRequest":{"title":"Boogu Image EditRequest","description":"Boogu Image instruction-based editing. Provide a source image and an edit instruction.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction describing how to transform the input image.","type":"string"},"image":{"title":"Image","description":"URL of the source image to edit.","type":"string","format":"uri"},"image_size":{"title":"Image Size","description":"Output size preset. 1K presets cost 1 credit; 2K presets cost more (priced per megapixel). Max native resolution is 2K.","type":"string","enum":["square_hd","landscape_4_3","portrait_4_3","landscape_16_9","portrait_16_9","square_2k","landscape_2k_16_9","portrait_2k_9_16"],"default":"square_hd"},"negative_prompt":{"title":"Negative Prompt","description":"Elements to exclude from the edited image.","type":"string"},"guidance_scale":{"title":"Guidance Scale","description":"How closely the edit follows the instruction (1–8). Default 4.","type":"number","default":4,"minimum":1,"maximum":8},"image_guidance_scale":{"title":"Image Guidance Scale","description":"Reference-image guidance strength (1–8). Default 1.","type":"number","default":1,"minimum":1,"maximum":8},"seed":{"title":"Seed","description":"Random seed for reproducibility. Omit for random.","type":"integer"},"num_images":{"title":"Num Images","description":"Number of output images.","type":"integer","minimum":1,"maximum":4},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"integer","minimum":20,"maximum":50},"cfg_range_start":{"title":"Cfg Range Start","description":"","type":"number","minimum":0,"maximum":1},"cfg_range_end":{"title":"Cfg Range End","description":"","type":"number","minimum":0,"maximum":1},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["jpeg","png"],"default":"jpeg"}},"required":["prompt","image"]},"Bria32Request":{"title":"Bria 3.2Request","description":"Bria 3.2 — text-to-image with 9 aspect ratio presets at 1K resolution, optional image and prompt enhancement, and photography/art medium hints.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate (2–3000 characters)","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"Optional description of elements to avoid in the image","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio preset (1K resolution)","type":"string","enum":["1:1","3:2","2:3","7:4","4:7","9:7","7:9","17:14","14:17"],"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},"medium":{"title":"Medium","description":"Bias the output toward a medium (photography or art)","type":"string","enum":["auto","photography","art"],"default":"auto"},"prompt_enhancement":{"title":"Prompt Enhancement","description":"Let Bria expand your prompt with descriptive variations","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["PNG","JPG","WEBP"],"default":"PNG"},"enhance_image":{"title":"Enhance Image","description":"","type":"boolean","default":false}},"required":["prompt"]},"ChangeCameraAngleRequest":{"title":"Change Camera AngleRequest","description":"Camera-aware editing via fal.ai Qwen Image Edit 2511 with multi-angle LoRA. 360° orbit, tilt, and zoom.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Reference Image","description":"URL of the source image to re-frame.","type":"string","format":"uri"},"horizontal_angle":{"title":"Horizontal Angle","description":"Yaw / orbit around the subject (0–360°).","type":"number","default":0,"minimum":0,"maximum":360},"vertical_angle":{"title":"Vertical Angle","description":"Pitch / tilt above or below eye line (-30 to 90°).","type":"number","default":0,"minimum":-30,"maximum":90},"zoom":{"title":"Zoom","description":"Distance from the subject (0=closest, 10=farthest).","type":"number","default":5,"minimum":0,"maximum":10},"lora_scale":{"title":"LoRA Scale","description":"Strength of the bundled multi-angle LoRA (0–4). The LoRA itself is fixed by the tool — this dials its effect.","type":"number","default":1,"minimum":0,"maximum":4},"guidance_scale":{"title":"Guidance Scale","description":"Prompt adherence (1–20).","type":"number","default":4.5,"minimum":1,"maximum":20},"num_inference_steps":{"title":"Inference Steps","description":"Number of diffusion steps (1–50).","type":"integer","default":28,"minimum":1,"maximum":50},"acceleration":{"title":"Acceleration","description":"Provider acceleration setting.","type":"string","enum":["none","regular"],"default":"regular"},"image_size":{"title":"Image Size","description":"Output framing preset.","type":"string","enum":["square_hd","square","portrait_4_3","portrait_16_9","landscape_4_3","landscape_16_9"]},"negative_prompt":{"title":"Negative Prompt","description":"Things to avoid in the result.","type":"string"},"num_images":{"title":"Number of Images","description":"How many variants to generate (1–4). Cost scales with this value.","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility.","type":"integer"}},"required":["image"]},"ClarityProUpscalerRequest":{"title":"Clarity ProRequest","description":"Clarity Pro Upscaler via Replicate. Photorealistic upscaling with identity preservation and creative control — up to 16× and 64 megapixels.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image URL","description":"URL of the image to upscale.","type":"string","format":"uri"},"scale_factor":{"title":"Scale Factor","description":"Upscale multiplier. One of 2, 4, 8, or 16. Output is capped at 64 megapixels.","type":"integer","default":2,"enum":["2","4","8","16"]},"creativity":{"title":"Creativity","description":"Creative control (-10 to 10). Negative values stay closer to the original; positive values let the model add more detail.","type":"number","default":0,"minimum":-10,"maximum":10},"output_format":{"title":"Output Format","description":"Output image format. PNG or JPG (95% quality).","type":"string","enum":["png","jpg"],"default":"png"}},"required":["image"]},"ConsistentCharactersRequest":{"title":"Consistent CharactersRequest","description":"Generate consistent character variations with FLUX Kontext, Nano Banana Pro/2, Flux 2 Dev, Qwen Image 2 Pro, or Grok Imagine.","type":"object","additionalProperties":false,"properties":{"input_image":{"title":"Input Image","description":"Reference image URL.","type":"string","format":"uri"},"num_images":{"title":"Num Images","description":"Number of output images.","type":"integer","default":4,"minimum":1,"maximum":12},"background":{"title":"Background","description":"Output background handling. \"transparent\" produces a cut-out PNG.","type":"string","enum":["white","gray","black","green screen","neutral","original"],"default":"neutral"},"randomize_images":{"title":"Randomize Images","description":"Randomize backgrounds and poses across the generated set so the output isn't monotonous.","type":"boolean","default":true},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio of the generated images. Ignored by flux-kontext (portrait-series has no aspect control).","type":"string","enum":["1:1","4:3","3:4","3:2","2:3","16:9","9:16"],"default":"1:1"},"model_type":{"title":"Model Type","description":"Generation backbone — flux-kontext is fastest; nano-banana-pro / qwen-image-2-pro produce sharper portraits at higher cost.","type":"string","enum":["flux-kontext","nano-banana-pro","nano-banana-2","flux-2-dev","qwen-image-2-pro","grok-imagine","flux-kontext-dev","wan-2.7-edit","qwen-image-edit-spicy","seedream-4","seedream-5"],"default":"flux-kontext"},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"}},"required":["input_image"]},"CreativeUpscaleRequest":{"title":"Creative UpscalerRequest","description":"Clarity Upscaler (creative upscale) via Replicate. Boost detail with stable-diffusion refinement.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image URL","description":"URL of the image to upscale.","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional guidance prompt to steer the creative refinement.","type":"string"},"scale_factor":{"title":"Scale Factor","description":"Upscale multiplier (1–10).","type":"number","default":2,"minimum":1,"maximum":10},"creativity":{"title":"Creativity","description":"How freely the model reinterprets detail (0=faithful, 1=creative).","type":"number","default":0.35,"minimum":0,"maximum":1},"resemblance":{"title":"Resemblance","description":"How closely the output should match the source (0–3).","type":"number","default":0.6,"minimum":0,"maximum":3},"sharpen":{"title":"Sharpen","description":"Sharpening amount (0–10).","type":"number","minimum":0,"maximum":10},"dynamic":{"title":"Dynamic","description":"HDR-like dynamic range boost (1–50).","type":"number","minimum":1,"maximum":50},"num_inference_steps":{"title":"Inference Steps","description":"Number of diffusion steps (1–100).","type":"integer","default":18,"minimum":1,"maximum":100},"negative_prompt":{"title":"Negative Prompt","description":"Things to avoid during refinement.","type":"string"},"output_format":{"title":"Output Format","description":"Image output format (e.g. Png, jpg, webp).","type":"string","default":"png"},"seed":{"title":"Seed","description":"Random seed for reproducibility.","type":"integer"},"lora_links":{"title":"LoRA Links","description":"Comma- or newline-separated list of LoRA URLs (or HuggingFace paths) to apply during the SD refinement pass.","type":"string"},"handfix":{"title":"Handfix","description":"","type":"string"},"sd_model":{"title":"Sd Model","description":"","type":"string"},"scheduler":{"title":"Scheduler","description":"Sampler / denoising schedule.","type":"string"},"downscaling":{"title":"Downscaling","description":"","type":"boolean"},"fractality":{"title":"Fractality","description":"Detail-fractality boost. Higher = more micro-detail injected at every scale level.","type":"number"},"custom_sd_model":{"title":"Custom Sd Model","description":"","type":"string"},"downscaling_resolution":{"title":"Downscaling Resolution","description":"","type":"integer"},"pattern":{"title":"Pattern","description":"","type":"boolean"}},"required":["image"]},"ErnieRequest":{"title":"ErnieRequest","description":"Baidu Ernie text-to-image (fal.ai). Multilingual prompts and built-in prompt expansion.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt. Supports English, Chinese, and Japanese.","type":"string"},"model":{"title":"Model","description":"fal-ai/ernie-image (quality) or fal-ai/ernie-image/turbo (fast)","type":"string","enum":["fal-ai/ernie-image","fal-ai/ernie-image/turbo"],"default":"fal-ai/ernie-image"},"image_size":{"title":"Image Size","description":"HD (1 credit) or UHD (3 credits, base model only). Turbo is 1 credit flat.","type":"string","enum":["square_hd","landscape_hd","portrait_hd","square_uhd"],"default":"square_hd"},"negative_prompt":{"title":"Negative Prompt","description":"Text describing what should not appear in the image","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"FaceEnhanceRequest":{"title":"Portrait UpscalerRequest","description":"Crystal Upscaler via Replicate. Face-detail preserving upscale, cost scales with output megapixels.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"scale_factor":{"title":"Scale Factor","description":"Upscale factor (2x, 4x, etc.).","type":"number","default":4,"minimum":1,"maximum":8}},"required":["image"]},"FluxRequest":{"title":"FLUXRequest","description":"FLUX family on Replicate. Schnell, Dev, Pro, Kontext, Ultra, and LoRA remix variants in one entrypoint.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"model":{"title":"Model","description":"FLUX variant identifier (e.g. \"black-forest-labs/flux-dev\", \"black-forest-labs/flux-schnell\", \"black-forest-labs/flux-pro\", \"black-forest-labs/flux-1.1-pro\", \"black-forest-labs/flux-kontext-pro\", \"black-forest-labs/flux-kontext-max\", \"lucataco/hyper-flux-8step\", \"black-forest-labs/flux-schnell-lora\", \"black-forest-labs/flux-dev-lora\").","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio. Use \"custom\" with width/height for free-form sizes; \"match_input_image\" for image-to-image variants.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"How many images to generate per call.","type":"number","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"guidance_scale":{"title":"Guidance Scale","description":"Prompt adherence (variant-dependent).","type":"number"},"num_inference_steps":{"title":"Inference Steps","description":"Number of denoising steps (variant-dependent).","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results (Pro variants).","type":"boolean","default":false},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive). Pro variants only.","type":"number","default":5,"minimum":1,"maximum":5},"width":{"title":"Width","description":"Image width in pixels (used with aspect_ratio=\"custom\").","type":"number"},"height":{"title":"Height","description":"Image height in pixels (used with aspect_ratio=\"custom\").","type":"number"},"megapixels":{"title":"Megapixels","description":"Output resolution in megapixels (Schnell/Dev variants).","type":"string"},"hf_lora":{"title":"HuggingFace LoRA","description":"HuggingFace LoRA path or URL (e.g. \"owner/repo\" or a direct .safetensors URL). Only honored by LoRA-capable variants such as \"black-forest-labs/flux-dev-lora\" and \"black-forest-labs/flux-schnell-lora\".","type":"string"},"hf_loras":{"title":"HuggingFace LoRAs (multiple)","description":"Array of HuggingFace LoRA paths/URLs for stacked LoRA loading.","type":"array","items":{"type":"string"}},"lora_weights":{"title":"LoRA Weights","description":"URL or path to a single LoRA weights file (LoRA-capable variants only).","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number","default":1,"minimum":-1,"maximum":3},"lora_scales":{"title":"LoRA Scales (multiple)","description":"Array of LoRA strengths matching hf_loras.","type":"array","items":{"type":"number"}},"customLoras":{"title":"Custom LoRAs","description":"JSON array of custom LoRA objects. Each entry: {\"modelUrl\": \"https://...\", \"scale\": 1.0}. Resolved server-side; LoRA-capable variants only.","type":"array","items":{"type":"string"}},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"interval":{"title":"Interval","description":"","type":"number"},"raw":{"title":"Raw","description":"","type":"boolean","default":false}},"required":["prompt"]},"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"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Supported on the edit-capable variants (Flex / Pro / Max / Dev / Dev+LoRA). Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"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"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"JSON array of LoRA objects to apply. Each entry: {\"url\": \"https://...\", \"scale\": 1.0} (or {\"path\": \"...\"} for HuggingFace paths). Only honored by the Dev+LoRA variant (fal-ai/flux-2/lora).","type":"array","items":{"type":"string"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Disable the safety classifier for explicit content. Subject to your account policy and Spicy Mode setting.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"}},"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"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Supported on the edit-capable variants (Flex / Pro / Max / Dev / Dev+LoRA). Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"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"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"JSON array of LoRA objects to apply. Each entry: {\"url\": \"https://...\", \"scale\": 1.0} (or {\"path\": \"...\"} for HuggingFace paths). Only honored by the Dev+LoRA variant (fal-ai/flux-2/lora).","type":"array","items":{"type":"string"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Disable the safety classifier for explicit content. Subject to your account policy and Spicy Mode setting.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"}},"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"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Supported on the edit-capable variants (Flex / Pro / Max / Dev / Dev+LoRA). Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"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"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"JSON array of LoRA objects to apply. Each entry: {\"url\": \"https://...\", \"scale\": 1.0} (or {\"path\": \"...\"} for HuggingFace paths). Only honored by the Dev+LoRA variant (fal-ai/flux-2/lora).","type":"array","items":{"type":"string"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Disable the safety classifier for explicit content. Subject to your account policy and Spicy Mode setting.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"}},"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"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Supported on the edit-capable variants (Flex / Pro / Max / Dev / Dev+LoRA). Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"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"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"JSON array of LoRA objects to apply. Each entry: {\"url\": \"https://...\", \"scale\": 1.0} (or {\"path\": \"...\"} for HuggingFace paths). Only honored by the Dev+LoRA variant (fal-ai/flux-2/lora).","type":"array","items":{"type":"string"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Disable the safety classifier for explicit content. Subject to your account policy and Spicy Mode setting.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"}},"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"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Supported on the edit-capable variants (Flex / Pro / Max / Dev / Dev+LoRA). Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"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"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"JSON array of LoRA objects to apply. Each entry: {\"url\": \"https://...\", \"scale\": 1.0} (or {\"path\": \"...\"} for HuggingFace paths). Only honored by the Dev+LoRA variant (fal-ai/flux-2/lora).","type":"array","items":{"type":"string"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Disable the safety classifier for explicit content. Subject to your account policy and Spicy Mode setting.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"}},"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"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Supported on the edit-capable variants (Flex / Pro / Max / Dev / Dev+LoRA). Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"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"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"JSON array of LoRA objects to apply. Each entry: {\"url\": \"https://...\", \"scale\": 1.0} (or {\"path\": \"...\"} for HuggingFace paths). Only honored by the Dev+LoRA variant (fal-ai/flux-2/lora).","type":"array","items":{"type":"string"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Disable the safety classifier for explicit content. Subject to your account policy and Spicy Mode setting.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"}},"required":["prompt"]},"Flux2LoraRequest":{"title":"Flux 2 Dev + LoRARequest","description":"Dev model with custom LoRA support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Supported on the edit-capable variants (Flex / Pro / Max / Dev / Dev+LoRA). Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"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"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"JSON array of LoRA objects to apply. Each entry: {\"url\": \"https://...\", \"scale\": 1.0} (or {\"path\": \"...\"} for HuggingFace paths). Only honored by the Dev+LoRA variant (fal-ai/flux-2/lora).","type":"array","items":{"type":"string"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Disable the safety classifier for explicit content. Subject to your account policy and Spicy Mode setting.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"}},"required":["prompt"]},"FluxEditRequest":{"title":"Flux Edit (Kontext)Request","description":"Black Forest Labs FLUX.1 Kontext for text-driven image editing. Dev (open-weight), Pro (state-of-the-art), and Max (premium typography).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"input_image":{"title":"Input Image","description":"Reference image URL.","type":"string","format":"uri"},"input_image_1":{"title":"Input Image 1","description":"Primary reference image URL (multi-image edit). Required when not using the legacy `input_image` field.","type":"string"},"input_image_2":{"title":"Input Image 2","description":"Optional second reference image URL — bias the edit with an additional context image. Not supported on the \"dev\" model.","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","match_input_image"],"default":"match_input_image"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","webp"],"default":"png"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"integer","default":2,"minimum":0,"maximum":6},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["dev","pro","max"],"default":"dev"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"integer","default":30,"minimum":1,"maximum":50},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5,"minimum":0,"maximum":10},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"integer","default":100,"minimum":1,"maximum":100}},"required":["prompt"]},"FluxDevRequest":{"title":"Flux DevRequest","description":"High-quality development model with configurable steps and guidance. For LoRAs, use Flux Dev Multi LoRA.","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. Use \"custom\" with width/height for free-form sizes; \"match_input_image\" for image-to-image variants.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"How many images to generate per call.","type":"number","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"}},"required":["prompt"]},"FluxKreaDevRequest":{"title":"Flux Krea DevRequest","description":"Photorealistic generation that avoids the oversaturated AI look. Supports a single LoRA via lora_weights.","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. Use \"custom\" with width/height for free-form sizes; \"match_input_image\" for image-to-image variants.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"How many images to generate per call.","type":"number","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"lora_weights":{"title":"LoRA Weights","description":"URL or path to a single LoRA weights file (LoRA-capable variants only).","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number","default":1,"minimum":-1,"maximum":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"}},"required":["prompt"]},"FluxDevMultiLoraRequest":{"title":"Flux Dev Multi LoRARequest","description":"Flux Dev with multiple stacked custom LoRAs for complex style combinations.","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. Use \"custom\" with width/height for free-form sizes; \"match_input_image\" for image-to-image variants.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"How many images to generate per call.","type":"number","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"hf_loras":{"title":"HuggingFace LoRAs (multiple)","description":"Array of HuggingFace LoRA paths/URLs for stacked LoRA loading.","type":"array","items":{"type":"string"}},"lora_scales":{"title":"LoRA Scales (multiple)","description":"Array of LoRA strengths matching hf_loras.","type":"array","items":{"type":"number"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"}},"required":["prompt"]},"Flux11ProRequest":{"title":"Flux 1.1 ProRequest","description":"Latest pro model with enhanced quality and strong 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. Use \"custom\" with width/height for free-form sizes; \"match_input_image\" for image-to-image variants.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive). Pro variants only.","type":"number","default":5,"minimum":1,"maximum":5},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"number","default":1},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"}},"required":["prompt"]},"Flux11ProUltraRequest":{"title":"Flux 1.1 Pro UltraRequest","description":"Highest quality Flux model with raw mode for natural-looking 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. Use \"custom\" with width/height for free-form sizes; \"match_input_image\" for image-to-image variants.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"number","default":1},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"}},"required":["prompt"]},"FluxKontextProRequest":{"title":"Flux Kontext ProRequest","description":"Advanced model with state-of-the-art performance for both generation and editing.","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. Use \"custom\" with width/height for free-form sizes; \"match_input_image\" for image-to-image variants.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"number","default":1},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"}},"required":["prompt"]},"FluxKontextMaxRequest":{"title":"Flux Kontext MaxRequest","description":"Premium model with maximum performance and improved typography for generation and editing.","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. Use \"custom\" with width/height for free-form sizes; \"match_input_image\" for image-to-image variants.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"number","default":1},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"}},"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"},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["standard","pro","pro_fal_v2","lite"],"default":"pro_fal_v2"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","jpeg","webp"],"default":"png"},"reference_images":{"title":"Reference Images","description":"Optional reference image URLs to bias style or subject.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14}},"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"},"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},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["standard","pro","pro_fal_v2","lite"],"default":"pro_fal_v2"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","jpeg","webp"],"default":"png"}},"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"},"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},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["standard","pro","pro_fal_v2","lite"],"default":"pro_fal_v2"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","jpeg","webp"],"default":"png"}},"required":["prompt"]},"NanoBanana2LiteRequest":{"title":"Google Nano Banana 2 LiteRequest","description":"Faster, lower-cost Nano Banana 2 at fixed 1K resolution","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"},"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},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["standard","pro","pro_fal_v2","lite"],"default":"pro_fal_v2"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","jpeg","webp"],"default":"png"}},"required":["prompt"]},"GoogleGeminiOmniFlashRequest":{"title":"Gemini Omni FlashRequest","description":"Google Gemini Omni Flash: text, image, or video into 3–10s 720p clips with native audio. Image-to-video, reference images, and video editing.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video (and any audio) to generate","type":"string"},"image":{"title":"Image URL","description":"Starting frame for image-to-video generation","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 7 reference images for subject/style guidance (max 5 when editing a video)","type":"array","items":{"type":"string","format":"uri"},"maxItems":7},"video":{"title":"Source Video URL","description":"Source video to edit (video-to-video). Output matches its dimensions.","type":"string","format":"uri"},"video_id":{"title":"Continue From Video ID","description":"The outputs.videoId from a previous Omni Flash generation. Pass it back to iterate on that clip in a follow-up turn (continues at the original length; cannot be combined with an image, source video, or duration change).","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio (720p)","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in seconds (3–10)","type":"integer","default":8,"minimum":3,"maximum":10},"output_format":{"title":"Output Format","description":"Video container","type":"string","enum":["mp4","webm","mov"],"default":"mp4"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}}},"GoogleNanoBananaRequest":{"title":"Nano Banana EditRequest","description":"Google Nano Banana image editing. Multi-image fusion + edit instruction with Standard/Pro/Pro-fal tiers and 1K/2K/4K resolution.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image_input":{"title":"Image Input","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"}},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["standard","pro","pro_fal_v2","lite"],"default":"pro"},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["1K","2K","4K"],"default":"2K"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9","2:3","3:2","4:5","5:4","match_input_image"],"default":"1:1"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"GptImage2Request":{"title":"GPT Image 2Request","description":"OpenAI GPT Image 2 via fal.ai — next-generation image model with 4K rendering and sharper text fidelity.","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":["1024x768","1024x1024","1024x1536","1920x1080","2560x1440","3840x2160"],"default":"1024x1024"},"quality":{"title":"Quality","description":"Generation quality tier. 4K outputs double the credit cost at medium and high.","type":"string","enum":["low","medium","high"],"default":"high"},"num_images":{"title":"Number of Images","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"]},"GptImage2EditRequest":{"title":"GPT Image 2 EditRequest","description":"OpenAI GPT Image 2 image editing — supply 1-8 reference images plus an edit instruction. Optional mask for inpainting. 4K-capable; pricing varies by quality + size.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction or composition prompt.","type":"string"},"image_urls":{"title":"Input Images","description":"One to eight reference image URLs. Pass a single URL for a basic edit, or multiple URLs to compose / transfer attributes between them.","type":"array","items":{"type":"string","format":"uri"},"maxItems":8,"minItems":1},"mask_url":{"title":"Mask URL","description":"Optional inpainting mask. PNG with transparent regions marking the area to edit (everything else is preserved). When supplied, the model only modifies pixels inside the masked region.","type":"string","format":"uri"},"image_size":{"title":"Image Size","description":"Output dimensions. \"auto\" lets the model pick based on the input.","type":"string","enum":["auto","1024x768","1024x1024","1024x1536","1920x1080","2560x1440","3840x2160"],"default":"auto"},"quality":{"title":"Quality","description":"Generation quality tier. Higher tiers cost more credits.","type":"string","enum":["low","medium","high"],"default":"high"},"num_images":{"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":"Output image file format.","type":"string","enum":["jpeg","png","webp"],"default":"png"}},"required":["prompt","image_urls"]},"GrokR2vRequest":{"title":"Grok R2VRequest","description":"xAI Grok Imagine reference-to-video via Replicate. 1 to 7 reference images plus prompt for 1 to 10 second clips at 480p or 720p.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"reference_urls":{"title":"Reference images","description":"1–7 image URLs for scene/subject consistency","type":"array","items":{"type":"string","format":"uri"},"maxItems":7,"minItems":1},"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–10)","type":"integer","default":8,"minimum":1,"maximum":10}},"required":["prompt","reference_urls"]},"GrokVideoExtendRequest":{"title":"Grok Imagine Video ExtendRequest","description":"xAI Grok Imagine video extension. Continue an existing MP4 with a prompt-directed extension (2 to 10 seconds).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What should happen next after the last frame","type":"string"},"video_url":{"title":"Source video","description":"MP4 URL, 2–15s","type":"string","format":"uri"},"extension_duration":{"title":"Extension duration","description":"Seconds of new footage to generate (2–10)","type":"number","default":6,"minimum":2,"maximum":10},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0,"maximum":15}},"required":["prompt","video_url","video_duration"]},"HailuoStandardRequest":{"title":"Hailuo StandardRequest","description":"Premium quality text-to-video and image-to-video","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"first_frame_image":{"title":"First Frame Image URL","description":"Starting image for image-to-video generation","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["6","10"],"default":"6"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["768p","1080p"],"default":"768p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"prompt_optimizer":{"title":"Prompt Optimizer","description":"Enable AI prompt optimization","type":"boolean","default":false},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["minimax/hailuo-2.3","minimax/hailuo-2.3-fast"],"default":"minimax/hailuo-2.3"}}},"HailuoFastRequest":{"title":"Hailuo FastRequest","description":"Fast image-to-video generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"first_frame_image":{"title":"First Frame Image URL","description":"Starting image for image-to-video generation","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["6","10"],"default":"6"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["768p","1080p"],"default":"768p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"prompt_optimizer":{"title":"Prompt Optimizer","description":"Enable AI prompt optimization","type":"boolean","default":false},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["minimax/hailuo-2.3","minimax/hailuo-2.3-fast"],"default":"minimax/hailuo-2.3"}}},"Happyhorse10R2vRequest":{"title":"Happy Horse ReferenceRequest","description":"Alibaba Happy Horse reference-to-video (1.0 or 1.1) — multi-reference image input that preserves subject characters, driven by a text prompt. 720p / 1080p, 3-15 second clips. Version 1.1 runs at a lower per-second credit rate.","type":"object","additionalProperties":false,"properties":{"version":{"title":"Model Version","description":"Happy Horse model version. 1.1 (the default) is the newer engine at a lower per-second credit rate (720p: 3/s, 1080p: 4/s vs 1.0 at 4/s and 6/s).","type":"string","enum":["1.0","1.1"],"default":"1.1"},"prompt":{"title":"Prompt","description":"Text description of the video. Use character1 / character2 / … tokens to bind subjects to references.","type":"string"},"reference_urls":{"title":"Reference URLs","description":"Reference image URLs (1-9).","type":"array","items":{"type":"string","format":"uri"},"maxItems":9,"minItems":1},"duration":{"title":"Duration","description":"Video duration in seconds (3-15).","type":"integer","default":5,"minimum":3,"maximum":15},"resolution":{"title":"Resolution","description":"Output resolution (case-insensitive. \"720P\"/\"1080P\" are normalized).","type":"string","enum":["720p","1080p"],"default":"720p"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility (0–2147483647).","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt","reference_urls"]},"Happyhorse10T2vRequest":{"title":"Happy Horse 1.0 Text-to-VideoRequest","description":"Text-to-video with 720p/1080p output and 2-15 second durations","type":"object","additionalProperties":false,"properties":{"version":{"title":"Model Version","description":"Happy Horse model version. 1.1 is the newer engine at a lower per-second credit rate (720p: 3/s, 1080p: 4/s vs 1.0 at 4/s and 6/s).","type":"string","enum":["1.0","1.1"],"default":"1.0"},"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"},"duration":{"title":"Duration","description":"Video duration in seconds (2-15)","type":"integer","default":5,"minimum":2,"maximum":15},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string"},"enable_prompt_expansion":{"title":"Enable Prompt Expansion","description":"Enable smart prompt rewriting on the provider side. Expands short prompts for richer detail.","type":"boolean","default":false}},"required":["prompt"]},"Happyhorse10I2vRequest":{"title":"Happy Horse 1.0 Image-to-VideoRequest","description":"Image-to-video animation with 720p/1080p output and 2-15 second durations","type":"object","additionalProperties":false,"properties":{"version":{"title":"Model Version","description":"Happy Horse model version. 1.1 is the newer engine at a lower per-second credit rate (720p: 3/s, 1080p: 4/s vs 1.0 at 4/s and 6/s).","type":"string","enum":["1.0","1.1"],"default":"1.0"},"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"},"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"},"duration":{"title":"Duration","description":"Video duration in seconds (2-15)","type":"integer","default":5,"minimum":2,"maximum":15},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string"},"enable_prompt_expansion":{"title":"Enable Prompt Expansion","description":"Enable smart prompt rewriting on the provider side. Expands short prompts for richer detail.","type":"boolean","default":false}},"required":["prompt"]},"Happyhorse10VideoEditRequest":{"title":"Happy Horse Video EditRequest","description":"Alibaba Happy Horse 1.0 video edit — apply style transfer or local replacement to a source video using text prompts and optional reference images. 720p / 1080p, 3-15 second output.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":3,"maximum":60},"reference_urls":{"title":"Reference Urls","description":"Optional reference image URLs to bias style or subject.","type":"array","items":{"type":"string","format":"uri"},"maxItems":5},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["720p","1080p"],"default":"720p"},"audio_setting":{"title":"Audio Setting","description":"Audio handling: keep, mute, or generate.","type":"string","enum":["auto","origin"],"default":"auto"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt","video_url","video_duration"]},"HeygenAvatarRequest":{"title":"Heygen AvatarRequest","description":"Heygen Avatar 4 via fal.ai. Animate a portrait with prompt-driven speech or an audio track, with optional background and captions. Costs 2 credits per second of output video: an estimate is held at submission and settled to the actual duration when the job completes.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image","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"},"expressionHappy":{"title":"Expression: Happy","description":"Set true to add a \"happy\" facial expression. (Currently the only supported expression.)","type":"boolean","default":false},"backgroundType":{"title":"Background Type","description":"Background source: \"none\" leaves the avatar background intact; \"color\"/\"image\"/\"video\" replaces it via backgroundValue.","type":"string","enum":["none","color","image","video"],"default":"none"},"backgroundValue":{"title":"Background Value","description":"Hex color for type=color, URL for type=image/video. Ignored when type=none.","type":"string"},"audio_url":{"title":"Audio URL","description":"URL of an audio file for lip-sync. When provided, overrides prompt and voice. Billing holds a 60-second deposit (120 credits) up front, then settles to 2 credits per second of the actual output video on completion. The difference is refunded automatically.","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"]},"Hunyuan3dRequest":{"title":"Hunyuan 3DRequest","description":"Tencent Hunyuan 3D 3.1. Generate 3D meshes from a text prompt or a single image.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"enable_pbr":{"title":"Enable Pbr","description":"Generate PBR (physically-based rendering) textures — base color, normal, roughness, metallic — alongside the mesh.","type":"boolean"},"face_count":{"title":"Face Count","description":"Target mesh face count (40,000–1,500,000). More faces = more detail, larger file.","type":"number","minimum":40000,"maximum":1500000},"generate_type":{"title":"Generate Type","description":"Output mode: \"Normal\" produces a textured mesh; \"Geometry\" produces an untextured mesh.","type":"string","enum":["Normal","Geometry"]}}},"HunyuanImage3Request":{"title":"Hunyuan Image 3Request","description":"Hunyuan Image 3.0 — Tencent's 80B-parameter MoE text-to-image model. High-fidelity generation with seven aspect ratio presets and a fast mode toggle.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"Optional description of elements to avoid","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio preset","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:3","3:4"],"default":"1:1"},"go_fast":{"title":"Fast Mode","description":"Run faster predictions with additional optimizations","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"integer","minimum":1,"maximum":100},"cfg_scale":{"title":"Cfg Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","minimum":1,"maximum":50},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"integer","minimum":1,"maximum":4},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["PNG","JPG","WEBP"]}},"required":["prompt"]},"IdeogramV4TurboRequest":{"title":"Ideogram 4 TurboRequest","description":"Fastest and cheapest Ideogram 4.0. Same stunning realism, creative designs, and text rendering — tuned for speed and iteration.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Natural-language description. Enables Ideogram 4.0 Magic Prompt automatically. Use either prompt or json_prompt.","type":"string"},"json_prompt":{"title":"JSON Prompt","description":"Structured Ideogram 4.0 prompt as a JSON object (sent as a string). Use either prompt or json_prompt, not both.","type":"string"},"tier":{"title":"Tier","description":"Quality/speed/cost tier. turbo (1 credit, fast), balanced (2 credits), quality (3 credits, best), fast (0.5 credits, speed-tuned backbone), instant (0.2 credits, fastest & cheapest).","type":"string","enum":["turbo","balanced","quality","fast","instant"],"default":"turbo"},"resolution":{"title":"Resolution","description":"Output resolution. \"None\" lets Ideogram 4.0 choose the aspect ratio. v4 supports higher resolutions than v3.","type":"string","enum":["None","2048x2048","1440x2880","2880x1440","1664x2496","2496x1664","1792x2240","2240x1792","1440x2560","2560x1440","1600x2560","2560x1600","1728x2304","2304x1728","1296x3168","3168x1296","1152x2944","2944x1152","1248x3328","3328x1248","1280x3072","3072x1280"],"default":"None"},"enable_copyright_detection":{"title":"Copyright Detection","description":"Opt into Ideogram 4.0 post-generation copyright detection.","type":"boolean","default":false}}},"IdeogramV4BalancedRequest":{"title":"Ideogram 4 BalancedRequest","description":"The sweet spot. Balances speed, quality, and cost — a great default for most graphic design, marketing, and poster work.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Natural-language description. Enables Ideogram 4.0 Magic Prompt automatically. Use either prompt or json_prompt.","type":"string"},"json_prompt":{"title":"JSON Prompt","description":"Structured Ideogram 4.0 prompt as a JSON object (sent as a string). Use either prompt or json_prompt, not both.","type":"string"},"tier":{"title":"Tier","description":"Quality/speed/cost tier. turbo (1 credit, fast), balanced (2 credits), quality (3 credits, best), fast (0.5 credits, speed-tuned backbone), instant (0.2 credits, fastest & cheapest).","type":"string","enum":["turbo","balanced","quality","fast","instant"],"default":"turbo"},"resolution":{"title":"Resolution","description":"Output resolution. \"None\" lets Ideogram 4.0 choose the aspect ratio. v4 supports higher resolutions than v3.","type":"string","enum":["None","2048x2048","1440x2880","2880x1440","1664x2496","2496x1664","1792x2240","2240x1792","1440x2560","2560x1440","1600x2560","2560x1600","1728x2304","2304x1728","1296x3168","3168x1296","1152x2944","2944x1152","1248x3328","3328x1248","1280x3072","3072x1280"],"default":"None"},"enable_copyright_detection":{"title":"Copyright Detection","description":"Opt into Ideogram 4.0 post-generation copyright detection.","type":"boolean","default":false}}},"IdeogramV4QualityRequest":{"title":"Ideogram 4 QualityRequest","description":"The highest-quality Ideogram 4.0. Slowest but best for hero images, print-ready work, and detailed text-heavy layouts.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Natural-language description. Enables Ideogram 4.0 Magic Prompt automatically. Use either prompt or json_prompt.","type":"string"},"json_prompt":{"title":"JSON Prompt","description":"Structured Ideogram 4.0 prompt as a JSON object (sent as a string). Use either prompt or json_prompt, not both.","type":"string"},"tier":{"title":"Tier","description":"Quality/speed/cost tier. turbo (1 credit, fast), balanced (2 credits), quality (3 credits, best), fast (0.5 credits, speed-tuned backbone), instant (0.2 credits, fastest & cheapest).","type":"string","enum":["turbo","balanced","quality","fast","instant"],"default":"turbo"},"resolution":{"title":"Resolution","description":"Output resolution. \"None\" lets Ideogram 4.0 choose the aspect ratio. v4 supports higher resolutions than v3.","type":"string","enum":["None","2048x2048","1440x2880","2880x1440","1664x2496","2496x1664","1792x2240","2240x1792","1440x2560","2560x1440","1600x2560","2560x1600","1728x2304","2304x1728","1296x3168","3168x1296","1152x2944","2944x1152","1248x3328","3328x1248","1280x3072","3072x1280"],"default":"None"},"enable_copyright_detection":{"title":"Copyright Detection","description":"Opt into Ideogram 4.0 post-generation copyright detection.","type":"boolean","default":false}}},"IdeogramCharacterRequest":{"title":"Ideogram CharacterRequest","description":"Generate consistent characters from a single reference image in many styles.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"character_reference_image":{"title":"Character Reference Image","description":"Reference image of the character to preserve across generations.","type":"string","format":"uri"},"rendering_speed":{"title":"Rendering Speed","description":"Speed / quality tradeoff. \"Turbo\" is fastest; \"Quality\" is slowest but highest fidelity.","type":"string","enum":["Turbo","Default","Quality"],"default":"Default"},"style_type":{"title":"Style Type","description":"Style preset.","type":"string","enum":["Auto","Fiction","Realistic"]},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","2:3","3:2"]},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["None","1024x1024","1152x864","864x1152","1248x832","832x1248","1408x704","704x1408","1536x640","640x1536"]},"magic_prompt_option":{"title":"Magic Prompt Option","description":"Magic-prompt rewriting. \"Auto\" lets the model decide, \"On\" always rewrites for richer detail, \"Off\" sends the prompt verbatim.","type":"string","enum":["Auto","On","Off"]},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"number"},"numberOfImages":{"title":"Number Of Images","description":"Number of output images.","type":"integer","default":1,"minimum":1,"maximum":4}},"required":["prompt","character_reference_image"]},"ImageEditorRequest":{"title":"Character StylistRequest","description":"One-shot FLUX Kontext variants — filters, cartoonify, iconic locations, haircut swap, headshots, renaissance, face-to-many, and more.","type":"object","additionalProperties":false,"properties":{"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["filters","depth_of_field","iconic_locations","impossible_scenarios","cartoonify","text_removal","change_haircut","professional_headshot","face_to_many_kontext","renaissance"]},"input_image":{"title":"Input Image","description":"Reference image URL.","type":"string","format":"uri"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","match_input_image"],"default":"match_input_image"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"image_filter":{"title":"Image Filter","description":"Filter preset name (used by the \"filters\" variant).","type":"string"},"blur_effect":{"title":"Blur Effect","description":"Blur effect preset (used by the \"blur\" variant).","type":"string"},"gender":{"title":"Gender","description":"Subject gender preset for variants that need it (e.g. headshots, persona swap).","type":"string"},"iconic_location":{"title":"Iconic Location","description":"Iconic location preset (e.g. \"times-square\") for the \"iconic-locations\" variant.","type":"string"},"impossible_scenario":{"title":"Impossible Scenario","description":"Impossible-scenario preset for the \"impossible-scenarios\" variant.","type":"string"},"haircut":{"title":"Haircut","description":"Target haircut style for the \"change-haircut\" variant.","type":"string"},"hair_color":{"title":"Hair Color","description":"Target hair color for the \"change-haircut\" variant.","type":"string"},"background":{"title":"Background","description":"Background preset for the \"professional-headshot\" variant (e.g. \"office\", \"studio-gray\", \"outdoors\").","type":"string"},"style":{"title":"Style","description":"Style preset for variants that take one (e.g. cartoonify, face-to-many).","type":"string"},"persona":{"title":"Persona","description":"Persona preset for the \"persona-swap\" variant (e.g. \"wizard\", \"astronaut\").","type":"string"},"preserve_background":{"title":"Preserve Background","description":"Keep the original background when applying the edit.","type":"boolean"},"preserve_outfit":{"title":"Preserve Outfit","description":"Keep the subject's outfit unchanged when applying the edit.","type":"boolean"},"renaissance_style":{"title":"Renaissance Style","description":"Renaissance art style preset for the \"renaissance\" variant.","type":"string"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"integer","minimum":0,"maximum":6}},"required":["model","input_image"]},"ImageRelightingRequest":{"title":"Magic LightingRequest","description":"Relight images with Magic Lighting, Nano Banana Pro/2, or Qwen Image Edit — multi-provider routing with per-model credit rates.","type":"object","additionalProperties":false,"properties":{"subject_image":{"title":"Subject Image URL","description":"URL of the image to relight.","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Describe the desired lighting (e.g. \"cinematic neon lighting\", \"golden hour\").","type":"string"},"light_source":{"title":"Light Source","description":"Optional direction / type of the light source.","type":"string"},"model_type":{"title":"Model","description":"Which underlying relighting model to use.","type":"string","enum":["magic-lighting","nano-banana-pro","nano-banana-2","qwen-image-edit"],"default":"magic-lighting"},"number_of_images":{"title":"Number of Images","description":"How many variations to generate (1-12).","type":"integer","default":1,"minimum":1,"maximum":12},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"default":"1:1"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string"},"appended_prompt":{"title":"Appended Prompt","description":"Quality keywords appended to every prompt (Magic Lighting only).","type":"string","default":"best quality"},"output_format":{"title":"Output Format","description":"Image encoding format.","type":"string","enum":["png","jpg","webp"],"default":"png"},"width":{"title":"Width","description":"Output width in pixels (Magic Lighting only).","type":"string","default":"1024"},"height":{"title":"Height","description":"Output height in pixels (Magic Lighting only).","type":"string","default":"1024"},"steps":{"title":"Steps","description":"Diffusion steps (Magic Lighting only; higher = slower + sharper).","type":"number","default":25,"minimum":10,"maximum":50},"cfg":{"title":"CFG Scale","description":"Prompt adherence (Magic Lighting only).","type":"number","default":2},"highres_scale":{"title":"Highres Scale","description":"Upscale factor for the highres pass (Magic Lighting only).","type":"number","default":1.5},"highres_denoise":{"title":"Highres Denoise","description":"Denoise strength for the highres pass (Magic Lighting only).","type":"number","default":0.5},"lowres_denoise":{"title":"Lowres Denoise","description":"Denoise strength for the initial pass (Magic Lighting only).","type":"number","default":0.9},"output_quality":{"title":"Output Quality","description":"Image quality 1-100.","type":"number","default":100,"minimum":1,"maximum":100},"seed":{"title":"Seed","description":"Random seed for reproducibility.","type":"number"}},"required":["subject_image"]},"ImageToImageFluxRequest":{"title":"Image to ImageRequest","description":"FLUX Dev LoRA image-to-image on Replicate. Prompt + source image + optional LoRA weights.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":3.5},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"integer","default":1,"minimum":1,"maximum":4},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","default":"1:1"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"integer","default":100,"minimum":1,"maximum":100},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number","default":0.8,"minimum":0,"maximum":1},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"integer","default":28,"minimum":1,"maximum":50},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"}},"required":["prompt"]},"ImagineartRequest":{"title":"ImagineArtRequest","description":"ImagineArt family: 1.5, 1.5 Pro, and the 2.0 preview.","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"},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["imagineart/imagineart-2.0-preview/text-to-image","imagineart/imagineart-1.5-pro-preview/text-to-image","imagineart/imagineart-1.5-preview/text-to-image"],"default":"imagineart/imagineart-1.5-pro-preview/text-to-image"}},"required":["prompt"]},"KlingImageRequest":{"title":"Kling ImageRequest","description":"Kling Image V3 (fal.ai). High-quality text-to-image with 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_images":{"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"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"number"}},"required":["prompt"]},"KlingImageEditRequest":{"title":"Kling Image EditRequest","description":"Kling Image V3 (fal.ai) image-to-image editing with a text instruction.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["1K","2K"],"default":"1K"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4","3:2","2:3","21:9"],"default":"1:1"},"num_images":{"title":"Num Images","description":"Number of output images.","type":"integer","default":1,"minimum":1,"maximum":9},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpeg","webp"],"default":"png"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"number"}},"required":["prompt","image_url"]},"KlingMotionControlRequest":{"title":"Kling Motion Control v3 StandardRequest","description":"Kling Video v3 Standard motion control endpoint","type":"object","additionalProperties":false,"properties":{"video":{"title":"Motion Reference Video URL","description":"Video to extract motion from (required)","type":"string","format":"uri"},"character_image":{"title":"Character Image URL","description":"Character image to animate (required)","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional text description for generation guidance","type":"string"},"character_orientation":{"title":"Character Orientation","description":"Match video (complex motion, max 30s) or image (camera motion, max 10s)","type":"string","enum":["video","image"],"default":"video"},"keep_original_sound":{"title":"Keep Original Sound","description":"Preserve audio from the reference video","type":"boolean","default":true},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0}},"required":["video","character_image","video_duration"]},"KlingMotionControlProRequest":{"title":"Kling Motion Control v3 ProRequest","description":"Kling Video v3 Pro motion control endpoint","type":"object","additionalProperties":false,"properties":{"video":{"title":"Motion Reference Video URL","description":"Video to extract motion from (required)","type":"string","format":"uri"},"character_image":{"title":"Character Image URL","description":"Character image to animate (required)","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional text description for generation guidance","type":"string"},"character_orientation":{"title":"Character Orientation","description":"Match video (complex motion, max 30s) or image (camera motion, max 10s)","type":"string","enum":["video","image"],"default":"video"},"keep_original_sound":{"title":"Keep Original Sound","description":"Preserve audio from the reference video","type":"boolean","default":true},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0}},"required":["video","character_image","video_duration"]},"KlingReferenceToVideoRequest":{"title":"Kling Reference to VideoRequest","description":"Kling O3 reference-driven video generation. Image or video references, Standard or Pro tier.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string","default":""},"multi_prompt":{"title":"Multi Prompt","description":"Per-segment prompt list for multi-clip video generation.","type":"array","items":{"type":"string"}},"reference_type":{"title":"Reference Type","description":"Reference mode. \"image\" uses one or more reference images; \"video\" uses a source video clip as the anchor.","type":"string","enum":["image","video"],"default":"image"},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"duration":{"title":"Duration","description":"Output duration in seconds.","type":"integer","default":5,"minimum":3,"maximum":15},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","auto"],"default":"16:9"},"shot_type":{"title":"Shot Type","description":"Camera framing for the shot (close-up, medium, wide, etc.).","type":"string","enum":["customize"]},"start_image_url":{"title":"Start Image URL","description":"First-frame anchor image URL for video generation.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":4},"elements":{"title":"Elements","description":"Optional per-segment element descriptors for multi-clip generation (camera moves, transitions, etc.).","type":"array","items":{"type":"string"}},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":false},"keep_audio":{"title":"Keep Audio","description":"Preserve the source audio track in the output.","type":"boolean","default":true}}},"KlingV26Request":{"title":"Kling 2.6 ProRequest","description":"Kling Video v2.6 Pro (fal.ai). Text-to-video or image-to-video, 5 or 10 seconds, with audio generation.","type":"object","additionalProperties":false,"properties":{"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Output duration in seconds.","type":"string","enum":["5","10"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"Cfg Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":0.5},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":true}},"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"},"maxItems":6},"duration":{"title":"Duration","description":"Video duration in seconds","type":"integer","default":"5","minimum":3,"maximum":15,"enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"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"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"start_image_url":{"title":"Start Image URL","description":"First-frame anchor image URL for video generation.","type":"string","format":"uri"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"elements":{"title":"Elements","description":"","type":"array","items":{"type":"string"}}}},"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"},"maxItems":6},"duration":{"title":"Duration","description":"Video duration in seconds","type":"integer","default":"5","minimum":3,"maximum":15,"enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"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"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"voice_ids":{"title":"Voice Ids","description":"","type":"array","items":{"type":"string"}}}},"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"},"maxItems":6},"duration":{"title":"Duration","description":"Video duration in seconds","type":"integer","default":"5","minimum":3,"maximum":15,"enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"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"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"start_image_url":{"title":"Start Image URL","description":"First-frame anchor image URL for video generation.","type":"string","format":"uri"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"elements":{"title":"Elements","description":"","type":"array","items":{"type":"string"}}}},"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"},"maxItems":6},"duration":{"title":"Duration","description":"Video duration in seconds","type":"integer","default":"5","minimum":3,"maximum":15,"enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"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"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"voice_ids":{"title":"Voice Ids","description":"","type":"array","items":{"type":"string"}}}},"KlingVideoEditRequest":{"title":"Kling Video EditRequest","description":"Kling O3 video-to-video edit. Standard or Pro, with optional reference images and audio preservation.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0,"maximum":10},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"pro"},"keep_audio":{"title":"Keep Audio","description":"Preserve the source audio track in the output.","type":"boolean","default":true},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":4}},"required":["prompt","video_url","video_duration"]},"KreaV2Request":{"title":"Krea ImageRequest","description":"Krea's aesthetic text-to-image, three tiers in one tool. Turbo for fast, cheap (0.5 credit), spicy-capable generation with optional custom LoRAs; Medium and Large for higher fidelity with a creativity control and optional style-reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate.","type":"string"},"model":{"title":"Model tier","description":"Turbo (0.5 credit, fastest, spicy-capable), Medium (1 credit), or Large (2 credits, highest fidelity). Creativity and style references apply to Medium and Large only.","type":"string","enum":["turbo","medium","large"],"default":"turbo"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","4:3","3:2","16:9","2.35:1","4:5","2:3","9:16"],"default":"1:1"},"creativity":{"title":"Creativity","description":"How loosely the model interprets the prompt. raw = literal, high = most creative.","type":"string","enum":["raw","low","medium","high"],"default":"medium"},"reference_images":{"title":"Style reference images","description":"Up to 10 image URLs whose style guides the output. References steer style only — Krea generates a fresh image from your prompt.","type":"array","items":{"type":"string"},"maxItems":10},"seed":{"title":"Seed","description":"Integer seed for reproducible outputs.","type":"integer"},"lora_weights":{"title":"LoRA weights","description":"URL (or array of up to 3 URLs) of Krea 2 LoRA safetensors weights — e.g. a LoRA trained with the Krea 2 LoRA Trainer. LoRAs always run on the Turbo tier (0.5 credits); the model field is ignored when present.","type":"string"},"lora_scales":{"title":"LoRA scales","description":"Strength for each LoRA (0 to 4, default 1). Number or array aligned with lora_weights.","type":"number"}},"required":["prompt"]},"Ltx2FastT2vRequest":{"title":"LTX 2.3 Fast Text-to-VideoRequest","description":"Fast text-to-video generation (6-20s, 1080p-2160p).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate.","type":"string"},"duration":{"title":"Duration","description":"Clip duration in seconds (Fast 6-20s, Pro 6-10s).","type":"integer","default":6,"minimum":6,"maximum":20},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["1080p","1440p","2160p"],"default":"1080p"},"fps":{"title":"FPS","description":"Frames per second.","type":"string","enum":["24","25","48","50"],"default":"25"},"generate_audio":{"title":"Generate Audio","description":"Whether to generate synchronized audio.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Optional random seed for reproducibility.","type":"integer"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio (16:9 or 9:16).","type":"string","enum":["16:9","9:16"],"default":"16:9"},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["fast","pro"],"default":"fast"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video","extend-video"],"default":"text-to-video"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"extend_mode":{"title":"Extend Mode","description":"","type":"string","enum":["start","end"],"default":"end"},"context":{"title":"Context","description":"","type":"number","minimum":0,"maximum":20}}},"Ltx2FastI2vRequest":{"title":"LTX 2.3 Fast Image-to-VideoRequest","description":"Fast image-to-video generation (6-20s, 1080p-2160p).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate.","type":"string"},"duration":{"title":"Duration","description":"Clip duration in seconds (Fast 6-20s, Pro 6-10s).","type":"integer","default":6,"minimum":6,"maximum":20},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["1080p","1440p","2160p"],"default":"1080p"},"fps":{"title":"FPS","description":"Frames per second.","type":"string","enum":["24","25","48","50"],"default":"25"},"generate_audio":{"title":"Generate Audio","description":"Whether to generate synchronized audio.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Optional random seed for reproducibility.","type":"integer"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video generation (required).","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"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio (auto infers from image, or 16:9/9:16).","type":"string","enum":["auto","16:9","9:16"],"default":"auto"},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["fast","pro"],"default":"fast"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video","extend-video"],"default":"text-to-video"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"extend_mode":{"title":"Extend Mode","description":"","type":"string","enum":["start","end"],"default":"end"},"context":{"title":"Context","description":"","type":"number","minimum":0,"maximum":20}}},"Ltx2ProT2vRequest":{"title":"LTX 2.3 Pro Text-to-VideoRequest","description":"Higher quality text-to-video generation (6-10s, 1080p-2160p).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate.","type":"string"},"duration":{"title":"Duration","description":"Clip duration in seconds (Fast 6-20s, Pro 6-10s).","type":"integer","default":6,"minimum":6,"maximum":20},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["1080p","1440p","2160p"],"default":"1080p"},"fps":{"title":"FPS","description":"Frames per second.","type":"string","enum":["24","25","48","50"],"default":"25"},"generate_audio":{"title":"Generate Audio","description":"Whether to generate synchronized audio.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Optional random seed for reproducibility.","type":"integer"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio (16:9 or 9:16).","type":"string","enum":["16:9","9:16"],"default":"16:9"},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["fast","pro"],"default":"fast"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video","extend-video"],"default":"text-to-video"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"extend_mode":{"title":"Extend Mode","description":"","type":"string","enum":["start","end"],"default":"end"},"context":{"title":"Context","description":"","type":"number","minimum":0,"maximum":20}}},"Ltx2ProI2vRequest":{"title":"LTX 2.3 Pro Image-to-VideoRequest","description":"Higher quality image-to-video generation (6-10s, 1080p-2160p).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate.","type":"string"},"duration":{"title":"Duration","description":"Clip duration in seconds (Fast 6-20s, Pro 6-10s).","type":"integer","default":6,"minimum":6,"maximum":20},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["1080p","1440p","2160p"],"default":"1080p"},"fps":{"title":"FPS","description":"Frames per second.","type":"string","enum":["24","25","48","50"],"default":"25"},"generate_audio":{"title":"Generate Audio","description":"Whether to generate synchronized audio.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Optional random seed for reproducibility.","type":"integer"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video generation (required).","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"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio (auto infers from image, or 16:9/9:16).","type":"string","enum":["auto","16:9","9:16"],"default":"auto"},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["fast","pro"],"default":"fast"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video","extend-video"],"default":"text-to-video"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"extend_mode":{"title":"Extend Mode","description":"","type":"string","enum":["start","end"],"default":"end"},"context":{"title":"Context","description":"","type":"number","minimum":0,"maximum":20}}},"Ltx2ProExtendRequest":{"title":"LTX 2.3 Pro Extend VideoRequest","description":"Extend an existing video clip from the start or end (1-20s, Pro tier only).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of how the extension should continue.","type":"string"},"video_url":{"title":"Video URL","description":"Source video to extend (required).","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Seconds of new footage to generate (1-20).","type":"integer","default":6,"minimum":1,"maximum":20},"extend_mode":{"title":"Extend Direction","description":"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.","type":"number","minimum":0,"maximum":20},"seed":{"title":"Seed","description":"Optional random seed for reproducibility.","type":"integer"},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["fast","pro"],"default":"fast"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video","extend-video"],"default":"text-to-video"},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["1080p","1440p","2160p"]},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["auto","16:9","9:16"]},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":true},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"}}},"LumaUni1Request":{"title":"Luma UNI 1Request","description":"Luma UNI 1 (Standard + MAX) via Runware. Text-to-image and reference-guided image editing with one prompt, two quality tiers.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate or edit.","type":"string"},"model":{"title":"Model variant","description":"Choose between Standard (fast, 1 credit) and MAX (quality-first, 3 credits).","type":"string","enum":["standard","max"],"default":"standard"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Resolves to Luma's recommended ~3K dimensions.","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","2:1","1:2"],"default":"1:1"},"num_outputs":{"title":"Number of outputs","description":"How many variations to generate. 1-4.","type":"integer","default":1,"minimum":1,"maximum":4},"style":{"title":"Style preset","description":"Optional style hint. \"auto\" lets the model decide; \"manga\" biases output.","type":"string","enum":["auto","manga"],"default":"auto"},"reference_images":{"title":"Reference images","description":"Up to 8 image URLs to guide or edit. When provided, switches to image-edit mode.","type":"array","items":{"type":"string"},"maxItems":8},"seed":{"title":"Seed","description":"Integer seed for reproducible outputs.","type":"integer"}},"required":["prompt"]},"MagnificUpscalerRequest":{"title":"Magnific UpscalerRequest","description":"Freepik Magnific upscaler. Creative or precision mode, up to 16x.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["creative","precision"],"default":"creative"},"scale_factor":{"title":"Scale Factor","description":"Upscale factor (2x, 4x, etc.).","type":"string","enum":["2x","4x","8x","16x"],"default":"2x"},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string","default":""},"creativity":{"title":"Creativity","description":"How much creative latitude the upscaler / refiner takes when adding detail. Higher = more invention.","type":"number","default":0,"minimum":-10,"maximum":10},"hdr":{"title":"Hdr","description":"Apply HDR-style dynamic-range expansion to the output.","type":"number","default":0,"minimum":-10,"maximum":10},"resemblance":{"title":"Resemblance","description":"How closely the upscaled output should resemble the original. Higher = more faithful, less reinvention.","type":"number","default":0,"minimum":-10,"maximum":10},"fractality":{"title":"Fractality","description":"Detail-fractality boost. Higher = more micro-detail injected at every scale level.","type":"number","default":0,"minimum":-10,"maximum":10},"engine":{"title":"Engine","description":"Upscaling engine. \"automatic\" picks for you; the three named engines each emphasize different detail characteristics (illusio = stylized, sharpy = crisp, sparkle = high-contrast).","type":"string","enum":["automatic","magnific_illusio","magnific_sharpy","magnific_sparkle"],"default":"automatic"},"optimized_for":{"title":"Optimized For","description":"Content-type hint that biases the upscaler's detail synthesis toward that category (portraits, art, landscapes, etc.).","type":"string","enum":["standard","soft_portraits","hard_portraits","art_n_illustration","videogame_assets","nature_n_landscapes","films_n_photography","3d_renders","science_fiction_n_horror"],"default":"standard"},"imageWidth":{"title":"Image Width","description":"Source image width in pixels — used for credit cost estimation when the input image is referenced via URL.","type":"integer","minimum":0},"imageHeight":{"title":"Image Height","description":"Source image height in pixels — used for credit cost estimation when the input image is referenced via URL.","type":"integer","minimum":0}},"required":["image"]},"MaiImageRequest":{"title":"MAI ImageRequest","description":"Microsoft MAI Image 2.5 — text-to-image with strong prompt adherence, natural lighting, and clean detail across 11 aspect ratios.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate (3–5000 characters)","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. `auto` lets the model pick the best fit for your prompt.","type":"string","enum":["auto","1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9"],"default":"auto"},"num_images":{"title":"Number of Images","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"]},"OmnihumanRequest":{"title":"OmniHumanRequest","description":"ByteDance OmniHuman 1.5 via Replicate. Audio-driven talking-head video with lip sync.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image URL","description":"Character image for talking head generation (required)","type":"string","format":"uri"},"audio":{"title":"Audio URL","description":"Audio file for lip sync (required)","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional text description for generation guidance","type":"string"},"fast_mode":{"title":"Fast Mode","description":"Enable faster generation with reduced quality","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"audioDuration":{"title":"Audio Duration","description":"","type":"number","minimum":0.1}},"required":["image","audio"]},"OutpaintRequest":{"title":"Image OutpaintingRequest","description":"fal.ai Image Apps V2 outpainting. Expand an image beyond its original edges.","type":"object","additionalProperties":false,"properties":{"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"expand_left":{"title":"Expand Left","description":"Pixels to expand the image on the left side.","type":"number"},"expand_right":{"title":"Expand Right","description":"Pixels to expand the image on the right side.","type":"number"},"expand_top":{"title":"Expand Top","description":"Pixels to expand the image on the top.","type":"number"},"expand_bottom":{"title":"Expand Bottom","description":"Pixels to expand the image on the bottom.","type":"number"},"zoom_out_percentage":{"title":"Zoom Out Percentage","description":"Convenience shortcut — expand all four sides by this percentage of the original dimensions (e.g. 25 = expand 25% in every direction).","type":"number"},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"num_images":{"title":"Num Images","description":"Number of output images.","type":"integer","default":1,"minimum":1,"maximum":4},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpeg","webp"],"default":"png"}},"required":["image_url"]},"PImageRequest":{"title":"P-ImageRequest","description":"Pruna P-Image. Sub-second text-to-image with optional custom dimensions.","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"},"width":{"title":"Width","description":"Output width in pixels.","type":"integer"},"height":{"title":"Height","description":"Output height in pixels.","type":"integer"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"}},"required":["prompt"]},"PImageEditRequest":{"title":"P-Image EditRequest","description":"Pruna P-Image Edit. Fast image editing with up to 5 reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing the edit","type":"string"},"images":{"title":"Images","description":"Reference images to edit (1-5 URLs)","type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"minItems":1},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","9:16","16:9"]},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"}},"required":["prompt","images"]},"PImageUpscaleRequest":{"title":"P-Image UpscaleRequest","description":"Pruna P-Image Upscale. Fast image upscaling to a target megapixel size, with optional detail and realism enhancement.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image URL","description":"URL of the image to upscale.","type":"string","format":"uri"},"target":{"title":"Target Megapixels","description":"Target output resolution in megapixels (1-128). Cost increases with target size.","type":"integer","default":4,"minimum":1,"maximum":128},"enhance_details":{"title":"Enhance Details","description":"Boost texture and fine-detail rendering. Default off.","type":"boolean","default":false},"enhance_realism":{"title":"Enhance Realism","description":"Improve realism for AI-generated source images (reduces plastic-look artifacts). Default off.","type":"boolean","default":false}},"required":["image"]},"PVideoRequest":{"title":"P VideoRequest","description":"Pruna P-Video — video generation with text/image/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=0.1 credits/second, 1080p draft=0.2 credits/second)","type":"boolean","default":false},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt automatically before generation","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"]},"PVideoAvatarRequest":{"title":"P Video AvatarRequest","description":"Pruna P Video Avatar — animate a portrait into a talking avatar from a script or an audio file. 30 voices, 10 languages, 720p / 1080p.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Portrait Image URL","description":"URL of a portrait image to animate (jpg, jpeg, png, webp).","type":"string","format":"uri"},"voice_script":{"title":"Voice Script","description":"Text the avatar should speak. Required unless `audio` is provided.","type":"string"},"audio":{"title":"Audio URL","description":"Optional audio file for lip-sync. When provided, overrides voice_script and voice.","type":"string","format":"uri"},"voice":{"title":"Voice","description":"Named voice to synthesize the script with. Ignored when audio is provided.","type":"string","enum":["Zephyr (Female)","Puck (Male)","Charon (Male)","Kore (Female)","Fenrir (Male)","Leda (Female)","Orus (Male)","Aoede (Female)","Callirrhoe (Female)","Autonoe (Female)","Enceladus (Male)","Iapetus (Male)","Umbriel (Male)","Algenib (Male)","Despina (Female)","Erinome (Female)","Laomedeia (Female)","Achernar (Female)","Algieba (Male)","Schedar (Male)","Gacrux (Female)","Pulcherrima (Female)","Achird (Male)","Zubenelgenubi (Male)","Vindemiatrix (Female)","Sadachbia (Male)","Sadaltager (Male)","Sulafat (Female)","Alnilam (Male)","Rasalgethi (Male)"],"default":"Zephyr (Female)"},"voice_language":{"title":"Voice Language","description":"Language for voice synthesis.","type":"string","enum":["English (US)","English (UK)","Spanish","French","German","Italian","Portuguese (Brazil)","Japanese","Korean","Hindi"],"default":"English (US)"},"video_prompt":{"title":"Video Direction","description":"Optional guidance for visual motion (e.g. \"warm smile, slight nods\").","type":"string"},"voice_prompt":{"title":"Voice Direction","description":"Optional speaking-style cue (e.g. \"Say the following with quiet confidence.\").","type":"string"},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["720p","1080p"],"default":"720p"},"disable_prompt_upsampling":{"title":"Disable Prompt Upsampling","description":"Skip the model's automatic prompt-enhancement pass.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Optional integer seed for reproducible output.","type":"integer"}},"required":["image"]},"PixverseRequest":{"title":"PixverseRequest","description":"Pixverse v5.6 video generation via Replicate — text-to-video or image-to-video with optional audio, at 360p–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_image":{"title":"Last Frame Image URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"quality":{"title":"Quality","description":"Output video quality (higher quality costs more)","type":"string","enum":["360p","540p","720p","1080p"],"default":"540p"},"duration":{"title":"Duration","description":"Video duration in seconds (10s is only available for 360p/540p/720p)","type":"string","enum":["5","8","10"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"generate_audio_switch":{"title":"Generate Audio","description":"Enable AI-generated audio including BGM, SFX, and character dialogues","type":"boolean","default":true},"thinking_type":{"title":"Thinking Type","description":"Prompt reasoning enhancement (auto, enabled, or disabled)","type":"string","enum":["disabled","enabled","auto"],"default":"auto"}}},"PixverseV6Request":{"title":"PixVerse V6Request","description":"Pixverse V6 video generation via Runware. Text-to-video, image-to-video (start frame), or multi-clip (start + end frame).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string","default":""},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["360p","540p","720p","1080p"],"default":"720p"},"duration":{"title":"Duration","description":"Output duration in seconds.","type":"integer","default":5,"minimum":1,"maximum":15},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","4:3","1:1","3:4","9:16"],"default":"16:9"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":true},"thinking_type":{"title":"Thinking Type","description":"Reasoning mode preset.","type":"string","enum":["disabled","enabled","auto"],"default":"auto"},"multi_clip":{"title":"Multi Clip","description":"Generate a multi-clip sequence instead of a single clip.","type":"boolean","default":false},"style":{"title":"Style","description":"Visual style preset.","type":"string","enum":["none","anime","3d_animation","clay","comic","cyberpunk"],"default":"none"}}},"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},"loras":{"title":"LoRAs","description":"LoRA configuration passed through to Replicate. Accepts a string of newline-separated entries or a JSON array of LoRA objects (model URL/path + optional scale).","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Default LoRA strength applied when loras entries omit a per-entry scale.","type":"number","default":1,"minimum":0,"maximum":2},"loraId":{"title":"LoRA ID","description":"Optional reference to a saved LoRA in your account. Resolved server-side to a download URL before submission.","type":"string"},"model":{"title":"Model","description":"Model variant to use.","type":"string"},"vae":{"title":"Vae","description":"","type":"string"},"pag_scale":{"title":"Pag Scale","description":"","type":"number"},"guidance_rescale":{"title":"Guidance Rescale","description":"","type":"number"},"clip_skip":{"title":"Clip Skip","description":"","type":"integer"},"strength":{"title":"Strength","description":"How strongly the edit overrides the input image.","type":"number"},"prepend_preprompt":{"title":"Prepend Preprompt","description":"","type":"boolean"},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"mask":{"title":"Mask","description":"Inpainting mask URL. PNG with transparent regions = areas to edit.","type":"string"},"blur_factor":{"title":"Blur Factor","description":"","type":"number"},"model_version":{"title":"Model Version","description":"","type":"string"}},"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},"loras":{"title":"LoRAs","description":"LoRA configuration passed through to Replicate. Accepts a string of newline-separated entries or a JSON array of LoRA objects (model URL/path + optional scale).","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Default LoRA strength applied when loras entries omit a per-entry scale.","type":"number","default":1,"minimum":0,"maximum":2},"loraId":{"title":"LoRA ID","description":"Optional reference to a saved LoRA in your account. Resolved server-side to a download URL before submission.","type":"string"},"model":{"title":"Model","description":"Model variant to use.","type":"string"},"vae":{"title":"Vae","description":"","type":"string"},"pag_scale":{"title":"Pag Scale","description":"","type":"number"},"guidance_rescale":{"title":"Guidance Rescale","description":"","type":"number"},"clip_skip":{"title":"Clip Skip","description":"","type":"integer"},"strength":{"title":"Strength","description":"How strongly the edit overrides the input image.","type":"number"},"prepend_preprompt":{"title":"Prepend Preprompt","description":"","type":"boolean"},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"mask":{"title":"Mask","description":"Inpainting mask URL. PNG with transparent regions = areas to edit.","type":"string"},"blur_factor":{"title":"Blur Factor","description":"","type":"number"},"model_version":{"title":"Model Version","description":"","type":"string"}},"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},"loras":{"title":"LoRAs","description":"LoRA configuration passed through to Replicate. Accepts a string of newline-separated entries or a JSON array of LoRA objects (model URL/path + optional scale).","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Default LoRA strength applied when loras entries omit a per-entry scale.","type":"number","default":1,"minimum":0,"maximum":2},"loraId":{"title":"LoRA ID","description":"Optional reference to a saved LoRA in your account. Resolved server-side to a download URL before submission.","type":"string"},"model":{"title":"Model","description":"Model variant to use.","type":"string"},"vae":{"title":"Vae","description":"","type":"string"},"pag_scale":{"title":"Pag Scale","description":"","type":"number"},"guidance_rescale":{"title":"Guidance Rescale","description":"","type":"number"},"clip_skip":{"title":"Clip Skip","description":"","type":"integer"},"strength":{"title":"Strength","description":"How strongly the edit overrides the input image.","type":"number"},"prepend_preprompt":{"title":"Prepend Preprompt","description":"","type":"boolean"},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"mask":{"title":"Mask","description":"Inpainting mask URL. PNG with transparent regions = areas to edit.","type":"string"},"blur_factor":{"title":"Blur Factor","description":"","type":"number"},"model_version":{"title":"Model Version","description":"","type":"string"}},"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"},"generation_model":{"title":"Generation Model","description":"DashScope model variant. Rolling: qwen-image-plus, qwen-image-max. Dated snapshots for pinning: qwen-image-plus-2026-01-09, qwen-image-max-2025-12-30. Legacy: qwen-image. Ignored when lora_weights is set (LoRA path uses Replicate).","type":"string","enum":["qwen-image-plus","qwen-image-plus-2026-01-09","qwen-image-max","qwen-image-max-2025-12-30","qwen-image"],"default":"qwen-image-plus"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio. The qwen-image-plus / qwen-image-max series ship five recommended aspect ratios; 21:9 is only available on the LoRA Replicate path.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9"],"default":"1:1"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output (max 500 characters).","type":"string"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Adds a \"Qwen-Image\" watermark to the bottom-right corner.","type":"boolean","default":false},"num_inference_steps":{"title":"Inference Steps","description":"LoRA path only — number of inference steps (28-50).","type":"number","default":35,"minimum":28,"maximum":50},"guidance":{"title":"Guidance","description":"LoRA path only — guidance scale (2-4).","type":"number","default":3,"minimum":2,"maximum":4},"go_fast":{"title":"Go Fast","description":"LoRA path only — enable faster generation.","type":"boolean","default":false},"numberOfImages":{"title":"Number of Outputs","description":"Number of images to generate. The DashScope path (qwen-image-plus / qwen-image-max) is fixed at 1 per upstream contract; the LoRA Replicate path supports 1-4.","type":"number","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (0–2147483647).","type":"integer","minimum":0,"maximum":2147483647},"lora_weights":{"title":"LoRA Weights","description":"URL or HuggingFace path to a Qwen Image LoRA. Supplying this routes the request through the Replicate LoRA remix variant and unlocks numberOfImages > 1 + LoRA-specific params.","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number","default":1,"minimum":0,"maximum":2}},"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"},"generation_model":{"title":"Generation Model","description":"DashScope model variant. Rolling: qwen-image-plus, qwen-image-max. Dated snapshots for pinning: qwen-image-plus-2026-01-09, qwen-image-max-2025-12-30. Legacy: qwen-image. Ignored when lora_weights is set (LoRA path uses Replicate).","type":"string","enum":["qwen-image-plus","qwen-image-plus-2026-01-09","qwen-image-max","qwen-image-max-2025-12-30","qwen-image"],"default":"qwen-image-plus"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio. The qwen-image-plus / qwen-image-max series ship five recommended aspect ratios; 21:9 is only available on the LoRA Replicate path.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9"],"default":"1:1"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output (max 500 characters).","type":"string"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Adds a \"Qwen-Image\" watermark to the bottom-right corner.","type":"boolean","default":false},"num_inference_steps":{"title":"Inference Steps","description":"LoRA path only — number of inference steps (28-50).","type":"number","default":35,"minimum":28,"maximum":50},"guidance":{"title":"Guidance","description":"LoRA path only — guidance scale (2-4).","type":"number","default":3,"minimum":2,"maximum":4},"go_fast":{"title":"Go Fast","description":"LoRA path only — enable faster generation.","type":"boolean","default":false},"numberOfImages":{"title":"Number of Outputs","description":"Number of images to generate. The DashScope path (qwen-image-plus / qwen-image-max) is fixed at 1 per upstream contract; the LoRA Replicate path supports 1-4.","type":"number","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (0–2147483647).","type":"integer","minimum":0,"maximum":2147483647},"lora_weights":{"title":"LoRA Weights","description":"URL or HuggingFace path to a Qwen Image LoRA. Supplying this routes the request through the Replicate LoRA remix variant and unlocks numberOfImages > 1 + LoRA-specific params.","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number","default":1,"minimum":0,"maximum":2}},"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. Use the rolling names (qwen-image-2.0, qwen-image-2.0-pro) for the latest behavior, or pin to a dated snapshot variant for reproducibility.","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-2026-03-03","qwen-image-2.0-pro","qwen-image-2.0-pro-2026-04-22","qwen-image-2.0-pro-2026-03-03"],"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). The qwen-image-2.0 series accepts any size where total pixels are between 512² and 2048², aspect ratio 1:8 to 8:1. The docs default to 2048*2048; we expose three tiers (1k / 2k / max) per aspect ratio.","type":"string","enum":["1024*1024","768*1152","1152*768","960*1280","1280*960","720*1280","1280*720","1344*576","1536*1536","1024*1536","1536*1024","1080*1440","1440*1080","1080*1920","1920*1080","2048*872","2048*2048","2688*1536","1536*2688","2368*1728","1728*2368"],"default":"2048*2048"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6)","type":"number","default":1,"minimum":1,"maximum":6},"seed":{"title":"Seed","description":"Random seed for reproducibility (0-2147483647)","type":"integer","minimum":0,"maximum":2147483647},"reference_images":{"title":"Reference Images (legacy)","description":"Optional reference image URLs (up to 3). Supplying any value turns this into an image-to-image call — the request is internally equivalent to /api/v1/models/qwen-image-2-edit/run with the same model. For new code, prefer that endpoint directly; the parameter is kept here for backwards compatibility with Creator Studio.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false}},"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. Use the rolling names (qwen-image-2.0, qwen-image-2.0-pro) for the latest behavior, or pin to a dated snapshot variant for reproducibility.","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-2026-03-03","qwen-image-2.0-pro","qwen-image-2.0-pro-2026-04-22","qwen-image-2.0-pro-2026-03-03"],"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). The qwen-image-2.0 series accepts any size where total pixels are between 512² and 2048², aspect ratio 1:8 to 8:1. The docs default to 2048*2048; we expose three tiers (1k / 2k / max) per aspect ratio.","type":"string","enum":["1024*1024","768*1152","1152*768","960*1280","1280*960","720*1280","1280*720","1344*576","1536*1536","1024*1536","1536*1024","1080*1440","1440*1080","1080*1920","1920*1080","2048*872","2048*2048","2688*1536","1536*2688","2368*1728","1728*2368"],"default":"2048*2048"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6)","type":"number","default":1,"minimum":1,"maximum":6},"seed":{"title":"Seed","description":"Random seed for reproducibility (0-2147483647)","type":"integer","minimum":0,"maximum":2147483647},"reference_images":{"title":"Reference Images (legacy)","description":"Optional reference image URLs (up to 3). Supplying any value turns this into an image-to-image call — the request is internally equivalent to /api/v1/models/qwen-image-2-edit/run with the same model. For new code, prefer that endpoint directly; the parameter is kept here for backwards compatibility with Creator Studio.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false}},"required":["prompt"]},"QwenImage2EditRequest":{"title":"Qwen Image 2 EditRequest","description":"Alibaba DashScope Qwen Image 2 edit — supply 1-3 reference images plus an edit instruction. Standard and Pro variants.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction or composition prompt.","type":"string"},"image":{"title":"Input Images","description":"One to three input images. Accepts a single URL string or an array of URLs. Image order defines the array sequence; the output aspect ratio matches the last image when size is omitted. Accepted formats: JPG / JPEG / PNG / BMP / TIFF / WEBP / GIF; max 10 MB each.","type":"array","items":{"type":"string"},"maxItems":3,"minItems":1},"model":{"title":"Model","description":"Model variant to use. Use the rolling names (qwen-image-2.0, qwen-image-2.0-pro) for the latest behavior, or pin to a dated snapshot variant for reproducibility.","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-2026-03-03","qwen-image-2.0-pro","qwen-image-2.0-pro-2026-04-22","qwen-image-2.0-pro-2026-03-03"],"default":"qwen-image-2.0"},"size":{"title":"Size","description":"Output image dimensions (width*height). Optional — when omitted, the model matches the input image's aspect ratio. Total pixels 512² to 2048². When provided, the model rounds to the nearest multiple of 16.","type":"string","enum":["1024*1024","768*1152","1152*768","960*1280","1280*960","720*1280","1280*720","1344*576","1536*1536","1024*1536","1536*1024","1080*1440","1440*1080","1080*1920","1920*1080","2048*872","2048*2048","2688*1536","1536*2688","2368*1728","1728*2368"]},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6).","type":"integer","default":1,"minimum":1,"maximum":6},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output (max 500 characters).","type":"string"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact edit instruction is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Adds a \"Qwen-Image\" watermark to the bottom-right corner.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt","image"]},"QwenImageEditRequest":{"title":"Qwen Image EditRequest","description":"Alibaba DashScope Qwen Image edit — supply 1-3 reference images plus an edit instruction. Plus and Max model variants.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction.","type":"string"},"image":{"title":"Input Images","description":"One to three input images. Accepts a single URL string or an array of URLs. Image order defines the array sequence; the output aspect ratio matches the last image when size is omitted. Accepted formats: JPG / JPEG / PNG / BMP / TIFF / WEBP / GIF; max 10 MB each.","type":"array","items":{"type":"string"},"maxItems":3,"minItems":1},"model":{"title":"Model","description":"Edit-model variant. Use the rolling names (qwen-image-edit-plus, qwen-image-edit-max) for the latest behavior, or pin to a dated snapshot for reproducibility. The legacy `qwen-image-edit` fixes n=1 and ignores size / prompt_extend.","type":"string","enum":["qwen-image-edit-plus","qwen-image-edit-plus-2025-12-15","qwen-image-edit-plus-2025-10-30","qwen-image-edit-max","qwen-image-edit-max-2026-01-16","qwen-image-edit"],"default":"qwen-image-edit-plus"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Omit to match the input image's aspect ratio. Used to derive `size` when an explicit `size` value is not supplied.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9"]},"size":{"title":"Size","description":"Output dimensions (width*height). Optional — when omitted, the model matches the input image's aspect ratio. Width / height each between 512 and 2048; the model rounds to the nearest multiple of 16.","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"]},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6 on edit-plus / edit-max; fixed at 1 on qwen-image-edit).","type":"integer","default":1,"minimum":1,"maximum":6},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output (max 500 characters).","type":"string"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact edit instruction is followed. Not supported on qwen-image-edit (legacy).","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Adds a \"Qwen-Image\" watermark to the bottom-right corner.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt","image"]},"QwenImageEditSpicyRequest":{"title":"Qwen Image Edit SpicyRequest","description":"Qwen Image Edit Spicy. Add, remove, or modify elements in an existing image with text guidance.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction — describe what to add, remove, or change","type":"string"},"image_url":{"title":"Image","description":"Source image — public HTTPS URL (JPEG/PNG/BMP/WEBP).","type":"string","format":"uri"},"seed":{"title":"Seed","description":"Random seed (0–2,147,483,647); null/0 = random","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt","image_url"]},"RecraftV41Request":{"title":"Recraft V4.1Request","description":"Recraft's latest image model. Better photorealism, smoother gradients, and improved text rendering vs V4. ~1024px output.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"tier":{"title":"Tier","description":"Output resolution tier. Standard ≈1024px (1 credit), Pro ≈2048px (5 credits).","type":"string","enum":["standard","pro"],"default":"standard"},"variant":{"title":"Variant","description":"Output type. \"raster\" = standard PNG/WebP image. \"svg\" = editable SVG vector. \"utility\" = product-mockup-optimized raster (flat, front-facing).","type":"string","enum":["raster","svg","utility"],"default":"raster"},"svg":{"title":"SVG (legacy)","description":"Legacy. Set true to get SVG output (equivalent to variant=\"svg\"). Prefer `variant` going forward.","type":"boolean","default":false},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. V4.1 supports 15 ratios. Set \"Not set\" to use the explicit `size` field instead.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","2:1","1:2","14:10","10:14","6:10"],"default":"1:1"},"size":{"title":"Size","description":"Explicit WIDTHxHEIGHT. Only used when aspect_ratio is \"Not set\". Standard tier ≈1024px family; Pro tier ≈2048px family.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"}}},"RecraftV41ProRequest":{"title":"Recraft V4.1 ProRequest","description":"V4.1 at ~2048px resolution. Print-ready and large-scale work with the same prompt accuracy and design taste as standard.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"tier":{"title":"Tier","description":"Output resolution tier. Standard ≈1024px (1 credit), Pro ≈2048px (5 credits).","type":"string","enum":["standard","pro"],"default":"standard"},"variant":{"title":"Variant","description":"Output type. \"raster\" = standard PNG/WebP image. \"svg\" = editable SVG vector. \"utility\" = product-mockup-optimized raster (flat, front-facing).","type":"string","enum":["raster","svg","utility"],"default":"raster"},"svg":{"title":"SVG (legacy)","description":"Legacy. Set true to get SVG output (equivalent to variant=\"svg\"). Prefer `variant` going forward.","type":"boolean","default":false},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. V4.1 supports 15 ratios. Set \"Not set\" to use the explicit `size` field instead.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","2:1","1:2","14:10","10:14","6:10"],"default":"1:1"},"size":{"title":"Size","description":"Explicit WIDTHxHEIGHT. Only used when aspect_ratio is \"Not set\". Standard tier ≈1024px family; Pro tier ≈2048px family.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"}}},"RecraftV41SvgRequest":{"title":"Recraft V4.1 SVGRequest","description":"Production-ready SVG vector output. Clean geometry, structured layers, editable paths — V4.1's design taste applied to vector.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"tier":{"title":"Tier","description":"Output resolution tier. Standard ≈1024px (1 credit), Pro ≈2048px (5 credits).","type":"string","enum":["standard","pro"],"default":"standard"},"variant":{"title":"Variant","description":"Output type. \"raster\" = standard PNG/WebP image. \"svg\" = editable SVG vector. \"utility\" = product-mockup-optimized raster (flat, front-facing).","type":"string","enum":["raster","svg","utility"],"default":"raster"},"svg":{"title":"SVG (legacy)","description":"Legacy. Set true to get SVG output (equivalent to variant=\"svg\"). Prefer `variant` going forward.","type":"boolean","default":false},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. V4.1 supports 15 ratios. Set \"Not set\" to use the explicit `size` field instead.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","2:1","1:2","14:10","10:14","6:10"],"default":"1:1"},"size":{"title":"Size","description":"Explicit WIDTHxHEIGHT. Only used when aspect_ratio is \"Not set\". Standard tier ≈1024px family; Pro tier ≈2048px family.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"}}},"RecraftV41ProSvgRequest":{"title":"Recraft V4.1 Pro SVGRequest","description":"Detailed SVG vector graphics with finer paths and more geometric detail than standard SVG.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"tier":{"title":"Tier","description":"Output resolution tier. Standard ≈1024px (1 credit), Pro ≈2048px (5 credits).","type":"string","enum":["standard","pro"],"default":"standard"},"variant":{"title":"Variant","description":"Output type. \"raster\" = standard PNG/WebP image. \"svg\" = editable SVG vector. \"utility\" = product-mockup-optimized raster (flat, front-facing).","type":"string","enum":["raster","svg","utility"],"default":"raster"},"svg":{"title":"SVG (legacy)","description":"Legacy. Set true to get SVG output (equivalent to variant=\"svg\"). Prefer `variant` going forward.","type":"boolean","default":false},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. V4.1 supports 15 ratios. Set \"Not set\" to use the explicit `size` field instead.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","2:1","1:2","14:10","10:14","6:10"],"default":"1:1"},"size":{"title":"Size","description":"Explicit WIDTHxHEIGHT. Only used when aspect_ratio is \"Not set\". Standard tier ≈1024px family; Pro tier ≈2048px family.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"}}},"ReduxFluxRequest":{"title":"Flux ReduxRequest","description":"Black Forest Labs Flux Redux image variations — feed a source image, get stylistic riffs.","type":"object","additionalProperties":false,"properties":{"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["Flux Redux Schnell","Flux Redux Dev"],"default":"Flux Redux Dev"},"redux_image":{"title":"Redux Image","description":"Reference image URL — Flux Redux generates variations / re-imaginings of this image.","type":"string","format":"uri"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"number"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"integer","default":1,"minimum":1,"maximum":4},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","16:9","21:9","3:2","2:3","4:5","5:4","3:4","4:3","9:16","9:21"],"default":"1:1"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["webp","jpg","png"],"default":"png"},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"integer","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"integer","default":28,"minimum":1,"maximum":50},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string","enum":["1","0.25"],"default":"1"}},"required":["redux_image"]},"ReveRequest":{"title":"Reve 2.1Request","description":"Reve 2.1 — generate from text, edit a single image, or remix up to 8 reference images with frame-level prompt control.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image. When reference images are provided, describes how to edit or combine them. Reference a specific image from the prompt with <frame>N</frame> (0-based position in reference_images).","type":"string"},"reference_images":{"title":"Reference Images","description":"Ordered list of up to 8 image URLs to edit (1 image) or remix (2-8 images). Leave empty for text-to-image generation. Address individual images from the prompt with <frame>N</frame>.","type":"array","items":{"type":"string"},"maxItems":8},"aspect_ratio":{"title":"Aspect Ratio","description":"Desired aspect ratio of the generated image. Use 'auto' to let the model choose an appropriate ratio for the request.","type":"string","enum":["auto","4:1","3:1","21:9","2:1","17:9","16:9","3:2","4:3","5:4","1:1","4:5","3:4","2:3","9:16","1:2","1:3","1:4"],"default":"auto"}},"required":["prompt"]},"RiverflowRequest":{"title":"RiverflowRequest","description":"Sourceful Riverflow 2.0 (Fast + Pro) via Runware. Text-to-image with optional reference image guidance — references steer style and composition, the model generates a fresh frame from your prompt. Two quality tiers.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate or edit.","type":"string"},"model":{"title":"Model variant","description":"Riverflow Fast (1 credit, 1K/2K) or Riverflow Pro (3 credits 1K/2K, 7 credits 4K).","type":"string","enum":["fast","pro"],"default":"fast"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Combined with resolution to resolve width/height.","type":"string","enum":["1:1","4:3","3:4","16:9","9:16","3:2","2:3","5:4","4:5","7:3"],"default":"1:1"},"resolution":{"title":"Resolution tier","description":"1K, 2K (Fast + Pro), or 4K (Pro only).","type":"string","enum":["1k","2k","4k"],"default":"2k"},"num_outputs":{"title":"Number of outputs","description":"How many variations to generate. 1-4.","type":"integer","default":1,"minimum":1,"maximum":4},"reference_images":{"title":"Reference images","description":"Up to 10 image URLs that guide style and composition. Riverflow generates a fresh image from the prompt — references are not modified.","type":"array","items":{"type":"string"},"maxItems":10},"seed":{"title":"Seed","description":"Integer seed for reproducible outputs.","type":"integer"},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string"},"width":{"title":"Width","description":"Output width in pixels.","type":"integer","minimum":0},"height":{"title":"Height","description":"Output height in pixels.","type":"integer","minimum":0}},"required":["prompt"]},"RodinRequest":{"title":"RodinRequest","description":"Hyper3D Rodin v2.5. Turn up to 5 reference images into production-ready 3D models, with fast and standard quality modes.","type":"object","additionalProperties":false,"properties":{"mode":{"title":"Mode","description":"fast = quick prototyping; standard = production quality.","type":"string","enum":["fast","standard"],"default":"fast"},"image_urls":{"title":"Image Urls","description":"1–5 reference image URLs. Rodin is image-to-3D — at least one image is required.","type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"minItems":1},"prompt":{"title":"Prompt","description":"Optional text prompt to guide the generation. Auto-derived from the images when empty.","type":"string"},"tier":{"title":"Tier","description":"Generation tier. Fast mode supports Minimum, Extreme-Low, Low only.","type":"string","enum":["Gen-2.5-Minimum","Gen-2.5-Extreme-Low","Gen-2.5-Low","Gen-2.5-Medium","Gen-2.5-High","Gen-2.5-Extreme-High"],"default":"Gen-2.5-Extreme-Low"},"high_pack":{"title":"High Pack","description":"HighPack add-on: 4K textures (and ~16x faces in Quad mode). Adds 16 credits.","type":"boolean"},"material":{"title":"Material","description":"Material output: PBR, Shaded, All, or None.","type":"string","enum":["PBR","Shaded","All","None"],"default":"All"},"geometry_file_format":{"title":"Geometry File Format","description":"Mesh file format. glb renders in the in-app viewer.","type":"string","enum":["glb","usdz","fbx","obj","stl"],"default":"glb"},"quality_mesh_option":{"title":"Quality Mesh Option","description":"Mesh density. Auto picks the advised mesh for the selected tier.","type":"string","enum":["Auto","1K Quad","4K Quad","8K Quad","18K Quad","20K Quad","50K Quad","100K Quad","200K Quad","2K Triangle","4K Triangle","8K Triangle","10K Triangle","20K Triangle","50K Triangle","150K Triangle","500K Triangle","1M Triangle","2M Triangle"],"default":"Auto"},"texture_mode":{"title":"Texture Mode","description":"Texture generation quality. Defaults per tier when unset.","type":"string","enum":["legacy","extreme-low","low","medium","high"]},"use_original_alpha":{"title":"Use Original Alpha","description":"Preserve input image transparency.","type":"boolean"},"enable_creative_mode":{"title":"Enable Creative Mode","description":"Enhanced generative robustness.","type":"boolean"},"hd_texture":{"title":"HD Texture","description":"Enhanced texture post-processing.","type":"boolean"},"texture_delight":{"title":"Texture Delight","description":"Remove baked lighting/highlights from textures.","type":"boolean"},"is_micro":{"title":"Is Micro","description":"Finer micro-scale geometry (Gen-2.5-Extreme-High only).","type":"boolean"},"tapose":{"title":"Tapose","description":"Generate in T-pose / A-pose for easier rigging.","type":"boolean"},"seed":{"title":"Seed","description":"Seed (0–65535) for reproducible output.","type":"integer","minimum":0,"maximum":65535}},"required":["image_urls"]},"SeedAudioRequest":{"title":"Seed Audio 1.0Request","description":"ByteDance Seed Audio 1.0. Generate speech, voice clones, and full audio scenes (radio dramas, podcasts, narration) from a prompt.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text to speak, or an instruction like \"Generate a short suspense radio drama\". Reference uploaded audio clips inline as @Audio1, @Audio2, @Audio3.","type":"string"},"voice":{"title":"Voice","description":"Preset voice name (e.g. vivi_mixed_en_zh_ja_es_id, kian_en_zh) or a cloned voice id. Omit to let the model pick.","type":"string"},"audio_urls":{"title":"Audio Urls","description":"Up to 3 reference audio URLs for voice cloning, referenced in the prompt as @Audio1–@Audio3. Each clip up to 30s / 10MB (wav, mp3, pcm, or ogg_opus). Cannot be combined with image_url.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"image_url":{"title":"Image URL","description":"Single reference image URL (jpeg/png/webp, up to 10MB) to guide the audio. Cannot be combined with audio_urls.","type":"string","format":"uri"},"output_format":{"title":"Output Format","description":"Output audio format.","type":"string","enum":["mp3","wav","pcm","ogg_opus"],"default":"mp3"},"sample_rate":{"title":"Sample Rate","description":"Output sample rate in Hz (8000, 16000, 24000, 32000, 44100, or 48000).","type":"integer","default":24000},"speed":{"title":"Speed","description":"Speech speed multiplier (0.5–2).","type":"number","default":1,"minimum":0.5,"maximum":2},"volume":{"title":"Volume","description":"Volume multiplier (0.5–2).","type":"number","default":1,"minimum":0.5,"maximum":2},"pitch":{"title":"Pitch","description":"Pitch shift in semitones (-12 to +12).","type":"integer","default":0,"minimum":-12,"maximum":12}},"required":["prompt"]},"Seedance15Request":{"title":"Seedance 1.5Request","description":"ByteDance Seedance 1 video generation. Text-to-video or image-to-video with optional end frame.","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"]},"Seedance2HighRequest":{"title":"Seedance 2 HighRequest","description":"Higher-quality Seedance 2.0 video generation (supports 1080p)","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 mode (the first frame)","type":"string","format":"uri"},"last_frame_url":{"title":"End Frame URL","description":"Optional end frame for first-and-last-frame image-to-video. Requires image_url (the start frame); the clip animates from the first frame to this one.","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"},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["480p","720p","1080p","4k"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"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":"Generation quality tier. Higher tiers cost more credits.","type":"string","enum":["fast","high","mini"],"default":"fast"}},"required":["prompt"]},"Seedance2ReferenceRequest":{"title":"Seedance 2 ReferenceRequest","description":"Seedance 2.0 multimodal reference-to-video. Combine up to 9 images, 3 video clips, and 3 audio tracks to guide characters, motion, and sound.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"reference_images":{"title":"Reference Images","description":"Optional reference image URLs to bias style or subject.","type":"array","items":{"type":"string","format":"uri"},"maxItems":9},"reference_videos":{"title":"Reference Videos","description":"Optional reference video URLs (up to 3). Combined duration across all clips must be 15 seconds or less.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"reference_audios":{"title":"Reference Audios","description":"Optional reference audio URLs (up to MAX_REFERENCE_AUDIOS). At least one reference image or video must also be supplied.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"quality":{"title":"Quality","description":"Generation quality tier. Higher tiers cost more credits.","type":"string","enum":["fast","high","mini"],"default":"fast"},"duration":{"title":"Duration","description":"Output duration in seconds.","type":"integer","default":5,"minimum":4,"maximum":15},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["480p","720p","1080p","4k"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt"]},"SeedanceVideoEditRequest":{"title":"Seedance 2 Video EditRequest","description":"Edit source videos with Seedance 2.0 using prompted changes, optional reference images, and 480p, 720p, or 1080p output.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0,"maximum":15},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["480p","720p","1080p","4k"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"default":"16:9"},"quality":{"title":"Quality","description":"Generation quality tier. Higher tiers cost more credits.","type":"string","enum":["fast","standard","basic","high"],"default":"fast"},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":9}},"required":["prompt","video_url","video_duration"]},"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"},"customWidth":{"title":"Custom Width","description":"Custom width in pixels (1296-4096)","type":"number","minimum":1296,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels (1296-4096)","type":"number","minimum":1296,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14}},"required":["prompt"]},"Seedream5Request":{"title":"Seedream 5Request","description":"Seedream 5 Pro — the flagship Seedream image model with sharper realism, stronger prompt adherence, and best-in-class 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. 1K-class output (auto_1K) is 1 credit per image; 2K-class output is 2 credits.","type":"string","enum":["auto_1K","auto_2K","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"},"customWidth":{"title":"Custom Width","description":"Custom width in pixels. Snapped to a multiple of 16; total pixels must be between 921,600 (1280×720) and 4,194,304 (2048×2048).","type":"number","minimum":256,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels. Snapped to a multiple of 16; total pixels must be between 921,600 (1280×720) and 4,194,304 (2048×2048).","type":"number","minimum":256,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10}},"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"},"customWidth":{"title":"Custom Width","description":"Custom width in pixels (1296-4096)","type":"number","minimum":1296,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels (1296-4096)","type":"number","minimum":1296,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14}},"required":["prompt"]},"TextToMusicRequest":{"title":"Text to MusicRequest","description":"ElevenLabs Music. Generate full songs from a prompt, or compose section by section with a structured plan.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the music. Required unless composition_plan is provided.","type":"string"},"music_length_ms":{"title":"Music Length Ms","description":"Length of the generated music in milliseconds, 5 seconds to 10 minutes. Must be a multiple of 5,000 (5s). Ignored when composition_plan is provided (section durations decide).","type":"integer","default":10000,"minimum":5000,"maximum":600000},"force_instrumental":{"title":"Force Instrumental","description":"Force purely instrumental output (no vocals). Ignored with composition_plan; use negative_global_styles: [\"vocals\"] there instead.","type":"boolean","default":true},"respect_sections_durations":{"title":"Respect Sections Durations","description":"With composition_plan: true pins every section to its exact duration_ms (musical transitions land on your timestamps); false lets the model flex section boundaries for quality while keeping the total length.","type":"boolean","default":true},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["mp3_standard","mp3_high_quality","wav_16khz","wav_22khz","wav_24khz","wav_cd_quality"],"default":"mp3_standard"}}},"TextToSpeechRequest":{"title":"Text to SpeechRequest","description":"MiniMax Speech 2.8 Turbo via Replicate. Convert text into natural-sounding speech.","type":"object","additionalProperties":false,"properties":{"text":{"title":"Text","description":"Text to synthesize into speech (1–10,000 characters).","type":"string"},"voice_id":{"title":"Voice ID","description":"Voice preset (e.g. Wise_Woman, Calm_Woman, Friendly_Person).","type":"string","default":"Wise_Woman"},"speed":{"title":"Speed","description":"Speech speed multiplier (0.5–2).","type":"number","default":1,"minimum":0.5,"maximum":2},"volume":{"title":"Volume","description":"Output volume (0–10).","type":"number","default":1,"minimum":0,"maximum":10},"pitch":{"title":"Pitch","description":"Pitch shift in semitones (-12 to +12).","type":"integer","default":0,"minimum":-12,"maximum":12},"emotion":{"title":"Emotion","description":"Emotional tone for the synthesized speech.","type":"string","enum":["auto","happy","sad","angry","fearful","disgusted","surprised","calm","fluent","neutral"],"default":"auto"},"english_normalization":{"title":"English Normalization","description":"Normalize numbers, abbreviations, and acronyms in English text.","type":"boolean","default":false},"sample_rate":{"title":"Sample Rate","description":"Output sample rate in Hz (8000, 16000, 22050, 24000, 32000, or 44100).","type":"integer","default":32000},"bitrate":{"title":"Bitrate","description":"Output bitrate in bps (32000, 64000, 128000, or 256000).","type":"integer","default":128000},"audio_format":{"title":"Audio Format","description":"Output container format.","type":"string","enum":["mp3","wav","flac","pcm"],"default":"mp3"},"channel":{"title":"Channel","description":"Mono or stereo output.","type":"string","enum":["mono","stereo"],"default":"mono"},"subtitle_enable":{"title":"Subtitle Enable","description":"Return word-aligned subtitles alongside the audio.","type":"boolean","default":false},"language_boost":{"title":"Language Boost","description":"Language tag to bias pronunciation (default \"None\").","type":"string","default":"None"},"async":{"title":"Async","description":"Submit asynchronously and return a job id instead of waiting for the audio inline.","type":"boolean"}},"required":["text"]},"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"},"maxItems":3},"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","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"},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["fast","standard","lite"],"default":"standard"}}},"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"},"maxItems":3},"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","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"},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["fast","standard","lite"],"default":"standard"}}},"Veo31LiteRequest":{"title":"VEO 3.1 LiteRequest","description":"Runware-powered Lite variant at 1.5 credits/sec for 720p and 2 credits/sec for 1080p. No reference images, no audio generation, no 1:1 aspect ratio.","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"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio (1:1 not supported for Lite)","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (1080p supports 8s only)","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"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"reference_images":{"title":"Reference Images","description":"Optional reference image URLs to bias style or subject.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["fast","standard","lite"],"default":"standard"},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":true}}},"VideoAutocaptionRequest":{"title":"Video AutocaptionRequest","description":"TikTok-style auto-captioning via Replicate.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Video","description":"Reference video URL.","type":"string","format":"uri"},"highlight_color":{"title":"Highlight Color","description":"Hex color for word-highlight emphasis on the burned-in captions (e.g. \"#FFCC00\").","type":"string"}},"required":["video"]},"VideoReframeRequest":{"title":"Video ReframeRequest","description":"Luma Reframe Video via Replicate. Change a video's aspect ratio intelligently.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Video","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0,"maximum":30},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4","21:9","2:1"]},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"grid_position_x":{"title":"Grid Position X","description":"Horizontal grid offset for the source frame inside the reframed output (0 = left edge).","type":"number","minimum":0},"grid_position_y":{"title":"Grid Position Y","description":"Vertical grid offset for the source frame inside the reframed output (0 = top edge).","type":"number","minimum":0},"x_start":{"title":"X Start","description":"Left edge of the source crop region (pixels from the left of the input frame).","type":"number","minimum":0},"x_end":{"title":"X End","description":"Right edge of the source crop region (pixels from the left of the input frame).","type":"number","minimum":0},"y_start":{"title":"Y Start","description":"Top edge of the source crop region (pixels from the top of the input frame).","type":"number","minimum":0},"y_end":{"title":"Y End","description":"Bottom edge of the source crop region (pixels from the top of the input frame).","type":"number","minimum":0}},"required":["video","video_duration"]},"VideoTransformRequest":{"title":"Runway AlephRequest","description":"Runway Aleph 2.0 via Replicate. Transform up to 30 seconds of video with a prompt.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Video","description":"Reference video URL.","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":2,"maximum":30},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0},"keyframe_images":{"title":"Keyframe Images","description":"Up to 5 optional keyframe images for image-level control over the edit. Each is paired with a position in keyframe_positions.","type":"array","items":{"type":"string","format":"uri"},"maxItems":5},"keyframe_positions":{"title":"Keyframe Positions","description":"Position of each keyframe image, one entry per image: 'first', 'last', or a timestamp in seconds (e.g. '1.67').","type":"array","items":{"type":"string"},"maxItems":5}},"required":["video","prompt","video_duration"]},"VideoUpscalerRequest":{"title":"Video UpscalerRequest","description":"Topaz Labs Video Upscale via Replicate. Upscale video resolution and FPS.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Video","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0},"target_fps":{"title":"Target FPS","description":"Target output framerate (15–60 fps). Higher = smoother motion, larger file.","type":"number","default":30,"minimum":15,"maximum":60},"target_resolution":{"title":"Target Resolution","description":"Target output resolution. 4k is the highest tier; 1080p is the default.","type":"string","enum":["720p","1080p","4k"],"default":"1080p"}},"required":["video","video_duration"]},"ViduQ3Request":{"title":"Vidu Q3Request","description":"Vidu Q3 — text-to-video and image-to-video at 360p, 540p, 720p, or 1080p with optional synchronized audio.","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":"First-frame reference image for image-to-video mode","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"},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["360p","540p","720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["16:9","4:3","1:1","9:16","3:4"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (1-16)","type":"integer","default":5,"minimum":1,"maximum":16},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio (off by default)","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt"]},"Wan21VideoRequest":{"title":"WAN 2.1 VideoRequest","description":"WAN 2.1 (14B) text & image to video with LoRA support. 480p/720p, 1-5 second clips.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image","description":"Optional starting-frame image (public HTTPS URL). When set, the tool runs image-to-video; when omitted, text-to-video.","type":"string","format":"uri"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"resolution":{"title":"Resolution","description":"Output resolution","type":"string","enum":["480p","720p"],"default":"480p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio of the output video","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"title":"Duration","description":"Video length in seconds (1-5, clips render at 16fps)","type":"integer","default":5,"minimum":1,"maximum":5},"fast_mode":{"title":"Speed","description":"Acceleration level — faster modes may reduce quality slightly","type":"string","enum":["Off","Balanced","Fast"],"default":"Balanced"},"lora_url":{"title":"LoRA URL","description":"HuggingFace, CivitAI, or .safetensors URL for a custom LoRA","type":"string","format":"uri"},"lora_strength":{"title":"LoRA Strength","description":"How strongly the LoRA is applied (0 disables it)","type":"number","default":1,"minimum":0,"maximum":2},"sample_steps":{"title":"Sample Steps","description":"Number of inference steps","type":"integer","default":30,"minimum":1,"maximum":40},"sample_guide_scale":{"title":"Guidance Scale","description":"Higher values follow the prompt more closely","type":"number","default":5,"minimum":0,"maximum":10},"sample_shift":{"title":"Sample Shift","description":"Flow shift parameter for video generation","type":"number","default":8,"minimum":1,"maximum":12},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt"]},"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":"number"},"lora_weights_transformer":{"title":"LoRA 1 Weights","description":"URL or path to a LoRA. Standard (Replicate) and Extended (fal.ai) only. In Extended mode this maps to the high-noise transformer.","type":"string"},"lora_scale_transformer":{"title":"LoRA 1 Scale","description":"Strength for LoRA 1 (0–4).","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_2":{"title":"LoRA 2 Weights","description":"URL or path to a second LoRA. Standard (Replicate) and Extended (fal.ai) only. In Extended mode this maps to the low-noise transformer (dual-LoRA).","type":"string"},"lora_scale_transformer_2":{"title":"LoRA 2 Scale","description":"Strength for LoRA 2 (0–4).","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_3":{"title":"LoRA 3 Weights","description":"Extended (fal.ai) only. Additional high-noise transformer LoRA.","type":"string"},"lora_scale_transformer_3":{"title":"LoRA 3 Scale","description":"Strength for LoRA 3 (0–4). Extended only.","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_4":{"title":"LoRA 4 Weights","description":"Extended (fal.ai) only. Additional low-noise transformer LoRA.","type":"string"},"lora_scale_transformer_4":{"title":"LoRA 4 Scale","description":"Strength for LoRA 4 (0–4). Extended only.","type":"number","minimum":0,"maximum":4},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"]},"quality_mode":{"title":"Quality Mode","description":"","type":"string","enum":["standard","plus","extended"],"default":"standard"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":false},"optimize_prompt":{"title":"Optimize Prompt","description":"","type":"boolean"}},"required":["prompt","mode"]},"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":"number"},"lora_weights_transformer":{"title":"LoRA 1 Weights","description":"URL or path to a LoRA. Standard (Replicate) and Extended (fal.ai) only. In Extended mode this maps to the high-noise transformer.","type":"string"},"lora_scale_transformer":{"title":"LoRA 1 Scale","description":"Strength for LoRA 1 (0–4).","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_2":{"title":"LoRA 2 Weights","description":"URL or path to a second LoRA. Standard (Replicate) and Extended (fal.ai) only. In Extended mode this maps to the low-noise transformer (dual-LoRA).","type":"string"},"lora_scale_transformer_2":{"title":"LoRA 2 Scale","description":"Strength for LoRA 2 (0–4).","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_3":{"title":"LoRA 3 Weights","description":"Extended (fal.ai) only. Additional high-noise transformer LoRA.","type":"string"},"lora_scale_transformer_3":{"title":"LoRA 3 Scale","description":"Strength for LoRA 3 (0–4). Extended only.","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_4":{"title":"LoRA 4 Weights","description":"Extended (fal.ai) only. Additional low-noise transformer LoRA.","type":"string"},"lora_scale_transformer_4":{"title":"LoRA 4 Scale","description":"Strength for LoRA 4 (0–4). Extended only.","type":"number","minimum":0,"maximum":4},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"]},"quality_mode":{"title":"Quality Mode","description":"","type":"string","enum":["standard","plus","extended"],"default":"standard"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":false},"optimize_prompt":{"title":"Optimize Prompt","description":"","type":"boolean"}},"required":["prompt","mode"]},"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":"number"},"lora_weights_transformer":{"title":"LoRA 1 Weights","description":"URL or path to a LoRA. Standard (Replicate) and Extended (fal.ai) only. In Extended mode this maps to the high-noise transformer.","type":"string"},"lora_scale_transformer":{"title":"LoRA 1 Scale","description":"Strength for LoRA 1 (0–4).","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_2":{"title":"LoRA 2 Weights","description":"URL or path to a second LoRA. Standard (Replicate) and Extended (fal.ai) only. In Extended mode this maps to the low-noise transformer (dual-LoRA).","type":"string"},"lora_scale_transformer_2":{"title":"LoRA 2 Scale","description":"Strength for LoRA 2 (0–4).","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_3":{"title":"LoRA 3 Weights","description":"Extended (fal.ai) only. Additional high-noise transformer LoRA.","type":"string"},"lora_scale_transformer_3":{"title":"LoRA 3 Scale","description":"Strength for LoRA 3 (0–4). Extended only.","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_4":{"title":"LoRA 4 Weights","description":"Extended (fal.ai) only. Additional low-noise transformer LoRA.","type":"string"},"lora_scale_transformer_4":{"title":"LoRA 4 Scale","description":"Strength for LoRA 4 (0–4). Extended only.","type":"number","minimum":0,"maximum":4},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"]},"quality_mode":{"title":"Quality Mode","description":"","type":"string","enum":["standard","plus","extended"],"default":"standard"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":false},"optimize_prompt":{"title":"Optimize Prompt","description":"","type":"boolean"}},"required":["prompt","mode"]},"Wan22AnimateRequest":{"title":"WAN 2.2 AnimateRequest","description":"WAN 2.2 video animation. Drive a character image with a motion reference video.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Video","description":"Reference video URL.","type":"string","format":"uri"},"character_image":{"title":"Character Image","description":"Reference image of the target character to swap or animate.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","default":5,"minimum":0},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["480","720"],"default":"480"},"refert_num":{"title":"Refert Num","description":"Reference-frame sampling stride. Lower = more reference frames pulled from the source, higher = more model freedom.","type":"number"},"frames_per_second":{"title":"Frames Per Second","description":"Output framerate in frames per second.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"number"},"merge_audio":{"title":"Merge Audio","description":"Merge the source video's audio track into the animated output.","type":"boolean","default":false}},"required":["video","character_image"]},"Wan22I2vSpicyRequest":{"title":"WAN 2.2 Spicy Image-to-VideoRequest","description":"Image-to-video with WAN 2.2 Spicy. Animate a starting image. 480p or 720p, 5s or 8s clips.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the motion or scene","type":"string"},"image_url":{"title":"Image","description":"Source image — public HTTPS URL. JPEG/PNG/BMP/WEBP.","type":"string","format":"uri"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["480p","720p"],"default":"480p"},"duration":{"title":"Duration","description":"Output length in seconds (5 or 8)","type":"integer","default":"5","enum":["5","8"]},"prompt_extend":{"title":"Prompt Extend","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2,147,483,647); null/0 = random","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt","image_url"]},"Wan22ReplaceRequest":{"title":"WAN 2.2 ReplaceRequest","description":"WAN 2.2 character replacement. Swap a character in a source video while preserving scene and motion.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Source Video URL","description":"URL of the source video whose character you want to replace.","type":"string","format":"uri"},"character_image":{"title":"Character Image URL","description":"URL of the replacement character image. Face/body that will be swapped into the source video.","type":"string","format":"uri"},"video_duration":{"title":"Duration (seconds)","description":"Duration of the output video in seconds. Must match or be less than the source video length.","type":"number","default":5,"minimum":1,"maximum":15},"resolution":{"title":"Resolution","description":"Output resolution tier.","type":"string","enum":["480","720"],"default":"480"},"refert_num":{"title":"Reference Frames","description":"Number of reference frames to use from the character image (advanced).","type":"number","minimum":1,"maximum":10},"frames_per_second":{"title":"FPS","description":"Target frames per second for the output video.","type":"number","minimum":8,"maximum":30},"go_fast":{"title":"Fast Mode","description":"Trade some quality for faster generation.","type":"boolean","default":false},"merge_audio":{"title":"Merge Audio","description":"Keep the audio track from the source video.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility.","type":"number"}},"required":["video","character_image"]},"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"},"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"},"variant":{"title":"Variant","description":"Model variant to use.","type":"string","enum":["standard","flash"],"default":"flash"},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string","default":"1280*720"},"multi_shots":{"title":"Multi Shots","description":"Generate a multi-shot sequence instead of a single clip.","type":"boolean","default":false},"audio_url":{"title":"Audio URL","description":"Reference audio track URL.","type":"string","format":"uri"}}},"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"},"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"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"variant":{"title":"Variant","description":"Model variant to use.","type":"string","enum":["standard","flash"],"default":"flash"},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string","default":"1280*720"},"multi_shots":{"title":"Multi Shots","description":"Generate a multi-shot sequence instead of a single clip.","type":"boolean","default":false},"audio_url":{"title":"Audio URL","description":"Reference audio track URL.","type":"string","format":"uri"}}},"Wan26ImageRequest":{"title":"WAN 2.6Request","description":"Alibaba WAN 2.6 text-to-image with prompt enhancement and multi-image 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). Total pixels stay within the WAN 2.6 [768*768, 1280*1280] band.","type":"string","enum":["1280*1280","1280*960","960*1280","1280*720","720*1280","1200*800","800*1200","1344*576"],"default":"1280*1280"},"n":{"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 reproducible results (0–2147483647). Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"prompt_extend":{"title":"Prompt Extend","description":"Enable smart prompt rewriting. The model expands short prompts for richer detail.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false}},"required":["prompt"]},"Wan26ImageEditRequest":{"title":"WAN 2.6 Image EditRequest","description":"Alibaba WAN 2.6 image editing. Up to 4 reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":4,"minItems":1},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string","enum":["1K","2K","1280*1280","1280*960","960*1280","1280*720","720*1280","1200*800","800*1200","1344*576"],"default":"1K"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string","default":""},"prompt_extend":{"title":"Prompt Extend","description":"Enable smart prompt rewriting. The model expands short prompts for richer detail.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt","image_urls"]},"Wan27I2vSpicyRequest":{"title":"WAN 2.7 Spicy Image-to-VideoRequest","description":"Image-to-video with WAN 2.7 Spicy. Animate a starting image with optional driving audio. 720p or 1080p, 2–15 second clips.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the motion or scene","type":"string"},"image_url":{"title":"Image","description":"Source image — public HTTPS URL. JPEG/PNG/BMP/WEBP, 240–8000px, aspect 1:8 to 8:1, max 20MB.","type":"string","format":"uri"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"audio_url":{"title":"Audio URL","description":"Optional HTTPS audio (WAV/MP3, 2–30s, max 15MB) to drive lip-sync / motion","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["720p","1080p"],"default":"1080p"},"duration":{"title":"Duration","description":"Output length in seconds (2–15)","type":"integer","default":5,"minimum":2,"maximum":15},"prompt_extend":{"title":"Prompt Extend","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility (0–2,147,483,647)","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt","image_url"]},"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 resolution. Use a tier (1K/2K/4K — recommended) or an explicit width*height. 4K (and 4K-tier dimensions like 3840*2160) is supported by the Pro model for text-to-image only; 1K and 2K are supported by both models in all modes.","type":"string","enum":["1K","2K","4K","1280*1280","1024*1024","2048*2048","4096*4096","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280","1920*1080","1080*1920","2048*1536","1536*2048","2048*1638","1638*2048","3840*2160","2160*3840","4096*3072","3072*4096","4096*3276","3276*4096"],"default":"2K"},"thinking_mode":{"title":"Thinking Mode","description":"Improves text-to-image quality at the cost of slower generation","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate. Default mode: 1-4. Image-set mode (enable_sequential=true): up to 12; the model picks the actual count, capped at n.","type":"integer","default":1,"minimum":1,"maximum":12},"enable_sequential":{"title":"Image Set Mode","description":"When true, generates a coherent set of related images instead of independent variants. Disables thinking_mode and color_palette and lets n go up to 12.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (but not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"color_palette":{"title":"Color Palette","description":"Custom color theme. Array of 3–10 (8 recommended) objects with `hex` (#RRGGBB) and `ratio` (e.g. \"25.00%\"); ratios must sum to 100.00%. Only effective when enable_sequential=false.","type":"array","items":{"type":"string"},"maxItems":10,"minItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["wan-2.7-standard","wan-2.7-pro"],"default":"wan-2.7-standard"},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false}},"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 resolution. Use a tier (1K/2K/4K — recommended) or an explicit width*height. 4K (and 4K-tier dimensions like 3840*2160) is supported by the Pro model for text-to-image only; 1K and 2K are supported by both models in all modes.","type":"string","enum":["1K","2K","4K","1280*1280","1024*1024","2048*2048","4096*4096","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280","1920*1080","1080*1920","2048*1536","1536*2048","2048*1638","1638*2048","3840*2160","2160*3840","4096*3072","3072*4096","4096*3276","3276*4096"],"default":"2K"},"thinking_mode":{"title":"Thinking Mode","description":"Improves text-to-image quality at the cost of slower generation","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate. Default mode: 1-4. Image-set mode (enable_sequential=true): up to 12; the model picks the actual count, capped at n.","type":"integer","default":1,"minimum":1,"maximum":12},"enable_sequential":{"title":"Image Set Mode","description":"When true, generates a coherent set of related images instead of independent variants. Disables thinking_mode and color_palette and lets n go up to 12.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (but not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"color_palette":{"title":"Color Palette","description":"Custom color theme. Array of 3–10 (8 recommended) objects with `hex` (#RRGGBB) and `ratio` (e.g. \"25.00%\"); ratios must sum to 100.00%. Only effective when enable_sequential=false.","type":"array","items":{"type":"string"},"maxItems":10,"minItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["wan-2.7-standard","wan-2.7-pro"],"default":"wan-2.7-standard"},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false}},"required":["prompt"]},"Wan27ImageEditRequest":{"title":"WAN 2.7 Image EditRequest","description":"Alibaba WAN 2.7 image editing. Standard and Pro tiers, supports up to 9 input images for fusion edits.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction or composition prompt (max 5,000 characters).","type":"string"},"image_urls":{"title":"Input Images","description":"Up to 9 input images. Each image: JPEG/JPG/PNG (no alpha) / BMP / WEBP, 240–8000px on each side, aspect ratio between 1:8 and 8:1, max 20 MB.","type":"array","items":{"type":"string"},"maxItems":9,"minItems":1},"size":{"title":"Size","description":"Output resolution. Use a tier (1K/2K — recommended; 2K default) or an explicit width*height. Edit and multi-image flows cap at 2K on both models.","type":"string","enum":["1K","2K","1280*1280","1024*1024","2048*2048","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280","1920*1080","1080*1920","2048*1536","1536*2048","2048*1638","1638*2048"],"default":"2K"},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (but not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"bbox_list":{"title":"Bounding Boxes (interactive edit)","description":"Optional per-image bounding boxes for interactive editing. Outer length must match image_urls; each inner list holds up to 2 boxes of [x1, y1, x2, y2] in pixels. Pass [] for images that don't need a box.","type":"array","items":{"type":"string"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["wan-2.7-standard","wan-2.7-pro"],"default":"wan-2.7-standard"},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false}},"required":["prompt","image_urls"]},"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 8000 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"},"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","minimum":0,"maximum":2147483647},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"source_video_duration":{"title":"Source Video Duration","description":"","type":"number"},"last_frame_url":{"title":"Last Frame URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string"},"audio_url":{"title":"Audio URL","description":"Reference audio track URL.","type":"string","format":"uri"}},"required":["prompt"]},"Wan27I2vRequest":{"title":"WAN 2.7 Image-to-VideoRequest","description":"Image-to-video and video continuation with optional last-frame control and audio sync","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate (max 8000 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"},"video_url":{"title":"Video URL","description":"Source clip for video continuation 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","video-extend"],"default":"image-to-video"},"resolution":{"title":"Resolution","description":"Video resolution tier","type":"string","enum":["720p","1080p"],"default":"720p"},"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","minimum":0,"maximum":2147483647},"source_video_duration":{"title":"Source Video Duration","description":"","type":"number"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string"},"audio_url":{"title":"Audio URL","description":"Reference audio track URL.","type":"string","format":"uri"}},"required":["prompt"]},"WanImageRequest":{"title":"WAN ImageRequest","description":"Fast cinematic image generation (3-6 seconds) with up to 2MP 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 or 2)","type":"integer","default":2,"minimum":1,"maximum":2},"numberOfImages":{"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":"number"},"lora_weights_transformer":{"title":"LoRA 1 Weights","description":"URL or path to a LoRA. Only honored when model=\"fal-lora\" (fal.ai). Maps to the high-noise transformer.","type":"string"},"lora_scale_transformer":{"title":"LoRA 1 Scale","description":"Strength for LoRA 1 (0–4).","type":"number","minimum":0,"maximum":4},"lora_weights_transformer_2":{"title":"LoRA 2 Weights","description":"URL or path to a second LoRA. Only honored when model=\"fal-lora\". Maps to the low-noise transformer (dual-LoRA).","type":"string"},"lora_scale_transformer_2":{"title":"LoRA 2 Scale","description":"Strength for LoRA 2 (0–4).","type":"number","minimum":0,"maximum":4},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["replicate","fal-lora"],"default":"replicate"},"juiced":{"title":"Juiced","description":"Apply quality boost (slower).","type":"boolean"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string"},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number"}},"required":["prompt"]},"WanReferenceToVideoRequest":{"title":"WAN Reference to VideoRequest","description":"Alibaba WAN reference-to-video. Up to 5 image/video references with multi-shot support.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"reference_urls":{"title":"Reference URLs","description":"Reference image or video URLs (1-5).","type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"minItems":1},"model":{"title":"Model","description":"WAN reference-to-video variant.","type":"string","enum":["wan2.7-r2v","wan2.6-r2v","wan2.6-r2v-flash"],"default":"wan2.7-r2v"},"duration":{"title":"Duration","description":"Video duration in seconds (2-10).","type":"integer","minimum":2,"maximum":10},"resolution":{"title":"Resolution","description":"Output resolution (720p or 1080p; trailing \"p\" optional).","type":"string","enum":["720","1080"],"default":"720"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4"]},"shot_type":{"title":"Shot Type","description":"Single shot or multi-shot composition.","type":"string","enum":["single","multi"],"default":"single"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video.","type":"string"},"prompt_extend":{"title":"Prompt Extend","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed (kept on for multi-shot, which relies on it). Turn on to auto-enhance short prompts.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Whether to render a provider watermark.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility (0–2147483647).","type":"integer","minimum":0,"maximum":2147483647},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string"}},"required":["prompt","reference_urls","duration"]},"WanVideoCharacterSwapRequest":{"title":"WAN Video Character SwapRequest","description":"Alibaba WAN character swap. Combine a character image with a reference video to produce a new clip.","type":"object","additionalProperties":false,"properties":{"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0,"maximum":30},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["wan-std","wan-pro"],"default":"wan-std"},"check_image":{"title":"Check Image","description":"Run face / character validation on the input image before submitting. Recommended; turn off only when you know the image is clean.","type":"boolean","default":true}},"required":["image_url","video_url","video_duration"]},"WanVideoEditRequest":{"title":"WAN 2.7 Video EditRequest","description":"Alibaba WAN 2.7 video editing. Modify an existing clip via prompt with optional reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0,"maximum":10},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["720P","1080P"],"default":"1080P"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4"]},"audio_setting":{"title":"Audio Setting","description":"Audio handling: keep, mute, or generate.","type":"string","enum":["auto","origin"],"default":"auto"},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647},"duration_override":{"title":"Duration Override","description":"Force a specific output duration in seconds. Defaults to the source video's duration; supply this only to truncate or extend.","type":"integer","minimum":0,"maximum":10},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":4}},"required":["prompt","video_url","video_duration"]},"XaiImageRequest":{"title":"Grok ImageRequest","description":"xAI Grok Imagine. Fast tier for quick iteration, Quality tier for higher fidelity at 1k or 2k.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation or editing","type":"string"},"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"},"quality":{"title":"Quality Tier","description":"fast (1 credit, default) or quality (2 credits at 1k, 3 credits at 2k). Quality has sharper detail and stronger text rendering.","type":"string","enum":["fast","quality"],"default":"fast"},"resolution":{"title":"Resolution","description":"1k (1024px long edge) or 2k (2048px long edge). Only applies to the quality tier.","type":"string","enum":["1k","2k"],"default":"2k"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"integer","default":1,"minimum":1,"maximum":10}},"required":["prompt"]},"XaiImageEditRequest":{"title":"Grok Image EditRequest","description":"xAI Grok image editing. Sync response (no polling). Provide an image URL and a text edit instruction. Optional quality tier for 1k/2k high-fidelity edits.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing the edit to apply","type":"string"},"image_url":{"title":"Image URL","description":"URL of the image to edit (jpg, jpeg, png, webp)","type":"string","format":"uri"},"quality":{"title":"Quality Tier","description":"fast (1 credit, default) or quality (2 credits at 1k, 3 credits at 2k). Quality has sharper detail and stronger text rendering.","type":"string","enum":["fast","quality"],"default":"fast"},"resolution":{"title":"Resolution","description":"1k or 2k output. Only applies to the quality tier.","type":"string","enum":["1k","2k"],"default":"2k"}},"required":["prompt","image_url"]},"XaiVideoRequest":{"title":"Grok VideoRequest","description":"xAI Grok Imagine video. Text-to-video or image-to-video, 1-15 seconds at 480p or 720p. Image-to-video can use the Grok Imagine 1.5 backbone for natively-synchronized audio.","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"},"model_version":{"title":"Model Version","description":"Grok Imagine backbone. \"1.5\" adds natively-synchronized audio but is image-to-video only (requires image_url).","type":"string","enum":["standard","1.5"],"default":"standard"},"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"]},"XaiVideoEditRequest":{"title":"Grok Video EditRequest","description":"xAI Grok Imagine Video edit. Transform short clips via Replicate.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Source or target video duration in seconds.","type":"number","minimum":0,"maximum":8.7}},"required":["prompt","video_url","video_duration"]},"ZImageSpicyRequest":{"title":"Z Image SpicyRequest","description":"Z Image Spicy text-to-image. Square / portrait / landscape compositions, 256–1536px on each side.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Convenience preset that maps to width × height","type":"string","enum":["1:1","16:9","9:16","4:3","3:4"],"default":"1:1"},"width":{"title":"Width","description":"Output width in pixels (256–1536). Overrides aspect_ratio when set.","type":"integer","minimum":256,"maximum":1536},"height":{"title":"Height","description":"Output height in pixels (256–1536). Overrides aspect_ratio when set.","type":"integer","minimum":256,"maximum":1536},"prompt_extend":{"title":"Prompt Extend","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2,147,483,647); null/0 = random","type":"integer","minimum":0,"maximum":2147483647}},"required":["prompt"]},"ZImageTurboRequest":{"title":"Z Image TurboRequest","description":"Super-fast 6B parameter text-to-image with great 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":"number","default":8,"minimum":1,"maximum":8},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"lora_weights":{"title":"LoRA Weights","description":"URL (or array of URLs) to LoRA weights. Accepts a single URL string or a JSON array of URLs.","type":"string"},"lora_scales":{"title":"LoRA Scales","description":"Strength of the LoRA(s). Accepts a single number or a JSON array of numbers matching lora_weights.","type":"number"}},"required":["prompt"]}},"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"}}}}}}}