{"openapi":"3.1.0","info":{"title":"PixelDojo API","description":"Agent-first async API for AI image and video generation. 132 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 132 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":["change-camera-angle","consistent-characters","creative-upscale","dreamina","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","google-nano-banana","gpt-image-low","gpt-image-medium","gpt-image-high","gpt-image-1-5-edit","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","hidream-edit","hunyuan-3d","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","lip-sync","ltx-2-fast-t2v","ltx-2-fast-i2v","ltx-2-pro-t2v","ltx-2-pro-i2v","ltx-2-pro-extend","magnific-upscaler","omnihuman","openai-image-1","openai-image-1-edit","outpaint","p-image","p-image-edit","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","redux-flux","runway-gen4-video","runway-video","runway-gen4","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-4","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-to-sound","video-transform","video-upscaler","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":"change-camera-angle: Camera-aware editing via fal.ai Qwen Image Edit 2511 with multi-angle LoRA. 360° orbit, tilt, and zoom.; consistent-characters: Generate consistent character variations with FLUX Kontext, Nano Banana Pro/2, Flux 2 Dev, or Qwen Image 2 Pro.; creative-upscale: Clarity Upscaler (creative upscale) via Replicate. Boost detail with stable-diffusion refinement.; dreamina: ByteDance Dreamina 3.1. 4MP cinematic text-to-image with precise style control.; 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, guidance, and LoRA support.; flux-krea-dev: Photorealistic generation that avoids the oversaturated AI look. LoRA compatible.; flux-dev-multi-lora: Supports multiple custom LoRAs simultaneously 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; 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-low: Fast, lower detail generation; gpt-image-medium: Balanced quality and speed; gpt-image-high: Maximum detail and quality; gpt-image-1-5-edit: OpenAI GPT-Image 1.5 image editing — supply 1-8 reference images plus an edit instruction. Optional transparent background and high-fidelity input mode.; 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 1.0 reference-to-video — multi-reference image input that preserves subject characters, driven by a text prompt. 720p / 1080p, 3-15 second clips.; 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.; hidream-edit: HiDream O1 image-conditioned editing. Provide a source image and an instruction.; hunyuan-3d: Tencent Hunyuan 3D 3.1. Generate 3D meshes from a text prompt or a single image.; 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.0 (Mixture-of-Experts photorealism), 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.; lip-sync: Replicate sync/lipsync-2. Align mouth movements in a video to a separate audio track.; 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).; magnific-upscaler: Freepik Magnific upscaler. Creative or precision mode, up to 16x.; omnihuman: ByteDance OmniHuman 1.5 via Replicate. Audio-driven talking-head video with lip sync.; openai-image-1: OpenAI GPT Image 1 Mini. Text-to-image via Replicate.; openai-image-1-edit: OpenAI GPT Image 1 Mini image editing — combine 1-8 reference images with a text edit instruction. Supports transparent or opaque backgrounds.; 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-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.; redux-flux: Black Forest Labs Flux Redux image variations — feed a source image, get stylistic riffs.; runway-gen4-video: Runway Gen-4.5 video generation. Text-to-video or image-to-video, 5 or 10 seconds.; runway-video: Canonical version-agnostic Runway video API ID.; runway-gen4: Legacy alias for clients pinned to runway-gen4; maps to the current Runway model.; 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-lite: ByteDance Seedream 5.0 Lite — fast, high-quality image generation and editing with strong aesthetics and text rendering.; text-to-music: ElevenLabs Music via Replicate. Generate music from a text prompt.; 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-to-sound: ThinkSound via Replicate. Generate a sound effect track from a video.; video-transform: Runway Gen4 Aleph via Replicate. Transform the first 5 seconds of a video with a prompt.; video-upscaler: Topaz Labs Video Upscale via Replicate. Upscale video resolution and FPS.; 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 1-4 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 4MP 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.; 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":["change-camera-angle","consistent-characters","creative-upscale","dreamina","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","google-nano-banana","gpt-image-low","gpt-image-medium","gpt-image-high","gpt-image-1-5-edit","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","hidream-edit","hunyuan-3d","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","lip-sync","ltx-2-fast-t2v","ltx-2-fast-i2v","ltx-2-pro-t2v","ltx-2-pro-i2v","ltx-2-pro-extend","magnific-upscaler","omnihuman","openai-image-1","openai-image-1-edit","outpaint","p-image","p-image-edit","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","redux-flux","runway-gen4-video","runway-video","runway-gen4","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-4","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-to-sound","video-transform","video-upscaler","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":["change-camera-angle","consistent-characters","creative-upscale","dreamina","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","google-nano-banana","gpt-image-low","gpt-image-medium","gpt-image-high","gpt-image-1-5-edit","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","hidream-edit","hunyuan-3d","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","lip-sync","ltx-2-fast-t2v","ltx-2-fast-i2v","ltx-2-pro-t2v","ltx-2-pro-i2v","ltx-2-pro-extend","magnific-upscaler","omnihuman","openai-image-1","openai-image-1-edit","outpaint","p-image","p-image-edit","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","redux-flux","runway-gen4-video","runway-video","runway-gen4","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-4","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-to-sound","video-transform","video-upscaler","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/ChangeCameraAngleRequest"},{"$ref":"#/components/schemas/ConsistentCharactersRequest"},{"$ref":"#/components/schemas/CreativeUpscaleRequest"},{"$ref":"#/components/schemas/DreaminaRequest"},{"$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/GoogleNanoBananaRequest"},{"$ref":"#/components/schemas/GptImageLowRequest"},{"$ref":"#/components/schemas/GptImageMediumRequest"},{"$ref":"#/components/schemas/GptImageHighRequest"},{"$ref":"#/components/schemas/GptImage15EditRequest"},{"$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/HidreamEditRequest"},{"$ref":"#/components/schemas/Hunyuan3dRequest"},{"$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/LipSyncRequest"},{"$ref":"#/components/schemas/Ltx2FastT2vRequest"},{"$ref":"#/components/schemas/Ltx2FastI2vRequest"},{"$ref":"#/components/schemas/Ltx2ProT2vRequest"},{"$ref":"#/components/schemas/Ltx2ProI2vRequest"},{"$ref":"#/components/schemas/Ltx2ProExtendRequest"},{"$ref":"#/components/schemas/MagnificUpscalerRequest"},{"$ref":"#/components/schemas/OmnihumanRequest"},{"$ref":"#/components/schemas/OpenaiImage1Request"},{"$ref":"#/components/schemas/OpenaiImage1EditRequest"},{"$ref":"#/components/schemas/OutpaintRequest"},{"$ref":"#/components/schemas/PImageRequest"},{"$ref":"#/components/schemas/PImageEditRequest"},{"$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/ReduxFluxRequest"},{"$ref":"#/components/schemas/RunwayGen4VideoRequest"},{"$ref":"#/components/schemas/RunwayVideoRequest"},{"$ref":"#/components/schemas/RunwayGen4Request"},{"$ref":"#/components/schemas/Seedance15Request"},{"$ref":"#/components/schemas/Seedance2HighRequest"},{"$ref":"#/components/schemas/Seedance2ReferenceRequest"},{"$ref":"#/components/schemas/SeedanceVideoEditRequest"},{"$ref":"#/components/schemas/Seedream4Request"},{"$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/VideoToSoundRequest"},{"$ref":"#/components/schemas/VideoTransformRequest"},{"$ref":"#/components/schemas/VideoUpscalerRequest"},{"$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":{"change-camera-angle":"#/components/schemas/ChangeCameraAngleRequest","consistent-characters":"#/components/schemas/ConsistentCharactersRequest","creative-upscale":"#/components/schemas/CreativeUpscaleRequest","dreamina":"#/components/schemas/DreaminaRequest","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","google-nano-banana":"#/components/schemas/GoogleNanoBananaRequest","gpt-image-low":"#/components/schemas/GptImageLowRequest","gpt-image-medium":"#/components/schemas/GptImageMediumRequest","gpt-image-high":"#/components/schemas/GptImageHighRequest","gpt-image-1-5-edit":"#/components/schemas/GptImage15EditRequest","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","hidream-edit":"#/components/schemas/HidreamEditRequest","hunyuan-3d":"#/components/schemas/Hunyuan3dRequest","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","lip-sync":"#/components/schemas/LipSyncRequest","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","magnific-upscaler":"#/components/schemas/MagnificUpscalerRequest","omnihuman":"#/components/schemas/OmnihumanRequest","openai-image-1":"#/components/schemas/OpenaiImage1Request","openai-image-1-edit":"#/components/schemas/OpenaiImage1EditRequest","outpaint":"#/components/schemas/OutpaintRequest","p-image":"#/components/schemas/PImageRequest","p-image-edit":"#/components/schemas/PImageEditRequest","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","redux-flux":"#/components/schemas/ReduxFluxRequest","runway-gen4-video":"#/components/schemas/RunwayGen4VideoRequest","runway-video":"#/components/schemas/RunwayVideoRequest","runway-gen4":"#/components/schemas/RunwayGen4Request","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-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-to-sound":"#/components/schemas/VideoToSoundRequest","video-transform":"#/components/schemas/VideoTransformRequest","video-upscaler":"#/components/schemas/VideoUpscalerRequest","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":["change-camera-angle","consistent-characters","creative-upscale","dreamina","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","google-nano-banana","gpt-image-low","gpt-image-medium","gpt-image-high","gpt-image-1-5-edit","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","hidream-edit","hunyuan-3d","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","lip-sync","ltx-2-fast-t2v","ltx-2-fast-i2v","ltx-2-pro-t2v","ltx-2-pro-i2v","ltx-2-pro-extend","magnific-upscaler","omnihuman","openai-image-1","openai-image-1-edit","outpaint","p-image","p-image-edit","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","redux-flux","runway-gen4-video","runway-video","runway-gen4","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-4","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-to-sound","video-transform","video-upscaler","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"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"ErrorBody":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"ErrorResponse":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"required":["error"]},"CreditCost":{"type":"object","properties":{"default":{"type":"number","description":"Display cost at default resolution"},"type":{"type":"string","enum":["fixed","per_second"],"description":"Pricing model (fixed per-image or per-second for video)"},"amount":{"type":"number","description":"Base rate (per image or per second)"},"resolutionCosts":{"type":"object","additionalProperties":{"type":"number"},"description":"Per-resolution cost overrides. For per_second models, values are credits/second. For fixed/per_image, values are credits per output."},"resolutionDurationCosts":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}},"description":"Fixed costs by resolution+duration combo (e.g. {\"768p\":{\"6\":8,\"10\":12}}). Only present for models with non-linear pricing."}},"required":["default","type","amount"]},"ModelSummary":{"type":"object","properties":{"apiId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"modality":{"type":"string","enum":["image","video"]},"creditCost":{"$ref":"#/components/schemas/CreditCost"},"hasAudio":{"type":"boolean"},"supportsLora":{"type":"boolean"},"supportsEditing":{"type":"boolean"},"supportsNSFW":{"type":"boolean"},"speed":{"type":"string"},"quality":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"useCases":{"type":"array","items":{"type":"string"},"description":"Use-case taxonomy tags (e.g., \"marketing\", \"character\", \"cinematic\"). Filter on /api-platform."}},"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"]},"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"]},"ConsistentCharactersRequest":{"title":"Consistent CharactersRequest","description":"Generate consistent character variations with FLUX Kontext, Nano Banana Pro/2, Flux 2 Dev, or Qwen Image 2 Pro.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"CreativeUpscaleRequest":{"title":"Creative UpscaleRequest","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"}},"required":["image"]},"DreaminaRequest":{"title":"Dreamina 3.1Request","description":"ByteDance Dreamina 3.1. 4MP cinematic text-to-image with precise style control.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"enhance_prompt":{"title":"Enhance Prompt","description":"Enable AI prompt enhancement","type":"boolean","default":true},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio (or \"custom\" for specific dimensions)","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution tier. Upstream model accepts only \"1K\" or \"2K\".","type":"string","enum":["1K","2K"],"default":"2K"},"width":{"title":"Width","description":"Custom width (256-2048, for custom aspect ratio)","type":"integer","minimum":256,"maximum":2048},"height":{"title":"Height","description":"Custom height (256-2048, for custom aspect ratio)","type":"integer","minimum":256,"maximum":2048},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"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":"Face EnhanceRequest","description":"Crystal Upscaler via Replicate. Face-detail preserving upscale, cost scales with output megapixels.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"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":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"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":"integer","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":"integer"},"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":"integer","default":5,"minimum":1,"maximum":5},"width":{"title":"Width","description":"Image width in pixels (used with aspect_ratio=\"custom\").","type":"integer"},"height":{"title":"Height","description":"Image height in pixels (used with aspect_ratio=\"custom\").","type":"integer"},"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"}}},"required":["prompt","model"]},"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":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"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"}}},"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":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"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"}}},"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":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"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"}}},"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":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"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"}}},"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":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"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"}}},"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":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"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"}}},"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":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"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"}}},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"FluxDevRequest":{"title":"Flux DevRequest","description":"High-quality development model with configurable steps, guidance, and LoRA support.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"FluxKreaDevRequest":{"title":"Flux Krea DevRequest","description":"Photorealistic generation that avoids the oversaturated AI look. LoRA compatible.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"FluxDevMultiLoraRequest":{"title":"Flux Dev Multi LoRARequest","description":"Supports multiple custom LoRAs simultaneously for complex style combinations.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"Flux11ProRequest":{"title":"Flux 1.1 ProRequest","description":"Latest pro model with enhanced quality and strong prompt adherence.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"Flux11ProUltraRequest":{"title":"Flux 1.1 Pro UltraRequest","description":"Highest quality Flux model with raw mode for natural-looking images.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"FluxKontextProRequest":{"title":"Flux Kontext ProRequest","description":"Advanced model with state-of-the-art performance for both generation and editing.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"FluxKontextMaxRequest":{"title":"Flux Kontext MaxRequest","description":"Premium model with maximum performance and improved typography for generation and editing.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"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"}},"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}},"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}},"required":["prompt"]},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"GptImageLowRequest":{"title":"GPT-Image 1.5 LowRequest","description":"Fast, lower detail generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output image dimensions","type":"string","enum":["1024x1024","1536x1024","1024x1536"],"default":"1024x1024"},"quality":{"title":"Quality","description":"Generation quality tier","type":"string","enum":["low","medium","high"],"default":"high"},"background":{"title":"Background","description":"Background handling","type":"string","enum":["auto","transparent","opaque"],"default":"auto"},"num_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"]},"GptImageMediumRequest":{"title":"GPT-Image 1.5 MediumRequest","description":"Balanced quality and speed","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output image dimensions","type":"string","enum":["1024x1024","1536x1024","1024x1536"],"default":"1024x1024"},"quality":{"title":"Quality","description":"Generation quality tier","type":"string","enum":["low","medium","high"],"default":"high"},"background":{"title":"Background","description":"Background handling","type":"string","enum":["auto","transparent","opaque"],"default":"auto"},"num_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"]},"GptImageHighRequest":{"title":"GPT-Image 1.5 HighRequest","description":"Maximum detail and quality","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output image dimensions","type":"string","enum":["1024x1024","1536x1024","1024x1536"],"default":"1024x1024"},"quality":{"title":"Quality","description":"Generation quality tier","type":"string","enum":["low","medium","high"],"default":"high"},"background":{"title":"Background","description":"Background handling","type":"string","enum":["auto","transparent","opaque"],"default":"auto"},"num_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"]},"GptImage15EditRequest":{"title":"GPT-Image 1.5 EditRequest","description":"OpenAI GPT-Image 1.5 image editing — supply 1-8 reference images plus an edit instruction. Optional transparent background and high-fidelity input mode.","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},"image_size":{"title":"Image Size","description":"Output dimensions. \"auto\" lets the model pick based on the input.","type":"string","enum":["auto","1024x1024","1536x1024","1024x1536"],"default":"auto"},"background":{"title":"Background","description":"Output background handling. \"transparent\" produces a cut-out PNG.","type":"string","enum":["auto","transparent","opaque"],"default":"auto"},"quality":{"title":"Quality","description":"Generation quality tier. Higher tiers cost more credits.","type":"string","enum":["low","medium","high"],"default":"high"},"input_fidelity":{"title":"Input Fidelity","description":"How closely the output should preserve the input image. \"high\" stays more faithful; \"low\" allows more transformation.","type":"string","enum":["low","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"]},"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"},"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 Imagine 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"}},"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 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":"integer","default":6,"minimum":2,"maximum":10}},"required":["prompt","video_url"]},"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}},"required":["prompt"]},"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}},"required":["prompt"]},"Happyhorse10R2vRequest":{"title":"Happy Horse 1.0 Reference to VideoRequest","description":"Alibaba Happy Horse 1.0 reference-to-video — multi-reference image input that preserves subject characters, driven by a text prompt. 720p / 1080p, 3-15 second clips.","type":"object","additionalProperties":false,"properties":{"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":{"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},"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"}}},"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":{"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},"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"}}},"Happyhorse10VideoEditRequest":{"title":"Happy Horse 1.0 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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"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.","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.","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"]},"HidreamEditRequest":{"title":"HiDream EditRequest","description":"HiDream O1 image-conditioned editing. Provide a source image and an instruction.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction describing the change to make.","type":"string"},"image":{"title":"Image","description":"URL of the source image to edit.","type":"string"},"model":{"title":"Model","description":"HiDream O1 Edit (default) or Edit Dev (faster, distilled).","type":"string","enum":["fal-ai/hidream-o1-image/edit","fal-ai/hidream-o1-image/dev/edit"],"default":"fal-ai/hidream-o1-image/edit"},"image_size":{"title":"Image Size","description":"Output size preset. Set `keep_original_aspect` to preserve the input image aspect.","type":"string","enum":["square_hd","square","landscape_4_3","landscape_16_9","portrait_4_3","portrait_16_9"],"default":"square_hd"},"keep_original_aspect":{"title":"Keep Original Aspect","description":"When true, preserves the source image aspect ratio.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility.","type":"integer"}},"required":["prompt","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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"IdeogramCharacterRequest":{"title":"Ideogram CharacterRequest","description":"Generate consistent characters from a single reference image in many styles.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"ImageRelightingRequest":{"title":"Image RelightingRequest","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":"integer","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":"integer","default":100,"minimum":1,"maximum":100},"seed":{"title":"Seed","description":"Random seed for reproducibility.","type":"integer"}},"required":["subject_image"]},"ImageToImageFluxRequest":{"title":"Flux Image to ImageRequest","description":"FLUX Dev LoRA image-to-image on Replicate. Prompt + source image + optional LoRA weights.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"ImagineartRequest":{"title":"ImagineArtRequest","description":"ImagineArt family — 1.0 (Mixture-of-Experts photorealism), 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"}},"required":["prompt"]},"KlingImageRequest":{"title":"Kling Image V3Request","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"}},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"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}},"required":["video","character_image"]},"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}},"required":["video","character_image"]},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"KlingVideoV3StandardTextRequest":{"title":"Kling Video v3 Standard (Text)Request","description":"Standard text-to-video with native audio","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for video generation","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"voice_ids":{"title":"Voice IDs","description":"Voice IDs for audio synthesis (up to 2 voices)","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize","intelligent"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["prompt"]},"KlingVideoV3StandardImageRequest":{"title":"Kling Video v3 Standard (Image)Request","description":"Standard image-to-video with native audio","type":"object","additionalProperties":false,"properties":{"start_image_url":{"title":"Start Image URL","description":"Source image for image-to-video generation","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional motion prompt (required if multi_prompt is omitted)","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"end_image_url":{"title":"End Image URL","description":"Optional end frame image for interpolation","type":"string","format":"uri"},"elements":{"title":"Elements","description":"Optional character/object elements for reference","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["start_image_url"]},"KlingVideoV3ProTextRequest":{"title":"Kling Video v3 Pro (Text)Request","description":"Pro text-to-video with cinematic quality and native audio","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for video generation","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"voice_ids":{"title":"Voice IDs","description":"Voice IDs for audio synthesis (up to 2 voices)","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize","intelligent"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["prompt"]},"KlingVideoV3ProImageRequest":{"title":"Kling Video v3 Pro (Image)Request","description":"Pro image-to-video with cinematic quality and native audio","type":"object","additionalProperties":false,"properties":{"start_image_url":{"title":"Start Image URL","description":"Source image for image-to-video generation","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional motion prompt (required if multi_prompt is omitted)","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"end_image_url":{"title":"End Image URL","description":"Optional end frame image for interpolation","type":"string","format":"uri"},"elements":{"title":"Elements","description":"Optional character/object elements for reference","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["start_image_url"]},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"LipSyncRequest":{"title":"Lip SyncRequest","description":"Replicate sync/lipsync-2. Align mouth movements in a video to a separate audio track.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"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"}},"required":["prompt"]},"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"}},"required":["prompt","image_url"]},"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"}},"required":["prompt"]},"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"}},"required":["prompt","image_url"]},"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"}},"required":["video_url"]},"MagnificUpscalerRequest":{"title":"Magnific UpscalerRequest","description":"Freepik Magnific upscaler. Creative or precision mode, up to 16x.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"OmnihumanRequest":{"title":"OmniHuman 1.5Request","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"}},"required":["image","audio"]},"OpenaiImage1Request":{"title":"OpenAI Image 1Request","description":"OpenAI GPT Image 1 Mini. Text-to-image via Replicate.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"OpenaiImage1EditRequest":{"title":"OpenAI Image 1 EditRequest","description":"OpenAI GPT Image 1 Mini image editing — combine 1-8 reference images with a text edit instruction. Supports transparent or opaque backgrounds.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"OutpaintRequest":{"title":"OutpaintRequest","description":"fal.ai Image Apps V2 outpainting. Expand an image beyond its original edges.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"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"}},"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"]}},"required":["prompt","images"]},"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=1 credit, 1080p draft=2 credits)","type":"boolean","default":false},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt automatically before generation","type":"boolean","default":false},"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":"Pixverse v5.6Request","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"}},"required":["prompt"]},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"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"}},"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"}},"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"}},"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":"Enable smart prompt rewriting on the DashScope path. The model expands your prompt for richer detail. Default true.","type":"boolean","default":true},"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":"integer","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":"integer","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":"Enable smart prompt rewriting on the DashScope path. The model expands your prompt for richer detail. Default true.","type":"boolean","default":true},"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":"integer","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":"integer","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":"Enable AI prompt enhancement for better results","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6)","type":"integer","default":1,"minimum":1,"maximum":6},"seed":{"title":"Seed","description":"Random seed for reproducibility (0-2147483647)","type":"integer","minimum":0,"maximum":2147483647},"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}},"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":"Enable AI prompt enhancement for better results","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6)","type":"integer","default":1,"minimum":1,"maximum":6},"seed":{"title":"Seed","description":"Random seed for reproducibility (0-2147483647)","type":"integer","minimum":0,"maximum":2147483647},"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}},"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":"Enable smart prompt rewriting. Default true.","type":"boolean","default":true},"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":"Enable smart prompt rewriting. Default true. Not supported on qwen-image-edit (legacy).","type":"boolean","default":true},"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"}}},"ReduxFluxRequest":{"title":"Flux ReduxRequest","description":"Black Forest Labs Flux Redux image variations — feed a source image, get stylistic riffs.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"RunwayGen4VideoRequest":{"title":"Runway Gen-4.5 VideoRequest","description":"Runway Gen-4.5 video generation. Text-to-video or image-to-video, 5 or 10 seconds.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"RunwayVideoRequest":{"title":"RunwayRequest","description":"Canonical version-agnostic Runway video API ID.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for video generation","type":"string"},"image":{"title":"Image URL","description":"Optional initial image for video generation (first frame). If omitted, generation is text-to-video.","type":"string","format":"uri"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","4:3","3:4","1:1","21:9"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["5","10"],"default":"5"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"RunwayGen4Request":{"title":"Runway Gen-4 (Legacy API ID)Request","description":"Legacy alias for clients pinned to runway-gen4; maps to the current Runway model.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for video generation","type":"string"},"image":{"title":"Image URL","description":"Optional initial image for video generation (first frame). If omitted, generation is text-to-video.","type":"string","format":"uri"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","4:3","3:4","1:1","21:9"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["5","10"],"default":"5"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Seedance15Request":{"title":"Seedance 1Request","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","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"],"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"}},"required":["prompt"]},"Seedance2ReferenceRequest":{"title":"Seedance 2 Reference to VideoRequest","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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"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":"integer","minimum":1296,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels (1296-4096)","type":"integer","minimum":1296,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"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":"integer","minimum":1296,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels (1296-4096)","type":"integer","minimum":1296,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"required":["prompt"]},"TextToMusicRequest":{"title":"Text to MusicRequest","description":"ElevenLabs Music via Replicate. Generate music from a text prompt.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"TextToSpeechRequest":{"title":"Text to SpeechRequest","description":"MiniMax Speech 2.8 Turbo via Replicate. Convert text into natural-sounding speech.","type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string","description":"Text to synthesize into speech or audio."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"Veo31FastRequest":{"title":"VEO 3.1 FastRequest","description":"Faster generation at 3 credits per second","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image":{"title":"Image URL","description":"Starting image for image-to-video generation","type":"string","format":"uri"},"last_frame":{"title":"Last Frame URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 3 reference images for style guidance","type":"array","items":{"type":"string","format":"uri"}},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["4","6","8"],"default":"8"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["720p","1080p"],"default":"1080p"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Veo31StandardRequest":{"title":"VEO 3.1 StandardRequest","description":"Higher quality at 8 credits per second","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image":{"title":"Image URL","description":"Starting image for image-to-video generation","type":"string","format":"uri"},"last_frame":{"title":"Last Frame URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 3 reference images for style guidance","type":"array","items":{"type":"string","format":"uri"}},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["4","6","8"],"default":"8"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["720p","1080p"],"default":"1080p"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"Veo31LiteRequest":{"title":"VEO 3.1 LiteRequest","description":"Runware-powered Lite variant at 1.5 credits/sec for 720p and 2 credits/sec for 1080p. 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"}},"required":["prompt"]},"VideoAutocaptionRequest":{"title":"Video AutocaptionRequest","description":"TikTok-style auto-captioning via Replicate.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"VideoReframeRequest":{"title":"Video ReframeRequest","description":"Luma Reframe Video via Replicate. Change a video's aspect ratio intelligently.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"VideoToSoundRequest":{"title":"Video to SoundRequest","description":"ThinkSound via Replicate. Generate a sound effect track from a video.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"VideoTransformRequest":{"title":"Video TransformRequest","description":"Runway Gen4 Aleph via Replicate. Transform the first 5 seconds of a video with a prompt.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"VideoUpscalerRequest":{"title":"Video UpscalerRequest","description":"Topaz Labs Video Upscale via Replicate. Upscale video resolution and FPS.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"Wan22StandardRequest":{"title":"WAN 2.2 StandardRequest","description":"Premium quality with enhanced detail","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video mode","type":"string","format":"uri"},"last_image_url":{"title":"Last Image URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output video resolution","type":"string","enum":["480p","720p","1080p"],"default":"480p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5 or 10, Extended mode)","type":"integer","default":5,"minimum":5,"maximum":10},"num_frames":{"title":"Number of Frames","description":"Number of frames to generate (81-100)","type":"integer","default":100,"minimum":81,"maximum":100},"sample_shift":{"title":"Sample Shift","description":"Sampling shift value (0-20)","type":"number","default":12,"minimum":0,"maximum":20},"sample_steps":{"title":"Sample Steps","description":"Number of sampling steps (10-50)","type":"integer","default":30,"minimum":10,"maximum":50},"frames_per_second":{"title":"FPS","description":"Frames per second (8-24)","type":"integer","default":16,"minimum":8,"maximum":24},"interpolate_output":{"title":"Interpolate Output","description":"Interpolate output to 30 FPS","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"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}},"required":["prompt"]},"Wan22PlusRequest":{"title":"WAN 2.2 PlusRequest","description":"Official Alibaba model with 1080p support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video mode","type":"string","format":"uri"},"last_image_url":{"title":"Last Image URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output video resolution","type":"string","enum":["480p","720p","1080p"],"default":"480p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5 or 10, Extended mode)","type":"integer","default":5,"minimum":5,"maximum":10},"num_frames":{"title":"Number of Frames","description":"Number of frames to generate (81-100)","type":"integer","default":100,"minimum":81,"maximum":100},"sample_shift":{"title":"Sample Shift","description":"Sampling shift value (0-20)","type":"number","default":12,"minimum":0,"maximum":20},"sample_steps":{"title":"Sample Steps","description":"Number of sampling steps (10-50)","type":"integer","default":30,"minimum":10,"maximum":50},"frames_per_second":{"title":"FPS","description":"Frames per second (8-24)","type":"integer","default":16,"minimum":8,"maximum":24},"interpolate_output":{"title":"Interpolate Output","description":"Interpolate output to 30 FPS","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"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}},"required":["prompt"]},"Wan22ExtendedRequest":{"title":"WAN 2.2 ExtendedRequest","description":"fal.ai WAN 2.2 with up to 10-second videos and dual LoRA support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Starting image for image-to-video mode","type":"string","format":"uri"},"last_image_url":{"title":"Last Image URL","description":"Ending frame for video interpolation","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output video resolution","type":"string","enum":["480p","720p","1080p"],"default":"480p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5 or 10, Extended mode)","type":"integer","default":5,"minimum":5,"maximum":10},"num_frames":{"title":"Number of Frames","description":"Number of frames to generate (81-100)","type":"integer","default":100,"minimum":81,"maximum":100},"sample_shift":{"title":"Sample Shift","description":"Sampling shift value (0-20)","type":"number","default":12,"minimum":0,"maximum":20},"sample_steps":{"title":"Sample Steps","description":"Number of sampling steps (10-50)","type":"integer","default":30,"minimum":10,"maximum":50},"frames_per_second":{"title":"FPS","description":"Frames per second (8-24)","type":"integer","default":16,"minimum":8,"maximum":24},"interpolate_output":{"title":"Interpolate Output","description":"Interpolate output to 30 FPS","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"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}},"required":["prompt"]},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"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,"minimum":5,"maximum":8},"prompt_extend":{"title":"Prompt Extend","description":"Intelligent prompt rewriting on the server","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed (0–2,147,483,647); null/0 = random","type":"integer"}}},"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":"integer","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":"integer","minimum":1,"maximum":10},"frames_per_second":{"title":"FPS","description":"Target frames per second for the output video.","type":"integer","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":"integer"}},"required":["video","character_image","video_duration"]},"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"}}},"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"}}},"Wan26ImageRequest":{"title":"WAN 2.6 ImageRequest","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)","type":"string","enum":["1280*1280","1024*1024","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280"],"default":"1280*1280"},"prompt_extend":{"title":"Prompt Enhancement","description":"Enable AI prompt enhancement","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"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":"Intelligent prompt rewriting on the server","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility (0–2,147,483,647)","type":"integer"}}},"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","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}},"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","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}},"required":["prompt"]},"Wan27ImageEditRequest":{"title":"WAN 2.7 Image EditRequest","description":"Alibaba WAN 2.7 image editing. Standard and Pro tiers, supports 1-4 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","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"}}},"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"}}},"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"}}},"WanImageRequest":{"title":"WAN 2.2 ImageRequest","description":"Fast cinematic image generation (3-6 seconds) with up to 4MP output and optional LoRA support.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4"],"default":"1:1"},"megapixels":{"title":"Megapixels","description":"Output resolution in megapixels (1-4)","type":"integer","default":2,"minimum":1,"maximum":4},"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":"integer"},"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}},"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"},"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}},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"XaiImageRequest":{"title":"Grok ImagineRequest","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"}},"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"},"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 Imagine VideoRequest","description":"xAI Grok Imagine video. Text-to-video or image-to-video, 1-15 seconds at 480p or 720p.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Source image for image-to-video mode","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["720p","480p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","4:3","1:1","9:16","3:4","3:2","2:3"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (1-15)","type":"integer","default":5,"minimum":1,"maximum":15}},"required":["prompt"]},"XaiVideoEditRequest":{"title":"Grok Video EditRequest","description":"xAI Grok Imagine Video edit. Transform short clips via Replicate.","type":"object","additionalProperties":false,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"image_url":{"type":"string","format":"uri","description":"Reference image for image-to-video generations."},"duration":{"type":"number","minimum":1,"maximum":30,"description":"Requested video duration in seconds."},"aspect_ratio":{"type":"string","description":"Requested video aspect ratio."}}},"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":"Intelligent prompt rewriting on the server","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed (0–2,147,483,647); null/0 = random","type":"integer"}}},"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":"integer","default":8,"minimum":1,"maximum":8},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"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"}}}}}}}