{"openapi":"3.1.0","info":{"title":"PixelDojo API","description":"Agent-first async API for AI image and video generation. 126 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 126 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-2","grok-r2v","grok-video-extend","hailuo-standard","hailuo-fast","heygen-avatar","hidream-l1-fast","hidream-l1-dev","hidream-l1-full","hidream-e1.1","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","outpaint","p-image","p-image-edit","p-video","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","recraft-v4","recraft-v4-pro","recraft-v4-svg","recraft-v4-pro-svg","redux-flux","runway-gen4-video","runway-video","runway-gen4","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-3","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-replace","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","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-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-2: OpenAI GPT Image 2 via fal.ai — next-generation image model with 4K rendering and sharper text fidelity.; grok-r2v: xAI Grok Imagine reference-to-video via Replicate — 1–7 reference images plus prompt for 1–10s clips at 480p or 720p.; grok-video-extend: xAI Grok Imagine video extension — continue an existing MP4 with a prompt-directed extension (2–10s).; hailuo-standard: Premium quality text-to-video and image-to-video; hailuo-fast: Fast image-to-video generation; 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-l1-fast: HiDream L1 Fast - Fast generation; hidream-l1-dev: HiDream L1 Dev - Fast generation; hidream-l1-full: HiDream L1 Full - Highest quality; hidream-e1.1: HiDream E1.1 - Fast generation; 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 1.5 Pro image generation (fal.ai).; 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.; 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.; 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; recraft-v4: Recraft's latest image model. Strong prompt accuracy, art-directed composition, integrated text rendering. Fast and cost-efficient at standard resolution.; recraft-v4-pro: Recraft V4 at ~2048px resolution. Same design taste and prompt accuracy as V4, with higher resolution for print-ready and large-scale work.; recraft-v4-svg: Production-ready SVG vector images from text. Recraft V4's design taste applied to vector output — clean geometry, structured layers, editable paths.; recraft-v4-pro-svg: Detailed SVG vector graphics from text. Recraft V4 Pro's design taste with more geometric detail and finer paths — clean layers, editable output, scalable to any size.; 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-3: ByteDance Seedream 3 text-to-image via Replicate.; 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-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-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 — sync image generation with fast results and natural aesthetics.; xai-image-edit: xAI Grok image editing — sync response (no polling). Provide an image URL and a text edit instruction.; 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-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-2","grok-r2v","grok-video-extend","hailuo-standard","hailuo-fast","heygen-avatar","hidream-l1-fast","hidream-l1-dev","hidream-l1-full","hidream-e1.1","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","outpaint","p-image","p-image-edit","p-video","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","recraft-v4","recraft-v4-pro","recraft-v4-svg","recraft-v4-pro-svg","redux-flux","runway-gen4-video","runway-video","runway-gen4","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-3","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-replace","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","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-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-2","grok-r2v","grok-video-extend","hailuo-standard","hailuo-fast","heygen-avatar","hidream-l1-fast","hidream-l1-dev","hidream-l1-full","hidream-e1.1","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","outpaint","p-image","p-image-edit","p-video","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","recraft-v4","recraft-v4-pro","recraft-v4-svg","recraft-v4-pro-svg","redux-flux","runway-gen4-video","runway-video","runway-gen4","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-3","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-replace","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","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-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/GptImage2Request"},{"$ref":"#/components/schemas/GrokR2vRequest"},{"$ref":"#/components/schemas/GrokVideoExtendRequest"},{"$ref":"#/components/schemas/HailuoStandardRequest"},{"$ref":"#/components/schemas/HailuoFastRequest"},{"$ref":"#/components/schemas/HeygenAvatarRequest"},{"$ref":"#/components/schemas/HidreamL1FastRequest"},{"$ref":"#/components/schemas/HidreamL1DevRequest"},{"$ref":"#/components/schemas/HidreamL1FullRequest"},{"$ref":"#/components/schemas/HidreamE11Request"},{"$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/OutpaintRequest"},{"$ref":"#/components/schemas/PImageRequest"},{"$ref":"#/components/schemas/PImageEditRequest"},{"$ref":"#/components/schemas/PVideoRequest"},{"$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/RecraftV4Request"},{"$ref":"#/components/schemas/RecraftV4ProRequest"},{"$ref":"#/components/schemas/RecraftV4SvgRequest"},{"$ref":"#/components/schemas/RecraftV4ProSvgRequest"},{"$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/Seedream3Request"},{"$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/Wan22ReplaceRequest"},{"$ref":"#/components/schemas/Wan26StandardRequest"},{"$ref":"#/components/schemas/Wan26FlashRequest"},{"$ref":"#/components/schemas/Wan26ImageRequest"},{"$ref":"#/components/schemas/Wan26ImageEditRequest"},{"$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/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-2":"#/components/schemas/GptImage2Request","grok-r2v":"#/components/schemas/GrokR2vRequest","grok-video-extend":"#/components/schemas/GrokVideoExtendRequest","hailuo-standard":"#/components/schemas/HailuoStandardRequest","hailuo-fast":"#/components/schemas/HailuoFastRequest","heygen-avatar":"#/components/schemas/HeygenAvatarRequest","hidream-l1-fast":"#/components/schemas/HidreamL1FastRequest","hidream-l1-dev":"#/components/schemas/HidreamL1DevRequest","hidream-l1-full":"#/components/schemas/HidreamL1FullRequest","hidream-e1.1":"#/components/schemas/HidreamE11Request","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","outpaint":"#/components/schemas/OutpaintRequest","p-image":"#/components/schemas/PImageRequest","p-image-edit":"#/components/schemas/PImageEditRequest","p-video":"#/components/schemas/PVideoRequest","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","recraft-v4":"#/components/schemas/RecraftV4Request","recraft-v4-pro":"#/components/schemas/RecraftV4ProRequest","recraft-v4-svg":"#/components/schemas/RecraftV4SvgRequest","recraft-v4-pro-svg":"#/components/schemas/RecraftV4ProSvgRequest","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-3":"#/components/schemas/Seedream3Request","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-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-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-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-2","grok-r2v","grok-video-extend","hailuo-standard","hailuo-fast","heygen-avatar","hidream-l1-fast","hidream-l1-dev","hidream-l1-full","hidream-e1.1","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","outpaint","p-image","p-image-edit","p-video","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","recraft-v4","recraft-v4-pro","recraft-v4-svg","recraft-v4-pro-svg","redux-flux","runway-gen4-video","runway-video","runway-gen4","seedance-1.5","seedance-2-high","seedance-2-reference","seedance-video-edit","seedream-3","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-replace","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","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-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"}}},"required":["apiId","name","description","modality","creditCost"]},"ModelListResponse":{"type":"object","properties":{"models":{"type":"array","items":{"$ref":"#/components/schemas/ModelSummary"}},"total":{"type":"integer"},"imageCount":{"type":"integer"},"videoCount":{"type":"integer"}},"required":["models","total","imageCount","videoCount"]},"ModelDetails":{"type":"object","properties":{"apiId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"modality":{"type":"string","enum":["image","video"]},"provider":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"creditCost":{"$ref":"#/components/schemas/CreditCost"},"refundable":{"type":"boolean"},"inputParameters":{"type":"array","items":{"type":"object"}},"aspectRatios":{"type":"array","items":{"type":"string"}},"requestSchema":{"type":"object","additionalProperties":true},"endpoints":{"type":"object","properties":{"run":{"type":"string"},"schema":{"type":"string"},"docs":{"type":"string"},"llmDoc":{"type":"string"}}}},"required":["apiId","name","description","modality","provider","creditCost","requestSchema","endpoints"]},"ModelSchemaResponse":{"type":"object","properties":{"apiId":{"type":"string"},"name":{"type":"string"},"modality":{"type":"string","enum":["image","video"]},"schema":{"type":"object","additionalProperties":true}},"required":["apiId","name","modality","schema"]},"SubmitJobResponse":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["pending","processing"]},"statusUrl":{"type":"string"},"creditCost":{"type":"number"},"creditsRemaining":{"type":"number"},"expiresAt":{"type":"string","format":"date-time"},"webhookUrl":{"type":"string"}},"required":["jobId","status","statusUrl","creditCost","creditsRemaining","expiresAt"]},"JobOutput":{"type":"object","properties":{"images":{"type":"array","items":{"type":"string","format":"uri"}},"video":{"type":"string","format":"uri"}}},"AssetReference":{"type":"object","properties":{"assetId":{"type":"string"},"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"apiId":{"type":"string"},"jobId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"}},"required":["assetId","kind","url","apiId","jobId","expiresAt"]},"WebhookState":{"type":"object","properties":{"configured":{"type":"boolean"},"url":{"type":"string","format":"uri"},"delivered":{"type":"boolean"},"attempts":{"type":"integer"},"lastError":{"type":"string"}},"required":["configured","delivered","attempts"]},"Job":{"type":"object","properties":{"jobId":{"type":"string"},"apiId":{"type":"string"},"status":{"type":"string","enum":["pending","processing","completed","failed"]},"creditCost":{"type":"number"},"refunded":{"type":"boolean"},"error":{"type":"string"},"output":{"$ref":"#/components/schemas/JobOutput"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/AssetReference"}},"webhook":{"$ref":"#/components/schemas/WebhookState"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["jobId","apiId","status","creditCost","refunded","assets","webhook","createdAt","updatedAt","expiresAt"]},"JobListResponse":{"type":"object","properties":{"jobs":{"type":"array","items":{"$ref":"#/components/schemas/Job"}},"total":{"type":"integer"},"filters":{"type":"object","properties":{"limit":{"type":"integer"},"status":{"type":"string"},"apiId":{"type":"string"}}}},"required":["jobs","total","filters"]},"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,"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."}}},"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,"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."}}},"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,"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Primary prompt describing the requested output."},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."},"seed":{"type":"integer","description":"Optional random seed for reproducible generations."},"aspect_ratio":{"type":"string","description":"Requested image aspect ratio."},"num_outputs":{"type":"integer","minimum":1,"maximum":4,"description":"Number of images to generate."}}},"Flux2FlexRequest":{"title":"Flux 2 FlexRequest","description":"Max-quality with up to 10 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2Klein4bRequest":{"title":"Flux 2 Klein 4BRequest","description":"Very fast generation and editing with up to 5 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2Klein9bRequest":{"title":"Flux 2 Klein 9BRequest","description":"4-step distilled FLUX.2 [klein] foundation model for flexible control","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2ProRequest":{"title":"Flux 2 ProRequest","description":"High-quality with up to 8 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2MaxRequest":{"title":"Flux 2 MaxRequest","description":"The highest fidelity image model from Black Forest Labs","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"Flux2DevRequest":{"title":"Flux 2 DevRequest","description":"Fast quality with up to 4 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"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"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"integer","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"}},"required":["prompt"]},"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"]},"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"]},"GrokR2vRequest":{"title":"Grok Imagine R2VRequest","description":"xAI Grok Imagine reference-to-video via Replicate — 1–7 reference images plus prompt for 1–10s 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–10s).","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"]},"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"]},"HidreamL1FastRequest":{"title":"HiDream L1 FastRequest","description":"HiDream L1 Fast - Fast generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"resolution":{"title":"Resolution","description":"Output image dimensions as WIDTHxHEIGHT (e.g. \"1024x1024\")","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"HidreamL1DevRequest":{"title":"HiDream L1 DevRequest","description":"HiDream L1 Dev - Fast generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"resolution":{"title":"Resolution","description":"Output image dimensions as WIDTHxHEIGHT (e.g. \"1024x1024\")","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"HidreamL1FullRequest":{"title":"HiDream L1 FullRequest","description":"HiDream L1 Full - Highest quality","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"resolution":{"title":"Resolution","description":"Output image dimensions as WIDTHxHEIGHT (e.g. \"1024x1024\")","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"HidreamE11Request":{"title":"HiDream E1.1Request","description":"HiDream E1.1 - Fast generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"resolution":{"title":"Resolution","description":"Output image dimensions as WIDTHxHEIGHT (e.g. \"1024x1024\")","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"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 1.5 Pro image generation (fal.ai).","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, watermark, excessive motion, flickering"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["prompt"]},"KlingVideoV3StandardImageRequest":{"title":"Kling Video v3 Standard (Image)Request","description":"Standard image-to-video with native audio","type":"object","additionalProperties":false,"properties":{"start_image_url":{"title":"Start Image URL","description":"Source image for image-to-video generation","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional motion prompt (required if multi_prompt is omitted)","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"end_image_url":{"title":"End Image URL","description":"Optional end frame image for interpolation","type":"string","format":"uri"},"elements":{"title":"Elements","description":"Optional character/object elements for reference","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature, watermark, excessive motion, flickering"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["start_image_url"]},"KlingVideoV3ProTextRequest":{"title":"Kling Video v3 Pro (Text)Request","description":"Pro text-to-video with cinematic quality and native audio","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for video generation","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"voice_ids":{"title":"Voice IDs","description":"Voice IDs for audio synthesis (up to 2 voices)","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize","intelligent"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature, watermark, excessive motion, flickering"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["prompt"]},"KlingVideoV3ProImageRequest":{"title":"Kling Video v3 Pro (Image)Request","description":"Pro image-to-video with cinematic quality and native audio","type":"object","additionalProperties":false,"properties":{"start_image_url":{"title":"Start Image URL","description":"Source image for image-to-video generation","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional motion prompt (required if multi_prompt is omitted)","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"}},"duration":{"title":"Duration","description":"Video duration in seconds","type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio","type":"boolean","default":true},"end_image_url":{"title":"End Image URL","description":"Optional end frame image for interpolation","type":"string","format":"uri"},"elements":{"title":"Elements","description":"Optional character/object elements for reference","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature, watermark, excessive motion, flickering"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1}},"required":["start_image_url"]},"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."}}},"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"]},"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}},"required":["prompt"]},"PonyxlTponynai3V7Request":{"title":"Pony NAIRequest","description":"Pony NAI - Stylized anime generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string","default":"distorted face, asymmetric features, extra limbs, deformed hands, blurry eyes, disfigured, bad anatomy"},"width":{"title":"Width","description":"Image width in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"height":{"title":"Height","description":"Image height in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"steps":{"title":"Steps","description":"Number of diffusion steps (1-100)","type":"integer","default":35,"minimum":1,"maximum":100},"cfg_scale":{"title":"CFG Scale","description":"Classifier-free guidance scale (1-50)","type":"number","default":5,"minimum":1,"maximum":50},"scheduler":{"title":"Scheduler","description":"Sampling scheduler","type":"string","enum":["DPM++ 2M SDE Karras","DPM++ 2M Karras","Euler","Euler a"],"default":"DPM++ 2M SDE Karras"},"batch_size":{"title":"Batch Size","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (-1 for random)","type":"integer","default":-1}},"required":["prompt"]},"PonyxlWaianinsfwponyxlV140Request":{"title":"Wai ANIRequest","description":"Wai ANI - Stylized anime generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string","default":"distorted face, asymmetric features, extra limbs, deformed hands, blurry eyes, disfigured, bad anatomy"},"width":{"title":"Width","description":"Image width in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"height":{"title":"Height","description":"Image height in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"steps":{"title":"Steps","description":"Number of diffusion steps (1-100)","type":"integer","default":35,"minimum":1,"maximum":100},"cfg_scale":{"title":"CFG Scale","description":"Classifier-free guidance scale (1-50)","type":"number","default":5,"minimum":1,"maximum":50},"scheduler":{"title":"Scheduler","description":"Sampling scheduler","type":"string","enum":["DPM++ 2M SDE Karras","DPM++ 2M Karras","Euler","Euler a"],"default":"DPM++ 2M SDE Karras"},"batch_size":{"title":"Batch Size","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (-1 for random)","type":"integer","default":-1}},"required":["prompt"]},"QwenImagePlusRequest":{"title":"QWEN Image PlusRequest","description":"Fast generation with excellent quality","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9"],"default":"1:1"},"num_inference_steps":{"title":"Inference Steps","description":"Number of inference steps (28-50)","type":"integer","default":35,"minimum":28,"maximum":50},"guidance":{"title":"Guidance","description":"Guidance scale (2-4)","type":"number","default":3,"minimum":2,"maximum":4},"go_fast":{"title":"Go Fast","description":"Enable faster generation","type":"boolean","default":false},"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"}},"required":["prompt"]},"QwenImageMaxRequest":{"title":"QWEN Image MaxRequest","description":"Highest quality output","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9"],"default":"1:1"},"num_inference_steps":{"title":"Inference Steps","description":"Number of inference steps (28-50)","type":"integer","default":35,"minimum":28,"maximum":50},"guidance":{"title":"Guidance","description":"Guidance scale (2-4)","type":"number","default":3,"minimum":2,"maximum":4},"go_fast":{"title":"Go Fast","description":"Enable faster generation","type":"boolean","default":false},"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"}},"required":["prompt"]},"QwenImage20Request":{"title":"QWEN Image 2.0Request","description":"Fast, balanced image generation and editing","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate or editing instruction","type":"string"},"model":{"title":"Model","description":"Model variant to use","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-pro"],"default":"qwen-image-2.0"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height)","type":"string","enum":["1024*1024","1536*1536","768*1152","1024*1536","1152*768","1536*1024","960*1280","1080*1440","1280*960","1440*1080","720*1280","1080*1920","1280*720","1920*1080","1344*576","2048*872"],"default":"1024*1024"},"prompt_extend":{"title":"Prompt Enhancement","description":"Enable AI prompt enhancement for better results","type":"boolean","default":false},"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","description":"Optional reference image URLs (up to 3). Qwen Image 2 uses these as visual context for consistency (character / scene references).","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","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-pro"],"default":"qwen-image-2.0"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height)","type":"string","enum":["1024*1024","1536*1536","768*1152","1024*1536","1152*768","1536*1024","960*1280","1080*1440","1280*960","1440*1080","720*1280","1080*1920","1280*720","1920*1080","1344*576","2048*872"],"default":"1024*1024"},"prompt_extend":{"title":"Prompt Enhancement","description":"Enable AI prompt enhancement for better results","type":"boolean","default":false},"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","description":"Optional reference image URLs (up to 3). Qwen Image 2 uses these as visual context for consistency (character / scene references).","type":"array","items":{"type":"string","format":"uri"},"maxItems":3}},"required":["prompt"]},"RecraftV4Request":{"title":"Recraft V4Request","description":"Recraft's latest image model. Strong prompt accuracy, art-directed composition, integrated text rendering. Fast and cost-efficient at standard resolution.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5"],"default":"1:1"},"size":{"title":"Size","description":"Width and height (ignored if aspect_ratio is set)","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"RecraftV4ProRequest":{"title":"Recraft V4 ProRequest","description":"Recraft V4 at ~2048px resolution. Same design taste and prompt accuracy as V4, with higher resolution for print-ready and large-scale work.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5"],"default":"1:1"},"size":{"title":"Size","description":"Width and height (ignored if aspect_ratio is set)","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"RecraftV4SvgRequest":{"title":"Recraft V4 SVGRequest","description":"Production-ready SVG vector images from text. Recraft V4's design taste applied to vector output — clean geometry, structured layers, editable paths.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5"],"default":"1:1"},"size":{"title":"Size","description":"Width and height (ignored if aspect_ratio is set)","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"RecraftV4ProSvgRequest":{"title":"Recraft V4 Pro SVGRequest","description":"Detailed SVG vector graphics from text. Recraft V4 Pro's design taste with more geometric detail and finer paths — clean layers, editable output, scalable to any size.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5"],"default":"1:1"},"size":{"title":"Size","description":"Width and height (ignored if aspect_ratio is set)","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"}},"required":["prompt"]},"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."}}},"Seedream3Request":{"title":"Seedream 3Request","description":"ByteDance Seedream 3 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."}}},"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":["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."}}},"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."}}},"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."}}},"Wan27ImageRequest":{"title":"WAN 2.7 StandardRequest","description":"Faster Wan 2.7 image generation and editing","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height)","type":"string","enum":["1280*1280","1024*1024","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280"],"default":"1280*1280"},"thinking_mode":{"title":"Thinking Mode","description":"Improves text-to-image quality at the cost of slower generation","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"required":["prompt"]},"Wan27ImageProRequest":{"title":"WAN 2.7 ProRequest","description":"Higher quality Wan 2.7 tier with 4K support for text-to-image","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height)","type":"string","enum":["1280*1280","1024*1024","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280"],"default":"1280*1280"},"thinking_mode":{"title":"Thinking Mode","description":"Improves text-to-image quality at the cost of slower generation","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4}},"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,"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."}}},"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"}},"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,"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."}}},"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 — sync image generation with fast results and natural aesthetics.","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"}},"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.","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."}}},"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."}}},"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"}},"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"}}}}}}}