{"openapi":"3.1.0","info":{"title":"PixelDojo API","description":"Agent-first async API for AI image and video generation. 149 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 149 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":["brand-overlay","bria-fibo-2","change-camera-angle","clarity-pro-upscaler","consistent-characters","creative-upscale","face-enhance","face-swap","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-2-dev-lora","flux-3-image","flux-3-image-klein","flux-3-video","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","nano-banana-pro","nano-banana-2","nano-banana-2-1","nano-banana-2-lite","google-gemini-omni-flash","google-nano-banana","gpt-image-2-5","grok-r2v","grok-video-extend","happyhorse-1.0-r2v","happyhorse-1.0-t2v","happyhorse-1.0-i2v","happyhorse-1.0-video-edit","heygen-avatar","heygen-video","ideogram-4-5","ideogram-4-6","image-to-image-flux","kling-4-0","kling-avatar","kling-image","kling-image-4","kling-image-edit","kling-motion-control","kling-motion-control-pro","kling-reference-to-video","kling-v2-6","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","kling-video-edit","krea-3","krea-v2","luma-ray-3-2","luma-uni-1","magi-2","magnific-upscaler","minimax-h3","minimax-h3-max","minimax-h3-max-turbo","minimax-h3-fast","minimax-h3-image","minimax-h3-turbo","muse-image","omnihuman","outpaint","p-image","p-image-edit","p-image-ideogram","p-image-upscale","p-video","p-video-2-pro","p-video-2-pro-reference","p-video-2-pro-replace","p-video-avatar","p-video-edit","p-video-upscale","pixverse-v6","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-3-pro","qwen-image-2.0","qwen-image-2.0-pro","qwen-image-2.1-turbo","qwen-image-2.1","qwen-image-2-edit","qwen-image-edit-spicy","recraft-v4.1","recraft-v4.1-pro","recraft-v4.1-svg","recraft-v4.1-pro-svg","riverflow","rodin","runway-gen-4-5","seed-audio","seedance-2-high","seedance-2-mini","seedance-2-5","seedance-2-5-flash","seedance-2-5-video-edit","seedance-2-reference","seedance-video-edit","seedream-4","seedream-5","seedream-5-5","seedream-5-flash","seedream-5-lite","text-to-music","text-to-speech","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","video-autocaption","video-upscaler","wan-2.1-video","wan-2.2-standard","wan-2.2-plus","wan-2.2-i2v-spicy","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","wan-2.7-i2v-spicy","wan-2.7-image","wan-2.7-image-pro","wan-2.7-image-edit","wan-2.7-t2v","wan-2.7-i2v","wan-3-0-video","wan-image","wan-reference-to-video","wan-video-character-swap","wan-video-edit","xai-image","xai-image-edit","xai-video","xai-video-edit","z-image-spicy","z-image-turbo"]},"description":"brand-overlay: Add a hook title, a lower-third callout, a review card, a progress bar, a countdown timer, a price tag, an offer badge and a branded end card to any video. Exact text in your brand color.; bria-fibo-2: Bria FIBO 2.0: text-to-image trained only on licensed data, with precise control over lighting, camera, composition and color. 21 aspect ratios at 1K, nine at 2K, plus image editing with up to 4 references.; change-camera-angle: See a photo from a new camera angle. Pick where the camera stands, how high it is and how far away, and the same person and scene come back from that spot.; clarity-pro-upscaler: Clarity Pro Upscaler via Replicate. Photorealistic upscaling with identity preservation and creative control. Up to 16× and 64 megapixels.; consistent-characters: Generate consistent character variations with FLUX Kontext, Nano Banana Pro/2, Flux 2 Dev, Qwen Image 2 Pro, or Grok Imagine.; creative-upscale: Clarity Upscaler (creative upscale). Boost detail with stable-diffusion refinement.; face-enhance: Crystal Upscaler. Face-detail preserving upscale, cost scales with output megapixels.; face-swap: Swap a face, or the entire head including hair, from one photo into another while preserving pose, lighting, and background.; 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: Klein 9B with custom LoRA support and up to 5 reference images; flux-2-dev-lora: Flux 2 Dev with your own FLUX.2 [dev] LoRAs and up to 4 reference images; flux-3-image: Black Forest Labs FLUX 3: photoreal text-to-image up to 4K, edits with up to 10 reference images, and web-grounded generation for real products and places.; flux-3-image-klein: FLUX 3 Image Klein: fast open-weights FLUX 3 for text-to-image and edits with up to 10 reference images, unlimited on Relax.; flux-3-video: FLUX 3 Video generation. Text-to-video or image-to-video up to 20 seconds with synchronized audio, or extend and transform an existing clip.; flux-edit: Black Forest Labs FLUX.1 Kontext for text-driven image editing. Dev (open-weight), Pro (state-of-the-art), and Max (premium typography).; flux-dev: High-quality development model with configurable steps and guidance. For LoRAs, use Flux Dev Multi LoRA.; flux-krea-dev: Photorealistic generation that avoids the oversaturated AI look. Supports a single LoRA via lora_weights.; flux-dev-multi-lora: Flux Dev with multiple stacked custom LoRAs for complex style combinations.; flux-1.1-pro: Latest pro model with enhanced quality and strong prompt adherence.; flux-1.1-pro-ultra: Highest quality Flux model with raw mode for natural-looking images.; flux-kontext-pro: Advanced model with state-of-the-art performance for both generation and editing.; flux-kontext-max: Premium model with maximum performance and improved typography for generation and editing.; nano-banana-pro: SOTA with accurate typography and reasoning; nano-banana-2: Next-generation SOTA model with stronger consistency; nano-banana-2-1: Sharper layouts and subject consistency, with more precise edits; nano-banana-2-lite: Faster, lower-cost Nano Banana 2 at fixed 1K resolution; google-gemini-omni-flash: Google Gemini Omni Flash 1.2: text, frames, references, or a source video into 3–15s clips with native audio at 360p to 4K. First/last frame, reference images and videos, edit or extend a clip.; google-nano-banana: Google Nano Banana image editing. Multi-image fusion + edit instruction with Nano Banana Pro, 2.1 and 2 tiers at 1K/2K/4K.; gpt-image-2-5: OpenAI GPT Image 2.6 in two variants: Sunburst for premium reference-faithful renders and edits, Flare for the same quality tier at half the latency. Up to 4K output, optional reference images and masks.; grok-r2v: xAI Grok Imagine reference-to-video via Replicate. 1 to 7 reference images plus prompt for 1 to 10 second clips at 480p or 720p.; grok-video-extend: xAI Grok Imagine video extension. Continue an existing MP4 with a prompt-directed extension (2 to 10 seconds).; happyhorse-1.0-r2v: Alibaba Happy Horse reference-to-video (1.0 or 1.1): multi-reference image input that preserves subject characters, driven by a text prompt. 720p / 1080p, 3-15 second clips. Version 1.1 runs at a lower per-second credit rate.; happyhorse-1.0-t2v: Text-to-video with 720p/1080p output and 3-15 second durations; happyhorse-1.0-i2v: Image-to-video animation with 720p/1080p output and 3-15 second durations; happyhorse-1.0-video-edit: Alibaba Happy Horse 1.0 video edit: apply style transfer or local replacement to a source video using text prompts and optional reference images. 720p / 1080p, 3-15 second output.; heygen-avatar: HeyGen Avatar IV. Animate a portrait with a script and a voice, or with your own audio track, on an optional background. Costs 2 credits per second of output video: an estimate is held at submission and settled to the actual duration when the job completes.; heygen-video: HeyGen Video 1.0 via Runware. Text-to-video or image-to-video with sound built in: spoken dialogue, ambience and effects. 5 to 30 seconds, 480p to 2K.; ideogram-4-5: Ideogram 4.5: best-in-class text rendering, posters, logos and photoreal images, plus natural-language edits and Precise Edit that changes only what you ask.; ideogram-4-6: Ideogram 4.6: designs, posters and photoreal images up to native 4K, exact brand colors, see-through backgrounds, edits from up to 5 images, and Precise Edit that changes only what you ask.; image-to-image-flux: Image to Image. Give a photo and say what to change. Without a LoRA it runs a Seedream 5.5 edit that keeps the person and scene and changes only what you ask. With hf_lora it runs FLUX dev image to image, which repaints the whole picture.; kling-4-0: Kling Video 4.0. Up to 30 seconds at 1080p with native audio and dialogue: text, start/end frames, reference images and videos, or edit an existing clip. Flash tier: faster and cheaper at 720p, up to 20 seconds.; kling-avatar: Kling Avatar V2: turn a portrait plus an audio file into a talking avatar with audio-driven lip sync. Works on realistic humans, stylized characters, cartoons, and animals.; kling-image: Kling Image V3. High-quality text-to-image with flexible aspect ratios.; kling-image-4: Kling IMAGE 4.0: native 2K, 4K and 8K images with sharp text in seven languages, consistent series of up to 10 images, and full product pages or website designs from one prompt. Up to 10 reference images.; kling-image-edit: Kling Image V3 image-to-image editing with a text instruction.; kling-motion-control: Kling Video v3 Standard motion control (720p); kling-motion-control-pro: Kling Video v3 Pro motion control (1080p); kling-reference-to-video: Kling reference-driven video generation. Image or video references, Standard or Pro tier.; kling-v2-6: Kling Video v2.6 Pro. 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 video-to-video edit. Standard or Pro, with optional reference images and audio preservation.; krea-3: Krea 3 for reference-driven images and edits. Start from up to 8 images, describe the change and keep the parts you like, or generate from a prompt alone. Up to 4K in 10 aspect ratios.; krea-v2: Krea's aesthetic text-to-image, three tiers in one tool. Turbo for fast, cheap (0.5 credit) generation; Medium and Large for higher fidelity. Every tier takes a creativity control and optional style-reference images.; luma-ray-3-2: Luma Ray3.2 video via Runware. Text-to-video, or image-to-video with a start frame and an optional end frame. 5 or 10 seconds, 360p to 1080p, silent.; luma-uni-1: Luma UNI 1 (Standard + MAX) via Runware. Text-to-image and reference-guided image editing with one prompt, two quality tiers.; magi-2: Sand AI MAGI-2 video. Text-to-video, image-to-video with a start frame and optional end frame, or reference-to-video from up to 10 images, 5 videos and 5 audio clips. 4 to 30 seconds, 1080p, with synced audio.; magnific-upscaler: Magnific upscaler. Creative or precision mode, up to 16x.; minimax-h3: MiniMax H3: text-to-video, image-to-video, and reference-to-video (images, video and audio references) in one model. 2K or 768p output, 5-15s, native synced audio. Also carries H3 Max (cheaper 768p/480p, frames only), H3 Max Turbo (faster, tiered 768p/480p, frames only) and H3 Fast (480p, references).; minimax-h3-max: MiniMax H3 Max, the cheaper H3 sibling. Text-to-video and image-to-video at 768p (2 credits/sec) or 480p (1.5 credits/sec), 5-15s, native synced audio. No reference inputs.; minimax-h3-max-turbo: MiniMax H3 Max Turbo, the distilled, faster H3 Max. Text-to-video and image-to-video at 768p (1.25 credits/sec) or 480p (0.9 credits/sec), 5-15s, native synced audio. No reference inputs.; minimax-h3-fast: MiniMax H3 Fast, the speed-optimized H3. Text-to-video, image-to-video and reference-to-video (images, video and audio references) at 480p, 1.5 credits/sec plus 1.75 credits per second of reference video (at most 15s) and 1 per reference image past the fifth, 5-15s, native synced audio.; minimax-h3-image: MiniMax H3 Image: natural photoreal images up to 16 MP that follow long, detailed prompts closely, with accurate text, and edits from up to 8 images.; minimax-h3-turbo: MiniMax H3 open weights, self-hosted with a step-distillation Turbo LoRA for fast, low-cost generation. Text, image, or reference to video at 480p or 720p with synced audio.; muse-image: Meta's Muse Image: text-to-image at 2K in 8 aspect ratios, plus editing and multi-reference composition with up to 10 reference images.; omnihuman: OmniHuman 2.0. Audio-driven talking-head video with lip sync, up to 2 minutes.; outpaint: Outpainting. Expand an image beyond its original edges. The result is at most 1440 px on its longest side.; p-image: P-Image. Sub-second text-to-image with optional custom dimensions.; p-image-edit: P-Image Edit. Fast image editing with up to 5 reference images.; p-image-ideogram: Ideogram-class text rendering on the P-Image backbone. Pick a thinking budget from 0.1 to 1 credit per image.; p-image-upscale: P-Image Upscale. Fast image upscaling to a target megapixel size, with optional detail and realism enhancement.; p-video: P-Video 2 (and P-Video 1): video generation with text/image/audio conditioning, draft mode, and 720p/1080p outputs.; p-video-2-pro: P-Video 2 Pro: text or image to video with generated audio, 5 to 15 seconds at 24 fps, with start and end frame control.; p-video-2-pro-reference: P-Video 2 Pro Reference: reference-to-video built on MiniMax H3. Up to 9 images, 3 video and 3 audio references, plus optional start and end frames, 480p or 768p, 5 to 15 seconds with native audio. keep_audio lip-syncs to your own song or line.; p-video-2-pro-replace: P-Video 2 Pro Replace, built on MiniMax H3: swap one or two people in a video for the people in your pictures. Motion, camera, background, everyone else and the sound stay as they were. Up to 120 seconds, 480p or 768p.; p-video-avatar: P-Video 2 Pro Avatar: animate a portrait into a talking avatar from a script or an audio file, up to 3 minutes. 30 voices, 10 languages, 480p to 4K.; p-video-edit: P-Video Edit: prompted edits on a clip up to 15 seconds, with up to 4 reference images. Keeps the original audio; draft mode for quick previews.; p-video-upscale: P-Video Upscale. Fast, low-cost video upscaling to 720p, 1080p, 2K, or 4K. Keeps the aspect ratio and the original audio.; pixverse-v6: Pixverse V6 video generation. 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-3-pro: Qwen Image 3.0 Pro: text-to-image generation and image editing in one model. Generate from a prompt, or supply 1-3 reference images plus an instruction.; qwen-image-2.0: Fast, balanced image generation and editing; qwen-image-2.0-pro: Enhanced text rendering, realistic textures, and semantic adherence; qwen-image-2.1-turbo: 8-step distilled checkpoint: fast native-2K images and edits; qwen-image-2.1: Full 40-step checkpoint: the most detail and the best typography; qwen-image-2-edit: Alibaba DashScope Qwen Image 2 edit. Supply 1-3 reference images plus an edit instruction. Standard and Pro variants.; qwen-image-edit-spicy: Qwen Image Edit, Realistic mode. Add, remove, or modify elements in an existing image with text guidance.; recraft-v4.1: Recraft's latest image model. Better photorealism, smoother gradients, and improved text rendering vs V4. ~1024px output.; recraft-v4.1-pro: V4.1 at ~2048px resolution. Print-ready and large-scale work with the same prompt accuracy and design taste as standard.; recraft-v4.1-svg: Production-ready SVG vector output. Clean geometry, structured layers, editable paths. V4.1's design taste applied to vector.; recraft-v4.1-pro-svg: Detailed SVG vector graphics with finer paths and more geometric detail than standard SVG.; riverflow: Sourceful Riverflow 2.0 (Fast + Pro) via Runware. Text-to-image with optional reference image guidance. References steer style and composition; the model generates a fresh frame from your prompt. Two quality tiers.; rodin: Hyper3D Rodin. Turn up to 5 reference images into production-ready 3D models, with fast and standard quality modes.; runway-gen-4-5: Runway's Gen-4.5 video model. Text-to-video or image-to-video at 720p in five shapes, 5, 8 or 10 seconds, with cinematic camera work and believable motion. Clips are silent.; seed-audio: ByteDance Seed Audio 1.0. Generate speech, voice clones, and full audio scenes (radio dramas, podcasts, narration) from a prompt.; seedance-2-high: Higher-quality Seedance 2.0 video generation (supports 1080p); seedance-2-mini: Cost-effective Seedance 2.0 Mini. Same creation flow at roughly half the credits (480p / 720p); seedance-2-5: Seedance 2.5: text-to-video, first/last frame, and multimodal reference-to-video. Up to 30 seconds in one request with native audio in 11 languages.; seedance-2-5-flash: Seedance 2.5 Flash: the faster, lower-cost Seedance 2.5. Text-to-video, first/last frame, and reference-to-video, up to 30 seconds at 480p or 720p with native audio.; seedance-2-5-video-edit: Edit or extend an existing video with Seedance 2.5. Replace a subject, add or remove objects, or continue a clip forward or backward, with up to 50 reference materials.; 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. With a reference video, the high quality tier costs 6 credits a second at 720p, 12 at 1080p and 27 at 4K.; seedance-video-edit: Edit source videos with Seedance 2.0 using prompted changes, optional reference images, and 480p, 720p, or 1080p output. The result runs to the next whole second of the source (a 5.1 second clip comes back about 6 seconds long), between 4 and 15 seconds.; seedream-4: ByteDance Seedream 4.5: new-generation image creation with superior aesthetics, text rendering, and up to 4K resolution.; seedream-5: Seedream 5 Pro: the flagship Seedream image model with sharper realism, stronger prompt adherence, and best-in-class text rendering.; seedream-5-5: Seedream 5.5: the newest Seedream image model. Sharp, realistic images in seconds, exact text, edits that keep the subject the same, and transparent backgrounds.; seedream-5-flash: Seedream 5 Flash: the fast, low-cost Seedream 5 model for quick drafts and high-volume image generation and editing.; seedream-5-lite: ByteDance Seedream 5.0 Lite: fast, high-quality image generation and editing with strong aesthetics and text rendering.; text-to-music: ACE-Step v1.5. Generate instrumental beds or full songs from a prompt, 30 seconds to 5 minutes.; text-to-speech: MiniMax Speech 2.8 Turbo. Convert text into natural-sounding speech.; veo-3.1-fast: Faster generation at 4.5 credits per second with native audio (3 with generate_audio false); veo-3.1-standard: Higher quality at 12 credits per second with native audio (8 with generate_audio false); veo-3.1-lite: Lite variant at 1.5 credits/sec for 720p and 2 credits/sec for 1080p (8 s only). Audio is always on. No reference images, no 1:1 aspect ratio.; video-autocaption: Animated word-by-word captions, placed clear of the TikTok, Reels and Shorts buttons.; video-upscaler: FlashVSR video upscaling. Enhance video resolution up to 4K.; wan-2.1-video: WAN 2.1 (14B) text & image to video with LoRA support. 480p/720p, 1-5 second clips.; wan-2.2-standard: Premium quality with enhanced detail; wan-2.2-plus: Higher quality with 1080p support; wan-2.2-i2v-spicy: Image-to-video with WAN 2.2. Animate a starting image. 480p or 720p, 5s or 8s clips.; wan-2.6-standard: Higher quality, 720p/1080p support; wan-2.6-flash: Fast and affordable image-to-video. image_url is required: Flash makes video from a start photo. For text to video use wan-2.6-standard.; wan-2.6-image: WAN 2.6 text-to-image with prompt enhancement and multi-image output.; wan-2.6-image-edit: WAN 2.6 image editing. Up to 4 reference images.; wan-2.7-i2v-spicy: Image-to-video with WAN 2.7. Animate a starting image with optional driving audio. 720p or 1080p, 2–15 second clips.; wan-2.7-image: Faster Wan 2.7 image generation and editing; wan-2.7-image-pro: Higher quality Wan 2.7 tier with 4K support for text-to-image; wan-2.7-image-edit: WAN 2.7 image editing. Standard and Pro tiers, supports up to 9 input images for fusion edits.; wan-2.7-t2v: Text-to-video with audio sync, 720p/1080p output, and 2-15 second durations; wan-2.7-i2v: Image-to-video and video continuation with optional last-frame control and audio sync; wan-3-0-video: Alibaba WAN 3.0 video. Text-to-video with optional reference images or first/last frame control, native audio, up to 30 seconds.; wan-image: Fast cinematic image generation (3-6 seconds) with up to 2MP output and optional LoRA support.; wan-reference-to-video: WAN reference-to-video. Up to 5 image/video references with multi-shot support.; wan-video-character-swap: WAN character swap. Combine a character image with a reference video to produce a new clip.; wan-video-edit: WAN 2.7 video editing. Modify an existing clip via prompt with optional reference images.; xai-image: xAI Grok Imagine. Fast tier for quick iteration, Quality tier for higher fidelity at 1k or 2k.; xai-image-edit: xAI Grok image editing. Sync response (no polling). Provide an image URL and a text edit instruction. Optional quality tier for 1k/2k high-fidelity edits.; xai-video: xAI Grok Imagine video. Text-to-video or image-to-video, 1-15 seconds at 480p or 720p. Image-to-video can use the Grok Imagine 1.5 backbone for natively-synchronized audio.; xai-video-edit: Grok Imagine Video edit. Transform short clips with a prompt.; z-image-spicy: Z Image text-to-image, Realistic mode. Square / portrait / landscape compositions, 256–1536px on each side.; z-image-turbo: Super-fast 6B parameter text-to-image with great text rendering and LoRA support."}],"responses":{"200":{"description":"Model details with request schema and integration links","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelDetails"}}}},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/models/{apiId}/schema":{"get":{"operationId":"getModelSchema","summary":"Get Model Request Schema","description":"Return the canonical JSON Schema for a model request body so agents and SDKs can build valid inputs.","parameters":[{"name":"apiId","in":"path","required":true,"schema":{"type":"string","enum":["brand-overlay","bria-fibo-2","change-camera-angle","clarity-pro-upscaler","consistent-characters","creative-upscale","face-enhance","face-swap","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-2-dev-lora","flux-3-image","flux-3-image-klein","flux-3-video","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","nano-banana-pro","nano-banana-2","nano-banana-2-1","nano-banana-2-lite","google-gemini-omni-flash","google-nano-banana","gpt-image-2-5","grok-r2v","grok-video-extend","happyhorse-1.0-r2v","happyhorse-1.0-t2v","happyhorse-1.0-i2v","happyhorse-1.0-video-edit","heygen-avatar","heygen-video","ideogram-4-5","ideogram-4-6","image-to-image-flux","kling-4-0","kling-avatar","kling-image","kling-image-4","kling-image-edit","kling-motion-control","kling-motion-control-pro","kling-reference-to-video","kling-v2-6","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","kling-video-edit","krea-3","krea-v2","luma-ray-3-2","luma-uni-1","magi-2","magnific-upscaler","minimax-h3","minimax-h3-max","minimax-h3-max-turbo","minimax-h3-fast","minimax-h3-image","minimax-h3-turbo","muse-image","omnihuman","outpaint","p-image","p-image-edit","p-image-ideogram","p-image-upscale","p-video","p-video-2-pro","p-video-2-pro-reference","p-video-2-pro-replace","p-video-avatar","p-video-edit","p-video-upscale","pixverse-v6","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-3-pro","qwen-image-2.0","qwen-image-2.0-pro","qwen-image-2.1-turbo","qwen-image-2.1","qwen-image-2-edit","qwen-image-edit-spicy","recraft-v4.1","recraft-v4.1-pro","recraft-v4.1-svg","recraft-v4.1-pro-svg","riverflow","rodin","runway-gen-4-5","seed-audio","seedance-2-high","seedance-2-mini","seedance-2-5","seedance-2-5-flash","seedance-2-5-video-edit","seedance-2-reference","seedance-video-edit","seedream-4","seedream-5","seedream-5-5","seedream-5-flash","seedream-5-lite","text-to-music","text-to-speech","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","video-autocaption","video-upscaler","wan-2.1-video","wan-2.2-standard","wan-2.2-plus","wan-2.2-i2v-spicy","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","wan-2.7-i2v-spicy","wan-2.7-image","wan-2.7-image-pro","wan-2.7-image-edit","wan-2.7-t2v","wan-2.7-i2v","wan-3-0-video","wan-image","wan-reference-to-video","wan-video-character-swap","wan-video-edit","xai-image","xai-image-edit","xai-video","xai-video-edit","z-image-spicy","z-image-turbo"]}}],"responses":{"200":{"description":"Model request schema","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSchemaResponse"}}}},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/models/{apiId}/run":{"post":{"operationId":"submitJob","summary":"Submit Generation Job","description":"Submit an async generation job for a specific model.","parameters":[{"name":"apiId","in":"path","required":true,"schema":{"type":"string","enum":["brand-overlay","bria-fibo-2","change-camera-angle","clarity-pro-upscaler","consistent-characters","creative-upscale","face-enhance","face-swap","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-2-dev-lora","flux-3-image","flux-3-image-klein","flux-3-video","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","nano-banana-pro","nano-banana-2","nano-banana-2-1","nano-banana-2-lite","google-gemini-omni-flash","google-nano-banana","gpt-image-2-5","grok-r2v","grok-video-extend","happyhorse-1.0-r2v","happyhorse-1.0-t2v","happyhorse-1.0-i2v","happyhorse-1.0-video-edit","heygen-avatar","heygen-video","ideogram-4-5","ideogram-4-6","image-to-image-flux","kling-4-0","kling-avatar","kling-image","kling-image-4","kling-image-edit","kling-motion-control","kling-motion-control-pro","kling-reference-to-video","kling-v2-6","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","kling-video-edit","krea-3","krea-v2","luma-ray-3-2","luma-uni-1","magi-2","magnific-upscaler","minimax-h3","minimax-h3-max","minimax-h3-max-turbo","minimax-h3-fast","minimax-h3-image","minimax-h3-turbo","muse-image","omnihuman","outpaint","p-image","p-image-edit","p-image-ideogram","p-image-upscale","p-video","p-video-2-pro","p-video-2-pro-reference","p-video-2-pro-replace","p-video-avatar","p-video-edit","p-video-upscale","pixverse-v6","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-3-pro","qwen-image-2.0","qwen-image-2.0-pro","qwen-image-2.1-turbo","qwen-image-2.1","qwen-image-2-edit","qwen-image-edit-spicy","recraft-v4.1","recraft-v4.1-pro","recraft-v4.1-svg","recraft-v4.1-pro-svg","riverflow","rodin","runway-gen-4-5","seed-audio","seedance-2-high","seedance-2-mini","seedance-2-5","seedance-2-5-flash","seedance-2-5-video-edit","seedance-2-reference","seedance-video-edit","seedream-4","seedream-5","seedream-5-5","seedream-5-flash","seedream-5-lite","text-to-music","text-to-speech","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","video-autocaption","video-upscaler","wan-2.1-video","wan-2.2-standard","wan-2.2-plus","wan-2.2-i2v-spicy","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","wan-2.7-i2v-spicy","wan-2.7-image","wan-2.7-image-pro","wan-2.7-image-edit","wan-2.7-t2v","wan-2.7-i2v","wan-3-0-video","wan-image","wan-reference-to-video","wan-video-character-swap","wan-video-edit","xai-image","xai-image-edit","xai-video","xai-video-edit","z-image-spicy","z-image-turbo"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BrandOverlayRequest"},{"$ref":"#/components/schemas/BriaFibo2Request"},{"$ref":"#/components/schemas/ChangeCameraAngleRequest"},{"$ref":"#/components/schemas/ClarityProUpscalerRequest"},{"$ref":"#/components/schemas/ConsistentCharactersRequest"},{"$ref":"#/components/schemas/CreativeUpscaleRequest"},{"$ref":"#/components/schemas/FaceEnhanceRequest"},{"$ref":"#/components/schemas/FaceSwapRequest"},{"$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/Flux2DevLoraRequest"},{"$ref":"#/components/schemas/Flux3ImageRequest"},{"$ref":"#/components/schemas/Flux3ImageKleinRequest"},{"$ref":"#/components/schemas/Flux3VideoRequest"},{"$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/NanoBananaProRequest"},{"$ref":"#/components/schemas/NanoBanana2Request"},{"$ref":"#/components/schemas/NanoBanana21Request"},{"$ref":"#/components/schemas/NanoBanana2LiteRequest"},{"$ref":"#/components/schemas/GoogleGeminiOmniFlashRequest"},{"$ref":"#/components/schemas/GoogleNanoBananaRequest"},{"$ref":"#/components/schemas/GptImage25Request"},{"$ref":"#/components/schemas/GrokR2vRequest"},{"$ref":"#/components/schemas/GrokVideoExtendRequest"},{"$ref":"#/components/schemas/Happyhorse10R2vRequest"},{"$ref":"#/components/schemas/Happyhorse10T2vRequest"},{"$ref":"#/components/schemas/Happyhorse10I2vRequest"},{"$ref":"#/components/schemas/Happyhorse10VideoEditRequest"},{"$ref":"#/components/schemas/HeygenAvatarRequest"},{"$ref":"#/components/schemas/HeygenVideoRequest"},{"$ref":"#/components/schemas/Ideogram45Request"},{"$ref":"#/components/schemas/Ideogram46Request"},{"$ref":"#/components/schemas/ImageToImageFluxRequest"},{"$ref":"#/components/schemas/Kling40Request"},{"$ref":"#/components/schemas/KlingAvatarRequest"},{"$ref":"#/components/schemas/KlingImageRequest"},{"$ref":"#/components/schemas/KlingImage4Request"},{"$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/Krea3Request"},{"$ref":"#/components/schemas/KreaV2Request"},{"$ref":"#/components/schemas/LumaRay32Request"},{"$ref":"#/components/schemas/LumaUni1Request"},{"$ref":"#/components/schemas/Magi2Request"},{"$ref":"#/components/schemas/MagnificUpscalerRequest"},{"$ref":"#/components/schemas/MinimaxH3Request"},{"$ref":"#/components/schemas/MinimaxH3MaxRequest"},{"$ref":"#/components/schemas/MinimaxH3MaxTurboRequest"},{"$ref":"#/components/schemas/MinimaxH3FastRequest"},{"$ref":"#/components/schemas/MinimaxH3ImageRequest"},{"$ref":"#/components/schemas/MinimaxH3TurboRequest"},{"$ref":"#/components/schemas/MuseImageRequest"},{"$ref":"#/components/schemas/OmnihumanRequest"},{"$ref":"#/components/schemas/OutpaintRequest"},{"$ref":"#/components/schemas/PImageRequest"},{"$ref":"#/components/schemas/PImageEditRequest"},{"$ref":"#/components/schemas/PImageIdeogramRequest"},{"$ref":"#/components/schemas/PImageUpscaleRequest"},{"$ref":"#/components/schemas/PVideoRequest"},{"$ref":"#/components/schemas/PVideo2ProRequest"},{"$ref":"#/components/schemas/PVideo2ProReferenceRequest"},{"$ref":"#/components/schemas/PVideo2ProReplaceRequest"},{"$ref":"#/components/schemas/PVideoAvatarRequest"},{"$ref":"#/components/schemas/PVideoEditRequest"},{"$ref":"#/components/schemas/PVideoUpscaleRequest"},{"$ref":"#/components/schemas/PixverseV6Request"},{"$ref":"#/components/schemas/PonyxlPonyrealismV23Request"},{"$ref":"#/components/schemas/PonyxlTponynai3V7Request"},{"$ref":"#/components/schemas/PonyxlWaianinsfwponyxlV140Request"},{"$ref":"#/components/schemas/Qwen3ProRequest"},{"$ref":"#/components/schemas/QwenImage20Request"},{"$ref":"#/components/schemas/QwenImage20ProRequest"},{"$ref":"#/components/schemas/QwenImage21TurboRequest"},{"$ref":"#/components/schemas/QwenImage21Request"},{"$ref":"#/components/schemas/QwenImage2EditRequest"},{"$ref":"#/components/schemas/QwenImageEditSpicyRequest"},{"$ref":"#/components/schemas/RecraftV41Request"},{"$ref":"#/components/schemas/RecraftV41ProRequest"},{"$ref":"#/components/schemas/RecraftV41SvgRequest"},{"$ref":"#/components/schemas/RecraftV41ProSvgRequest"},{"$ref":"#/components/schemas/RiverflowRequest"},{"$ref":"#/components/schemas/RodinRequest"},{"$ref":"#/components/schemas/RunwayGen45Request"},{"$ref":"#/components/schemas/SeedAudioRequest"},{"$ref":"#/components/schemas/Seedance2HighRequest"},{"$ref":"#/components/schemas/Seedance2MiniRequest"},{"$ref":"#/components/schemas/Seedance25Request"},{"$ref":"#/components/schemas/Seedance25FlashRequest"},{"$ref":"#/components/schemas/Seedance25VideoEditRequest"},{"$ref":"#/components/schemas/Seedance2ReferenceRequest"},{"$ref":"#/components/schemas/SeedanceVideoEditRequest"},{"$ref":"#/components/schemas/Seedream4Request"},{"$ref":"#/components/schemas/Seedream5Request"},{"$ref":"#/components/schemas/Seedream55Request"},{"$ref":"#/components/schemas/Seedream5FlashRequest"},{"$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/VideoUpscalerRequest"},{"$ref":"#/components/schemas/Wan21VideoRequest"},{"$ref":"#/components/schemas/Wan22StandardRequest"},{"$ref":"#/components/schemas/Wan22PlusRequest"},{"$ref":"#/components/schemas/Wan22I2vSpicyRequest"},{"$ref":"#/components/schemas/Wan26StandardRequest"},{"$ref":"#/components/schemas/Wan26FlashRequest"},{"$ref":"#/components/schemas/Wan26ImageRequest"},{"$ref":"#/components/schemas/Wan26ImageEditRequest"},{"$ref":"#/components/schemas/Wan27I2vSpicyRequest"},{"$ref":"#/components/schemas/Wan27ImageRequest"},{"$ref":"#/components/schemas/Wan27ImageProRequest"},{"$ref":"#/components/schemas/Wan27ImageEditRequest"},{"$ref":"#/components/schemas/Wan27T2vRequest"},{"$ref":"#/components/schemas/Wan27I2vRequest"},{"$ref":"#/components/schemas/Wan30VideoRequest"},{"$ref":"#/components/schemas/WanImageRequest"},{"$ref":"#/components/schemas/WanReferenceToVideoRequest"},{"$ref":"#/components/schemas/WanVideoCharacterSwapRequest"},{"$ref":"#/components/schemas/WanVideoEditRequest"},{"$ref":"#/components/schemas/XaiImageRequest"},{"$ref":"#/components/schemas/XaiImageEditRequest"},{"$ref":"#/components/schemas/XaiVideoRequest"},{"$ref":"#/components/schemas/XaiVideoEditRequest"},{"$ref":"#/components/schemas/ZImageSpicyRequest"},{"$ref":"#/components/schemas/ZImageTurboRequest"}],"description":"Canonical request body. Match the path apiId to the corresponding schema variant.","x-pixeldojo-model-schema-map":{"brand-overlay":"#/components/schemas/BrandOverlayRequest","bria-fibo-2":"#/components/schemas/BriaFibo2Request","change-camera-angle":"#/components/schemas/ChangeCameraAngleRequest","clarity-pro-upscaler":"#/components/schemas/ClarityProUpscalerRequest","consistent-characters":"#/components/schemas/ConsistentCharactersRequest","creative-upscale":"#/components/schemas/CreativeUpscaleRequest","face-enhance":"#/components/schemas/FaceEnhanceRequest","face-swap":"#/components/schemas/FaceSwapRequest","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-2-dev-lora":"#/components/schemas/Flux2DevLoraRequest","flux-3-image":"#/components/schemas/Flux3ImageRequest","flux-3-image-klein":"#/components/schemas/Flux3ImageKleinRequest","flux-3-video":"#/components/schemas/Flux3VideoRequest","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","nano-banana-pro":"#/components/schemas/NanoBananaProRequest","nano-banana-2":"#/components/schemas/NanoBanana2Request","nano-banana-2-1":"#/components/schemas/NanoBanana21Request","nano-banana-2-lite":"#/components/schemas/NanoBanana2LiteRequest","google-gemini-omni-flash":"#/components/schemas/GoogleGeminiOmniFlashRequest","google-nano-banana":"#/components/schemas/GoogleNanoBananaRequest","gpt-image-2-5":"#/components/schemas/GptImage25Request","grok-r2v":"#/components/schemas/GrokR2vRequest","grok-video-extend":"#/components/schemas/GrokVideoExtendRequest","happyhorse-1.0-r2v":"#/components/schemas/Happyhorse10R2vRequest","happyhorse-1.0-t2v":"#/components/schemas/Happyhorse10T2vRequest","happyhorse-1.0-i2v":"#/components/schemas/Happyhorse10I2vRequest","happyhorse-1.0-video-edit":"#/components/schemas/Happyhorse10VideoEditRequest","heygen-avatar":"#/components/schemas/HeygenAvatarRequest","heygen-video":"#/components/schemas/HeygenVideoRequest","ideogram-4-5":"#/components/schemas/Ideogram45Request","ideogram-4-6":"#/components/schemas/Ideogram46Request","image-to-image-flux":"#/components/schemas/ImageToImageFluxRequest","kling-4-0":"#/components/schemas/Kling40Request","kling-avatar":"#/components/schemas/KlingAvatarRequest","kling-image":"#/components/schemas/KlingImageRequest","kling-image-4":"#/components/schemas/KlingImage4Request","kling-image-edit":"#/components/schemas/KlingImageEditRequest","kling-motion-control":"#/components/schemas/KlingMotionControlRequest","kling-motion-control-pro":"#/components/schemas/KlingMotionControlProRequest","kling-reference-to-video":"#/components/schemas/KlingReferenceToVideoRequest","kling-v2-6":"#/components/schemas/KlingV26Request","kling-video-v3-standard-text":"#/components/schemas/KlingVideoV3StandardTextRequest","kling-video-v3-standard-image":"#/components/schemas/KlingVideoV3StandardImageRequest","kling-video-v3-pro-text":"#/components/schemas/KlingVideoV3ProTextRequest","kling-video-v3-pro-image":"#/components/schemas/KlingVideoV3ProImageRequest","kling-video-edit":"#/components/schemas/KlingVideoEditRequest","krea-3":"#/components/schemas/Krea3Request","krea-v2":"#/components/schemas/KreaV2Request","luma-ray-3-2":"#/components/schemas/LumaRay32Request","luma-uni-1":"#/components/schemas/LumaUni1Request","magi-2":"#/components/schemas/Magi2Request","magnific-upscaler":"#/components/schemas/MagnificUpscalerRequest","minimax-h3":"#/components/schemas/MinimaxH3Request","minimax-h3-max":"#/components/schemas/MinimaxH3MaxRequest","minimax-h3-max-turbo":"#/components/schemas/MinimaxH3MaxTurboRequest","minimax-h3-fast":"#/components/schemas/MinimaxH3FastRequest","minimax-h3-image":"#/components/schemas/MinimaxH3ImageRequest","minimax-h3-turbo":"#/components/schemas/MinimaxH3TurboRequest","muse-image":"#/components/schemas/MuseImageRequest","omnihuman":"#/components/schemas/OmnihumanRequest","outpaint":"#/components/schemas/OutpaintRequest","p-image":"#/components/schemas/PImageRequest","p-image-edit":"#/components/schemas/PImageEditRequest","p-image-ideogram":"#/components/schemas/PImageIdeogramRequest","p-image-upscale":"#/components/schemas/PImageUpscaleRequest","p-video":"#/components/schemas/PVideoRequest","p-video-2-pro":"#/components/schemas/PVideo2ProRequest","p-video-2-pro-reference":"#/components/schemas/PVideo2ProReferenceRequest","p-video-2-pro-replace":"#/components/schemas/PVideo2ProReplaceRequest","p-video-avatar":"#/components/schemas/PVideoAvatarRequest","p-video-edit":"#/components/schemas/PVideoEditRequest","p-video-upscale":"#/components/schemas/PVideoUpscaleRequest","pixverse-v6":"#/components/schemas/PixverseV6Request","ponyxl-ponyrealism-v23":"#/components/schemas/PonyxlPonyrealismV23Request","ponyxl-tponynai3-v7":"#/components/schemas/PonyxlTponynai3V7Request","ponyxl-waianinsfwponyxl-v140":"#/components/schemas/PonyxlWaianinsfwponyxlV140Request","qwen-3-pro":"#/components/schemas/Qwen3ProRequest","qwen-image-2.0":"#/components/schemas/QwenImage20Request","qwen-image-2.0-pro":"#/components/schemas/QwenImage20ProRequest","qwen-image-2.1-turbo":"#/components/schemas/QwenImage21TurboRequest","qwen-image-2.1":"#/components/schemas/QwenImage21Request","qwen-image-2-edit":"#/components/schemas/QwenImage2EditRequest","qwen-image-edit-spicy":"#/components/schemas/QwenImageEditSpicyRequest","recraft-v4.1":"#/components/schemas/RecraftV41Request","recraft-v4.1-pro":"#/components/schemas/RecraftV41ProRequest","recraft-v4.1-svg":"#/components/schemas/RecraftV41SvgRequest","recraft-v4.1-pro-svg":"#/components/schemas/RecraftV41ProSvgRequest","riverflow":"#/components/schemas/RiverflowRequest","rodin":"#/components/schemas/RodinRequest","runway-gen-4-5":"#/components/schemas/RunwayGen45Request","seed-audio":"#/components/schemas/SeedAudioRequest","seedance-2-high":"#/components/schemas/Seedance2HighRequest","seedance-2-mini":"#/components/schemas/Seedance2MiniRequest","seedance-2-5":"#/components/schemas/Seedance25Request","seedance-2-5-flash":"#/components/schemas/Seedance25FlashRequest","seedance-2-5-video-edit":"#/components/schemas/Seedance25VideoEditRequest","seedance-2-reference":"#/components/schemas/Seedance2ReferenceRequest","seedance-video-edit":"#/components/schemas/SeedanceVideoEditRequest","seedream-4":"#/components/schemas/Seedream4Request","seedream-5":"#/components/schemas/Seedream5Request","seedream-5-5":"#/components/schemas/Seedream55Request","seedream-5-flash":"#/components/schemas/Seedream5FlashRequest","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-upscaler":"#/components/schemas/VideoUpscalerRequest","wan-2.1-video":"#/components/schemas/Wan21VideoRequest","wan-2.2-standard":"#/components/schemas/Wan22StandardRequest","wan-2.2-plus":"#/components/schemas/Wan22PlusRequest","wan-2.2-i2v-spicy":"#/components/schemas/Wan22I2vSpicyRequest","wan-2.6-standard":"#/components/schemas/Wan26StandardRequest","wan-2.6-flash":"#/components/schemas/Wan26FlashRequest","wan-2.6-image":"#/components/schemas/Wan26ImageRequest","wan-2.6-image-edit":"#/components/schemas/Wan26ImageEditRequest","wan-2.7-i2v-spicy":"#/components/schemas/Wan27I2vSpicyRequest","wan-2.7-image":"#/components/schemas/Wan27ImageRequest","wan-2.7-image-pro":"#/components/schemas/Wan27ImageProRequest","wan-2.7-image-edit":"#/components/schemas/Wan27ImageEditRequest","wan-2.7-t2v":"#/components/schemas/Wan27T2vRequest","wan-2.7-i2v":"#/components/schemas/Wan27I2vRequest","wan-3-0-video":"#/components/schemas/Wan30VideoRequest","wan-image":"#/components/schemas/WanImageRequest","wan-reference-to-video":"#/components/schemas/WanReferenceToVideoRequest","wan-video-character-swap":"#/components/schemas/WanVideoCharacterSwapRequest","wan-video-edit":"#/components/schemas/WanVideoEditRequest","xai-image":"#/components/schemas/XaiImageRequest","xai-image-edit":"#/components/schemas/XaiImageEditRequest","xai-video":"#/components/schemas/XaiVideoRequest","xai-video-edit":"#/components/schemas/XaiVideoEditRequest","z-image-spicy":"#/components/schemas/ZImageSpicyRequest","z-image-turbo":"#/components/schemas/ZImageTurboRequest"}}}}},"responses":{"202":{"description":"Job accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitJobResponse"}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"},"402":{"$ref":"#/components/responses/InsufficientCreditsError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/jobs":{"get":{"operationId":"listJobs","summary":"List Recent Jobs","description":"List recent jobs for the authenticated API key owner. Supports filters for status and model.","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["pending","processing","completed","failed"]}},{"name":"apiId","in":"query","required":false,"schema":{"type":"string","enum":["brand-overlay","bria-fibo-2","change-camera-angle","clarity-pro-upscaler","consistent-characters","creative-upscale","face-enhance","face-swap","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-2-dev-lora","flux-3-image","flux-3-image-klein","flux-3-video","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","nano-banana-pro","nano-banana-2","nano-banana-2-1","nano-banana-2-lite","google-gemini-omni-flash","google-nano-banana","gpt-image-2-5","grok-r2v","grok-video-extend","happyhorse-1.0-r2v","happyhorse-1.0-t2v","happyhorse-1.0-i2v","happyhorse-1.0-video-edit","heygen-avatar","heygen-video","ideogram-4-5","ideogram-4-6","image-to-image-flux","kling-4-0","kling-avatar","kling-image","kling-image-4","kling-image-edit","kling-motion-control","kling-motion-control-pro","kling-reference-to-video","kling-v2-6","kling-video-v3-standard-text","kling-video-v3-standard-image","kling-video-v3-pro-text","kling-video-v3-pro-image","kling-video-edit","krea-3","krea-v2","luma-ray-3-2","luma-uni-1","magi-2","magnific-upscaler","minimax-h3","minimax-h3-max","minimax-h3-max-turbo","minimax-h3-fast","minimax-h3-image","minimax-h3-turbo","muse-image","omnihuman","outpaint","p-image","p-image-edit","p-image-ideogram","p-image-upscale","p-video","p-video-2-pro","p-video-2-pro-reference","p-video-2-pro-replace","p-video-avatar","p-video-edit","p-video-upscale","pixverse-v6","ponyxl-ponyrealism-v23","ponyxl-tponynai3-v7","ponyxl-waianinsfwponyxl-v140","qwen-3-pro","qwen-image-2.0","qwen-image-2.0-pro","qwen-image-2.1-turbo","qwen-image-2.1","qwen-image-2-edit","qwen-image-edit-spicy","recraft-v4.1","recraft-v4.1-pro","recraft-v4.1-svg","recraft-v4.1-pro-svg","riverflow","rodin","runway-gen-4-5","seed-audio","seedance-2-high","seedance-2-mini","seedance-2-5","seedance-2-5-flash","seedance-2-5-video-edit","seedance-2-reference","seedance-video-edit","seedream-4","seedream-5","seedream-5-5","seedream-5-flash","seedream-5-lite","text-to-music","text-to-speech","veo-3.1-fast","veo-3.1-standard","veo-3.1-lite","video-autocaption","video-upscaler","wan-2.1-video","wan-2.2-standard","wan-2.2-plus","wan-2.2-i2v-spicy","wan-2.6-standard","wan-2.6-flash","wan-2.6-image","wan-2.6-image-edit","wan-2.7-i2v-spicy","wan-2.7-image","wan-2.7-image-pro","wan-2.7-image-edit","wan-2.7-t2v","wan-2.7-i2v","wan-3-0-video","wan-image","wan-reference-to-video","wan-video-character-swap","wan-video-edit","xai-image","xai-image-edit","xai-video","xai-video-edit","z-image-spicy","z-image-turbo"]}}],"responses":{"200":{"description":"Recent jobs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobListResponse"}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/jobs/{jobId}":{"get":{"operationId":"getJobStatus","summary":"Get Job Status","description":"Poll job status and retrieve outputs when complete.","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Job status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"},"410":{"$ref":"#/components/responses/ExpiredError"}}}},"/jobs/{jobId}/webhook":{"get":{"operationId":"getWebhookStatus","summary":"Get Webhook Delivery State","description":"Inspect webhook delivery state for a single job.","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Webhook delivery state","content":{"application/json":{"schema":{"type":"object","properties":{"jobId":{"type":"string"},"apiId":{"type":"string"},"status":{"type":"string","enum":["pending","processing","completed","failed"]},"webhook":{"$ref":"#/components/schemas/WebhookState"}},"required":["jobId","apiId","status","webhook"]}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}},"post":{"operationId":"replayWebhook","summary":"Replay Job Webhook","description":"Redeliver the terminal webhook for a completed or failed job.","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Replay attempt result","content":{"application/json":{"schema":{"type":"object","properties":{"replayed":{"type":"boolean"},"replayError":{"type":"string"},"job":{"$ref":"#/components/schemas/Job"}},"required":["replayed","job"]}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"},"409":{"$ref":"#/components/responses/ValidationError"}}}},"/upload":{"post":{"operationId":"uploadFile","summary":"Upload File (24h temp URL)","description":"Upload a local image/video (multipart form, single `file` field) and get back a public URL on the 24-hour temp bucket, usable as a reference input in any run call.","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"Public temp URL","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"expiresInHours":{"type":"integer"}},"required":["url"]}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/library":{"get":{"operationId":"searchLibrary","summary":"Search Your Library","description":"Search the key owner's media library: saved Library items (permanent) plus recent generations, newest first. Saved copies never expire; recent generation URLs are deleted 1 hour after the job completes (expiredCount reports dropped matches).","parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Substring match against the producing prompt."},{"name":"model","in":"query","schema":{"type":"string"},"description":"Restrict to one model/tool (apiId)."},{"name":"modality","in":"query","schema":{"type":"string","enum":["image","video","audio"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Matching library items","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"prompt":{"type":"string"},"model":{"type":"string"},"modality":{"type":"string","enum":["image","video","audio"]},"source":{"type":"string","enum":["saved","api","kept"]},"createdAt":{"type":"string","format":"date-time"}},"required":["url","source","createdAt"]}},"count":{"type":"integer"},"expiredCount":{"type":"integer"}},"required":["items","count"]}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/media/save":{"post":{"operationId":"saveMedia","summary":"Save to My Media (permanent)","description":"Save a result into My Media permanently (\"save this to my library\"). It passes the same content-safety check as every save on the site before the file is re-hosted on the permanent CDN; unsaved API outputs are deleted 1 hour after the job completes. Accepts URLs from PixelDojo and known provider CDNs only.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"prompt":{"type":"string"},"tool_name":{"type":"string"},"modality":{"type":"string","enum":["image","video","audio"]},"job_id":{"type":"string"}},"required":["url"]}}}},"responses":{"200":{"description":"Saved item","content":{"application/json":{"schema":{"type":"object","properties":{"saved":{"type":"boolean"},"id":{"type":"string"},"url":{"type":"string"},"kind":{"type":"string","enum":["image","video"]}},"required":["saved","id","url","kind"]}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/characters":{"get":{"operationId":"listCharacters","summary":"List saved characters and elements","description":"The key owner's Character Studio library: characters, products, outfits, locations, objects (props) and styles, newest first. Write `@Name` in any generation prompt to use one: on models that take reference images, its photos are attached automatically.","parameters":[{"name":"kind","in":"query","schema":{"type":"string","enum":["character","product","outfit","location","object","style","element"]},"description":"One kind, or `element` for everything that is not a character."},{"name":"q","in":"query","schema":{"type":"string"},"description":"Name match."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Saved characters and elements","content":{"application/json":{"schema":{"type":"object","properties":{"characters":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"image_urls":{"type":"array","items":{"type":"string"}},"mention":{"type":"string","description":"What to write in a prompt, e.g. @Mara."}}}},"count":{"type":"integer"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}},"post":{"operationId":"saveCharacter","summary":"Save a character or element","description":"Save a character (a person: 3 to 5 photos from different angles works best) or an element to Character Studio from image URLs. Every image passes the site's upload safety check before anything is stored.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["character","product","outfit","location","object","style"],"default":"character"},"name":{"type":"string","maxLength":60},"description":{"type":"string","maxLength":1500},"image_urls":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":8}},"required":["name"]}}}},"responses":{"201":{"description":"Saved; `mention` is the @Name to use in prompts."},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/workflows":{"get":{"operationId":"listWorkflows","summary":"List Saved Workflows","description":"List the key owner's named multi-step skill chains.","responses":{"200":{"description":"Saved workflows","content":{"application/json":{"schema":{"type":"object","properties":{"workflows":{"type":"array","items":{"$ref":"#/components/schemas/SavedWorkflow"}}},"required":["workflows"]}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}},"post":{"operationId":"saveWorkflow","summary":"Save a Workflow","description":"Save (upsert by name) a named multi-step skill chain. Step args may reference {{input.<key>}} and {{prev}}.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedWorkflow"}}}},"responses":{"200":{"description":"Saved","content":{"application/json":{"schema":{"type":"object","properties":{"saved":{"type":"boolean"},"created":{"type":"boolean"}}}}}},"400":{"$ref":"#/components/responses/ValidationError"},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/workflows/{name}":{"get":{"operationId":"getWorkflow","summary":"Get a Workflow","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The workflow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedWorkflow"}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}},"delete":{"operationId":"deleteWorkflow","summary":"Delete a Workflow","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"boolean"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/credits":{"get":{"operationId":"getCredits","summary":"Check Credit Balance","description":"Return the authenticated API key owner's current credit balance. Use before submitting jobs to confirm there are enough credits.","responses":{"200":{"description":"Current credit balance","content":{"application/json":{"schema":{"type":"object","properties":{"credits":{"type":"integer","description":"Credits available across all image, video, and training generations."}},"required":["credits"]}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"SavedWorkflow":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,40}$"},"description":{"type":"string"},"steps":{"type":"array","maxItems":8,"items":{"type":"object","properties":{"skill":{"type":"string","description":"Runnable skill name, e.g. pixeldojo_generate."},"args":{"type":"object","additionalProperties":true}},"required":["skill","args"]}}},"required":["name","steps"]},"ErrorBody":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"ErrorResponse":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"required":["error"]},"CreditCost":{"type":"object","properties":{"default":{"type":"number","description":"Display cost at default resolution"},"type":{"type":"string","enum":["fixed","per_second"],"description":"Pricing model (fixed per-image or per-second for video)"},"amount":{"type":"number","description":"Rate at the default settings (per image or per second)"},"minAmount":{"type":"number","description":"Lowest rate any listed setting gives (the \"from\" price). Present when the price varies by resolution or another setting."},"settingCosts":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number"}},"description":"Rate by a setting other than resolution: input field -> value -> rate, with every other setting at its default. Same unit as amount. Example: {\"generate_audio\":{\"true\":4.5,\"false\":3}}."},"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."},"resolutionField":{"type":"string","description":"The input field that sets the resolutionCosts tier when the model has no resolution parameter (e.g. image_size, where auto_1K is the 1K tier)."},"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"},"apiOnly":{"type":"boolean","description":"True when the model is available only through the API and MCP, with no page in the app. Absent otherwise."},"hasAudio":{"type":"boolean"},"supportsLora":{"type":"boolean"},"supportsEditing":{"type":"boolean"},"speed":{"type":"string"},"quality":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"useCases":{"type":"array","items":{"type":"string"},"description":"Use-case taxonomy tags (e.g., \"marketing\", \"character\", \"cinematic\"). Filter on /api-platform."},"sale":{"type":"object","description":"Active time-limited sale, present only while a campaign covers this model. creditCost never changes meaning; run charges are discounted automatically.","properties":{"percentOff":{"type":"number"},"salePrice":{"type":"number","nullable":true},"endsAt":{"type":"string","format":"date-time"},"headline":{"type":"string"}}}},"required":["apiId","name","description","modality","creditCost"]},"ModelListResponse":{"type":"object","properties":{"models":{"type":"array","items":{"$ref":"#/components/schemas/ModelSummary"}},"total":{"type":"integer"},"imageCount":{"type":"integer"},"videoCount":{"type":"integer"}},"required":["models","total","imageCount","videoCount"]},"ModelDetails":{"type":"object","properties":{"apiId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"modality":{"type":"string","enum":["image","video"]},"provider":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"useCases":{"type":"array","items":{"type":"string"},"description":"Use-case taxonomy tags (e.g., \"marketing\", \"character\", \"cinematic\"). Filter on /api-platform."},"creditCost":{"$ref":"#/components/schemas/CreditCost"},"refundable":{"type":"boolean"},"apiOnly":{"type":"boolean","description":"True when the model is available only through the API and MCP, with no page in the app."},"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","description":"When this file is deleted: 1 hour after the job completed. Download it before then."}},"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"]},"BrandOverlayRequest":{"title":"Brand OverlaysRequest","description":"Add a hook title, a lower-third callout, a review card, a progress bar, a countdown timer, a price tag, an offer badge and a branded end card to any video. Exact text in your brand color.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Video","description":"Reference video URL.","type":"string","format":"uri"},"color":{"title":"Color","description":"Brand color as #RRGGBB: fills the offer badge and the CTA button. Defaults to #FFE500.","type":"string"},"hook_text":{"title":"Hook Text","description":"Hook title for the first seconds, 5-8 words, e.g. \"Octopuses have THREE hearts?\".","type":"string"},"hook_duration":{"title":"Hook Duration","description":"Seconds the hook stays. Defaults to 2.5.","type":"number","minimum":1,"maximum":6},"callout_title":{"title":"Callout Title","description":"Lower third: a benefit (\"Ships in 24h\") or a name.","type":"string"},"callout_subtitle":{"title":"Callout Subtitle","description":"Second line under the label, e.g. a title or detail.","type":"string"},"callout_style":{"title":"Callout Style","description":"label (default): a brand-colored box. classic: the broadcast lower third, an accent bar beside a bold name and a lighter title (bottom band on 16:9).","type":"string","enum":["label","classic"]},"callout_start":{"title":"Callout Start","description":"Second the label slides in. Defaults to 3.","type":"number","minimum":0,"maximum":600},"callout_duration":{"title":"Callout Duration","description":"Seconds it stays. Defaults to 4.","type":"number","minimum":1,"maximum":10},"review_quote":{"title":"Review Quote","description":"Review card quote, e.g. \"Best mug I have ever owned\".","type":"string"},"review_name":{"title":"Review Name","description":"Who said it, e.g. \"Jess, verified buyer\".","type":"string"},"review_stars":{"title":"Review Stars","description":"Stars on the review card. Defaults to 5.","type":"integer","minimum":1,"maximum":5},"review_start":{"title":"Review Start","description":"Second the review card appears. Defaults to just after the hook.","type":"number","minimum":0,"maximum":600},"review_duration":{"title":"Review Duration","description":"Seconds it stays. Defaults to 4.","type":"number","minimum":1,"maximum":10},"progress_bar":{"title":"Progress Bar","description":"A thin bar in the brand color across the top that fills as the video plays.","type":"boolean"},"countdown_from":{"title":"Countdown From","description":"Countdown start, e.g. \"23:59:59\"; the digits tick down each second it is on screen.","type":"string"},"countdown_label":{"title":"Countdown Label","description":"Words above the timer. Defaults to \"Ends in\".","type":"string"},"countdown_start":{"title":"Countdown Start","description":"Second the timer appears. Defaults to 0.5, or just after the hook.","type":"number","minimum":0,"maximum":600},"countdown_duration":{"title":"Countdown Duration","description":"Seconds it stays. Defaults to 4.","type":"number","minimum":1,"maximum":10},"price_now":{"title":"Price Now","description":"Price tag, the price to pay, e.g. \"$49\".","type":"string"},"price_was":{"title":"Price Was","description":"Old price, shown struck through, e.g. \"$79\".","type":"string"},"price_label":{"title":"Price Label","description":"Small line under the price, e.g. \"Today only\".","type":"string"},"price_start":{"title":"Price Start","description":"Second the tag appears. Defaults to just after the hook.","type":"number","minimum":0,"maximum":600},"price_duration":{"title":"Price Duration","description":"Seconds it stays. Defaults to 4.","type":"number","minimum":1,"maximum":10},"offer_text":{"title":"Offer Text","description":"Offer callout headline, e.g. \"50% OFF\".","type":"string"},"offer_subtext":{"title":"Offer Subtext","description":"Small line under the offer, e.g. \"This week only\".","type":"string"},"offer_start":{"title":"Offer Start","description":"Second the offer appears. Defaults to 0.5, or just after the hook.","type":"number","minimum":0,"maximum":600},"offer_duration":{"title":"Offer Duration","description":"Seconds the callout stays. Defaults to 3.","type":"number","minimum":1,"maximum":10},"offer_position":{"title":"Offer Position","description":"top (default) or bottom, above where captions sit.","type":"string","enum":["top","bottom"]},"end_headline":{"title":"End Headline","description":"End card headline. Setting it adds the end card.","type":"string"},"end_cta":{"title":"End Cta","description":"End card button text, e.g. \"Shop now\".","type":"string"},"end_url":{"title":"End URL","description":"End card web address, e.g. \"pixeldojo.ai\".","type":"string","format":"uri"},"logo_url":{"title":"Logo URL","description":"End card logo: a PNG (transparent works best) or JPG URL.","type":"string","format":"uri"},"end_duration":{"title":"End Duration","description":"Seconds the end card holds after the video. Defaults to 3.","type":"number","minimum":2,"maximum":5},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["video"]},"BriaFibo2Request":{"title":"Bria Fibo 2.0Request","description":"Bria FIBO 2.0: text-to-image trained only on licensed data, with precise control over lighting, camera, composition and color. 21 aspect ratios at 1K, nine at 2K, plus image editing with up to 4 references.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to make (2-3000 characters), or the change to make when image_urls is supplied. Long, specific prompts work best.","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output shape. All 21 ratios work at 1K; 2K supports 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16 and 16:9. Ignored when image_urls is supplied.","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","10:16","16:10","1:2","2:1","9:21","21:9","1:3","3:1","1:4","4:1","1:5","5:1"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution. Same price at both. Ignored when image_urls is supplied.","type":"string","enum":["1k","2k"],"default":"1k"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"image_urls":{"title":"Images to Edit","description":"Optional image URLs (up to 4). One image is edited in place; 2-4 images are combined as references. With images, the prompt is treated as an edit instruction.","type":"array","items":{"type":"string","format":"uri"},"maxItems":4,"minItems":1},"seed":{"title":"Seed","description":"Random seed for reproducibility (1-2147483647)","type":"integer","minimum":1,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"ChangeCameraAngleRequest":{"title":"Change Camera AngleRequest","description":"See a photo from a new camera angle. Pick where the camera stands, how high it is and how far away, and the same person and scene come back from that spot.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Reference Image","description":"URL of the photo to see from a new angle. The result keeps its shape.","type":"string","format":"uri"},"position":{"title":"Position","description":"Where the camera stands around the subject. Side and back views may turn the subject instead of moving the camera. Older calls may send horizontal_angle (0-360) instead; it is rounded to the nearest position.","type":"string","enum":["front","left","back","right"],"default":"front"},"height":{"title":"Height","description":"Camera height: low looks up at the subject, high looks down. Older calls may send vertical_angle (-30 to 90) instead; it is rounded to the nearest height.","type":"string","enum":["low","eye","high"],"default":"eye"},"distance":{"title":"Distance","description":"How far the camera is from the subject. Older calls may send zoom (0-10) instead; it is rounded to the nearest distance.","type":"string","enum":["close","medium","wide"],"default":"medium"},"horizontal_angle":{"title":"Horizontal Angle","description":"","type":"number","minimum":0,"maximum":360},"vertical_angle":{"title":"Vertical Angle","description":"","type":"number","minimum":-30,"maximum":90},"zoom":{"title":"Zoom","description":"","type":"number","minimum":0,"maximum":10},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number","minimum":0,"maximum":4},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","minimum":1,"maximum":20},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"integer","minimum":1,"maximum":50},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","enum":["none","regular"]},"image_size":{"title":"Image Size","description":"Output image dimensions.","type":"string","enum":["square_hd","square","portrait_4_3","portrait_16_9","landscape_4_3","landscape_16_9"]},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string"},"num_images":{"title":"Num Images","description":"Number of output images.","type":"integer","minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image"]},"ClarityProUpscalerRequest":{"title":"Clarity ProRequest","description":"Clarity Pro Upscaler via Replicate. Photorealistic upscaling with identity preservation and creative control. Up to 16× and 64 megapixels.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image URL","description":"URL of the image to upscale. We read its pixel size before charging: 1 credit per output megapixel (width x height x scale_factor², rounded up), at least 1 and at most 64. An image we cannot read is refused, uncharged.","type":"string","format":"uri"},"scale_factor":{"title":"Scale Factor","description":"Upscale multiplier. One of 2, 4, 8, or 16. Output is capped at 64 megapixels: a larger upscale is refused before any charge. A 2x upscale of a 1 megapixel image is 4 credits.","type":"integer","default":2,"enum":["2","4","8","16"]},"creativity":{"title":"Creativity","description":"Creative control (-10 to 10). Negative values stay closer to the original; positive values let the model add more detail.","type":"number","default":0,"minimum":-10,"maximum":10},"output_format":{"title":"Output Format","description":"Output image format. PNG or JPG (95% quality).","type":"string","enum":["png","jpg"],"default":"png"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image"]},"ConsistentCharactersRequest":{"title":"Consistent CharactersRequest","description":"Generate consistent character variations with FLUX Kontext, Nano Banana Pro/2, Flux 2 Dev, Qwen Image 2 Pro, or Grok Imagine.","type":"object","additionalProperties":false,"properties":{"input_image":{"title":"Input Image","description":"Reference image URL.","type":"string","format":"uri"},"num_images":{"title":"Num Images","description":"Number of output images.","type":"integer","default":4,"minimum":1,"maximum":12},"background":{"title":"Background","description":"Output background handling. \"transparent\" produces a cut-out PNG.","type":"string","enum":["white","gray","black","green screen","neutral","original"],"default":"neutral"},"randomize_images":{"title":"Randomize Images","description":"Randomize backgrounds and poses across the generated set so the output isn't monotonous.","type":"boolean","default":true},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio of the generated images. Ignored by flux-kontext (portrait-series has no aspect control).","type":"string","enum":["1:1","4:3","3:4","3:2","2:3","16:9","9:16"],"default":"1:1"},"model_type":{"title":"Model Type","description":"Generation backbone: flux-kontext is fastest; nano-banana-pro / qwen-image-2-pro produce sharper portraits at higher cost.","type":"string","enum":["flux-kontext","nano-banana-pro","nano-banana-2","flux-2-dev","qwen-image-2-pro","grok-imagine","flux-kontext-dev","wan-2.7-edit","seedream-4","seedream-5","seedream-5-flash","seedream-5-5"],"default":"flux-kontext"},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["input_image"]},"CreativeUpscaleRequest":{"title":"Creative UpscalerRequest","description":"Clarity Upscaler (creative upscale). Boost detail with stable-diffusion refinement.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image URL","description":"URL of the image to upscale.","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional guidance prompt to steer the creative refinement.","type":"string"},"scale_factor":{"title":"Scale Factor","description":"Upscale multiplier (1–10).","type":"number","default":2,"minimum":1,"maximum":10},"creativity":{"title":"Creativity","description":"How freely the model repaints the picture. 0.15 is the most faithful: it keeps faces and text as they are, so use it for photos of people or anything with words. Higher values invent new detail and can change faces and lettering (0.35 often does). Values below 0.15 are raised to 0.15.","type":"number","default":0.35,"minimum":0,"maximum":1},"resemblance":{"title":"Resemblance","description":"How closely the output should match the source (0–3).","type":"number","default":0.6,"minimum":0,"maximum":3},"sharpen":{"title":"Sharpen","description":"Sharpening amount (0–10).","type":"number","minimum":0,"maximum":10},"dynamic":{"title":"Dynamic","description":"HDR-like dynamic range boost (1–50).","type":"number","minimum":1,"maximum":50},"num_inference_steps":{"title":"Inference Steps","description":"Number of diffusion steps (1–100).","type":"integer","default":18,"minimum":1,"maximum":100},"negative_prompt":{"title":"Negative Prompt","description":"Things to avoid during refinement.","type":"string"},"output_format":{"title":"Output Format","description":"Image output format (e.g. Png, jpg, webp).","type":"string","default":"png"},"seed":{"title":"Seed","description":"Random seed for reproducibility.","type":"integer"},"lora_links":{"title":"LoRA Links","description":"Comma- or newline-separated list of LoRA URLs (or HuggingFace paths) to apply during the SD refinement pass.","type":"string"},"handfix":{"title":"Handfix","description":"","type":"string"},"sd_model":{"title":"Sd Model","description":"","type":"string"},"scheduler":{"title":"Scheduler","description":"Sampler / denoising schedule.","type":"string"},"downscaling":{"title":"Downscaling","description":"","type":"boolean"},"fractality":{"title":"Fractality","description":"Detail-fractality boost. Higher = more micro-detail injected at every scale level.","type":"number"},"custom_sd_model":{"title":"Custom Sd Model","description":"","type":"string"},"downscaling_resolution":{"title":"Downscaling Resolution","description":"","type":"integer"},"pattern":{"title":"Pattern","description":"","type":"boolean"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image"]},"FaceEnhanceRequest":{"title":"Portrait UpscalerRequest","description":"Crystal Upscaler. Face-detail preserving upscale, cost scales with output megapixels.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image URL","description":"URL of the portrait to upscale. We read its pixel size before charging: the output (width x height x scale_factor²) is billed by tier, 1.5 credits up to 4.4 MP, 3 up to 8.8 MP, 6 up to 17.6 MP, 12 up to 27.5 MP, 24 up to 55 MP, 48 up to 110 MP and 96 above that. An image we cannot read is refused, uncharged.","type":"string","format":"uri"},"scale_factor":{"title":"Scale Factor","description":"Upscale multiplier, 1 to 8 (default 4). For a 1 megapixel portrait, 1x or 2x costs 1.5 credits, 4x costs 6 credits and 8x costs 48 credits.","type":"number","default":4,"minimum":1,"maximum":8},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image"]},"FaceSwapRequest":{"title":"Face SwapRequest","description":"Swap a face, or the entire head including hair, from one photo into another while preserving pose, lighting, and background.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image","description":"Target photo whose face will be replaced. Image URL or base64 data URI.","type":"string","format":"uri"},"face_image":{"title":"Face Image","description":"Source photo of the face to swap in. Also used as the head reference in head mode.","type":"string","format":"uri"},"swap_mode":{"title":"Swap Mode","description":"Choose 'face' to replace just the facial region, keeping the target's hair. Choose 'head' to transfer the full head: face, hair, contour, and ears.","type":"string","enum":["face","head"],"default":"face"},"seed":{"title":"Seed","description":"Random seed for reproducibility (0 to 2147483647). Omit or 0 for a random seed.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image","face_image"]},"FluxRequest":{"title":"FLUXRequest","description":"FLUX family on Replicate. Schnell, Dev, Pro, Kontext, Ultra, and LoRA remix variants in one entrypoint.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"model":{"title":"Model","description":"FLUX variant identifier (e.g. \"black-forest-labs/flux-dev\", \"black-forest-labs/flux-pro\", \"black-forest-labs/flux-1.1-pro\", \"black-forest-labs/flux-kontext-pro\", \"black-forest-labs/flux-kontext-max\", \"lucataco/hyper-flux-8step\", \"black-forest-labs/flux-schnell-lora\", \"black-forest-labs/flux-dev-lora\").","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio. Use \"custom\" with width/height for free-form sizes. Kontext variants given an input_image keep that photo's shape unless you set a ratio (\"match_input_image\").","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"How many images to generate per call.","type":"number","default":1,"minimum":1,"maximum":4},"input_image":{"title":"Input Image","description":"Image URL to edit (Kontext variants only). Describe the change in the prompt.","type":"string","format":"uri"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"guidance_scale":{"title":"Guidance Scale","description":"Prompt adherence (variant-dependent).","type":"number"},"num_inference_steps":{"title":"Inference Steps","description":"Number of denoising steps (variant-dependent).","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance prompt for better results (Pro variants).","type":"boolean","default":false},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive). Pro variants only.","type":"number","default":5,"minimum":1,"maximum":5},"width":{"title":"Width","description":"Image width in pixels (used with aspect_ratio=\"custom\").","type":"number"},"height":{"title":"Height","description":"Image height in pixels (used with aspect_ratio=\"custom\").","type":"number"},"megapixels":{"title":"Megapixels","description":"Output resolution in megapixels (Schnell/Dev variants).","type":"string"},"hf_lora":{"title":"HuggingFace LoRA","description":"HuggingFace LoRA path or URL (e.g. \"owner/repo\" or a direct .safetensors URL). Only honored by LoRA-capable variants such as \"black-forest-labs/flux-dev-lora\" and \"black-forest-labs/flux-schnell-lora\".","type":"string"},"hf_loras":{"title":"HuggingFace LoRAs (multiple)","description":"Array of HuggingFace LoRA paths/URLs for stacked LoRA loading.","type":"array","items":{"type":"string"}},"lora_weights":{"title":"LoRA Weights","description":"URL or path to a single LoRA weights file (LoRA-capable variants only).","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number","default":1,"minimum":-1,"maximum":3},"lora_scales":{"title":"LoRA Scales (multiple)","description":"Array of LoRA strengths matching hf_loras.","type":"array","items":{"type":"number"}},"customLoras":{"title":"Custom LoRAs","description":"JSON array of custom LoRA objects. Each entry: {\"modelUrl\": \"https://...\", \"scale\": 1.0}. Resolved server-side; LoRA-capable variants only.","type":"array","items":{"type":"string"}},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"interval":{"title":"Interval","description":"","type":"number"},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux2FlexRequest":{"title":"Flux 2 FlexRequest","description":"Max-quality with up to 10 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Every variant is edit-capable; the per-variant ceiling applies (Flex 10, Pro/Max 8, Dev and Dev + LoRA 4, Klein and Klein 9B + LoRA 5) and extras are dropped. Flex adds 2 credits, Max 1 credit and Dev + LoRA 0.25 credits for each reference image sent, on top of the output price; on those three, each reference is downscaled to at most 1 megapixel (aspect ratio kept) before it is sent, and one we cannot read is refused and refunded. Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only). Pass `custom` with `width` and `height` (each rounded to a multiple of 32) for a free-form size; on Flex and Max that size is billed as the smallest resolution tier holding it (1 MP = 1024 x 1024) and can be at most 4 MP (2048 x 2048).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"Custom LoRA weights, applied by the flux-2-lora (Klein 9B LoRAs) and flux-2-dev-lora (FLUX.2 [dev] LoRAs) variants only and ignored by the others. Each entry is an object: {\"url\": \"<safetensors URL>\", \"scale\": 1.0}. Up to 3 stack, extras are dropped, and scale defaults to 1.0. The URL must be a LoRA you trained here or a Hugging Face / Civitai link. On flux-2-dev-lora, the first request with a LoRA it has not seen yet answers that the LoRA is being prepared (a few minutes; the credits are refunded); retry after that.","type":"array","items":{"type":"string"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora","black-forest-labs/flux-2-dev-lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Accepted for backwards compatibility but ignored: provider content moderation is always on for API requests and cannot be disabled.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux2Klein4bRequest":{"title":"Flux 2 Klein 4BRequest","description":"Very fast generation and editing with up to 5 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Every variant is edit-capable; the per-variant ceiling applies (Flex 10, Pro/Max 8, Dev and Dev + LoRA 4, Klein and Klein 9B + LoRA 5) and extras are dropped. Flex adds 2 credits, Max 1 credit and Dev + LoRA 0.25 credits for each reference image sent, on top of the output price; on those three, each reference is downscaled to at most 1 megapixel (aspect ratio kept) before it is sent, and one we cannot read is refused and refunded. Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only). Pass `custom` with `width` and `height` (each rounded to a multiple of 32) for a free-form size; on Flex and Max that size is billed as the smallest resolution tier holding it (1 MP = 1024 x 1024) and can be at most 4 MP (2048 x 2048).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"Custom LoRA weights, applied by the flux-2-lora (Klein 9B LoRAs) and flux-2-dev-lora (FLUX.2 [dev] LoRAs) variants only and ignored by the others. Each entry is an object: {\"url\": \"<safetensors URL>\", \"scale\": 1.0}. Up to 3 stack, extras are dropped, and scale defaults to 1.0. The URL must be a LoRA you trained here or a Hugging Face / Civitai link. On flux-2-dev-lora, the first request with a LoRA it has not seen yet answers that the LoRA is being prepared (a few minutes; the credits are refunded); retry after that.","type":"array","items":{"type":"string"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora","black-forest-labs/flux-2-dev-lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Accepted for backwards compatibility but ignored: provider content moderation is always on for API requests and cannot be disabled.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux2Klein9bRequest":{"title":"Flux 2 Klein 9BRequest","description":"4-step distilled FLUX.2 [klein] foundation model for flexible control","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Every variant is edit-capable; the per-variant ceiling applies (Flex 10, Pro/Max 8, Dev and Dev + LoRA 4, Klein and Klein 9B + LoRA 5) and extras are dropped. Flex adds 2 credits, Max 1 credit and Dev + LoRA 0.25 credits for each reference image sent, on top of the output price; on those three, each reference is downscaled to at most 1 megapixel (aspect ratio kept) before it is sent, and one we cannot read is refused and refunded. Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only). Pass `custom` with `width` and `height` (each rounded to a multiple of 32) for a free-form size; on Flex and Max that size is billed as the smallest resolution tier holding it (1 MP = 1024 x 1024) and can be at most 4 MP (2048 x 2048).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"Custom LoRA weights, applied by the flux-2-lora (Klein 9B LoRAs) and flux-2-dev-lora (FLUX.2 [dev] LoRAs) variants only and ignored by the others. Each entry is an object: {\"url\": \"<safetensors URL>\", \"scale\": 1.0}. Up to 3 stack, extras are dropped, and scale defaults to 1.0. The URL must be a LoRA you trained here or a Hugging Face / Civitai link. On flux-2-dev-lora, the first request with a LoRA it has not seen yet answers that the LoRA is being prepared (a few minutes; the credits are refunded); retry after that.","type":"array","items":{"type":"string"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora","black-forest-labs/flux-2-dev-lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Accepted for backwards compatibility but ignored: provider content moderation is always on for API requests and cannot be disabled.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux2ProRequest":{"title":"Flux 2 ProRequest","description":"High-quality with up to 8 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Every variant is edit-capable; the per-variant ceiling applies (Flex 10, Pro/Max 8, Dev and Dev + LoRA 4, Klein and Klein 9B + LoRA 5) and extras are dropped. Flex adds 2 credits, Max 1 credit and Dev + LoRA 0.25 credits for each reference image sent, on top of the output price; on those three, each reference is downscaled to at most 1 megapixel (aspect ratio kept) before it is sent, and one we cannot read is refused and refunded. Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only). Pass `custom` with `width` and `height` (each rounded to a multiple of 32) for a free-form size; on Flex and Max that size is billed as the smallest resolution tier holding it (1 MP = 1024 x 1024) and can be at most 4 MP (2048 x 2048).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"Custom LoRA weights, applied by the flux-2-lora (Klein 9B LoRAs) and flux-2-dev-lora (FLUX.2 [dev] LoRAs) variants only and ignored by the others. Each entry is an object: {\"url\": \"<safetensors URL>\", \"scale\": 1.0}. Up to 3 stack, extras are dropped, and scale defaults to 1.0. The URL must be a LoRA you trained here or a Hugging Face / Civitai link. On flux-2-dev-lora, the first request with a LoRA it has not seen yet answers that the LoRA is being prepared (a few minutes; the credits are refunded); retry after that.","type":"array","items":{"type":"string"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora","black-forest-labs/flux-2-dev-lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Accepted for backwards compatibility but ignored: provider content moderation is always on for API requests and cannot be disabled.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux2MaxRequest":{"title":"Flux 2 MaxRequest","description":"The highest fidelity image model from Black Forest Labs","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Every variant is edit-capable; the per-variant ceiling applies (Flex 10, Pro/Max 8, Dev and Dev + LoRA 4, Klein and Klein 9B + LoRA 5) and extras are dropped. Flex adds 2 credits, Max 1 credit and Dev + LoRA 0.25 credits for each reference image sent, on top of the output price; on those three, each reference is downscaled to at most 1 megapixel (aspect ratio kept) before it is sent, and one we cannot read is refused and refunded. Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only). Pass `custom` with `width` and `height` (each rounded to a multiple of 32) for a free-form size; on Flex and Max that size is billed as the smallest resolution tier holding it (1 MP = 1024 x 1024) and can be at most 4 MP (2048 x 2048).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"Custom LoRA weights, applied by the flux-2-lora (Klein 9B LoRAs) and flux-2-dev-lora (FLUX.2 [dev] LoRAs) variants only and ignored by the others. Each entry is an object: {\"url\": \"<safetensors URL>\", \"scale\": 1.0}. Up to 3 stack, extras are dropped, and scale defaults to 1.0. The URL must be a LoRA you trained here or a Hugging Face / Civitai link. On flux-2-dev-lora, the first request with a LoRA it has not seen yet answers that the LoRA is being prepared (a few minutes; the credits are refunded); retry after that.","type":"array","items":{"type":"string"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora","black-forest-labs/flux-2-dev-lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Accepted for backwards compatibility but ignored: provider content moderation is always on for API requests and cannot be disabled.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux2DevRequest":{"title":"Flux 2 DevRequest","description":"Fast quality with up to 4 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Every variant is edit-capable; the per-variant ceiling applies (Flex 10, Pro/Max 8, Dev and Dev + LoRA 4, Klein and Klein 9B + LoRA 5) and extras are dropped. Flex adds 2 credits, Max 1 credit and Dev + LoRA 0.25 credits for each reference image sent, on top of the output price; on those three, each reference is downscaled to at most 1 megapixel (aspect ratio kept) before it is sent, and one we cannot read is refused and refunded. Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only). Pass `custom` with `width` and `height` (each rounded to a multiple of 32) for a free-form size; on Flex and Max that size is billed as the smallest resolution tier holding it (1 MP = 1024 x 1024) and can be at most 4 MP (2048 x 2048).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Not used by Flux 2 Dev. It makes about 1 megapixel at the chosen aspect ratio. For another size, set aspect_ratio to \"custom\" with width and height.","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"Custom LoRA weights, applied by the flux-2-lora (Klein 9B LoRAs) and flux-2-dev-lora (FLUX.2 [dev] LoRAs) variants only and ignored by the others. Each entry is an object: {\"url\": \"<safetensors URL>\", \"scale\": 1.0}. Up to 3 stack, extras are dropped, and scale defaults to 1.0. The URL must be a LoRA you trained here or a Hugging Face / Civitai link. On flux-2-dev-lora, the first request with a LoRA it has not seen yet answers that the LoRA is being prepared (a few minutes; the credits are refunded); retry after that.","type":"array","items":{"type":"string"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora","black-forest-labs/flux-2-dev-lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Accepted for backwards compatibility but ignored: provider content moderation is always on for API requests and cannot be disabled.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux2LoraRequest":{"title":"Flux 2 Klein 9B + LoRARequest","description":"Klein 9B with custom LoRA support and up to 5 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Every variant is edit-capable; the per-variant ceiling applies (Flex 10, Pro/Max 8, Dev and Dev + LoRA 4, Klein and Klein 9B + LoRA 5) and extras are dropped. Flex adds 2 credits, Max 1 credit and Dev + LoRA 0.25 credits for each reference image sent, on top of the output price; on those three, each reference is downscaled to at most 1 megapixel (aspect ratio kept) before it is sent, and one we cannot read is refused and refunded. Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only). Pass `custom` with `width` and `height` (each rounded to a multiple of 32) for a free-form size; on Flex and Max that size is billed as the smallest resolution tier holding it (1 MP = 1024 x 1024) and can be at most 4 MP (2048 x 2048).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"Custom LoRA weights, applied by the flux-2-lora (Klein 9B LoRAs) and flux-2-dev-lora (FLUX.2 [dev] LoRAs) variants only and ignored by the others. Each entry is an object: {\"url\": \"<safetensors URL>\", \"scale\": 1.0}. Up to 3 stack, extras are dropped, and scale defaults to 1.0. The URL must be a LoRA you trained here or a Hugging Face / Civitai link. On flux-2-dev-lora, the first request with a LoRA it has not seen yet answers that the LoRA is being prepared (a few minutes; the credits are refunded); retry after that.","type":"array","items":{"type":"string"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora","black-forest-labs/flux-2-dev-lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Accepted for backwards compatibility but ignored: provider content moderation is always on for API requests and cannot be disabled.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux2DevLoraRequest":{"title":"Flux 2 Dev + LoRARequest","description":"Flux 2 Dev with your own FLUX.2 [dev] LoRAs and up to 4 reference images","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"input_images":{"title":"Input Images (multi-image edit)","description":"Optional array of reference image URLs (up to 10). When supplied, the request becomes a multi-image edit and the model composes / restyles based on the references plus the prompt. Every variant is edit-capable; the per-variant ceiling applies (Flex 10, Pro/Max 8, Dev and Dev + LoRA 4, Klein and Klein 9B + LoRA 5) and extras are dropped. Flex adds 2 credits, Max 1 credit and Dev + LoRA 0.25 credits for each reference image sent, on top of the output price; on those three, each reference is downscaled to at most 1 megapixel (aspect ratio kept) before it is sent, and one we cannot read is refused and refunded. Omit for plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":0},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Pass `match_input_image` to inherit the aspect of the first input image (multi-image edits only). Pass `custom` with `width` and `height` (each rounded to a multiple of 32) for a free-form size; on Flex and Max that size is billed as the smallest resolution tier holding it (1 MP = 1024 x 1024) and can be at most 4 MP (2048 x 2048).","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution in megapixels","type":"string","enum":["0.5 MP","1 MP","2 MP","4 MP"],"default":"1 MP"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive)","type":"number","default":5,"minimum":1,"maximum":5},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Provider-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpg","webp"],"default":"png"},"loras":{"title":"LoRAs","description":"Custom LoRA weights, applied by the flux-2-lora (Klein 9B LoRAs) and flux-2-dev-lora (FLUX.2 [dev] LoRAs) variants only and ignored by the others. Each entry is an object: {\"url\": \"<safetensors URL>\", \"scale\": 1.0}. Up to 3 stack, extras are dropped, and scale defaults to 1.0. The URL must be a LoRA you trained here or a Hugging Face / Civitai link. On flux-2-dev-lora, the first request with a LoRA it has not seen yet answers that the LoRA is being prepared (a few minutes; the credits are refunded); retry after that.","type":"array","items":{"type":"string"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["black-forest-labs/flux-2-flex","black-forest-labs/flux-2-klein-4b","black-forest-labs/flux-2-klein-9b","black-forest-labs/flux-2-pro","black-forest-labs/flux-2-max","black-forest-labs/flux-2-dev","fal-ai/flux-2/lora","black-forest-labs/flux-2-dev-lora"],"default":"black-forest-labs/flux-2-flex"},"images":{"title":"Images","description":"Reference image URLs.","type":"array","items":{"type":"string"}},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":true},"disable_safety_checker":{"title":"Disable Safety Checker","description":"Accepted for backwards compatibility but ignored: provider content moderation is always on for API requests and cannot be disabled.","type":"boolean","default":false},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number","default":80,"minimum":0,"maximum":100},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number","default":28},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5},"acceleration":{"title":"Acceleration","description":"Inference acceleration mode. Higher levels trade fidelity for speed.","type":"string","default":"regular"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux3ImageRequest":{"title":"FLUX 3 ImageRequest","description":"Black Forest Labs FLUX 3: photoreal text-to-image up to 4K, edits with up to 10 reference images, and web-grounded generation for real products and places.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to create, or the edit to apply when image_urls is supplied.","type":"string"},"image_urls":{"title":"Reference Images","description":"Optional, up to 10. With references the prompt edits or combines them; refer to them as image 1, image 2, ... Each must be at least 256x256 and at most 16 MP.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":1},"resolution":{"title":"Resolution","description":"768sq (1 credit), 1k (1 credit), 1.5k (1 credit), 2k (1.5 credits), 4k (8 credits).","type":"string","enum":["768sq","1k","1.5k","2k","4k"],"default":"1k"},"aspect_ratio":{"title":"Aspect Ratio","description":"\"auto\" picks the ratio from the prompt and the first reference image.","type":"string","enum":["auto","21:9","2:1","16:9","3:2","7:5","4:3","5:4","1:1","4:5","3:4","5:7","2:3","9:16","1:2","9:21"],"default":"auto"},"grounding":{"title":"Web Grounding","description":"Let the model research the prompt with web and image search before generating (real products, places, current events). On by default.","type":"boolean","default":true},"output_format":{"title":"Output Format","description":"Image format.","type":"string","enum":["jpg","png","webp"],"default":"jpg"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux3ImageKleinRequest":{"title":"FLUX 3 Image KleinRequest","description":"FLUX 3 Image Klein: fast open-weights FLUX 3 for text-to-image and edits with up to 10 reference images, unlimited on Relax.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to generate, or the edit to make to the reference images","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"\"auto\" matches the first reference image when editing, else 1:1","type":"string","enum":["auto","1:1","4:3","3:4","3:2","2:3","16:9","9:16"],"default":"auto"},"resolution":{"title":"Resolution","description":"1k (about 1 megapixel, 0.5 credits per image) or 2k (about 4 megapixels, 1 credits per image)","type":"string","enum":["1k","2k"],"default":"1k"},"num_images":{"title":"Number of Images","description":"Images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"reference_images":{"title":"Reference Images","description":"Up to 10 image URLs to edit or compose from; refer to them as image 1, image 2, ...","type":"array","items":{"type":"string"},"maxItems":10},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Expand the prompt into the full scene caption the model is trained on (on by default). Turn it off only when you send a complete caption yourself.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647},"output_format":{"title":"Output Format","description":"jpeg, png or webp","type":"string","enum":["jpeg","png","webp"],"default":"jpeg"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux3VideoRequest":{"title":"FLUX 3 VideoRequest","description":"FLUX 3 Video generation. Text-to-video or image-to-video up to 20 seconds with synchronized audio, or extend and transform an existing clip.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image":{"title":"Start Frame URL","description":"Optional starting image for image-to-video. Billed at the text-to-video rate and supports the full 5 to 20 second range. Cannot be combined with video, and aspect_ratio is ignored, since the image defines the frame.","type":"string","format":"uri"},"last_frame_image":{"title":"End Frame URL","description":"Optional ending image. Requires image. The model generates the transition between the two frames.","type":"string","format":"uri"},"video":{"title":"Source Video URL","description":"Optional public HTTPS URL of a clip to extend or transform. When set, the job runs in video-to-video mode (higher credit rate, duration capped at 15 seconds) and aspect_ratio is ignored, since the source clip defines the frame. Cannot be combined with image or last_frame_image.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Video output resolution","type":"string","enum":["720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio. Text-to-video only. Ignored when a start frame or source video is supplied.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4","21:9"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in seconds. 5 to 20 for text-to-video; 5 to 15 when a source video is supplied.","type":"integer","default":5,"minimum":5,"maximum":20},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized audio with the video","type":"boolean","default":true},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"FluxEditRequest":{"title":"Flux Edit (Kontext)Request","description":"Black Forest Labs FLUX.1 Kontext for text-driven image editing. Dev (open-weight), Pro (state-of-the-art), and Max (premium typography).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"input_image":{"title":"Input Image","description":"Legacy name for input_image_1. Use input_image_1.","type":"string","format":"uri"},"input_image_1":{"title":"Input Image 1","description":"Image to edit (URL).","type":"string"},"input_image_2":{"title":"Input Image 2","description":"Optional second reference image URL. Biases the edit with an additional context image. Not supported on the \"dev\" model.","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","match_input_image"],"default":"match_input_image"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","webp"],"default":"png"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"integer","default":2,"minimum":0,"maximum":6},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["dev","pro","max"],"default":"dev"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"integer","default":30,"minimum":1,"maximum":50},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":2.5,"minimum":0,"maximum":10},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"integer","default":100,"minimum":1,"maximum":100},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","input_image_1"]},"FluxDevRequest":{"title":"Flux DevRequest","description":"High-quality development model with configurable steps and guidance. For LoRAs, use Flux Dev Multi LoRA.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio.","type":"string","enum":["1:1","16:9","21:9","3:2","2:3","4:5","5:4","3:4","4:3","9:16","9:21"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"How many images to generate per call.","type":"number","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"input_image":{"title":"Input Image","description":"Reference image URL.","type":"string","format":"uri"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"FluxKreaDevRequest":{"title":"Flux Krea DevRequest","description":"Photorealistic generation that avoids the oversaturated AI look. Supports a single LoRA via lora_weights.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio.","type":"string","enum":["1:1","16:9","21:9","3:2","2:3","4:5","5:4","3:4","4:3","9:16","9:21"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"How many images to generate per call.","type":"number","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"lora_weights":{"title":"LoRA Weights","description":"URL or path to a single LoRA weights file (LoRA-capable variants only).","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number","default":1,"minimum":-1,"maximum":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"input_image":{"title":"Input Image","description":"Reference image URL.","type":"string","format":"uri"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"FluxDevMultiLoraRequest":{"title":"Flux Dev Multi LoRARequest","description":"Flux Dev with multiple stacked custom LoRAs for complex style combinations.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio.","type":"string","enum":["1:1","16:9","21:9","3:2","2:3","4:5","5:4","3:4","4:3","9:16","9:21"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"How many images to generate per call.","type":"number","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"hf_loras":{"title":"HuggingFace LoRAs (multiple)","description":"Array of HuggingFace LoRA paths/URLs for stacked LoRA loading.","type":"array","items":{"type":"string"}},"lora_scales":{"title":"LoRA Scales (multiple)","description":"Array of LoRA strengths matching hf_loras.","type":"array","items":{"type":"number"}},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"input_image":{"title":"Input Image","description":"Reference image URL.","type":"string","format":"uri"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux11ProRequest":{"title":"Flux 1.1 ProRequest","description":"Latest pro model with enhanced quality and strong prompt adherence.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio.","type":"string","enum":["1:1","16:9","2:3","3:2","4:5","5:4","9:16","3:4","4:3"],"default":"1:1"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive). Pro variants only.","type":"number","default":5,"minimum":1,"maximum":5},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"input_image":{"title":"Input Image","description":"Reference image URL.","type":"string","format":"uri"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"number","default":1},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Flux11ProUltraRequest":{"title":"Flux 1.1 Pro UltraRequest","description":"Highest quality Flux model with raw mode for natural-looking images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio.","type":"string","enum":["21:9","16:9","3:2","4:3","5:4","1:1","4:5","3:4","2:3","9:16","9:21"],"default":"1:1"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"input_image":{"title":"Input Image","description":"Reference image URL.","type":"string","format":"uri"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"number","default":1},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"FluxKontextProRequest":{"title":"Flux Kontext ProRequest","description":"Advanced model with state-of-the-art performance for both generation and editing.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio. Use \"custom\" with width/height for free-form sizes. Kontext variants given an input_image keep that photo's shape unless you set a ratio (\"match_input_image\").","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"input_image":{"title":"Input Image","description":"Image URL to edit (Kontext variants only). Describe the change in the prompt.","type":"string","format":"uri"},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"number","default":1},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"FluxKontextMaxRequest":{"title":"Flux Kontext MaxRequest","description":"Premium model with maximum performance and improved typography for generation and editing.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio. Use \"custom\" with width/height for free-form sizes. Kontext variants given an input_image keep that photo's shape unless you set a ratio (\"match_input_image\").","type":"string","enum":["1:1","16:9","9:16","21:9","9:21","3:2","2:3","4:5","5:4","3:4","4:3","custom","match_input_image"],"default":"1:1"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"output_format":{"title":"Output Format","description":"Image output format","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Output image quality (0–100, formats that support it).","type":"number","default":80,"minimum":0,"maximum":100},"input_image":{"title":"Input Image","description":"Image URL to edit (Kontext variants only). Describe the change in the prompt.","type":"string","format":"uri"},"model":{"title":"Model","description":"Model variant to use.","type":"string","default":"black-forest-labs/flux-dev"},"guidance_scale":{"title":"Guidance Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"guidance":{"title":"Guidance","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number"},"num_inference_steps":{"title":"Num Inference Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"steps":{"title":"Steps","description":"Number of denoising steps. More steps = higher fidelity, slower.","type":"number"},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"number","default":1},"hf_lora":{"title":"Hf Lora","description":"HuggingFace LoRA path to apply (Replicate-style).","type":"string"},"hf_loras":{"title":"Hf Loras","description":"","type":"array","items":{"type":"string"}},"lora_scale":{"title":"Lora Scale","description":"Strength of the LoRA effect (typical 0–2).","type":"number"},"lora_scales":{"title":"Lora Scales","description":"","type":"array","items":{"type":"string"}},"lora_weights":{"title":"Lora Weights","description":"URL or HuggingFace path to a LoRA weights file.","type":"string"},"customLoras":{"title":"Custom Loras","description":"","type":"array","items":{"type":"string"}},"megapixels":{"title":"Megapixels","description":"Output size in megapixels.","type":"string"},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean"},"prompt_strength":{"title":"Prompt Strength","description":"How strongly the prompt overrides the input image (image-to-image).","type":"number"},"safety_tolerance":{"title":"Safety Tolerance","description":"Content filter strictness (1=strict, 5=permissive).","type":"number","default":5},"interval":{"title":"Interval","description":"","type":"number"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Enhance the prompt for better results.","type":"boolean","default":false},"raw":{"title":"Raw","description":"","type":"boolean","default":false},"width":{"title":"Width","description":"Output width in pixels.","type":"number"},"height":{"title":"Height","description":"Output height in pixels.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"NanoBananaProRequest":{"title":"Google Nano Banana ProRequest","description":"SOTA with accurate typography and reasoning","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["1K","2K","4K"],"default":"2K"},"reference_images":{"title":"Reference images","description":"HTTPS URLs of one or more reference images for style, composition, or guidance. Multiple images supported.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["pro","nb2_1","pro_fal_v2","lite"],"default":"nb2_1"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","jpeg","webp"],"default":"png"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"NanoBanana2Request":{"title":"Google Nano Banana 2Request","description":"Next-generation SOTA model with stronger consistency","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["1K","2K","4K"],"default":"2K"},"reference_images":{"title":"Reference images","description":"HTTPS URLs of one or more reference images for style, composition, or guidance. Multiple images supported.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["pro","nb2_1","pro_fal_v2","lite"],"default":"nb2_1"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","jpeg","webp"],"default":"png"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"NanoBanana21Request":{"title":"Google Nano Banana 2.1Request","description":"Sharper layouts and subject consistency, with more precise edits","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["1K","2K","4K"],"default":"2K"},"reference_images":{"title":"Reference images","description":"HTTPS URLs of one or more reference images for style, composition, or guidance. Multiple images supported.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["pro","nb2_1","pro_fal_v2","lite"],"default":"nb2_1"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","jpeg","webp"],"default":"png"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"NanoBanana2LiteRequest":{"title":"Google Nano Banana 2 LiteRequest","description":"Faster, lower-cost Nano Banana 2 at fixed 1K resolution","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"default":"1:1"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["1K","2K","4K"],"default":"2K"},"reference_images":{"title":"Reference images","description":"HTTPS URLs of one or more reference images for style, composition, or guidance. Multiple images supported.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["pro","nb2_1","pro_fal_v2","lite"],"default":"nb2_1"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","jpeg","webp"],"default":"png"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"GoogleGeminiOmniFlashRequest":{"title":"Gemini Omni Flash 1.2Request","description":"Google Gemini Omni Flash 1.2: text, frames, references, or a source video into 3–15s clips with native audio at 360p to 4K. First/last frame, reference images and videos, edit or extend a clip.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video (and any audio) to generate","type":"string"},"image":{"title":"Start Frame URL","description":"First frame for image-to-video. Cannot be combined with reference media or a source video.","type":"string","format":"uri"},"end_image":{"title":"End Frame URL","description":"Last frame. The model interpolates from the start frame to this still. Requires image.","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 7 reference images for subject/style guidance. May be sent with reference_videos, or with a source video being edited in place (bring in a product, outfit or character); not with frames.","type":"array","items":{"type":"string","format":"uri"},"maxItems":7},"reference_videos":{"title":"Reference Videos","description":"Up to 3 short reference clips for motion/style guidance. May be sent with reference_images.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"video":{"title":"Source Video URL","description":"Clip to edit in place or extend (see video_mode). Output resolution follows the resolution preset; aspect ratio follows the source.","type":"string","format":"uri"},"video_mode":{"title":"Video Mode","description":"What to do with the source video: \"edit\" changes it in place (source 3–15s, output keeps its length), \"extend\" adds duration seconds to it (source 1–30s).","type":"string","enum":["edit","extend"],"default":"edit"},"source_duration":{"title":"Source Duration","description":"Length of the source video in seconds (1–30). Required to extend; used to bill an edit (an undeclared edit is billed at 15s).","type":"integer","minimum":1,"maximum":30},"resolution":{"title":"Resolution","description":"Output tier. 360p is a fast draft; 1080p and 4K are upscaled by the model. Cost per second: 360p 1, 720p 3, 1080p 4.5, 4K 9 credits; with a source video (edit or extend) 360p 1.25, 720p 3.5, 1080p 5.25, 4K 10.5 credits per billed second.","type":"string","enum":["360p","720p","1080p","4K"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio (ignored when a source video is provided)","type":"string","enum":["16:9","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in seconds: 3–15 for text-to-video, 3–10 with frames or references. For an extension this is how many seconds are added (3–10); ignored for an in-place edit.","type":"integer","default":8,"minimum":3,"maximum":15},"output_format":{"title":"Output Format","description":"Video container","type":"string","enum":["mp4","webm","mov"],"default":"mp4"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"video_id":{"title":"Video ID","description":"The videoId returned with a previous Omni Flash result. Edits that clip with a new prompt. Not combined with other media; billed like an edit (source_duration if given, else 15s).","type":"string"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"GoogleNanoBananaRequest":{"title":"Nano Banana EditRequest","description":"Google Nano Banana image editing. Multi-image fusion + edit instruction with Nano Banana Pro, 2.1 and 2 tiers at 1K/2K/4K.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image_input":{"title":"Image Input","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14},"modelTier":{"title":"Model Tier","description":"Quality / cost tier.","type":"string","enum":["pro","nb2_1","pro_fal_v2","lite"],"default":"pro"},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["1K","2K","4K"],"default":"2K"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9","2:3","3:2","4:5","5:4","match_input_image"],"default":"1:1"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpg","webp"],"default":"png"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"GptImage25Request":{"title":"GPT Image 2.6Request","description":"OpenAI GPT Image 2.6 in two variants: Sunburst for premium reference-faithful renders and edits, Flare for the same quality tier at half the latency. Up to 4K output, optional reference images and masks.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate, or the edit instruction when image_urls is supplied","type":"string"},"model":{"title":"Model","description":"GPT Image 2.6 variant. \"sunburst\" is the premium model (strongest reference preservation and layout handling); \"flare\" is the fast model at roughly half the latency.","type":"string","enum":["sunburst","flare"],"default":"sunburst"},"image_urls":{"title":"Reference Images","description":"Optional reference image URLs (up to 8). With references the prompt is treated as an edit or composition instruction and each image costs 0.5 credits more; without them it is plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":8,"minItems":1},"mask_url":{"title":"Mask URL","description":"Optional inpainting mask, used together with image_urls. White marks the area to edit, black is preserved.","type":"string","format":"uri"},"image_size":{"title":"Image Size","description":"Output image dimensions","type":"string","enum":["1024x768","1024x1024","1024x1536","1920x1088","2560x1440","3840x2160"],"default":"1024x1024"},"quality":{"title":"Quality","description":"Generation quality tier. 4K outputs double the credit cost.","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"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"GrokR2vRequest":{"title":"Grok R2VRequest","description":"xAI Grok Imagine reference-to-video via Replicate. 1 to 7 reference images plus prompt for 1 to 10 second clips at 480p or 720p.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"reference_urls":{"title":"Reference images","description":"1–7 image URLs for scene/subject consistency","type":"array","items":{"type":"string","format":"uri"},"maxItems":7,"minItems":1},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["720p","480p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","4:3","1:1","9:16","3:4","3:2","2:3"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (1–10)","type":"integer","default":8,"minimum":1,"maximum":10},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","reference_urls"]},"GrokVideoExtendRequest":{"title":"Grok Video ExtendRequest","description":"xAI Grok Imagine video extension. Continue an existing MP4 with a prompt-directed extension (2 to 10 seconds).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What should happen next after the last frame","type":"string"},"video_url":{"title":"Source video","description":"MP4 or MOV URL, 2 to 15 seconds (a clip right at 15s is too long). We read its length before charging: 1.5 credits per second of OUTPUT, the source plus the extension, rounded up to a whole second (a clip running up to a tenth of a second past one, as real clips do, counts as that second). A clip we cannot read (WebM, MKV, fragmented MP4) is refused, uncharged.","type":"string","format":"uri"},"extension_duration":{"title":"Extension duration","description":"Seconds of new footage to generate (2 to 10). The output is the source plus the extension, billed at 1.5 credits per second: a 5 second clip extended by 6 is 16.5 credits.","type":"number","default":6,"minimum":2,"maximum":10},"video_duration":{"title":"Video Duration","description":"Ignored: the source length is measured on our side.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","video_url"]},"Happyhorse10R2vRequest":{"title":"Happy Horse ReferenceRequest","description":"Alibaba Happy Horse reference-to-video (1.0 or 1.1): multi-reference image input that preserves subject characters, driven by a text prompt. 720p / 1080p, 3-15 second clips. Version 1.1 runs at a lower per-second credit rate.","type":"object","additionalProperties":false,"properties":{"version":{"title":"Model Version","description":"Happy Horse model version. 1.1 (the default) is the newer engine at a lower per-second credit rate (720p: 3/s, 1080p: 4/s vs 1.0 at 4/s and 6/s).","type":"string","enum":["1.0","1.1"],"default":"1.1"},"prompt":{"title":"Prompt","description":"Text description of the video. Use character1 / character2 / … tokens to bind subjects to references.","type":"string"},"reference_urls":{"title":"Reference URLs","description":"Reference image URLs (1-9).","type":"array","items":{"type":"string","format":"uri"},"maxItems":9,"minItems":1},"duration":{"title":"Duration","description":"Video duration in seconds (3-15).","type":"integer","default":5,"minimum":3,"maximum":15},"resolution":{"title":"Resolution","description":"Output resolution (case-insensitive. \"720P\"/\"1080P\" are normalized).","type":"string","enum":["720p","1080p"],"default":"720p"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility (0–2147483647).","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","reference_urls"]},"Happyhorse10T2vRequest":{"title":"Happy Horse 1.0 Text-to-VideoRequest","description":"Text-to-video with 720p/1080p output and 3-15 second durations","type":"object","additionalProperties":false,"properties":{"version":{"title":"Model Version","description":"Happy Horse model version. 1.1 is the newer engine at a lower per-second credit rate (720p: 3/s, 1080p: 4/s vs 1.0 at 4/s and 6/s).","type":"string","enum":["1.0","1.1"],"default":"1.0"},"prompt":{"title":"Prompt","description":"Text description of the video to generate (max 5000 characters)","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video (max 500 characters)","type":"string"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["text-to-video"],"default":"text-to-video"},"resolution":{"title":"Resolution","description":"Video resolution tier","type":"string","enum":["720p","1080p"],"default":"720p"},"duration":{"title":"Duration","description":"Video duration in seconds (3-15)","type":"integer","default":5,"minimum":3,"maximum":15},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string"},"enable_prompt_expansion":{"title":"Enable Prompt Expansion","description":"Enable smart prompt rewriting on the provider side. Expands short prompts for richer detail.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Happyhorse10I2vRequest":{"title":"Happy Horse 1.0 Image-to-VideoRequest","description":"Image-to-video animation with 720p/1080p output and 3-15 second durations","type":"object","additionalProperties":false,"properties":{"version":{"title":"Model Version","description":"Happy Horse model version. 1.1 is the newer engine at a lower per-second credit rate (720p: 3/s, 1080p: 4/s vs 1.0 at 4/s and 6/s).","type":"string","enum":["1.0","1.1"],"default":"1.0"},"prompt":{"title":"Prompt","description":"Text description of the video to generate (max 5000 characters)","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video (max 500 characters)","type":"string"},"image_url":{"title":"Image URL","description":"First-frame image for image-to-video mode","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["image-to-video"],"default":"image-to-video"},"resolution":{"title":"Resolution","description":"Video resolution tier","type":"string","enum":["720p","1080p"],"default":"720p"},"duration":{"title":"Duration","description":"Video duration in seconds (3-15)","type":"integer","default":5,"minimum":3,"maximum":15},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string"},"enable_prompt_expansion":{"title":"Enable Prompt Expansion","description":"Enable smart prompt rewriting on the provider side. Expands short prompts for richer detail.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Happyhorse10VideoEditRequest":{"title":"Happy Horse Video EditRequest","description":"Alibaba Happy Horse 1.0 video edit: apply style transfer or local replacement to a source video using text prompts and optional reference images. 720p / 1080p, 3-15 second output.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Optional. The server measures the clip and bills its real length. A value you send is ignored.","type":"number","minimum":3,"maximum":60},"reference_urls":{"title":"Reference Urls","description":"Optional reference image URLs to bias style or subject.","type":"array","items":{"type":"string","format":"uri"},"maxItems":5},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["720p","1080p"],"default":"720p"},"audio_setting":{"title":"Audio Setting","description":"Audio: \"auto\" lets the model decide the sound, \"origin\" keeps the source video's audio.","type":"string","enum":["auto","origin"],"default":"auto"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","video_url"]},"HeygenAvatarRequest":{"title":"Heygen AvatarRequest","description":"HeyGen Avatar IV. Animate a portrait with a script and a voice, or with your own audio track, on an optional background. Costs 2 credits per second of output video: an estimate is held at submission and settled to the actual duration when the job completes.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image","description":"URL of the portrait image to animate","type":"string","format":"uri"},"prompt":{"title":"Script","description":"Text the avatar will speak. Required unless audio_url is provided.","type":"string"},"voice":{"title":"Voice","description":"Name of the voice to use for the avatar. Ignored when audio_url is provided.","type":"string","enum":["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"},"backgroundType":{"title":"Background Type","description":"Background source: \"none\" keeps the photo's background; \"color\" or \"image\" replaces it via backgroundValue.","type":"string","enum":["none","color","image"],"default":"none"},"backgroundValue":{"title":"Background Value","description":"Hex color for type=color, image URL for type=image. Ignored when type=none.","type":"string"},"audio_url":{"title":"Audio URL","description":"URL of an audio file for lip-sync. When provided, overrides prompt and voice. Billing holds a 60-second deposit (120 credits) up front, then settles to 2 credits per second of the actual output video on completion. The difference is refunded automatically.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution preset","type":"string","enum":["360p","480p","540p","720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output video aspect ratio: 16:9 landscape, 9:16 portrait, or 1:1 square","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image"]},"HeygenVideoRequest":{"title":"HeyGen Video 1.0Request","description":"HeyGen Video 1.0 via Runware. Text-to-video or image-to-video with sound built in: spoken dialogue, ambience and effects. 5 to 30 seconds, 480p to 2K.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["480p","768p","1080p","2k"],"default":"768p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"default":"16:9"},"duration":{"title":"Duration","description":"Output duration in seconds.","type":"integer","default":5,"minimum":5,"maximum":30},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":4294967295},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Ideogram45Request":{"title":"Ideogram 4.5Request","description":"Ideogram 4.5: best-in-class text rendering, posters, logos and photoreal images, plus natural-language edits and Precise Edit that changes only what you ask.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to create, or the edit to make when image_urls is supplied. Put any text you want rendered in quotes.","type":"string"},"image_urls":{"title":"Source Images","description":"Optional, up to 5. Omit for text-to-image. With images the prompt is an edit or composition instruction. With precise: true the first image is edited and the rest guide the edit (up to 4).","type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"minItems":1},"precise":{"title":"Precise Edit","description":"Edits only: keep everything the prompt does not mention exactly as it is (framing, layout, other text). Uses Ideogram 4.5 Precise Edit.","type":"boolean","default":false},"mask_url":{"title":"Mask URL","description":"Optional black-and-white mask for edits, matching the first image's size. BLACK pixels are edited, WHITE pixels are preserved (Ideogram's convention).","type":"string","format":"uri"},"quality":{"title":"Quality","description":"very_low (0.5 credits, edits only; text-to-image runs it as low), low (1 credit), medium (2 credits), high (6 credits). Per image.","type":"string","enum":["very_low","low","medium","high"],"default":"medium"},"resolution":{"title":"Resolution","description":"Text-to-image output size. \"auto\" lets Ideogram pick the aspect ratio from the prompt.","type":"string","enum":["auto","2048x2048","1440x2880","2880x1440","1664x2496","2496x1664","1792x2240","2240x1792","1440x2560","2560x1440","1600x2560","2560x1600","1728x2304","2304x1728","1296x3168","3168x1296","1152x2944","2944x1152","1248x3328","3328x1248","1280x3072","3072x1280","1024x3072","3072x1024","1024x1024","896x1120","1120x896","864x1152","1152x864","832x1248","1248x832","800x1280","1280x800","720x1280","1280x720","720x1440","1440x720"],"default":"auto"},"edit_size":{"title":"Edit Size","description":"Edit output size (non-precise edits without a mask). \"source\" keeps the first image's proportions.","type":"string","enum":["source","1024x1024","1280x896","896x1280","1344x768","768x1344","1536x640","640x1536"],"default":"source"},"num_images":{"title":"Number of Images","description":"Images to generate (1-4). Billed per image.","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Optional seed for reproducible results.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Ideogram46Request":{"title":"Ideogram 4.6Request","description":"Ideogram 4.6: designs, posters and photoreal images up to native 4K, exact brand colors, see-through backgrounds, edits from up to 5 images, and Precise Edit that changes only what you ask.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to create, or the edit to make when image_urls is supplied. Put any text you want rendered in quotes. Hex codes like #2E4A33 set exact colors.","type":"string"},"image_urls":{"title":"Source Images","description":"Optional, up to 5. Omit for text-to-image. With images the prompt is an edit instruction: the first image is edited and the rest guide the edit. Precise Edit uses up to 4 guides (3 with a mask).","type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"minItems":1},"precise":{"title":"Precise Edit","description":"Edits only: change one thing and keep everything else exactly as it is. The result comes back at the first image's own size, up to the chosen resolution.","type":"boolean","default":false},"mask_url":{"title":"Mask URL","description":"Optional black-and-white mask for the first image. WHITE pixels are edited, BLACK pixels are kept. A masked edit always runs as a Precise Edit. Note: this is the reverse of the Ideogram 4.5 mask.","type":"string","format":"uri"},"quality":{"title":"Quality","description":"very_low (draft, 2K only), low, medium or high. Higher quality costs more per image.","type":"string","enum":["very_low","low","medium","high"],"default":"medium"},"resolution":{"title":"Resolution","description":"2K (up to 2048x2048) or 4K (up to 4096x4096). 4K costs more. With precise: true, a first image larger than this is scaled down to fit, and 4K needs a first image larger than 2K.","type":"string","enum":["2K","4K"],"default":"2K"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output shape. auto lets Ideogram pick from the prompt (square at 4K), or matches the first image on an edit. Ignored for Precise Edit.","type":"string","enum":["auto","1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","2:1","1:2","3:1","1:3"],"default":"auto"},"transparent_background":{"title":"Transparent Background","description":"Return a PNG with a see-through background. Not available for Precise Edit.","type":"boolean","default":false},"magic_prompt":{"title":"Magic Prompt","description":"Text-to-image only. Ideogram's own prompt rewrite: auto (decides from your prompt), on or off.","type":"string","enum":["auto","on","off"],"default":"auto"},"num_images":{"title":"Number of Images","description":"Images to generate (1-4). Billed per image.","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Optional seed for reproducible results.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"ImageToImageFluxRequest":{"title":"Image to ImageRequest","description":"Image to Image. Give a photo and say what to change. Without a LoRA it runs a Seedream 5.5 edit that keeps the person and scene and changes only what you ask. With hf_lora it runs FLUX dev image to image, which repaints the whole picture.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to change, e.g. \"Change her jacket to red leather. Keep everything else the same.\"","type":"string"},"image":{"title":"Image","description":"The photo to edit. Without a LoRA it runs a Seedream 5.5 edit that keeps the person and scene and keeps the photo's shape at about 1K.","type":"string","format":"uri"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"guidance_scale":{"title":"Guidance Scale","description":"Used only on a FLUX run (with hf_lora). The Seedream 5.5 edit ignores it.","type":"number","default":3.5},"num_outputs":{"title":"Num Outputs","description":"Number of output images.","type":"integer","default":1,"minimum":1,"maximum":4},"aspect_ratio":{"title":"Aspect Ratio","description":"Used only on a FLUX run (with hf_lora). The Seedream 5.5 edit ignores it.","type":"string","default":"1:1"},"output_format":{"title":"Output Format","description":"Used only on a FLUX run (with hf_lora). The Seedream 5.5 edit ignores it.","type":"string","default":"png"},"output_quality":{"title":"Output Quality","description":"Used only on a FLUX run (with hf_lora). The Seedream 5.5 edit ignores it.","type":"integer","default":100,"minimum":1,"maximum":100},"prompt_strength":{"title":"Prompt Strength","description":"How much of the photo to repaint, 0 to 1. Used only on a FLUX run (with hf_lora). The Seedream 5.5 edit ignores it.","type":"number","default":0.8,"minimum":0,"maximum":1},"num_inference_steps":{"title":"Num Inference Steps","description":"Used only on a FLUX run (with hf_lora). The Seedream 5.5 edit ignores it.","type":"integer","default":28,"minimum":1,"maximum":50},"hf_lora":{"title":"Hf Lora","description":"LoRA weights URL, or two separated by a comma. Setting one runs FLUX dev image to image, which repaints the whole picture, instead of the Seedream 5.5 edit.","type":"string"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Kling40Request":{"title":"Kling 4.0Request","description":"Kling Video 4.0. Up to 30 seconds at 1080p with native audio and dialogue: text, start/end frames, reference images and videos, or edit an existing clip. Flash tier: faster and cheaper at 720p, up to 20 seconds.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What happens in the clip. Timed beats, camera moves and quoted dialogue all work. Refer to inputs as <<<image_1>>> (frames first, then reference images) and <<<video_1>>> (source video first, then reference videos).","type":"string"},"tier":{"title":"Tier","description":"standard = Kling 4.0 (up to 30 s, 720p, 1080p or 4k). flash = Kling 4.0 Flash: faster and cheaper, 720p only, up to 20 s, start frame only (no end frame).","type":"string","enum":["standard","flash"],"default":"standard"},"image":{"title":"Start Frame URL","description":"Optional first frame. The image sets the aspect ratio.","type":"string","format":"uri"},"last_frame_image":{"title":"End Frame URL","description":"Optional last frame. Requires image. Not on flash.","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 10 images (frames included) for cast, products, locations or a storyboard.","type":"array","items":{"type":"string"},"maxItems":10},"video":{"title":"Source Video URL","description":"A clip to edit with the prompt (swap a product, add or remove a subject, restyle). Set duration to the clip length; billed at the video-input rate.","type":"string","format":"uri"},"reference_videos":{"title":"Reference Videos","description":"Up to 5 clips (30 s total) whose motion, camera path or structure to carry over. Billed at the video-input rate.","type":"array","items":{"type":"string"},"maxItems":5},"resolution":{"title":"Resolution","description":"Output resolution: 720p, 1080p or 4k. Defaults to 1080p (Flash: 720p, its only option).","type":"string","enum":["720p","1080p","4k"],"default":"1080p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output shape for text-to-video and reference images. A start frame or source clip sets its own shape.","type":"string","enum":["16:9","9:16","1:1","21:9"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in seconds (3-30, flash 3-20). With video, the source clip length.","type":"integer","default":5,"minimum":3,"maximum":30},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"KlingAvatarRequest":{"title":"Kling AvatarRequest","description":"Kling Avatar V2: turn a portrait plus an audio file into a talking avatar with audio-driven lip sync. Works on realistic humans, stylized characters, cartoons, and animals.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Avatar Image URL","description":"URL of the avatar reference image (.jpg/.jpeg/.png, ≤10MB, ≥300px, aspect ratio 1:2.5 to 2.5:1).","type":"string","format":"uri"},"audio":{"title":"Audio URL","description":"URL of the audio file that drives the avatar (.mp3/.wav/.m4a/.aac, ≤5MB). Determines output duration, and the charge: billed per second of this audio, measured server-side before the charge. A file that cannot be downloaded or measured, is not mp3/wav/m4a/aac, or is above 48 kHz or more than 2 channels, is refused with a 400 and not charged.","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional text prompt to refine actions, emotions, and camera movement. Complements the audio.","type":"string"},"mode":{"title":"Mode","description":"Generation mode. \"std\" is the fast/standard tier at 2 credits per second of audio; \"pro\" yields sharper facial detail and smoother motion at 3.5 credits per second.","type":"string","enum":["std","pro"],"default":"std"},"audioDurationSeconds":{"title":"Audio Duration Seconds","description":"","type":"number","minimum":0},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image"]},"KlingImageRequest":{"title":"Kling ImageRequest","description":"Kling Image V3. High-quality text-to-image with flexible aspect ratios.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string"},"resolution":{"title":"Resolution","description":"Image generation resolution","type":"string","enum":["1K","2K"],"default":"1K"},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio of the generated image","type":"string","enum":["16:9","9:16","1:1","4:3","3:4","3:2","2:3","21:9"],"default":"1:1"},"num_images":{"title":"Number of Outputs","description":"Number of images to generate (1-9)","type":"integer","default":1,"minimum":1,"maximum":9},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpeg","webp"],"default":"png"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"KlingImage4Request":{"title":"Kling Image 4Request","description":"Kling IMAGE 4.0: native 2K, 4K and 8K images with sharp text in seven languages, consistent series of up to 10 images, and full product pages or website designs from one prompt. Up to 10 reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to make. Name reference images as <<<image_1>>>, <<<image_2>>> and so on. Up to 50,000 ASCII characters (166,000 for product pages and websites); non-ASCII characters count more.","type":"string"},"mode":{"title":"Mode","description":"image: one or more images. series: 2-10 planned images that keep the same subjects and style. ecommerce: a full product detail page from your product photo (image_urls required). webpage: a website design. Pages come back as one tall image.","type":"string","enum":["image","series","ecommerce","webpage"],"default":"image"},"image_urls":{"title":"Reference Images","description":"Optional reference image URLs (1 to 10, at most 3 for ecommerce/webpage). Each at least 300 px, aspect between 1:2.5 and 2.5:1.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":1},"resolution":{"title":"Resolution","description":"2K, 4K or 8K for image and series; 1K or 2K for ecommerce and webpage.","type":"string","enum":["1K","2K","4K","8K"],"default":"2K"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output shape for image and series. auto matches the first reference image, or lets the model pick from the prompt. Ignored for pages.","type":"string","enum":["auto","1:1","3:2","2:3","4:3","3:4","16:9","9:16","21:9"],"default":"auto"},"num_outputs":{"title":"Number of Outputs","description":"Image mode only: number of separate images (1-4).","type":"integer","default":1,"minimum":1,"maximum":4},"series_length":{"title":"Series Length","description":"Series mode only: number of images in the set (2-10). Charged per image.","type":"integer","default":4,"minimum":2,"maximum":10},"page_length":{"title":"Page Length","description":"Ecommerce mode only: short (2-5 sections), medium (6-10) or long (11-18).","type":"string","enum":["short","medium","long"],"default":"medium"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"KlingImageEditRequest":{"title":"Kling Image EditRequest","description":"Kling Image V3 image-to-image editing with a text instruction.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["1K","2K"],"default":"1K"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4","3:2","2:3","21:9"],"default":"1:1"},"num_images":{"title":"Num Images","description":"Number of output images.","type":"integer","default":1,"minimum":1,"maximum":9},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpeg","webp"],"default":"png"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","image_url"]},"KlingMotionControlRequest":{"title":"Kling Motion Control v3 StandardRequest","description":"Kling Video v3 Standard motion control (720p)","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},"video_duration":{"title":"Video Duration","description":"Length of the reference video in seconds, rounded up when billed. Up to 30 with orientation \"video\", 10 with \"image\". A number shorter than the real clip is refused.","type":"number","minimum":0},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["video","character_image"]},"KlingMotionControlProRequest":{"title":"Kling Motion Control v3 ProRequest","description":"Kling Video v3 Pro motion control (1080p)","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},"video_duration":{"title":"Video Duration","description":"Length of the reference video in seconds, rounded up when billed. Up to 30 with orientation \"video\", 10 with \"image\". A number shorter than the real clip is refused.","type":"number","minimum":0},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["video","character_image"]},"KlingReferenceToVideoRequest":{"title":"Kling Reference to VideoRequest","description":"Kling reference-driven video generation. Image or video references, Standard or Pro tier.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string","default":""},"multi_prompt":{"title":"Multi Prompt","description":"Per-segment prompt list for multi-clip video generation.","type":"array","items":{"type":"string"},"maxItems":6},"reference_type":{"title":"Reference Type","description":"Reference mode. \"image\" uses one or more reference images; \"video\" uses a source video clip as the anchor.","type":"string","enum":["image","video"],"default":"image"},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"duration":{"title":"Duration","description":"Output duration in seconds.","type":"integer","default":5,"minimum":3,"maximum":15},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","auto"],"default":"16:9"},"shot_type":{"title":"Shot Type","description":"Camera framing for the shot (close-up, medium, wide, etc.).","type":"string","enum":["customize"]},"start_image_url":{"title":"Start Image URL","description":"First-frame anchor image URL for video generation.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":4},"elements":{"title":"Elements","description":"Optional per-segment element descriptors for multi-clip generation (camera moves, transitions, etc.).","type":"array","items":{"type":"string"}},"generate_audio":{"title":"Generate Audio","description":"Generate native audio. On image references it adds 1 credit/second (Standard 3 -> 4, Pro 4 -> 5). Ignored for video references, which are never charged for it.","type":"boolean","default":false},"keep_audio":{"title":"Keep Audio","description":"Preserve the source audio track in the output.","type":"boolean","default":true},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"KlingV26Request":{"title":"Kling 2.6 ProRequest","description":"Kling Video v2.6 Pro. Text-to-video or image-to-video, 5 or 10 seconds, with audio generation.","type":"object","additionalProperties":false,"properties":{"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Output duration in seconds.","type":"string","enum":["5","10"],"default":"5"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"Cfg Scale","description":"Classifier-free guidance scale. Higher = stricter prompt adherence.","type":"number","default":0.5},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized native audio. On by default; adds 2 credits/second (3 -> 5). Set false to pay the base 3 credits/second.","type":"boolean","default":true},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"KlingVideoV3StandardTextRequest":{"title":"Kling Video v3 Standard (Text)Request","description":"Standard text-to-video with native audio","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for video generation","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"},"maxItems":6},"duration":{"title":"Duration","description":"Video duration in seconds","type":"integer","default":"5","minimum":3,"maximum":15,"enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized native audio. On by default; adds 1 credit/second on Standard (3 -> 4) and 1.5 on Pro (4 -> 5.5). Set false to pay the base rate.","type":"boolean","default":true},"voice_ids":{"title":"Voice IDs","description":"Voice IDs for audio synthesis (up to 2 voices)","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize","intelligent"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"start_image_url":{"title":"Start Image URL","description":"First-frame anchor image URL for video generation.","type":"string","format":"uri"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"elements":{"title":"Elements","description":"","type":"array","items":{"type":"string"}},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"KlingVideoV3StandardImageRequest":{"title":"Kling Video v3 Standard (Image)Request","description":"Standard image-to-video with native audio","type":"object","additionalProperties":false,"properties":{"start_image_url":{"title":"Start Image URL","description":"Source image for image-to-video generation","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional motion prompt (required if multi_prompt is omitted)","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"},"maxItems":6},"duration":{"title":"Duration","description":"Video duration in seconds","type":"integer","default":"5","minimum":3,"maximum":15,"enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized native audio. On by default; adds 1 credit/second on Standard (3 -> 4) and 1.5 on Pro (4 -> 5.5). Set false to pay the base rate.","type":"boolean","default":true},"end_image_url":{"title":"End Image URL","description":"Optional end frame image for interpolation","type":"string","format":"uri"},"elements":{"title":"Elements","description":"Optional character/object elements for reference","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"voice_ids":{"title":"Voice Ids","description":"","type":"array","items":{"type":"string"}},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"KlingVideoV3ProTextRequest":{"title":"Kling Video v3 Pro (Text)Request","description":"Pro text-to-video with cinematic quality and native audio","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for video generation","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"},"maxItems":6},"duration":{"title":"Duration","description":"Video duration in seconds","type":"integer","default":"5","minimum":3,"maximum":15,"enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized native audio. On by default; adds 1 credit/second on Standard (3 -> 4) and 1.5 on Pro (4 -> 5.5). Set false to pay the base rate.","type":"boolean","default":true},"voice_ids":{"title":"Voice IDs","description":"Voice IDs for audio synthesis (up to 2 voices)","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize","intelligent"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"start_image_url":{"title":"Start Image URL","description":"First-frame anchor image URL for video generation.","type":"string","format":"uri"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"end_image_url":{"title":"End Image URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"elements":{"title":"Elements","description":"","type":"array","items":{"type":"string"}},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"KlingVideoV3ProImageRequest":{"title":"Kling Video v3 Pro (Image)Request","description":"Pro image-to-video with cinematic quality and native audio","type":"object","additionalProperties":false,"properties":{"start_image_url":{"title":"Start Image URL","description":"Source image for image-to-video generation","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional motion prompt (required if multi_prompt is omitted)","type":"string"},"multi_prompt":{"title":"Multi Prompt","description":"Multi-shot prompts (array of shot prompt objects)","type":"array","items":{"type":"string"},"maxItems":6},"duration":{"title":"Duration","description":"Video duration in seconds","type":"integer","default":"5","minimum":3,"maximum":15,"enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized native audio. On by default; adds 1 credit/second on Standard (3 -> 4) and 1.5 on Pro (4 -> 5.5). Set false to pay the base rate.","type":"boolean","default":true},"end_image_url":{"title":"End Image URL","description":"Optional end frame image for interpolation","type":"string","format":"uri"},"elements":{"title":"Elements","description":"Optional character/object elements for reference","type":"array","items":{"type":"string"}},"shot_type":{"title":"Shot Type","description":"Multi-shot generation mode","type":"string","enum":["customize"],"default":"customize"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"cfg_scale":{"title":"CFG Scale","description":"Prompt adherence (0-1)","type":"number","default":0.5,"minimum":0,"maximum":1},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"standard"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"voice_ids":{"title":"Voice Ids","description":"","type":"array","items":{"type":"string"}},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"KlingVideoEditRequest":{"title":"Kling Video EditRequest","description":"Kling video-to-video edit. Standard or Pro, with optional reference images and audio preservation.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Optional. The server measures the clip (3 to 10 seconds) and bills its real length. A value you send is ignored.","type":"number","minimum":0,"maximum":10},"tier":{"title":"Tier","description":"Quality / speed tier.","type":"string","enum":["standard","pro"],"default":"pro"},"keep_audio":{"title":"Keep Audio","description":"Preserve the source audio track in the output.","type":"boolean","default":true},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":4},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","video_url"]},"Krea3Request":{"title":"Krea 3Request","description":"Krea 3 for reference-driven images and edits. Start from up to 8 images, describe the change and keep the parts you like, or generate from a prompt alone. Up to 4K in 10 aspect ratios.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to make, or what to change when image_urls is set. Refer to references by position (\"the jacket from the second image\") and to edit regions as @label or @1, @2.","type":"string"},"image_urls":{"title":"Reference Images","description":"Optional, up to 8. The first image is the one being edited; the others bring in objects, people or style. Each reference costs about as much as the output again. Four or fewer keep full detail.","type":"array","items":{"type":"string","format":"uri"},"maxItems":8,"minItems":1},"edit_regions":{"title":"Edit Regions","description":"Optional, up to 24 boxes, needs image_urls. Each is { reference_index, x, y, width, height } with coordinates 0 to 1 of that image, plus an optional label (no spaces, call it as @label) and note (up to 600 characters, overrides the prompt inside the box). Boxes on the first image mark where the edit happens; boxes on the others mark objects to bring in.","type":"array","items":{"type":"object","additionalProperties":false,"required":["reference_index","x","y","width","height"],"properties":{"reference_index":{"type":"integer","minimum":0,"maximum":7,"description":"Which image in image_urls the box sits on (0 = first)."},"x":{"type":"number","minimum":0,"maximum":1,"description":"Left edge, as a fraction of the image width."},"y":{"type":"number","minimum":0,"maximum":1,"description":"Top edge, as a fraction of the image height."},"width":{"type":"number","exclusiveMinimum":0,"maximum":1},"height":{"type":"number","exclusiveMinimum":0,"maximum":1},"label":{"type":"string","pattern":"^\\S+$","maxLength":64,"description":"Name to call the box by in the prompt, as @label. No spaces."},"note":{"type":"string","maxLength":600,"description":"Instruction for this box only. Overrides the prompt inside it."}}},"maxItems":24},"thinking_level":{"title":"Thinking Level","description":"fast (default), or high for a stronger planning step on multi-step edits and many references. High takes longer.","type":"string","enum":["fast","high"],"default":"fast"},"resolution":{"title":"Resolution","description":"Output size: 1K (about 1 MP), 2K (about 4 MP) or 4K (about 16 MP).","type":"string","enum":["1K","2K","4K"],"default":"2K"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output shape. Defaults to 1:1 without references. With references, leave it out to keep the input shape, or set it to reframe.","type":"string","enum":["1:1","4:5","3:4","2:3","9:16","5:4","4:3","3:2","16:9","21:9"]},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Integer seed for reproducible outputs.","type":"integer","minimum":0},"output_format":{"title":"Output Format","description":"Image output format","type":"string","enum":["png","jpeg","webp"],"default":"png"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"KreaV2Request":{"title":"Krea 2 ImageRequest","description":"Krea's aesthetic text-to-image, three tiers in one tool. Turbo for fast, cheap (0.5 credit) generation; Medium and Large for higher fidelity. Every tier takes a creativity control and optional style-reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate.","type":"string"},"model":{"title":"Model tier","description":"Turbo (0.5 credit, fastest), Medium (1 credit), or Large (2 credits, highest fidelity). Creativity and style references apply to every tier.","type":"string","enum":["turbo","medium","large"],"default":"turbo"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["1:1","4:3","3:2","16:9","2.35:1","4:5","2:3","9:16"],"default":"1:1"},"creativity":{"title":"Creativity","description":"How loosely the model interprets the prompt. raw = literal, high = most creative.","type":"string","enum":["raw","low","medium","high"],"default":"medium"},"reference_images":{"title":"Style reference images","description":"Up to 10 image URLs whose style guides the output. References steer style only. Krea generates a fresh image from your prompt.","type":"array","items":{"type":"string"},"maxItems":10},"seed":{"title":"Seed","description":"Integer seed for reproducible outputs.","type":"integer"},"lora_weights":{"title":"LoRA weights","description":"Up to 3 custom Krea 2 LoRA URLs: a LoRA trained on PixelDojo, or a direct public .safetensors link from Hugging Face or Civitai. LoRA requests always run on the Turbo tier (0.5 credit). The first request for a LoRA we have not seen before returns a \"still preparing\" error while the file is registered; retry a few minutes later.","type":"string"},"lora_scales":{"title":"LoRA scales","description":"Strength for each LoRA (0 to 4, default 1). Number or array aligned with lora_weights.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"LumaRay32Request":{"title":"Luma Ray3.2Request","description":"Luma Ray3.2 video via Runware. Text-to-video, or image-to-video with a start frame and an optional end frame. 5 or 10 seconds, 360p to 1080p, silent.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What happens in the clip: subject, motion, camera move, light and mood.","type":"string"},"image":{"title":"Start Frame URL","description":"Optional first frame. The clip follows the picture's shape and is 5 seconds long.","type":"string","format":"uri"},"last_frame_image":{"title":"End Frame URL","description":"Optional last frame. Requires image.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution. 360p is a cheap draft.","type":"string","enum":["360p","540p","720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output shape for text-to-video. Ignored when a start frame is given.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4","21:9"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in seconds. Must be 5 when a start frame is given.","type":"integer","default":"5","enum":["5","10"]},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"LumaUni1Request":{"title":"Luma UNI 1Request","description":"Luma UNI 1 (Standard + MAX) via Runware. Text-to-image and reference-guided image editing with one prompt, two quality tiers.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate or edit.","type":"string"},"model":{"title":"Model variant","description":"Choose between Standard (fast, 1 credit) and MAX (quality-first, 3 credits).","type":"string","enum":["standard","max"],"default":"standard"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Every shape renders at about 4 megapixels: 2048 x 2048 for 1:1, up to 2912 px on the long side for 2:1.","type":"string","enum":["1:1","16:9","9:16","3:2","2:3","2:1","1:2"],"default":"1:1"},"num_outputs":{"title":"Number of outputs","description":"How many variations to generate. 1-4.","type":"integer","default":1,"minimum":1,"maximum":4},"style":{"title":"Style preset","description":"Optional style hint. \"auto\" lets the model decide; \"manga\" biases output.","type":"string","enum":["auto","manga"],"default":"auto"},"reference_images":{"title":"Reference images","description":"Up to 8 image URLs to guide or edit. When provided, switches to image-edit mode.","type":"array","items":{"type":"string"},"maxItems":8},"seed":{"title":"Seed","description":"Integer seed for reproducible outputs.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Magi2Request":{"title":"MAGI-2Request","description":"Sand AI MAGI-2 video. Text-to-video, image-to-video with a start frame and optional end frame, or reference-to-video from up to 10 images, 5 videos and 5 audio clips. 4 to 30 seconds, 1080p, with synced audio.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What happens in the clip: motion, camera, sound and dialogue. Required without a start frame.","type":"string"},"image":{"title":"Start Frame URL","description":"Optional first frame. With it the clip starts from this picture.","type":"string","format":"uri"},"last_image":{"title":"End Frame URL","description":"Optional last frame. Requires image.","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 10 image URLs (people, products, places, styles). Any reference switches to reference-to-video. Not with image or last_image.","type":"array","items":{"type":"string"},"maxItems":10},"reference_videos":{"title":"Reference Videos","description":"Up to 5 video URLs, 2 to 30 s each and 30 s in total, for motion or camera.","type":"array","items":{"type":"string"},"maxItems":5},"reference_audios":{"title":"Reference Audio","description":"Up to 5 audio URLs, 2 to 30 s each and 30 s in total, for a voice, music or sound.","type":"array","items":{"type":"string"},"maxItems":5},"aspect_ratio":{"title":"Aspect Ratio","description":"Output shape.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4","21:9"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in whole seconds, 4 to 30.","type":"integer","default":5,"minimum":4,"maximum":30},"generate_audio":{"title":"Generate Audio","description":"Add sound synced to the picture.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Optional seed for repeatable results.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"MagnificUpscalerRequest":{"title":"Magnific UpscalerRequest","description":"Magnific upscaler. Creative or precision mode, up to 16x.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["creative","precision"],"default":"creative"},"scale_factor":{"title":"Scale Factor","description":"Upscale factor (2x, 4x, etc.).","type":"string","enum":["2x","4x","8x","16x"],"default":"2x"},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string","default":""},"creativity":{"title":"Creativity","description":"How much creative latitude the upscaler / refiner takes when adding detail. Higher = more invention.","type":"integer","default":0,"minimum":-10,"maximum":10},"hdr":{"title":"Hdr","description":"Apply HDR-style dynamic-range expansion to the output.","type":"integer","default":0,"minimum":-10,"maximum":10},"resemblance":{"title":"Resemblance","description":"How closely the upscaled output should resemble the original. Higher = more faithful, less reinvention.","type":"integer","default":0,"minimum":-10,"maximum":10},"fractality":{"title":"Fractality","description":"Detail-fractality boost. Higher = more micro-detail injected at every scale level.","type":"integer","default":0,"minimum":-10,"maximum":10},"engine":{"title":"Engine","description":"Upscaling engine. \"automatic\" picks for you; the three named engines each emphasize different detail characteristics (illusio = stylized, sharpy = crisp, sparkle = high-contrast).","type":"string","enum":["automatic","magnific_illusio","magnific_sharpy","magnific_sparkle"],"default":"automatic"},"optimized_for":{"title":"Optimized For","description":"Content-type hint that biases the upscaler's detail synthesis toward that category (portraits, art, landscapes, etc.).","type":"string","enum":["standard","soft_portraits","hard_portraits","art_n_illustration","videogame_assets","nature_n_landscapes","films_n_photography","3d_renders","science_fiction_n_horror"],"default":"standard"},"imageWidth":{"title":"Image Width","description":"Source image width in pixels. Used for credit cost estimation when the input image is referenced via URL.","type":"integer","minimum":0},"imageHeight":{"title":"Image Height","description":"Source image height in pixels. Used for credit cost estimation when the input image is referenced via URL.","type":"integer","minimum":0},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image"]},"MinimaxH3Request":{"title":"MiniMax H3Request","description":"MiniMax H3: text-to-video, image-to-video, and reference-to-video (images, video and audio references) in one model. 2K or 768p output, 5-15s, native synced audio. Also carries H3 Max (cheaper 768p/480p, frames only), H3 Max Turbo (faster, tiered 768p/480p, frames only) and H3 Fast (480p, references).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video, motion, and sound to generate","type":"string"},"image_url":{"title":"Start frame","description":"First-frame image. Switches to image-to-video mode.","type":"string","format":"uri"},"end_image_url":{"title":"End frame","description":"Last-frame image. Requires image_url.","type":"string","format":"uri"},"reference_images":{"title":"Reference images","description":"Up to 9 image URLs that guide subject and scene identity. The first 5 are included; each one past that adds 1 credit. Cannot be combined with image_url / end_image_url.","type":"array","items":{"type":"string"},"maxItems":9},"reference_videos":{"title":"Reference videos","description":"Up to 3 video URLs (2-15s each, max 50MB) that guide motion and scene identity. Cannot be combined with image_url / end_image_url. Each second of reference video adds 4.5 credits (see reference_video_seconds).","type":"array","items":{"type":"string"},"maxItems":3},"reference_video_seconds":{"title":"Reference video seconds","description":"Combined length of reference_videos in seconds, billed at 4.5 credits per second (rounded up, at most 15s per clip). Applies only when every reference video was uploaded to PixelDojo (a temp.pixeldojo.ai or cdn.pixeldojo.ai URL, e.g. from POST /api/v1/upload); with any other link, or when omitted, each clip bills as 15s. Declare lengths for standard MP4 or MOV clips only: a clip we cannot read as one (WebM, MKV, fragmented MP4) counts as 15s, and an under-declared length is refused.","type":"number","minimum":1},"reference_audios":{"title":"Reference audios","description":"Up to 3 audio URLs (2-15s each, max 15MB) that guide voice and sound. Cannot be combined with image_url / end_image_url.","type":"array","items":{"type":"string"},"maxItems":3},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Ignored in image-to-video mode, where the start frame sets the aspect.","type":"string","enum":["16:9","4:3","1:1","9:16","3:4","21:9"],"default":"16:9"},"resolution":{"title":"Resolution","description":"Output tier: 2k (4 credits/sec) or 768p (2.5 credits/sec). Ignored in image-to-video mode: a start frame forbids explicit dimensions, so those jobs render and bill as 2k.","type":"string","enum":["2k","768p"],"default":"2k"},"duration":{"title":"Duration","description":"Video duration in seconds (5-15)","type":"integer","default":5,"minimum":5,"maximum":15},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":4294967295},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["h3","max","max-turbo","fast"],"default":"h3"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"MinimaxH3MaxRequest":{"title":"MiniMax H3 MaxRequest","description":"MiniMax H3 Max, the cheaper H3 sibling. Text-to-video and image-to-video at 768p (2 credits/sec) or 480p (1.5 credits/sec), 5-15s, native synced audio. No reference inputs.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video, motion, and sound to generate","type":"string"},"image_url":{"title":"Start frame","description":"First-frame image. Switches to image-to-video mode.","type":"string","format":"uri"},"end_image_url":{"title":"End frame","description":"Last-frame image. Requires image_url.","type":"string","format":"uri"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Ignored in image-to-video mode, where the start frame sets the aspect.","type":"string","enum":["16:9","4:3","1:1","9:16","3:4","21:9"],"default":"16:9"},"resolution":{"title":"Resolution","description":"Output tier: 768p (2 credits/sec) or 480p (1.5 credits/sec). Honored in every mode, including image-to-video.","type":"string","enum":["768p","480p"],"default":"768p"},"duration":{"title":"Duration","description":"Video duration in seconds (5-15)","type":"integer","default":5,"minimum":5,"maximum":15},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":4294967295},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["h3","max","max-turbo","fast"],"default":"h3"},"reference_images":{"title":"Reference Images","description":"Optional reference image URLs to bias style or subject.","type":"array","items":{"type":"string","format":"uri"},"maxItems":9},"reference_videos":{"title":"Reference Videos","description":"Optional reference video URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"reference_video_seconds":{"title":"Reference Video Seconds","description":"Combined length of reference_videos in seconds, billed at 4.5 credits per second (rounded up, at most 15s per clip). Applies only when every reference video was uploaded to PixelDojo (a temp.pixeldojo.ai or cdn.pixeldojo.ai URL, e.g. from POST /api/v1/upload); with any other link, or when omitted, each clip bills as 15s. Declare lengths for standard MP4 or MOV clips only: a clip we cannot read as one (WebM, MKV, fragmented MP4) counts as 15s, and an under-declared length is refused.","type":"number","minimum":0},"reference_audios":{"title":"Reference Audios","description":"","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"MinimaxH3MaxTurboRequest":{"title":"MiniMax H3 Max TurboRequest","description":"MiniMax H3 Max Turbo, the distilled, faster H3 Max. Text-to-video and image-to-video at 768p (1.25 credits/sec) or 480p (0.9 credits/sec), 5-15s, native synced audio. No reference inputs.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video, motion, and sound to generate","type":"string"},"image_url":{"title":"Start frame","description":"First-frame image. Switches to image-to-video mode.","type":"string","format":"uri"},"end_image_url":{"title":"End frame","description":"Last-frame image. Requires image_url.","type":"string","format":"uri"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Ignored in image-to-video mode, where the start frame sets the aspect.","type":"string","enum":["16:9","4:3","1:1","9:16","3:4","21:9"],"default":"16:9"},"resolution":{"title":"Resolution","description":"Output tier: 768p (1.25 credits/sec) or 480p (0.9 credits/sec). Honored in every mode, including image-to-video.","type":"string","enum":["768p","480p"],"default":"768p"},"duration":{"title":"Duration","description":"Video duration in seconds (5-15)","type":"integer","default":5,"minimum":5,"maximum":15},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":4294967295},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["h3","max","max-turbo","fast"],"default":"h3"},"reference_images":{"title":"Reference Images","description":"Optional reference image URLs to bias style or subject.","type":"array","items":{"type":"string","format":"uri"},"maxItems":9},"reference_videos":{"title":"Reference Videos","description":"Optional reference video URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"reference_video_seconds":{"title":"Reference Video Seconds","description":"Combined length of reference_videos in seconds, billed at 4.5 credits per second (rounded up, at most 15s per clip). Applies only when every reference video was uploaded to PixelDojo (a temp.pixeldojo.ai or cdn.pixeldojo.ai URL, e.g. from POST /api/v1/upload); with any other link, or when omitted, each clip bills as 15s. Declare lengths for standard MP4 or MOV clips only: a clip we cannot read as one (WebM, MKV, fragmented MP4) counts as 15s, and an under-declared length is refused.","type":"number","minimum":0},"reference_audios":{"title":"Reference Audios","description":"","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"MinimaxH3FastRequest":{"title":"MiniMax H3 FastRequest","description":"MiniMax H3 Fast, the speed-optimized H3. Text-to-video, image-to-video and reference-to-video (images, video and audio references) at 480p, 1.5 credits/sec plus 1.75 credits per second of reference video (at most 15s) and 1 per reference image past the fifth, 5-15s, native synced audio.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video, motion, and sound to generate","type":"string"},"image_url":{"title":"Start frame","description":"First-frame image. Switches to image-to-video mode.","type":"string","format":"uri"},"end_image_url":{"title":"End frame","description":"Last-frame image. Requires image_url.","type":"string","format":"uri"},"reference_images":{"title":"Reference images","description":"Up to 9 image URLs that guide subject and scene identity. The first 5 are included; each one past that adds 1 credit. Cannot be combined with image_url / end_image_url.","type":"array","items":{"type":"string"},"maxItems":9},"reference_videos":{"title":"Reference videos","description":"Up to 3 video URLs (2-15s each, max 50MB) that guide motion and scene identity. Cannot be combined with image_url / end_image_url. Each second of reference video adds 1.75 credits, at most 15s in total (see reference_video_seconds).","type":"array","items":{"type":"string"},"maxItems":3},"reference_video_seconds":{"title":"Reference video seconds","description":"Combined length of reference_videos in seconds, billed at 1.75 credits per second (rounded up, at most 15s in total: Fast takes 15s of reference video per job). Applies only when every reference video was uploaded to PixelDojo (a temp.pixeldojo.ai or cdn.pixeldojo.ai URL, e.g. from POST /api/v1/upload); with any other link, or when omitted, each clip bills as 15s. Declare lengths for standard MP4 or MOV clips only: a clip we cannot read as one (WebM, MKV, fragmented MP4) counts as 15s, and an under-declared length is refused.","type":"number","minimum":1},"reference_audios":{"title":"Reference audios","description":"Up to 3 audio URLs (2-15s each, max 15MB) that guide voice and sound. Cannot be combined with image_url / end_image_url.","type":"array","items":{"type":"string"},"maxItems":3},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Ignored in image-to-video mode, where the start frame sets the aspect.","type":"string","enum":["16:9","4:3","1:1","9:16","3:4","21:9"],"default":"16:9"},"resolution":{"title":"Resolution","description":"Output tier. Fast renders 480p only (1.5 credits/sec).","type":"string","enum":["480p"],"default":"480p"},"duration":{"title":"Duration","description":"Video duration in seconds (5-15)","type":"integer","default":5,"minimum":5,"maximum":15},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":4294967295},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["h3","max","max-turbo","fast"],"default":"h3"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"MinimaxH3ImageRequest":{"title":"MiniMax H3 ImageRequest","description":"MiniMax H3 Image: natural photoreal images up to 16 MP that follow long, detailed prompts closely, with accurate text, and edits from up to 8 images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to generate, or the edit to make to image 1 (refer to the others as picture 2, picture 3, ...)","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"\"auto\" keeps the shape of image 1 when editing, else 1:1","type":"string","enum":["auto","1:1","4:3","3:4","3:2","2:3","16:9","9:16"],"default":"auto"},"resolution":{"title":"Resolution","description":"2k (about 4 megapixels, 1.5 credits per image) or 4k (about 16 megapixels, the sharpest, 4 credits)","type":"string","enum":["2k","4k"],"default":"2k"},"num_images":{"title":"Number of Images","description":"Images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"reference_images":{"title":"Images to Edit","description":"Up to 8 image URLs. The first is the image to edit; the others are references the prompt can name as picture 2, picture 3, ...","type":"array","items":{"type":"string"},"maxItems":8},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Expand a short prompt into a long, detailed one before rendering (off by default). It adds about 90 seconds to the render.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647},"output_format":{"title":"Output Format","description":"jpeg, png or webp","type":"string","enum":["jpeg","png","webp"],"default":"jpeg"},"lora_weights":{"title":"LoRA Weights","description":"URL or array of up to 3 MiniMax H3 Image LoRA .safetensors URLs (https)","type":"string"},"lora_scales":{"title":"LoRA Scales","description":"Strength of each LoRA (0-2), a number or an array matching lora_weights","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"MinimaxH3TurboRequest":{"title":"MiniMax H3 TurboRequest","description":"MiniMax H3 open weights, self-hosted with a step-distillation Turbo LoRA for fast, low-cost generation. Text, image, or reference to video at 480p or 720p with synced audio.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video, motion, and sound to generate","type":"string"},"image_url":{"title":"Start photo","description":"A photo the video opens on (<Picture 1> in the prompt). Its shape sets the aspect ratio. Optional: leave out every image for text to video.","type":"string","format":"uri"},"end_image_url":{"title":"End photo","description":"A photo the video ends on (<Picture 2>). Requires image_url.","type":"string","format":"uri"},"reference_images":{"title":"Reference images","description":"Up to 9 image URLs that guide subject and scene identity, referenced in the prompt as <Picture 1>, <Picture 2>... (after image_url / end_image_url when those are set). Optional.","type":"array","items":{"type":"string"},"maxItems":9},"reference_videos":{"title":"Reference videos","description":"Up to 3 reference clips (2-15s, 24fps) that guide motion and style. Each clip's own soundtrack is used as an audio reference unless reference_video_audio is false. Referenced in the prompt as <Video 1>, <Video 2>...","type":"array","items":{"type":"string"},"maxItems":3},"reference_audios":{"title":"Reference audio","description":"Up to 3 standalone audio references: a voice, a music bed, or an ambience the generated soundtrack should follow (<Audio 1>...). Needs an image or video reference alongside.","type":"array","items":{"type":"string"},"maxItems":3},"reference_video_audio":{"title":"Use reference video audio","description":"Whether each reference video's own soundtrack is passed as an audio reference. Default true.","type":"boolean","default":true},"quality":{"title":"Quality","description":"Deprecated and ignored: every job renders at the same quality and bills the same rate. Still accepted so older integrations keep working.","type":"string","enum":["turbo","standard","high"],"default":"standard"},"resolution":{"title":"Resolution","description":"Output resolution. Sets the rate: 480p is 0.75 credits per second, 720p is 1.5.","type":"string","enum":["480p","720p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Ignored when image_url is set: the start photo's shape sets the aspect.","type":"string","enum":["16:9","4:3","1:1","9:16","3:4","21:9"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5-15)","type":"integer","default":5,"minimum":5,"maximum":15},"seed":{"title":"Seed","description":"Random seed. Omit and one is chosen for you; the response reports which seed it used. Reusing a seed with identical settings reproduces the same video (visually identical rather than byte-identical).","type":"integer","minimum":0,"maximum":4294967295},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"MuseImageRequest":{"title":"Muse ImageRequest","description":"Meta's Muse Image: text-to-image at 2K in 8 aspect ratios, plus editing and multi-reference composition with up to 10 reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate, or the edit instruction when image_urls is supplied (up to 5000 characters)","type":"string"},"image_urls":{"title":"Reference Images","description":"Optional reference image URLs (1 to 10). With references the prompt is an edit or composition instruction and the output follows the first image's aspect ratio; without them it is plain text-to-image.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10,"minItems":1},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio at 2K. Ignored when image_urls is supplied.","type":"string","enum":["1:1","3:2","2:3","4:3","3:4","16:9","9:16","21:9"],"default":"1:1"},"num_outputs":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"OmnihumanRequest":{"title":"OmniHumanRequest","description":"OmniHuman 2.0. Audio-driven talking-head video with lip sync, up to 2 minutes.","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, .mp3 or .wav, under 120 seconds; .m4a/.aac/.ogg also work for clips under 35 seconds). Billed 5 credits per started second of this audio, measured server-side before the charge. A file that cannot be downloaded or measured, is not one of those formats, or runs past 120 seconds, is refused with a 400 and not charged.","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"Optional direction for the scene, movement and camera (English, Chinese, Japanese, Korean, Spanish or Indonesian)","type":"string"},"audioDuration":{"title":"Audio Duration","description":"","type":"number","minimum":0.1},"fast_mode":{"title":"Fast Mode","description":"","type":"boolean"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"audioDurationSeconds":{"title":"Audio Duration Seconds","description":"","type":"number","minimum":0},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image","audio"]},"OutpaintRequest":{"title":"Image OutpaintingRequest","description":"Outpainting. Expand an image beyond its original edges. The result is at most 1440 px on its longest side.","type":"object","additionalProperties":false,"properties":{"image_url":{"title":"Image URL","description":"The picture to expand. The finished picture is at most 1440 px on its longest side: when the picture plus its expansion is bigger, the picture and every expansion are shrunk by the same amount to fit.","type":"string","format":"uri"},"expand_left":{"title":"Expand Left","description":"Pixels to expand the image on the left side (capped at 700).","type":"number"},"expand_right":{"title":"Expand Right","description":"Pixels to expand the image on the right side (capped at 700).","type":"number"},"expand_top":{"title":"Expand Top","description":"Pixels to expand the image on the top (capped at 700).","type":"number"},"expand_bottom":{"title":"Expand Bottom","description":"Pixels to expand the image on the bottom (capped at 700).","type":"number"},"zoom_out_percentage":{"title":"Zoom Out Percentage","description":"Convenience shortcut: expand all four sides by this percentage of the original dimensions (e.g. 25 = expand 25% in every direction). Each side is still capped at 700px.","type":"number"},"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"num_images":{"title":"Num Images","description":"Number of output images.","type":"integer","default":1,"minimum":1,"maximum":4},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["png","jpeg","webp"],"default":"png"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image_url"]},"PImageRequest":{"title":"P-ImageRequest","description":"P-Image. Sub-second text-to-image with optional custom dimensions.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","9:16","16:9"],"default":"1:1"},"width":{"title":"Width","description":"Output width in pixels.","type":"integer"},"height":{"title":"Height","description":"Output height in pixels.","type":"integer"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"PImageEditRequest":{"title":"P-Image EditRequest","description":"P-Image Edit. Fast image editing with up to 5 reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing the edit","type":"string"},"images":{"title":"Images","description":"Reference images to edit (1-5 URLs)","type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"minItems":1},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["1:1","2:3","3:2","3:4","4:3","9:16","16:9"]},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","images"]},"PImageIdeogramRequest":{"title":"P-Image IdeogramRequest","description":"Ideogram-class text rendering on the P-Image backbone. Pick a thinking budget from 0.1 to 1 credit per image.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"thinking":{"title":"Thinking","description":"Reasoning budget. Higher levels render text and complex layouts more reliably and cost more credits (very low 0.1, low 0.25, medium 0.5, high 1).","type":"string","enum":["very low","low","medium","high"],"default":"medium"},"image_size":{"title":"Image Size","description":"Resolution budget","type":"string","enum":["1K","2K"],"default":"2K"},"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"],"default":"1:1"},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Let the model expand a short prompt before generating","type":"boolean","default":true},"output_format":{"title":"Output Format","description":"Image file format","type":"string","enum":["jpg","png","webp"],"default":"jpg"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"PImageUpscaleRequest":{"title":"P-Image UpscaleRequest","description":"P-Image Upscale. Fast image upscaling to a target megapixel size, with optional detail and realism enhancement.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Image URL","description":"URL of the image to upscale.","type":"string","format":"uri"},"target":{"title":"Target Megapixels","description":"Target output resolution in megapixels (1-128). Cost increases with target size.","type":"integer","default":4,"minimum":1,"maximum":128},"enhance_details":{"title":"Enhance Details","description":"Boost texture and fine-detail rendering. Default off.","type":"boolean","default":false},"enhance_realism":{"title":"Enhance Realism","description":"Improve realism for AI-generated source images (reduces plastic-look artifacts). Default off.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image"]},"PVideoRequest":{"title":"P-VideoRequest","description":"P-Video 2 (and P-Video 1): 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"},"model":{"title":"Model","description":"Model version. \"p-video-2\" (default) is the latest; \"p-video\" is the cheaper previous generation.","type":"string","enum":["p-video-2","p-video"],"default":"p-video-2"},"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; up to 192 kHz and 8 channels; at most 32 MB). When provided, the video follows the audio: it runs as long as the audio rounded up to whole seconds, at most 20 (longer audio is cut at 20), and is billed per second of that length, measured server-side before the charge. A file that cannot be downloaded or measured, is not flac/mp3/wav, is over 192 kHz or 8 channels, or is over 32 MB is refused with a 400 and not charged.","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Output duration in seconds (1-20). Ignored when audio is provided: the audio sets the length.","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:4","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 (p-video-2: 0.45/0.9 credits per second at 720p/1080p; p-video: 0.16/0.3)","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"},"audioDurationSeconds":{"title":"Audio Duration Seconds","description":"","type":"number","minimum":0},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"PVideo2ProRequest":{"title":"P-Video 2 ProRequest","description":"P-Video 2 Pro: text or image to video with generated audio, 5 to 15 seconds at 24 fps, with start and end frame control.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate.","type":"string"},"image":{"title":"Start Image URL","description":"Optional first frame for image-to-video generation (jpg, jpeg, png, webp).","type":"string","format":"uri"},"last_frame_image":{"title":"End Image URL","description":"Optional last frame, so the clip lands on a target image.","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Output duration in seconds (5-15).","type":"integer","default":5,"minimum":5,"maximum":15},"resolution":{"title":"Resolution","description":"Output resolution. Credits per second depend on resolution and mode. 480p: 1 cost, 1 speed, 2 quality. 768p: 1 cost, 1 speed, 3 quality.","type":"string","enum":["480p","768p"],"default":"768p"},"mode":{"title":"Mode","description":"Render tier. Credits per second: cost and speed are 1 at both resolutions, quality is 2 at 480p and 3 at 768p.","type":"string","enum":["quality","speed","cost"],"default":"speed"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","4:3","3:4","3:2","2:3","1:1"],"default":"16:9"},"prompt_upsampler":{"title":"Prompt Upsampler","description":"How much the model expands your prompt before generating.","type":"string","enum":["off","turbo","max"],"default":"turbo"},"seed":{"title":"Seed","description":"Optional integer seed for reproducible output.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"PVideo2ProReferenceRequest":{"title":"P-Video 2 Pro ReferenceRequest","description":"P-Video 2 Pro Reference: reference-to-video built on MiniMax H3. Up to 9 images, 3 video and 3 audio references, plus optional start and end frames, 480p or 768p, 5 to 15 seconds with native audio. keep_audio lip-syncs to your own song or line.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Describe the video. Refer to references by what they show.","type":"string"},"reference_images":{"title":"Reference images","description":"Up to 9 image URLs (identity, product, style), start/end frames included in that count. The first 5 are included, each one past that adds 0.25 credits.","type":"array","items":{"type":"string"},"maxItems":9},"reference_videos":{"title":"Reference videos","description":"Up to 3 video URLs (2-15s each, 15s combined, max 1080p) for motion and camera. Each clip bills 1.5 credits per second up to the output length + 0.5s, 15s total.","type":"array","items":{"type":"string"},"maxItems":3},"reference_audios":{"title":"Reference audios","description":"Up to 3 audio URLs (15s combined) for voice and sound.","type":"array","items":{"type":"string"},"maxItems":3},"keep_audio":{"title":"Keep audio","description":"Use the single reference audio as the soundtrack, as is (lip sync to a song or line). Requires exactly one reference audio.","type":"boolean","default":false},"image_url":{"title":"Start frame","description":"Optional opening frame. Counts as an image and can be combined with references.","type":"string","format":"uri"},"end_image_url":{"title":"End frame","description":"Optional closing frame. Counts as an image.","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Seconds (5-15). 1.25 credits per second.","type":"integer","default":5,"minimum":5,"maximum":15},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["480p","768p"],"default":"768p"},"mode":{"title":"Mode","description":"speed (default) or cost (slower queue). Same price.","type":"string","enum":["speed","cost"],"default":"speed"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. adaptive follows the references.","type":"string","enum":["adaptive","16:9","9:16","4:3","3:4","3:2","2:3","1:1"],"default":"16:9"},"prompt_upsampler":{"title":"Prompt Upsampler","description":"How much the model expands your prompt. A start or end frame forces turbo.","type":"string","enum":["off","turbo","max"],"default":"turbo"},"seed":{"title":"Seed","description":"Optional integer seed.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"PVideo2ProReplaceRequest":{"title":"P-Video 2 Pro ReplaceRequest","description":"P-Video 2 Pro Replace, built on MiniMax H3: swap one or two people in a video for the people in your pictures. Motion, camera, background, everyone else and the sound stay as they were. Up to 120 seconds, 480p or 768p.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Source Video URL","description":"MP4, MOV or WebM, 1-120 seconds. The output keeps its length, motion, camera, background and sound.","type":"string","format":"uri"},"images":{"title":"People","description":"One picture replaces the main person. Two pictures replace two people, matched left to right unless instruction_prompt says otherwise.","type":"array","items":{"type":"string"},"maxItems":2,"minItems":1},"instruction_prompt":{"title":"Who replaces whom","description":"Optional, e.g. \"The dancer on the left becomes the woman from image 1, the one on the right the man from image 2.\"","type":"string"},"video_duration":{"title":"Source Video Duration (seconds)","description":"Measured from the file by the server before any charge; a sent value is ignored.","type":"number","minimum":1,"maximum":120},"resolution":{"title":"Resolution","description":"480p (1.5 credits/s) or 768p (3 credits/s). Aspect ratio follows the source.","type":"string","enum":["480p","768p"],"default":"768p"},"save_audio":{"title":"Keep sound","description":"Keep the source soundtrack.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Optional integer seed.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["video","images"]},"PVideoAvatarRequest":{"title":"P-Video AvatarRequest","description":"P-Video 2 Pro Avatar: animate a portrait into a talking avatar from a script or an audio file, up to 3 minutes. 30 voices, 10 languages, 480p to 4K.","type":"object","additionalProperties":false,"properties":{"image":{"title":"Portrait Image URL","description":"URL of a portrait image to animate (jpg, jpeg, png, webp).","type":"string","format":"uri"},"voice_script":{"title":"Voice Script","description":"Text the avatar should speak. Required unless `audio` is provided.","type":"string"},"audio":{"title":"Audio URL","description":"Optional audio file for lip-sync (1 second to 3 minutes). When provided, overrides voice_script and voice, and the job is billed per second of this audio, measured server-side before the charge. A file that cannot be downloaded or measured, is not flac/mp3/wav/m4a/ogg, is longer than 180 seconds, or is above 48 kHz or more than 2 channels, is refused with a 400 and not charged.","type":"string","format":"uri"},"voice":{"title":"Voice","description":"Named voice to synthesize the script with. Ignored when audio is provided.","type":"string","enum":["Zephyr (Female)","Puck (Male)","Charon (Male)","Kore (Female)","Fenrir (Male)","Leda (Female)","Orus (Male)","Aoede (Female)","Callirrhoe (Female)","Autonoe (Female)","Enceladus (Male)","Iapetus (Male)","Umbriel (Male)","Algenib (Male)","Despina (Female)","Erinome (Female)","Laomedeia (Female)","Achernar (Female)","Algieba (Male)","Schedar (Male)","Gacrux (Female)","Pulcherrima (Female)","Achird (Male)","Zubenelgenubi (Male)","Vindemiatrix (Female)","Sadachbia (Male)","Sadaltager (Male)","Sulafat (Female)","Alnilam (Male)","Rasalgethi (Male)"],"default":"Zephyr (Female)"},"voice_language":{"title":"Voice Language","description":"Language for voice synthesis.","type":"string","enum":["English (US)","English (UK)","Spanish","French","German","Italian","Portuguese (Brazil)","Japanese","Korean","Hindi"],"default":"English (US)"},"video_prompt":{"title":"Video Direction","description":"Optional guidance for visual motion (e.g. \"warm smile, slight nods\").","type":"string"},"voice_prompt":{"title":"Voice Direction","description":"Optional speaking-style cue (e.g. \"Say the following with quiet confidence.\").","type":"string"},"resolution":{"title":"Resolution","description":"Output resolution. 1080p, 2k and 4k upscale the 768p render; 4k is limited to 125 seconds.","type":"string","enum":["480p","768p","1080p","2k","4k"],"default":"768p"},"disable_prompt_upsampling":{"title":"Disable Prompt Upsampling","description":"Skip the model's automatic prompt-enhancement pass.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Optional integer seed for reproducible output.","type":"integer"},"audioDurationSeconds":{"title":"Audio Duration Seconds","description":"","type":"number","minimum":0},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image"]},"PVideoEditRequest":{"title":"P-Video EditRequest","description":"P-Video Edit: prompted edits on a clip up to 15 seconds, with up to 4 reference images. Keeps the original audio; draft mode for quick previews.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Source Video URL","description":"Clip to edit. Maximum 15 seconds. The output keeps the same duration.","type":"string","format":"uri"},"prompt":{"title":"Prompt","description":"What to change in the clip, in plain language.","type":"string"},"video_duration":{"title":"Source Video Duration (seconds)","description":"Optional. The server measures the clip and bills its real length. A value you send is ignored.","type":"integer","minimum":1,"maximum":15},"images":{"title":"Reference Images","description":"Up to 4 reference image URLs to guide the edit (subject, style, or object references).","type":"array","items":{"type":"string"},"maxItems":4},"prompt_upsampling":{"title":"Prompt Upsampling","description":"Let the model expand your prompt with extra detail before generating.","type":"boolean","default":true},"draft":{"title":"Draft Mode","description":"Faster, cheaper preview pass. 1 credit/second instead of 2.","type":"boolean","default":false},"save_audio":{"title":"Save Audio","description":"Preserve the source clip's audio in the output. Turn off for a silent clip.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Optional integer seed for reproducible output.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["video","prompt"]},"PVideoUpscaleRequest":{"title":"P-Video UpscaleRequest","description":"P-Video Upscale. Fast, low-cost video upscaling to 720p, 1080p, 2K, or 4K. Keeps the aspect ratio and the original audio.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Video URL","description":"Public HTTPS URL of the source clip: a standard MP4 or MOV, max 50 MB. The server downloads it once and bills its measured length; a file it cannot measure is refused before any charge.","type":"string","format":"uri"},"video_duration":{"title":"Duration","description":"Source clip length in seconds (1-80). Optional and only used for the price preview: the run bills the length the server measures.","type":"number","minimum":1,"maximum":80},"target":{"title":"Target Resolution","description":"Output size. The source aspect ratio is kept, and a clip already larger than the target is not shrunk. Credits per second: 720p 0.3, 1080p 0.6, 2k 1.2, 4k 2.4. Longest clip: 720p 80s, 1080p 40s, 2k 20s, 4k 10s.","type":"string","enum":["720p","1080p","2k","4k"],"default":"1080p"},"fps":{"title":"Frame Rate","description":"Output frame rate. 60 interpolates the extra frames and doubles the price.","type":"string","enum":["30","60"],"default":"30"},"video_width":{"title":"Video Width","description":"Optional source width in pixels. The run measures the source and uses its real size.","type":"number","minimum":0},"video_height":{"title":"Video Height","description":"Optional source height in pixels. The run measures the source and uses its real size.","type":"number","minimum":0},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["video"]},"PixverseV6Request":{"title":"PixVerse V6Request","description":"Pixverse V6 video generation. Text-to-video, image-to-video (start frame), or multi-clip (start + end frame).","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string","default":""},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"last_frame_image":{"title":"Last Frame Image","description":"End frame image URL. Needs a start frame.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["360p","540p","720p","1080p"],"default":"720p"},"duration":{"title":"Duration","description":"Output duration in seconds.","type":"integer","default":5,"minimum":1,"maximum":15},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","4:3","1:1","3:4","9:16"],"default":"16:9"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":true},"thinking_type":{"title":"Thinking Type","description":"Reasoning mode preset.","type":"string","enum":["disabled","enabled","auto"],"default":"auto"},"multi_clip":{"title":"Multi Clip","description":"Generate a multi-clip sequence instead of a single clip.","type":"boolean","default":false},"style":{"title":"Style","description":"Visual style preset.","type":"string","enum":["none","anime","3d_animation","clay","comic","cyberpunk"],"default":"none"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"PonyxlPonyrealismV23Request":{"title":"Pony RealismRequest","description":"Pony Realism - Stylized anime generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string","default":"distorted face, asymmetric features, extra limbs, deformed hands, blurry eyes, disfigured, bad anatomy"},"width":{"title":"Width","description":"Image width in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"height":{"title":"Height","description":"Image height in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"steps":{"title":"Steps","description":"Number of diffusion steps (1-100)","type":"integer","default":35,"minimum":1,"maximum":100},"cfg_scale":{"title":"CFG Scale","description":"Classifier-free guidance scale (1-50)","type":"number","default":5,"minimum":1,"maximum":50},"scheduler":{"title":"Scheduler","description":"Sampling scheduler","type":"string","enum":["DPM++ 2M SDE Karras","DPM++ 2M Karras","Euler","Euler a"],"default":"DPM++ 2M SDE Karras"},"batch_size":{"title":"Batch Size","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (-1 for random)","type":"integer","default":-1},"loras":{"title":"LoRAs","description":"LoRAs to apply. Accepts a string of comma-separated `url:scale` entries or a JSON array of LoRA objects ({ url, scale }). Entries without a scale use lora_scale.","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Default LoRA strength applied when loras entries omit a per-entry scale.","type":"number","default":1,"minimum":0,"maximum":2},"loraId":{"title":"LoRA ID","description":"Optional reference to a saved LoRA in your account. Resolved server-side to a download URL before submission.","type":"string"},"model":{"title":"Model","description":"Model variant to use.","type":"string"},"vae":{"title":"Vae","description":"","type":"string"},"pag_scale":{"title":"Pag Scale","description":"","type":"number"},"guidance_rescale":{"title":"Guidance Rescale","description":"","type":"number"},"clip_skip":{"title":"Clip Skip","description":"","type":"integer"},"strength":{"title":"Strength","description":"How strongly the edit overrides the input image.","type":"number"},"prepend_preprompt":{"title":"Prepend Preprompt","description":"","type":"boolean"},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"mask":{"title":"Mask","description":"Inpainting mask URL. PNG with transparent regions = areas to edit.","type":"string"},"blur_factor":{"title":"Blur Factor","description":"","type":"number"},"model_version":{"title":"Model Version","description":"","type":"string"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"PonyxlTponynai3V7Request":{"title":"Pony NAIRequest","description":"Pony NAI - Stylized anime generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string","default":"distorted face, asymmetric features, extra limbs, deformed hands, blurry eyes, disfigured, bad anatomy"},"width":{"title":"Width","description":"Image width in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"height":{"title":"Height","description":"Image height in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"steps":{"title":"Steps","description":"Number of diffusion steps (1-100)","type":"integer","default":35,"minimum":1,"maximum":100},"cfg_scale":{"title":"CFG Scale","description":"Classifier-free guidance scale (1-50)","type":"number","default":5,"minimum":1,"maximum":50},"scheduler":{"title":"Scheduler","description":"Sampling scheduler","type":"string","enum":["DPM++ 2M SDE Karras","DPM++ 2M Karras","Euler","Euler a"],"default":"DPM++ 2M SDE Karras"},"batch_size":{"title":"Batch Size","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (-1 for random)","type":"integer","default":-1},"loras":{"title":"LoRAs","description":"LoRAs to apply. Accepts a string of comma-separated `url:scale` entries or a JSON array of LoRA objects ({ url, scale }). Entries without a scale use lora_scale.","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Default LoRA strength applied when loras entries omit a per-entry scale.","type":"number","default":1,"minimum":0,"maximum":2},"loraId":{"title":"LoRA ID","description":"Optional reference to a saved LoRA in your account. Resolved server-side to a download URL before submission.","type":"string"},"model":{"title":"Model","description":"Model variant to use.","type":"string"},"vae":{"title":"Vae","description":"","type":"string"},"pag_scale":{"title":"Pag Scale","description":"","type":"number"},"guidance_rescale":{"title":"Guidance Rescale","description":"","type":"number"},"clip_skip":{"title":"Clip Skip","description":"","type":"integer"},"strength":{"title":"Strength","description":"How strongly the edit overrides the input image.","type":"number"},"prepend_preprompt":{"title":"Prepend Preprompt","description":"","type":"boolean"},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"mask":{"title":"Mask","description":"Inpainting mask URL. PNG with transparent regions = areas to edit.","type":"string"},"blur_factor":{"title":"Blur Factor","description":"","type":"number"},"model_version":{"title":"Model Version","description":"","type":"string"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"PonyxlWaianinsfwponyxlV140Request":{"title":"Wai ANIRequest","description":"Wai ANI - Stylized anime generation","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string","default":"distorted face, asymmetric features, extra limbs, deformed hands, blurry eyes, disfigured, bad anatomy"},"width":{"title":"Width","description":"Image width in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"height":{"title":"Height","description":"Image height in pixels (1-4096)","type":"integer","default":1024,"minimum":1,"maximum":4096},"steps":{"title":"Steps","description":"Number of diffusion steps (1-100)","type":"integer","default":35,"minimum":1,"maximum":100},"cfg_scale":{"title":"CFG Scale","description":"Classifier-free guidance scale (1-50)","type":"number","default":5,"minimum":1,"maximum":50},"scheduler":{"title":"Scheduler","description":"Sampling scheduler","type":"string","enum":["DPM++ 2M SDE Karras","DPM++ 2M Karras","Euler","Euler a"],"default":"DPM++ 2M SDE Karras"},"batch_size":{"title":"Batch Size","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility (-1 for random)","type":"integer","default":-1},"loras":{"title":"LoRAs","description":"LoRAs to apply. Accepts a string of comma-separated `url:scale` entries or a JSON array of LoRA objects ({ url, scale }). Entries without a scale use lora_scale.","type":"string"},"lora_scale":{"title":"LoRA Scale","description":"Default LoRA strength applied when loras entries omit a per-entry scale.","type":"number","default":1,"minimum":0,"maximum":2},"loraId":{"title":"LoRA ID","description":"Optional reference to a saved LoRA in your account. Resolved server-side to a download URL before submission.","type":"string"},"model":{"title":"Model","description":"Model variant to use.","type":"string"},"vae":{"title":"Vae","description":"","type":"string"},"pag_scale":{"title":"Pag Scale","description":"","type":"number"},"guidance_rescale":{"title":"Guidance Rescale","description":"","type":"number"},"clip_skip":{"title":"Clip Skip","description":"","type":"integer"},"strength":{"title":"Strength","description":"How strongly the edit overrides the input image.","type":"number"},"prepend_preprompt":{"title":"Prepend Preprompt","description":"","type":"boolean"},"image":{"title":"Image","description":"Reference image URL.","type":"string","format":"uri"},"mask":{"title":"Mask","description":"Inpainting mask URL. PNG with transparent regions = areas to edit.","type":"string"},"blur_factor":{"title":"Blur Factor","description":"","type":"number"},"model_version":{"title":"Model Version","description":"","type":"string"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Qwen3ProRequest":{"title":"Qwen 3 ProRequest","description":"Qwen Image 3.0 Pro: text-to-image generation and image editing in one model. Generate from a prompt, or supply 1-3 reference images plus an instruction.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to create, or the edit instruction when reference images are supplied.","type":"string"},"image":{"title":"Input Images","description":"One to three input images. Omit for pure text-to-image generation. Accepts a single URL string or an array of URLs. Image order defines the array sequence; the output aspect ratio matches the last image when size is omitted. Accepted formats: JPG / JPEG / PNG / BMP / TIFF / WEBP / GIF; max 10 MB each.","type":"array","items":{"type":"string"},"maxItems":3,"minItems":1},"size":{"title":"Size","description":"Output image dimensions (width*height). Optional. In text-to-image mode, omitting it lets the model pick a resolution that suits the prompt; in edit mode it matches the input image's resolution. Pricing: 1 credit per image at every size, including auto. Total pixels stay between 512² and 2048²; the model rounds to the nearest multiple of 16.","type":"string","enum":["1024*1024","768*1152","1152*768","960*1280","1280*960","720*1280","1280*720","1344*576","1536*1536","1024*1536","1536*1024","1080*1440","1440*1080","1080*1920","1920*1080","2048*872"]},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6). Credit cost is per image.","type":"integer","default":1,"minimum":1,"maximum":6},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact edit instruction is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Adds a \"Qwen-Image\" watermark to the bottom-right corner.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"QwenImage20Request":{"title":"Qwen Image 2.0Request","description":"Fast, balanced image generation and editing","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate or editing instruction","type":"string"},"model":{"title":"Model","description":"Model variant to use. Use the rolling names (qwen-image-2.0, qwen-image-2.0-pro) for the latest behavior, or pin to a dated snapshot variant for reproducibility.","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-2026-03-03","qwen-image-2.0-pro","qwen-image-2.0-pro-2026-04-22","qwen-image-2.0-pro-2026-03-03"],"default":"qwen-image-2.0"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height). The qwen-image-2.0 series accepts any size where total pixels are between 512² and 2048², aspect ratio 1:8 to 8:1. The docs default to 2048*2048; we expose three tiers (1k / 2k / max) per aspect ratio.","type":"string","enum":["1024*1024","768*1152","1152*768","960*1280","1280*960","720*1280","1280*720","1344*576","1536*1536","1024*1536","1536*1024","1080*1440","1440*1080","1080*1920","1920*1080","2048*872","2048*2048","2688*1536","1536*2688","2368*1728","1728*2368"],"default":"2048*2048"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6)","type":"number","default":1,"minimum":1,"maximum":6},"seed":{"title":"Seed","description":"Random seed for reproducibility (0-2147483647)","type":"integer","minimum":0,"maximum":2147483647},"reference_images":{"title":"Reference Images (legacy)","description":"Optional reference image URLs (up to 3). Supplying any value turns this into an image-to-image call. The request is internally equivalent to /api/v1/models/qwen-image-2-edit/run with the same model. For new code, prefer that endpoint directly; the parameter is kept here for backwards compatibility with Creator Studio.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"QwenImage20ProRequest":{"title":"Qwen Image 2.0 ProRequest","description":"Enhanced text rendering, realistic textures, and semantic adherence","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate or editing instruction","type":"string"},"model":{"title":"Model","description":"Model variant to use. Use the rolling names (qwen-image-2.0, qwen-image-2.0-pro) for the latest behavior, or pin to a dated snapshot variant for reproducibility.","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-2026-03-03","qwen-image-2.0-pro","qwen-image-2.0-pro-2026-04-22","qwen-image-2.0-pro-2026-03-03"],"default":"qwen-image-2.0"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the image","type":"string"},"size":{"title":"Size","description":"Output image dimensions (width*height). The qwen-image-2.0 series accepts any size where total pixels are between 512² and 2048², aspect ratio 1:8 to 8:1. The docs default to 2048*2048; we expose three tiers (1k / 2k / max) per aspect ratio.","type":"string","enum":["1024*1024","768*1152","1152*768","960*1280","1280*960","720*1280","1280*720","1344*576","1536*1536","1024*1536","1536*1024","1080*1440","1440*1080","1080*1920","1920*1080","2048*872","2048*2048","2688*1536","1536*2688","2368*1728","1728*2368"],"default":"2048*2048"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6)","type":"number","default":1,"minimum":1,"maximum":6},"seed":{"title":"Seed","description":"Random seed for reproducibility (0-2147483647)","type":"integer","minimum":0,"maximum":2147483647},"reference_images":{"title":"Reference Images (legacy)","description":"Optional reference image URLs (up to 3). Supplying any value turns this into an image-to-image call. The request is internally equivalent to /api/v1/models/qwen-image-2-edit/run with the same model. For new code, prefer that endpoint directly; the parameter is kept here for backwards compatibility with Creator Studio.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"QwenImage21TurboRequest":{"title":"Qwen Image 2.1 TurboRequest","description":"8-step distilled checkpoint: fast native-2K images and edits","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to generate, or the edit to make to the reference images","type":"string"},"model":{"title":"Model","description":"turbo (8 steps, fast) or base (40 steps, highest detail)","type":"string","enum":["turbo","base"],"default":"turbo"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["1:1","4:3","3:4","3:2","2:3","16:9","9:16"],"default":"1:1"},"resolution":{"title":"Resolution","description":"1k (about 1 megapixel) or 2k (about 4 megapixels, the model native size)","type":"string","enum":["1k","2k"],"default":"2k"},"num_images":{"title":"Number of Images","description":"Images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"reference_images":{"title":"Reference Images","description":"Up to 10 image URLs to edit or compose from (people, products, scenes)","type":"array","items":{"type":"string"},"maxItems":10},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid (base model only)","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647},"output_format":{"title":"Output Format","description":"jpeg, png (keeps transparency) or webp","type":"string","enum":["jpeg","png","webp"],"default":"jpeg"},"lora_weights":{"title":"LoRA Weights","description":"URL or array of up to 3 Qwen Image 2.1 LoRA .safetensors URLs","type":"string"},"lora_scales":{"title":"LoRA Scales","description":"Strength of each LoRA (0-2), a number or an array matching lora_weights","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"QwenImage21Request":{"title":"Qwen Image 2.1Request","description":"Full 40-step checkpoint: the most detail and the best typography","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What to generate, or the edit to make to the reference images","type":"string"},"model":{"title":"Model","description":"turbo (8 steps, fast) or base (40 steps, highest detail)","type":"string","enum":["turbo","base"],"default":"turbo"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["1:1","4:3","3:4","3:2","2:3","16:9","9:16"],"default":"1:1"},"resolution":{"title":"Resolution","description":"1k (about 1 megapixel) or 2k (about 4 megapixels, the model native size)","type":"string","enum":["1k","2k"],"default":"2k"},"num_images":{"title":"Number of Images","description":"Images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"reference_images":{"title":"Reference Images","description":"Up to 10 image URLs to edit or compose from (people, products, scenes)","type":"array","items":{"type":"string"},"maxItems":10},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid (base model only)","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647},"output_format":{"title":"Output Format","description":"jpeg, png (keeps transparency) or webp","type":"string","enum":["jpeg","png","webp"],"default":"jpeg"},"lora_weights":{"title":"LoRA Weights","description":"URL or array of up to 3 Qwen Image 2.1 LoRA .safetensors URLs","type":"string"},"lora_scales":{"title":"LoRA Scales","description":"Strength of each LoRA (0-2), a number or an array matching lora_weights","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"QwenImage2EditRequest":{"title":"Qwen Image 2 EditRequest","description":"Alibaba DashScope Qwen Image 2 edit. Supply 1-3 reference images plus an edit instruction. Standard and Pro variants.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction or composition prompt.","type":"string"},"image":{"title":"Input Images","description":"One to three input images. Accepts a single URL string or an array of URLs. Image order defines the array sequence; the output aspect ratio matches the last image when size is omitted. Accepted formats: JPG / JPEG / PNG / BMP / TIFF / WEBP / GIF; max 10 MB each.","type":"array","items":{"type":"string"},"maxItems":3,"minItems":1},"model":{"title":"Model","description":"Model variant to use. Use the rolling names (qwen-image-2.0, qwen-image-2.0-pro) for the latest behavior, or pin to a dated snapshot variant for reproducibility.","type":"string","enum":["qwen-image-2.0","qwen-image-2.0-2026-03-03","qwen-image-2.0-pro","qwen-image-2.0-pro-2026-04-22","qwen-image-2.0-pro-2026-03-03"],"default":"qwen-image-2.0"},"size":{"title":"Size","description":"Output image dimensions (width*height). Optional. When omitted, the output is about 1 megapixel in the input image's shape (1024x1024 for a square), even from a larger input. Set size for a larger result, for example \"2048*2048\". Total pixels 512² to 2048². When provided, the model rounds to the nearest multiple of 16.","type":"string","enum":["1024*1024","768*1152","1152*768","960*1280","1280*960","720*1280","1280*720","1344*576","1536*1536","1024*1536","1536*1024","1080*1440","1440*1080","1080*1920","1920*1080","2048*872","2048*2048","2688*1536","1536*2688","2368*1728","1728*2368"]},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-6).","type":"integer","default":1,"minimum":1,"maximum":6},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output (max 500 characters).","type":"string"},"prompt_extend":{"title":"Prompt Enhancement","description":"Server-side LLM prompt rewriting. Off by default so your exact edit instruction is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Adds a \"Qwen-Image\" watermark to the bottom-right corner.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","image"]},"QwenImageEditSpicyRequest":{"title":"Qwen Image Edit RealisticRequest","description":"Qwen Image Edit, Realistic mode. Add, remove, or modify elements in an existing image with text guidance.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction. Describe what to add, remove, or change","type":"string"},"image_url":{"title":"Image","description":"Source image. Public HTTPS URL (JPEG/PNG/BMP/WEBP).","type":"string","format":"uri"},"seed":{"title":"Seed","description":"Random seed (0–2,147,483,647); null/0 = random","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","image_url"]},"RecraftV41Request":{"title":"Recraft V4.1Request","description":"Recraft's latest image model. Better photorealism, smoother gradients, and improved text rendering vs V4. ~1024px output.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"tier":{"title":"Tier","description":"Output resolution tier. Standard is about 1024px and costs 1 credit. Pro is about 2048px and costs 5 credits. The Pro models default to pro, the others to standard.","type":"string","enum":["standard","pro"],"default":"standard"},"variant":{"title":"Variant","description":"Output type. \"raster\" = standard PNG/WebP image. \"svg\" = editable SVG vector. \"utility\" = product-mockup-optimized raster (flat, front-facing).","type":"string","enum":["raster","svg","utility"],"default":"raster"},"svg":{"title":"SVG (legacy)","description":"Legacy. Set true to get SVG output (equivalent to variant=\"svg\"). Prefer `variant` going forward.","type":"boolean","default":false},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. V4.1 supports 15 ratios. Set \"Not set\" to use the explicit `size` field instead.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","2:1","1:2","14:10","10:14","6:10"],"default":"1:1"},"size":{"title":"Size","description":"Explicit WIDTHxHEIGHT. Only used when aspect_ratio is \"Not set\". Standard tier ≈1024px family; Pro tier ≈2048px family.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"RecraftV41ProRequest":{"title":"Recraft V4.1 ProRequest","description":"V4.1 at ~2048px resolution. Print-ready and large-scale work with the same prompt accuracy and design taste as standard.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"tier":{"title":"Tier","description":"Output resolution tier. Standard is about 1024px and costs 1 credit. Pro is about 2048px and costs 5 credits. The Pro models default to pro, the others to standard.","type":"string","enum":["standard","pro"],"default":"pro"},"variant":{"title":"Variant","description":"Output type. \"raster\" = standard PNG/WebP image. \"svg\" = editable SVG vector. \"utility\" = product-mockup-optimized raster (flat, front-facing).","type":"string","enum":["raster","svg","utility"],"default":"raster"},"svg":{"title":"SVG (legacy)","description":"Legacy. Set true to get SVG output (equivalent to variant=\"svg\"). Prefer `variant` going forward.","type":"boolean","default":false},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. V4.1 supports 15 ratios. Set \"Not set\" to use the explicit `size` field instead.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","2:1","1:2","14:10","10:14","6:10"],"default":"1:1"},"size":{"title":"Size","description":"Explicit WIDTHxHEIGHT. Only used when aspect_ratio is \"Not set\". Standard tier ≈1024px family; Pro tier ≈2048px family.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"RecraftV41SvgRequest":{"title":"Recraft V4.1 SVGRequest","description":"Production-ready SVG vector output. Clean geometry, structured layers, editable paths. V4.1's design taste applied to vector.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"tier":{"title":"Tier","description":"Output resolution tier. Standard is about 1024px and costs 1 credit. Pro is about 2048px and costs 5 credits. The Pro models default to pro, the others to standard.","type":"string","enum":["standard","pro"],"default":"standard"},"variant":{"title":"Variant","description":"Output type. \"raster\" = standard PNG/WebP image. \"svg\" = editable SVG vector. \"utility\" = product-mockup-optimized raster (flat, front-facing).","type":"string","enum":["raster","svg","utility"],"default":"svg"},"svg":{"title":"SVG (legacy)","description":"Legacy. Set true to get SVG output (equivalent to variant=\"svg\"). Prefer `variant` going forward.","type":"boolean","default":false},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. V4.1 supports 15 ratios. Set \"Not set\" to use the explicit `size` field instead.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","2:1","1:2","14:10","10:14","6:10"],"default":"1:1"},"size":{"title":"Size","description":"Explicit WIDTHxHEIGHT. Only used when aspect_ratio is \"Not set\". Standard tier ≈1024px family; Pro tier ≈2048px family.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"RecraftV41ProSvgRequest":{"title":"Recraft V4.1 Pro SVGRequest","description":"Detailed SVG vector graphics with finer paths and more geometric detail than standard SVG.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation (up to 10,000 characters)","type":"string"},"tier":{"title":"Tier","description":"Output resolution tier. Standard is about 1024px and costs 1 credit. Pro is about 2048px and costs 5 credits. The Pro models default to pro, the others to standard.","type":"string","enum":["standard","pro"],"default":"pro"},"variant":{"title":"Variant","description":"Output type. \"raster\" = standard PNG/WebP image. \"svg\" = editable SVG vector. \"utility\" = product-mockup-optimized raster (flat, front-facing).","type":"string","enum":["raster","svg","utility"],"default":"svg"},"svg":{"title":"SVG (legacy)","description":"Legacy. Set true to get SVG output (equivalent to variant=\"svg\"). Prefer `variant` going forward.","type":"boolean","default":false},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. V4.1 supports 15 ratios. Set \"Not set\" to use the explicit `size` field instead.","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","4:5","5:4","2:1","1:2","14:10","10:14","6:10"],"default":"1:1"},"size":{"title":"Size","description":"Explicit WIDTHxHEIGHT. Only used when aspect_ratio is \"Not set\". Standard tier ≈1024px family; Pro tier ≈2048px family.","type":"string"},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"RiverflowRequest":{"title":"RiverflowRequest","description":"Sourceful Riverflow 2.0 (Fast + Pro) via Runware. Text-to-image with optional reference image guidance. References steer style and composition; the model generates a fresh frame from your prompt. Two quality tiers.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate or edit.","type":"string"},"model":{"title":"Model variant","description":"Riverflow Fast (1 credit, 1K/2K) or Riverflow Pro (3 credits 1K/2K, 7 credits 4K).","type":"string","enum":["fast","pro"],"default":"fast"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Combined with resolution to resolve width/height.","type":"string","enum":["1:1","4:3","3:4","16:9","9:16","3:2","2:3","5:4","4:5","7:3"],"default":"1:1"},"resolution":{"title":"Resolution tier","description":"1K, 2K (Fast + Pro), or 4K (Pro only).","type":"string","enum":["1k","2k","4k"],"default":"2k"},"num_outputs":{"title":"Number of outputs","description":"How many variations to generate. 1-4.","type":"integer","default":1,"minimum":1,"maximum":4},"reference_images":{"title":"Reference images","description":"Up to 10 image URLs that guide style and composition. Riverflow generates a fresh image from the prompt. References are not modified.","type":"array","items":{"type":"string"},"maxItems":10},"seed":{"title":"Seed","description":"Integer seed for reproducible outputs.","type":"integer"},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string"},"width":{"title":"Width","description":"Output width in pixels.","type":"integer","minimum":0},"height":{"title":"Height","description":"Output height in pixels.","type":"integer","minimum":0},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"RodinRequest":{"title":"RodinRequest","description":"Hyper3D Rodin. Turn up to 5 reference images into production-ready 3D models, with fast and standard quality modes.","type":"object","additionalProperties":false,"properties":{"mode":{"title":"Mode","description":"fast = quick prototyping; standard = production quality.","type":"string","enum":["fast","standard"],"default":"fast"},"image_urls":{"title":"Image Urls","description":"1–5 reference image URLs. Rodin is image-to-3D, so at least one image is required.","type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"minItems":1},"prompt":{"title":"Prompt","description":"Optional text prompt to guide the generation. Auto-derived from the images when empty.","type":"string"},"tier":{"title":"Tier","description":"Generation tier. Fast mode supports Minimum, Extreme-Low, Low only. Gen-2.5-Extreme-High costs 16 credits; every other tier costs 12.","type":"string","enum":["Gen-2.5-Minimum","Gen-2.5-Extreme-Low","Gen-2.5-Low","Gen-2.5-Medium","Gen-2.5-High","Gen-2.5-Extreme-High"],"default":"Gen-2.5-Extreme-Low"},"high_pack":{"title":"High Pack","description":"HighPack add-on: 4K textures (and ~16x faces in Quad mode). Adds 16 credits.","type":"boolean"},"material":{"title":"Material","description":"Material output: PBR, Shaded, All, or None.","type":"string","enum":["PBR","Shaded","All","None"],"default":"All"},"geometry_file_format":{"title":"Geometry File Format","description":"Mesh file format. glb renders in the in-app viewer.","type":"string","enum":["glb","usdz","fbx","obj","stl"],"default":"glb"},"quality_mesh_option":{"title":"Quality Mesh Option","description":"Mesh density. Auto picks the advised mesh for the selected tier.","type":"string","enum":["Auto","1K Quad","4K Quad","8K Quad","18K Quad","20K Quad","50K Quad","100K Quad","200K Quad","2K Triangle","4K Triangle","8K Triangle","10K Triangle","20K Triangle","50K Triangle","150K Triangle","500K Triangle","1M Triangle","2M Triangle"],"default":"Auto"},"texture_mode":{"title":"Texture Mode","description":"Texture generation quality. Defaults per tier when unset.","type":"string","enum":["legacy","extreme-low","low","medium","high"]},"use_original_alpha":{"title":"Use Original Alpha","description":"Preserve input image transparency.","type":"boolean"},"enable_creative_mode":{"title":"Enable Creative Mode","description":"Enhanced generative robustness.","type":"boolean"},"hd_texture":{"title":"HD Texture","description":"Enhanced texture post-processing.","type":"boolean"},"texture_delight":{"title":"Texture Delight","description":"Remove baked lighting/highlights from textures.","type":"boolean"},"is_micro":{"title":"Is Micro","description":"Finer micro-scale geometry (Gen-2.5-Extreme-High only).","type":"boolean"},"tapose":{"title":"Tapose","description":"Generate in T-pose / A-pose for easier rigging.","type":"boolean"},"seed":{"title":"Seed","description":"Seed (0–65535) for reproducible output.","type":"integer","minimum":0,"maximum":65535},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image_urls"]},"RunwayGen45Request":{"title":"Runway Gen-4.5Request","description":"Runway's Gen-4.5 video model. Text-to-video or image-to-video at 720p in five shapes, 5, 8 or 10 seconds, with cinematic camera work and believable motion. Clips are silent.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"What happens in the clip. One shot per prompt: subject, action, camera move, style. Up to 1000 characters.","type":"string"},"image":{"title":"Start Frame URL","description":"Optional first frame for image-to-video. The clip starts from this image.","type":"string","format":"uri"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output shape, always 720p. Without a start image only 16:9 and 9:16 are accepted; with a start image all five work.","type":"string","enum":["16:9","9:16","4:3","3:4","1:1"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in seconds: 5, 8 or 10.","type":"integer","default":"5","enum":["5","8","10"]},"seed":{"title":"Seed","description":"Optional seed for repeatable results.","type":"integer","minimum":0,"maximum":4294967295},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"SeedAudioRequest":{"title":"Seed Audio 1.0Request","description":"ByteDance Seed Audio 1.0. Generate speech, voice clones, and full audio scenes (radio dramas, podcasts, narration) from a prompt.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text to speak, or an instruction like \"Generate a short suspense radio drama\". Reference uploaded audio clips inline as @Audio1, @Audio2, @Audio3.","type":"string"},"voice":{"title":"Voice","description":"Accepted for backwards compatibility but no longer applied. The model has no preset-voice control. Describe the voice you want in the prompt, or clone one with audio_urls.","type":"string"},"audio_urls":{"title":"Audio Urls","description":"Up to 3 reference audio URLs for voice cloning, referenced in the prompt as @Audio1–@Audio3. Each clip up to 30s / 10MB (wav, mp3, pcm, or ogg_opus). Cannot be combined with image_url.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"image_url":{"title":"Image URL","description":"Single reference image URL (jpeg/png/webp, up to 10MB) to guide the audio. Cannot be combined with audio_urls.","type":"string","format":"uri"},"output_format":{"title":"Output Format","description":"Output audio format.","type":"string","enum":["mp3","wav","pcm","ogg_opus"],"default":"mp3"},"sample_rate":{"title":"Sample Rate","description":"Output sample rate in Hz (8000, 16000, 24000, 32000, 44100, or 48000).","type":"integer","default":24000},"speed":{"title":"Speed","description":"Speech speed multiplier (0.5–2).","type":"number","default":1,"minimum":0.5,"maximum":2},"volume":{"title":"Volume","description":"Volume multiplier (0.5–2).","type":"number","default":1,"minimum":0.5,"maximum":2},"pitch":{"title":"Pitch","description":"Pitch shift in semitones (-12 to +12).","type":"integer","default":0,"minimum":-12,"maximum":12},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Seedance2HighRequest":{"title":"Seedance 2 HighRequest","description":"Higher-quality Seedance 2.0 video generation (supports 1080p)","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video or motion to generate","type":"string"},"image_url":{"title":"Image URL","description":"Reference image for image-to-video mode (the first frame)","type":"string","format":"uri"},"last_frame_url":{"title":"End Frame URL","description":"Optional end frame for first-and-last-frame image-to-video. Requires image_url (the start frame); the clip animates from the first frame to this one.","type":"string","format":"uri"},"mode":{"title":"Mode","description":"text-to-video or image-to-video","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["480p","720p","1080p","4k"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5, 10, or 15)","type":"string","enum":["5","10","15"],"default":"5"},"quality":{"title":"Quality","description":"Generation quality tier. Higher tiers cost more credits.","type":"string","enum":["fast","high","mini"],"default":"fast"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Seedance2MiniRequest":{"title":"Seedance 2 MiniRequest","description":"Cost-effective Seedance 2.0 Mini. Same creation flow at roughly half the credits (480p / 720p)","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video or motion to generate","type":"string"},"image_url":{"title":"Image URL","description":"Reference image for image-to-video mode (the first frame)","type":"string","format":"uri"},"last_frame_url":{"title":"End Frame URL","description":"Optional end frame for first-and-last-frame image-to-video. Requires image_url (the start frame); the clip animates from the first frame to this one.","type":"string","format":"uri"},"mode":{"title":"Mode","description":"text-to-video or image-to-video","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"resolution":{"title":"Resolution","description":"Video resolution. 1080p and 4K need the High tier (seedance-2-high).","type":"string","enum":["480p","720p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (5, 10, or 15)","type":"string","enum":["5","10","15"],"default":"5"},"quality":{"title":"Quality","description":"Generation quality tier. Higher tiers cost more credits.","type":"string","enum":["fast","high","mini"],"default":"fast"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Seedance25Request":{"title":"Seedance 2.5Request","description":"Seedance 2.5: text-to-video, first/last frame, and multimodal reference-to-video. Up to 30 seconds in one request with native audio in 11 languages.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video. Tag reference assets as @Image1, @Video1, @Audio1 and say what each one contributes. With audio on, describe the sound (for example \"<rain and footsteps>\"): prompts that name no sound have their soundtrack refused by the copyright check more often. Required.","type":"string"},"first_frame_url":{"title":"First Frame URL","description":"Starting frame. Forces the output aspect ratio to match this image. Cannot be combined with reference assets.","type":"string","format":"uri"},"last_frame_url":{"title":"Last Frame URL","description":"Ending frame. Requires first_frame_url.","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 30 reference images. Cannot be combined with first/last frames.","type":"array","items":{"type":"string"},"maxItems":30},"reference_videos":{"title":"Reference Videos","description":"Up to 10 reference videos, 30s combined.","type":"array","items":{"type":"string"},"maxItems":10},"reference_video_seconds":{"title":"Reference Video Seconds","description":"Combined length of reference_videos, in seconds. Seedance meters input video as well as output, so this is billed on top of duration. An ESTIMATE only. It is refined from the provider's own meter at settlement and the difference is refunded. Omit it and reference-video runs reserve the full 30s budget.","type":"number","minimum":1,"maximum":30},"reference_audios":{"title":"Reference Audios","description":"Up to 10 reference audio tracks, 30s combined. Seedance 2.5 accepts audio-only references.","type":"array","items":{"type":"string"},"maxItems":10},"resolution":{"title":"Resolution","description":"Output resolution. Seedance 2.5 supports 480p, 720p, and 1080p.","type":"string","enum":["480p","720p","1080p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Ignored (forced to \"adaptive\") when a first frame or a reference video is supplied, because the model matches that input.","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in seconds (4-30), or -1 to let the model choose. -1 is billed at 30s and refunded down on settle.","type":"integer","default":5,"minimum":-1,"maximum":30},"generate_audio":{"title":"Generate Audio","description":"Generate a native audio track (11 languages supported).","type":"boolean","default":true},"thinking":{"title":"Thinking","description":"Let the model reason about the prompt before generating. Most useful on long multi-beat prompts. Costs no extra credits. Off by default.","type":"boolean","default":false},"draft":{"title":"Draft","description":"","type":"boolean","default":false},"draft_job_id":{"title":"Draft Job ID","description":"","type":"string"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"Seedance25FlashRequest":{"title":"Seedance 2.5 FlashRequest","description":"Seedance 2.5 Flash: the faster, lower-cost Seedance 2.5. Text-to-video, first/last frame, and reference-to-video, up to 30 seconds at 480p or 720p with native audio.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video. Tag reference assets as @Image1, @Video1, @Audio1 and say what each one contributes. With audio on, describe the sound (for example \"<rain and footsteps>\"): prompts that name no sound have their soundtrack refused by the copyright check more often. Required.","type":"string"},"first_frame_url":{"title":"First Frame URL","description":"Starting frame. Forces the output aspect ratio to match this image. Cannot be combined with reference assets.","type":"string","format":"uri"},"last_frame_url":{"title":"Last Frame URL","description":"Ending frame. Requires first_frame_url.","type":"string","format":"uri"},"reference_images":{"title":"Reference Images","description":"Up to 10 reference images. Cannot be combined with first/last frames.","type":"array","items":{"type":"string"},"maxItems":10},"reference_videos":{"title":"Reference Videos","description":"Up to 5 reference videos, 30s combined.","type":"array","items":{"type":"string"},"maxItems":5},"reference_video_seconds":{"title":"Reference Video Seconds","description":"Combined length of reference_videos, in seconds. Seedance meters input video as well as output, so this is billed on top of duration. An ESTIMATE only. It is refined from the provider's own meter at settlement and the difference is refunded. Omit it and reference-video runs reserve the full 30s budget.","type":"number","minimum":1,"maximum":30},"reference_audios":{"title":"Reference Audios","description":"Up to 5 reference audio tracks, 30s combined.","type":"array","items":{"type":"string"},"maxItems":5},"resolution":{"title":"Resolution","description":"Output resolution. Seedance 2.5 Flash supports 480p and 720p. For 1080p, use seedance-2-5.","type":"string","enum":["480p","720p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio. Ignored (forced to \"adaptive\") when a first frame or a reference video is supplied, because the model matches that input.","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in seconds (4-30), or -1 to let the model choose. -1 is billed at 30s and refunded down on settle.","type":"integer","default":5,"minimum":-1,"maximum":30},"generate_audio":{"title":"Generate Audio","description":"Generate a native audio track (11 languages supported).","type":"boolean","default":true},"thinking":{"title":"Thinking","description":"Let the model reason about the prompt before generating. Most useful on long multi-beat prompts. Costs no extra credits. Off by default.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"Seedance25VideoEditRequest":{"title":"Seedance 2.5 Video EditRequest","description":"Edit or extend an existing video with Seedance 2.5. Replace a subject, add or remove objects, or continue a clip forward or backward, with up to 50 reference materials.","type":"object","additionalProperties":false,"properties":{"mode":{"title":"Mode","description":"edit changes what happens inside the clip and keeps its length. extend adds new footage before or after it.","type":"string","enum":["edit","extend"],"default":"edit"},"prompt":{"title":"Prompt","description":"The change you want. Do not write the trigger wording yourself. The server prefixes the canonical phrase for your mode. Tag extra materials as @Image1, @Video2, @Audio1 (the source clip is always @Video1).","type":"string"},"video_url":{"title":"Source Video URL","description":"The clip to edit or extend. Must be 4-30 seconds. Becomes @Video1.","type":"string","format":"uri"},"direction":{"title":"Direction","description":"extend only: whether the new footage comes after the clip or before it.","type":"string","enum":["forward","backward"],"default":"forward"},"duration":{"title":"Duration","description":"extend only: length of the result in seconds (4-30), or -1 to let the model choose. Ignored in edit mode, where the provider requires -1 and matches the source length.","type":"integer","default":-1,"minimum":-1,"maximum":30},"reference_images":{"title":"Reference Images","description":"Up to 30 extra images, e.g. the face or product to paste into the shot.","type":"array","items":{"type":"string"},"maxItems":30},"reference_videos":{"title":"Reference Videos","description":"Up to 9 extra clips alongside the source (10 videos total, 30s combined).","type":"array","items":{"type":"string"},"maxItems":9},"reference_video_seconds":{"title":"Reference Video Seconds","description":"Combined length of reference_videos in seconds (up to 30). The provider meters reference video on top of the source, so send this to be billed the real length. Omitted with reference videos attached, the full 30s is reserved and settlement refunds the difference.","type":"number","minimum":1,"maximum":30},"reference_audios":{"title":"Reference Audios","description":"Up to 10 audio tracks, e.g. a voice to match.","type":"array","items":{"type":"string"},"maxItems":10},"resolution":{"title":"Resolution","description":"Output resolution. Seedance 2.5 supports 480p, 720p, and 1080p.","type":"string","enum":["480p","720p","1080p"],"default":"720p"},"generate_audio":{"title":"Generate Audio","description":"Generate a native audio track.","type":"boolean","default":true},"thinking":{"title":"Thinking","description":"Let the model reason about the prompt before generating. Costs no extra credits. Off by default.","type":"boolean","default":false},"source_duration_seconds":{"title":"Source Duration Seconds","description":"","type":"number","minimum":0,"maximum":30},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","video_url"]},"Seedance2ReferenceRequest":{"title":"Seedance 2 ReferenceRequest","description":"Seedance 2.0 multimodal reference-to-video. Combine up to 9 images, 3 video clips, and 3 audio tracks to guide characters, motion, and sound. With a reference video, the high quality tier costs 6 credits a second at 720p, 12 at 1080p and 27 at 4K.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"reference_images":{"title":"Reference Images","description":"Optional reference image URLs to bias style or subject.","type":"array","items":{"type":"string","format":"uri"},"maxItems":9},"reference_videos":{"title":"Reference Videos","description":"Optional reference video URLs (up to 3). Combined duration across all clips must be 15 seconds or less.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"reference_audios":{"title":"Reference Audios","description":"Optional reference audio URLs (up to 3). At least one reference image or video must also be supplied.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"quality":{"title":"Quality","description":"Generation quality tier. Higher tiers cost more credits.","type":"string","enum":["fast","high","mini"],"default":"fast"},"duration":{"title":"Duration","description":"Output duration in seconds.","type":"integer","default":5,"minimum":4,"maximum":15},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["480p","720p","1080p","4k"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"default":"16:9"},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"SeedanceVideoEditRequest":{"title":"Seedance 2 Video EditRequest","description":"Edit source videos with Seedance 2.0 using prompted changes, optional reference images, and 480p, 720p, or 1080p output. The result runs to the next whole second of the source (a 5.1 second clip comes back about 6 seconds long), between 4 and 15 seconds.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Optional. The server measures the clip and bills its real length. A value you send is ignored.","type":"number","minimum":0,"maximum":15},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["480p","720p","1080p","4k"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","21:9","adaptive"],"default":"16:9"},"quality":{"title":"Quality","description":"Generation quality tier. Higher tiers cost more credits.","type":"string","enum":["fast","standard"],"default":"fast"},"generate_audio":{"title":"Generate Audio","description":"Generate a soundtrack alongside the video.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":9},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","video_url"]},"Seedream4Request":{"title":"Seedream 4.5Request","description":"ByteDance Seedream 4.5: new-generation image creation with superior aesthetics, text rendering, and up to 4K resolution.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output size preset or resolution","type":"string","enum":["auto_2K","auto_4K","square_1_1","landscape_16_9","portrait_9_16","landscape_4_3","portrait_3_4","landscape_3_2","portrait_2_3","landscape_21_9"],"default":"auto_2K"},"customWidth":{"title":"Custom Width","description":"Custom width in pixels (1296-4096)","type":"number","minimum":1296,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels (1296-4096)","type":"number","minimum":1296,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Seedream5Request":{"title":"Seedream 5Request","description":"Seedream 5 Pro: the flagship Seedream image model with sharper realism, stronger prompt adherence, and best-in-class text rendering.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output size, and the price tier: this model has no resolution parameter. 1K-class output (auto_1K, or a custom size of 2.36 megapixels or less) is 1.5 credits per image; 2K-class output (auto_2K and every preset) is 2.75 credits. auto_1K and auto_2K pick the shape themselves (square from a text prompt), so for a set aspect ratio use a landscape_/portrait_ preset, or custom with customWidth and customHeight (e.g. 1360x768 for 16:9 at 1K, 2048x1152 at 2K). On the API, resolution \"1K\" or \"2K\" with aspect_ratio is turned into that size for you.","type":"string","enum":["auto_1K","auto_2K","square_1_1","landscape_16_9","portrait_9_16","landscape_4_3","portrait_3_4","landscape_3_2","portrait_2_3","landscape_21_9"],"default":"auto_2K"},"customWidth":{"title":"Custom Width","description":"Custom width in pixels. Snapped to a multiple of 16; total pixels must be between 921,600 (1280×720) and 4,194,304 (2048×2048).","type":"number","minimum":256,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels. Snapped to a multiple of 16; total pixels must be between 921,600 (1280×720) and 4,194,304 (2048×2048).","type":"number","minimum":256,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Seedream55Request":{"title":"Seedream 5.5Request","description":"Seedream 5.5: the newest Seedream image model. Sharp, realistic images in seconds, exact text, edits that keep the subject the same, and transparent backgrounds.","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, and the price tier: this model has no resolution parameter. From a text prompt: 0.5 credits per image at 1K (auto_1K), 1 at 2K. With reference images: 1 at 1K, 1.5 at 2K for up to 2 pictures, plus 0.25 per extra picture. auto_1K is the 1K tier; auto_2K and every landscape_/portrait_/square preset are 2K. A custom size of 2.36 megapixels or less is priced 1K. auto_1K and auto_2K keep a reference image's shape and are square from a text prompt. For a set shape at 1K use custom, e.g. customWidth 1360 and customHeight 768 for 16:9. On the API, resolution \"1K\" or \"2K\" with aspect_ratio is turned into that size for you.","type":"string","enum":["auto_1K","auto_2K","square_1_1","landscape_16_9","portrait_9_16","landscape_4_3","portrait_3_4","landscape_3_2","portrait_2_3","landscape_21_9"],"default":"auto_2K"},"customWidth":{"title":"Custom Width","description":"Custom width in pixels. Snapped to a multiple of 16; total pixels must be between 921,600 (1280×720) and 4,194,304 (2048×2048).","type":"number","minimum":256,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels. Snapped to a multiple of 16; total pixels must be between 921,600 (1280×720) and 4,194,304 (2048×2048).","type":"number","minimum":256,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"background":{"title":"Background","description":"opaque makes a normal image. transparent returns a PNG with a see-through background, for stickers, logos and product cutouts.","type":"string","enum":["opaque","transparent"],"default":"opaque"},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Seedream5FlashRequest":{"title":"Seedream 5 FlashRequest","description":"Seedream 5 Flash: the fast, low-cost Seedream 5 model for quick drafts and high-volume image generation and editing.","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. 0.5 credits per image at any size.","type":"string","enum":["auto_1K","auto_2K","square_1_1","landscape_16_9","portrait_9_16","landscape_4_3","portrait_3_4","landscape_3_2","portrait_2_3","landscape_21_9"],"default":"auto_2K"},"customWidth":{"title":"Custom Width","description":"Custom width in pixels. Snapped to a multiple of 16; total pixels must be between 921,600 (1280×720) and 4,194,304 (2048×2048).","type":"number","minimum":256,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels. Snapped to a multiple of 16; total pixels must be between 921,600 (1280×720) and 4,194,304 (2048×2048).","type":"number","minimum":256,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":10},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Seedream5LiteRequest":{"title":"Seedream 5 LiteRequest","description":"ByteDance Seedream 5.0 Lite: fast, high-quality image generation and editing with strong aesthetics and text rendering.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_size":{"title":"Image Size","description":"Output size preset or resolution","type":"string","enum":["auto_2K","auto_3K","square_1_1","landscape_16_9","portrait_9_16","landscape_4_3","portrait_3_4","landscape_3_2","portrait_2_3","landscape_21_9"],"default":"auto_2K"},"customWidth":{"title":"Custom Width","description":"Custom width in pixels (1296-4096)","type":"number","minimum":1296,"maximum":4096},"customHeight":{"title":"Custom Height","description":"Custom height in pixels (1296-4096)","type":"number","minimum":1296,"maximum":4096},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"num_images":{"title":"Number of Images","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":14},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"TextToMusicRequest":{"title":"Text to MusicRequest","description":"ACE-Step v1.5. Generate instrumental beds or full songs from a prompt, 30 seconds to 5 minutes.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the music. Required unless composition_plan is provided. Set the length with music_length_ms: a length written here is ignored.","type":"string"},"music_length_ms":{"title":"Music Length Ms","description":"Length of the generated music in milliseconds, 30 seconds to 5 minutes. Default and minimum 30,000 (30 seconds). Must be a multiple of 5,000 (5s). This is the only length setting: a length written in the prompt is ignored. Ignored when composition_plan is provided (the section total decides).","type":"integer","default":30000,"minimum":30000,"maximum":300000},"force_instrumental":{"title":"Force Instrumental","description":"Force purely instrumental output (no vocals). Leave true unless you are supplying lyrics. This model sings only the words you give it. Ignored with composition_plan, where the section lines decide.","type":"boolean","default":true},"lyrics":{"title":"Lyrics","description":"Words to sing. Only applied when force_instrumental is false. Use [verse] / [chorus] tags on their own lines to mark structure. Without lyrics the track is instrumental.","type":"string"},"respect_sections_durations":{"title":"Respect Sections Durations","description":"Accepted for backwards compatibility but no longer applied. Section boundaries cannot be pinned on this model.","type":"boolean","default":true},"output_format":{"title":"Output Format","description":"Output file format.","type":"string","enum":["mp3_standard","mp3_high_quality","wav_16khz","wav_22khz","wav_24khz","wav_cd_quality"],"default":"mp3_standard"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"TextToSpeechRequest":{"title":"Text to SpeechRequest","description":"MiniMax Speech 2.8 Turbo. Convert text into natural-sounding speech.","type":"object","additionalProperties":false,"properties":{"text":{"title":"Text","description":"Text to synthesize into speech (1–10,000 characters). Billed per character: 2 credits per 1,000 characters, rounded up to 0.1 credit, 0.5 credit minimum.","type":"string"},"voice_id":{"title":"Voice ID","description":"Voice preset (e.g. Wise_Woman, Calm_Woman, Friendly_Person).","type":"string","default":"Wise_Woman"},"speed":{"title":"Speed","description":"Speech speed multiplier (0.5–2).","type":"number","default":1,"minimum":0.5,"maximum":2},"volume":{"title":"Volume","description":"Output volume (0–10).","type":"number","default":1,"minimum":0,"maximum":10},"pitch":{"title":"Pitch","description":"Pitch shift in semitones (-12 to +12).","type":"integer","default":0,"minimum":-12,"maximum":12},"emotion":{"title":"Emotion","description":"Emotional tone for the synthesized speech.","type":"string","enum":["auto","happy","sad","angry","fearful","disgusted","surprised","calm","fluent","neutral"],"default":"auto"},"english_normalization":{"title":"English Normalization","description":"Normalize numbers, abbreviations, and acronyms in English text.","type":"boolean","default":false},"sample_rate":{"title":"Sample Rate","description":"Output sample rate in Hz (8000, 16000, 22050, 24000, 32000, or 44100).","type":"integer","default":32000},"bitrate":{"title":"Bitrate","description":"Output bitrate in bps (32000, 64000, 128000, or 256000).","type":"integer","default":128000},"audio_format":{"title":"Audio Format","description":"Output container format.","type":"string","enum":["mp3","wav","flac","pcm"],"default":"mp3"},"channel":{"title":"Channel","description":"Mono or stereo output.","type":"string","enum":["mono","stereo"],"default":"mono"},"subtitle_enable":{"title":"Subtitle Enable","description":"Return word-aligned subtitles alongside the audio.","type":"boolean","default":false},"language_boost":{"title":"Language Boost","description":"Language tag to bias pronunciation (default \"None\").","type":"string","default":"None"},"async":{"title":"Async","description":"Submit asynchronously and return a job id instead of waiting for the audio inline.","type":"boolean"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["text"]},"Veo31FastRequest":{"title":"Veo 3.1 FastRequest","description":"Faster generation at 4.5 credits per second with native audio (3 with generate_audio false)","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"},"reference_images":{"title":"Reference Images","description":"Up to 3 reference images for style guidance","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio. An attached start image is cropped to it, from the center.","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"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized native audio. On by default: Standard 12 credits/second (8 with audio off), Fast 4.5 (3 with audio off). Lite is unaffected.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["fast","standard","lite"],"default":"standard"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"Veo31StandardRequest":{"title":"Veo 3.1 StandardRequest","description":"Higher quality at 12 credits per second with native audio (8 with generate_audio false)","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"},"reference_images":{"title":"Reference Images","description":"Up to 3 reference images for style guidance","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio. An attached start image is cropped to it, from the center.","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"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized native audio. On by default: Standard 12 credits/second (8 with audio off), Fast 4.5 (3 with audio off). Lite is unaffected.","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["fast","standard","lite"],"default":"standard"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"Veo31LiteRequest":{"title":"Veo 3.1 LiteRequest","description":"Lite variant at 1.5 credits/sec for 720p and 2 credits/sec for 1080p (8 s only). Audio is always on. No reference images, 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"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio (1:1 not supported for Lite). An attached start image is cropped to it, from the center.","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"},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"reference_images":{"title":"Reference Images","description":"Optional reference image URLs to bias style or subject.","type":"array","items":{"type":"string","format":"uri"},"maxItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["fast","standard","lite"],"default":"standard"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string","default":"blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature"},"generate_audio":{"title":"Generate Audio","description":"Generate synchronized native audio. On by default: Standard 12 credits/second (8 with audio off), Fast 4.5 (3 with audio off). Lite is unaffected.","type":"boolean","default":true},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"VideoAutocaptionRequest":{"title":"Video AutocaptionRequest","description":"Animated word-by-word captions, placed clear of the TikTok, Reels and Shorts buttons.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Video","description":"Reference video URL.","type":"string","format":"uri"},"highlight_color":{"title":"Highlight Color","description":"Hex color for word-highlight emphasis on the burned-in captions (e.g. \"#FFCC00\").","type":"string"},"caption_style":{"title":"Caption Style","description":"pop (default): bold uppercase, the spoken word lit and growing. highlighter: the spoken word on a block of the color. clean: sentence case on a dark box.","type":"string","enum":["pop","highlighter","clean"]},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["video"]},"VideoUpscalerRequest":{"title":"Video UpscalerRequest","description":"FlashVSR video upscaling. Enhance video resolution up to 4K.","type":"object","additionalProperties":false,"properties":{"video":{"title":"Video","description":"Source video. Public HTTPS URL. MP4 only, max 500 MB.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Optional. The server measures the clip and bills its real length. A value you send is ignored.","type":"number","minimum":0},"target_resolution":{"title":"Target Resolution","description":"Target output resolution. 4k is the highest tier; 1080p is the default.","type":"string","enum":["720p","1080p","2k","4k"],"default":"1080p"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["video"]},"Wan21VideoRequest":{"title":"WAN 2.1 VideoRequest","description":"WAN 2.1 (14B) text & image to video with LoRA support. 480p/720p, 1-5 second clips.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image","description":"Optional starting-frame image (public HTTPS URL). When set, the tool runs image-to-video; when omitted, text-to-video.","type":"string","format":"uri"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"resolution":{"title":"Resolution","description":"Output resolution. 480p bills 2.5 credits/sec, 720p bills 8 credits/sec (Balanced or Fast speed).","type":"string","enum":["480p","720p"],"default":"480p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio of the output video","type":"string","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"title":"Duration","description":"Video length in seconds (1-5, clips render at 16fps). Billed on at least 3 seconds, so 1-2s clips cost the same as 3s.","type":"integer","default":5,"minimum":1,"maximum":5},"fast_mode":{"title":"Speed","description":"Acceleration level. Faster modes may reduce quality slightly. Off (best quality) bills 4 credits/sec at 480p and 14 at 720p; Balanced and Fast bill the resolution rate.","type":"string","enum":["Off","Balanced","Fast"],"default":"Balanced"},"lora_url":{"title":"LoRA URL","description":"HuggingFace, CivitAI, or .safetensors URL for a custom LoRA","type":"string","format":"uri"},"lora_strength":{"title":"LoRA Strength","description":"How strongly the LoRA is applied (0 disables it)","type":"number","default":1,"minimum":0,"maximum":2},"sample_steps":{"title":"Sample Steps","description":"Number of inference steps. Above 30, the price scales proportionally (40 steps costs 4/3 as much).","type":"integer","default":30,"minimum":1,"maximum":40},"sample_guide_scale":{"title":"Guidance Scale","description":"Higher values follow the prompt more closely","type":"number","default":5,"minimum":0,"maximum":10},"sample_shift":{"title":"Sample Shift","description":"Flow shift parameter for video generation","type":"number","default":8,"minimum":1,"maximum":12},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Wan22StandardRequest":{"title":"WAN 2.2 StandardRequest","description":"Premium quality with enhanced detail","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Starting image. Sending one makes an image-to-video clip; leave it out for text-to-video.","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. Credits per generation: standard 480p 3, 720p 4.5; plus 480p 3, 1080p 11.","type":"string","enum":["480p","720p"],"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","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":5,"minimum":0,"maximum":20},"frames_per_second":{"title":"FPS","description":"Frames per second (8-24)","type":"integer","default":16,"minimum":8,"maximum":24},"interpolate_output":{"title":"Interpolate Output","description":"Interpolate output to 30 FPS","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"lora_weights_transformer":{"title":"LoRA 1 Weights","description":"URL or path to a LoRA. Standard quality mode only. 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 quality mode only. 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},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"]},"quality_mode":{"title":"Quality Mode","description":"","type":"string","enum":["standard","plus"],"default":"standard"},"sample_steps":{"title":"Sample Steps","description":"","type":"integer","default":30,"minimum":10,"maximum":50},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":false},"optimize_prompt":{"title":"Optimize Prompt","description":"","type":"boolean"},"lora_weights_transformer_3":{"title":"Lora Weights Transformer 3","description":"","type":"string"},"lora_scale_transformer_3":{"title":"Lora Scale Transformer 3","description":"","type":"number"},"lora_weights_transformer_4":{"title":"Lora Weights Transformer 4","description":"","type":"string"},"lora_scale_transformer_4":{"title":"Lora Scale Transformer 4","description":"","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","mode"]},"Wan22PlusRequest":{"title":"WAN 2.2 PlusRequest","description":"Higher quality 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. Sending one makes an image-to-video clip; leave it out for text-to-video.","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. Credits per generation: standard 480p 3, 720p 4.5; plus 480p 3, 1080p 11.","type":"string","enum":["480p","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","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":5,"minimum":0,"maximum":20},"frames_per_second":{"title":"FPS","description":"Frames per second (8-24)","type":"integer","default":16,"minimum":8,"maximum":24},"interpolate_output":{"title":"Interpolate Output","description":"Interpolate output to 30 FPS","type":"boolean","default":true},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"lora_weights_transformer":{"title":"LoRA 1 Weights","description":"URL or path to a LoRA. Standard quality mode only. 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 quality mode only. 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},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"]},"quality_mode":{"title":"Quality Mode","description":"","type":"string","enum":["standard","plus"],"default":"standard"},"sample_steps":{"title":"Sample Steps","description":"","type":"integer","default":30,"minimum":10,"maximum":50},"go_fast":{"title":"Go Fast","description":"Trade detail for shorter generation time.","type":"boolean","default":false},"optimize_prompt":{"title":"Optimize Prompt","description":"","type":"boolean"},"lora_weights_transformer_3":{"title":"Lora Weights Transformer 3","description":"","type":"string"},"lora_scale_transformer_3":{"title":"Lora Scale Transformer 3","description":"","type":"number"},"lora_weights_transformer_4":{"title":"Lora Weights Transformer 4","description":"","type":"string"},"lora_scale_transformer_4":{"title":"Lora Scale Transformer 4","description":"","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","mode"]},"Wan22I2vSpicyRequest":{"title":"WAN 2.2 Image-to-VideoRequest","description":"Image-to-video with WAN 2.2. Animate a starting image. 480p or 720p, 5s or 8s clips.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the motion or scene","type":"string"},"image_url":{"title":"Image","description":"Source image. Public HTTPS URL. JPEG/PNG/BMP/WEBP.","type":"string","format":"uri"},"last_image_url":{"title":"End Frame","description":"Optional last-frame image; the model interpolates from image_url to it","type":"string","format":"uri"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["480p","720p"],"default":"480p"},"duration":{"title":"Duration","description":"Output length in seconds (5 or 8)","type":"integer","default":"5","enum":["5","8"]},"prompt_extend":{"title":"Prompt Extend","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2,147,483,647); null/0 = random","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","image_url"]},"Wan26StandardRequest":{"title":"WAN 2.6 StandardRequest","description":"Higher quality, 720p/1080p support","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate. Sound is made from what the prompt describes, so describe the sounds you want (speech, music, street noise). A prompt with no sound in it can come back silent.","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"image_url":{"title":"Image URL","description":"Start image. Sending one makes the call image-to-video unless mode says otherwise.","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode. Leave it out to pick from the inputs: image-to-video when image_url is set, text-to-video when it is not.","type":"string","enum":["text-to-video","image-to-video"]},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["720p","1080p"],"default":"720p"},"duration":{"title":"Duration","description":"Video duration in seconds (5-15)","type":"integer","default":5,"minimum":5,"maximum":15},"enable_prompt_expansion":{"title":"Prompt Expansion","description":"Automatically enhance the prompt","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"variant":{"title":"Variant","description":"Model variant to use.","type":"string","enum":["standard","flash"],"default":"flash"},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string","default":"1280*720"},"multi_shots":{"title":"Multi Shots","description":"Generate a multi-shot sequence instead of a single clip.","type":"boolean","default":false},"audio_url":{"title":"Audio URL","description":"Reference audio track URL.","type":"string","format":"uri"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"Wan26FlashRequest":{"title":"WAN 2.6 FlashRequest","description":"Fast and affordable image-to-video. image_url is required: Flash makes video from a start photo. For text to video use wan-2.6-standard.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate. Sound is made from what the prompt describes, so describe the sounds you want (speech, music, street noise). A prompt with no sound in it can come back silent.","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"image_url":{"title":"Image URL","description":"Start image to animate. Required: Flash makes video from a start photo.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["720p","1080p"],"default":"720p"},"duration":{"title":"Duration","description":"Video duration in seconds (5-15)","type":"integer","default":5,"minimum":5,"maximum":15},"enable_prompt_expansion":{"title":"Prompt Expansion","description":"Automatically enhance the prompt","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer"},"mode":{"title":"Mode","description":"Generation mode.","type":"string","enum":["text-to-video","image-to-video"]},"variant":{"title":"Variant","description":"Model variant to use.","type":"string","enum":["standard","flash"],"default":"flash"},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string","default":"1280*720"},"multi_shots":{"title":"Multi Shots","description":"Generate a multi-shot sequence instead of a single clip.","type":"boolean","default":false},"audio_url":{"title":"Audio URL","description":"Reference audio track URL.","type":"string","format":"uri"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}}},"Wan26ImageRequest":{"title":"WAN 2.6 ImageRequest","description":"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","1280*960","960*1280","1280*720","720*1280","1200*800","800*1200","1344*576"],"default":"1280*1280"},"n":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducible results (0–2147483647). Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"prompt_extend":{"title":"Prompt Extend","description":"Enable smart prompt rewriting. The model expands short prompts for richer detail.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Wan26ImageEditRequest":{"title":"WAN 2.6 Image EditRequest","description":"WAN 2.6 image editing. Up to 4 reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":4,"minItems":1},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string","enum":["1K","2K","1280*1280","1280*960","960*1280","1280*720","720*1280","1200*800","800*1200","1344*576"],"default":"1K"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the output.","type":"string","default":""},"prompt_extend":{"title":"Prompt Extend","description":"Enable smart prompt rewriting. The model expands short prompts for richer detail.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","image_urls"]},"Wan27I2vSpicyRequest":{"title":"WAN 2.7 Image-to-VideoRequest","description":"Image-to-video with WAN 2.7. Animate a starting image with optional driving audio. 720p or 1080p, 2–15 second clips.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the motion or scene","type":"string"},"image_url":{"title":"Image","description":"Source image. Public HTTPS URL. JPEG/PNG/BMP/WEBP, 240–8000px, aspect 1:8 to 8:1, max 20MB.","type":"string","format":"uri"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video","type":"string"},"audio_url":{"title":"Audio URL","description":"Optional HTTPS audio (WAV/MP3, 2–30s, max 15MB) to drive lip-sync / motion","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution tier","type":"string","enum":["720p","1080p"],"default":"1080p"},"duration":{"title":"Duration","description":"Output length in seconds (2–15)","type":"integer","default":5,"minimum":2,"maximum":15},"prompt_extend":{"title":"Prompt Extend","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility (0–2,147,483,647)","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","image_url"]},"Wan27ImageRequest":{"title":"WAN 2.7 StandardRequest","description":"Faster Wan 2.7 image generation and editing","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"image_urls":{"title":"Reference Images","description":"Optional. Up to 9 reference images (people, products, places) the new image should keep. Each image: JPEG/PNG/BMP/WEBP, 240–8000px on each side, max 20 MB. Not available at 4K.","type":"array","items":{"type":"string"},"maxItems":9},"size":{"title":"Size","description":"Output resolution. Use a tier (1K/2K/4K, recommended) or an explicit width*height. 4K (and 4K-tier dimensions like 3840*2160) is supported by the Pro model for text-to-image only; 1K and 2K are supported by both models in all modes.","type":"string","enum":["1K","2K","1280*1280","1024*1024","2048*2048","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280","1920*1080","1080*1920","2048*1536","1536*2048","2048*1638","1638*2048"],"default":"2K"},"thinking_mode":{"title":"Thinking Mode","description":"Improves text-to-image quality at the cost of slower generation","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate. Default mode: 1-4. Image-set mode (enable_sequential=true): up to 12; the model picks the actual count, capped at n.","type":"integer","default":1,"minimum":1,"maximum":12},"enable_sequential":{"title":"Image Set Mode","description":"When true, generates a coherent set of related images instead of independent variants. Disables thinking_mode and color_palette and lets n go up to 12.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (but not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"color_palette":{"title":"Color Palette","description":"Custom color theme. Array of 3–10 (8 recommended) objects with `hex` (#RRGGBB) and `ratio` (e.g. \"25.00%\"); ratios must sum to 100.00%. Only effective when enable_sequential=false.","type":"array","items":{"type":"string"},"maxItems":10,"minItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["wan-2.7-standard","wan-2.7-pro"],"default":"wan-2.7-standard"},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"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"},"image_urls":{"title":"Reference Images","description":"Optional. Up to 9 reference images (people, products, places) the new image should keep. Each image: JPEG/PNG/BMP/WEBP, 240–8000px on each side, max 20 MB. Not available at 4K.","type":"array","items":{"type":"string"},"maxItems":9},"size":{"title":"Size","description":"Output resolution. Use a tier (1K/2K/4K, recommended) or an explicit width*height. 4K (and 4K-tier dimensions like 3840*2160) is supported by the Pro model for text-to-image only; 1K and 2K are supported by both models in all modes.","type":"string","enum":["1K","2K","4K","1280*1280","1024*1024","2048*2048","4096*4096","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280","1920*1080","1080*1920","2048*1536","1536*2048","2048*1638","1638*2048","3840*2160","2160*3840","4096*3072","3072*4096","4096*3276","3276*4096"],"default":"2K"},"thinking_mode":{"title":"Thinking Mode","description":"Improves text-to-image quality at the cost of slower generation","type":"boolean","default":false},"n":{"title":"Number of Outputs","description":"Number of images to generate. Default mode: 1-4. Image-set mode (enable_sequential=true): up to 12; the model picks the actual count, capped at n.","type":"integer","default":1,"minimum":1,"maximum":12},"enable_sequential":{"title":"Image Set Mode","description":"When true, generates a coherent set of related images instead of independent variants. Disables thinking_mode and color_palette and lets n go up to 12.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (but not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"color_palette":{"title":"Color Palette","description":"Custom color theme. Array of 3–10 (8 recommended) objects with `hex` (#RRGGBB) and `ratio` (e.g. \"25.00%\"); ratios must sum to 100.00%. Only effective when enable_sequential=false.","type":"array","items":{"type":"string"},"maxItems":10,"minItems":3},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["wan-2.7-standard","wan-2.7-pro"],"default":"wan-2.7-standard"},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Wan27ImageEditRequest":{"title":"WAN 2.7 Image EditRequest","description":"WAN 2.7 image editing. Standard and Pro tiers, supports up to 9 input images for fusion edits.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Edit instruction or composition prompt (max 5,000 characters).","type":"string"},"image_urls":{"title":"Input Images","description":"Up to 9 input images. Each image: JPEG/JPG/PNG (no alpha) / BMP / WEBP, 240–8000px on each side, aspect ratio between 1:8 and 8:1, max 20 MB.","type":"array","items":{"type":"string"},"maxItems":9,"minItems":1},"model":{"title":"Model","description":"Standard (the default) or Pro, the higher quality tier.","type":"string","enum":["wan-2.7-standard","wan-2.7-pro"],"default":"wan-2.7-standard"},"size":{"title":"Size","description":"Output resolution. Use a tier (1K/2K, recommended; 2K default) or an explicit width*height. Edit and multi-image flows cap at 2K on both models.","type":"string","enum":["1K","2K","1280*1280","1024*1024","2048*2048","1280*720","720*1280","1024*768","768*1024","1280*960","960*1280","1280*1024","1024*1280","1920*1080","1080*1920","2048*1536","1536*2048","2048*1638","1638*2048"],"default":"2K"},"seed":{"title":"Seed","description":"Random seed (0–2147483647). Same seed + same inputs yields similar (but not identical) outputs. Omit for random.","type":"integer","minimum":0,"maximum":2147483647},"bbox_list":{"title":"Bounding Boxes (interactive edit)","description":"Optional per-image bounding boxes for interactive editing. Outer length must match image_urls; each inner list holds up to 2 boxes of [x1, y1, x2, y2] in pixels. Pass [] for images that don't need a box.","type":"array","items":{"type":"string"}},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","image_urls"]},"Wan27T2vRequest":{"title":"WAN 2.7 Text-to-VideoRequest","description":"Text-to-video with audio sync, 720p/1080p output, and 2-15 second durations","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate (max 8000 characters)","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video (max 500 characters)","type":"string"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["text-to-video"],"default":"text-to-video"},"resolution":{"title":"Resolution","description":"Video resolution tier","type":"string","enum":["720p","1080p"],"default":"720p"},"duration":{"title":"Duration","description":"Video duration in seconds (2-15)","type":"integer","default":5,"minimum":2,"maximum":15},"enable_prompt_expansion":{"title":"Prompt Expansion","description":"Automatically enhance the prompt","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647},"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"source_video_duration":{"title":"Source Video Duration","description":"","type":"number"},"last_frame_url":{"title":"Last Frame URL","description":"Last-frame anchor image URL for video generation.","type":"string","format":"uri"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string"},"audio_url":{"title":"Audio URL","description":"Reference audio track URL.","type":"string","format":"uri"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Wan27I2vRequest":{"title":"WAN 2.7 Image-to-VideoRequest","description":"Image-to-video and video continuation with optional last-frame control and audio sync","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate (max 8000 characters)","type":"string"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video (max 500 characters)","type":"string"},"image_url":{"title":"Image URL","description":"First-frame image for image-to-video mode","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Source clip for video continuation mode","type":"string","format":"uri"},"last_frame_url":{"title":"Last Frame URL","description":"Optional last-frame image for first-and-last-frame-to-video","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["image-to-video","video-extend"],"default":"image-to-video"},"resolution":{"title":"Resolution","description":"Video resolution tier","type":"string","enum":["720p","1080p"],"default":"720p"},"duration":{"title":"Duration","description":"Video duration in seconds (2-15)","type":"integer","default":5,"minimum":2,"maximum":15},"enable_prompt_expansion":{"title":"Prompt Expansion","description":"Automatically enhance the prompt","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"integer","minimum":0,"maximum":2147483647},"source_video_duration":{"title":"Source Video Duration","description":"","type":"number"},"aspectRatio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string"},"audio_url":{"title":"Audio URL","description":"Reference audio track URL.","type":"string","format":"uri"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"Wan30VideoRequest":{"title":"WAN 3.0Request","description":"Alibaba WAN 3.0 video. Text-to-video with optional reference images or first/last frame control, native audio, up to 30 seconds.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"reference_image_urls":{"title":"Reference Image URLs","description":"Up to 10 reference images. Cannot be combined with first/last frame.","type":"array","items":{"type":"string"},"maxItems":10},"reference_video_urls":{"title":"Reference Video URLs","description":"Up to 5 reference videos (15 seconds combined). Copy motion, camera moves, or temporal style. Cannot be combined with first/last frame. Input length counts against the 30 second total, and is billed at the same per-second rate as the output: the server measures the clips before the charge, rounding the combined length up to whole seconds. A clip that cannot be downloaded or read (MP4 or MOV, up to 100MB) is refused with a 400 and not charged.","type":"array","items":{"type":"string"},"maxItems":5},"reference_audio_urls":{"title":"Reference Audio URLs","description":"Up to 5 reference audio clips (15 seconds combined). Drive voice timbre for dialogue. Cannot be combined with first/last frame.","type":"array","items":{"type":"string"},"maxItems":5},"first_frame_url":{"title":"First Frame URL","description":"Starting frame. Cannot be combined with reference images.","type":"string","format":"uri"},"last_frame_url":{"title":"Last Frame URL","description":"Ending frame. Cannot be combined with reference images.","type":"string","format":"uri"},"resolution":{"title":"Resolution","description":"Output resolution tier. 2K and 4K run on the Pro model.","type":"string","enum":["480P","720P","1080P","2K","4K"],"default":"720P"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio (\"adaptive\" matches the input media)","type":"string","enum":["16:9","4:3","1:1","3:4","9:16","adaptive"],"default":"16:9"},"duration":{"title":"Duration","description":"Clip length in seconds (2-30), or -1 to let the model choose. -1 charges the 30 second price up front and refunds the unused seconds once the clip is ready. Not available with reference videos.","type":"integer","default":5,"minimum":-1,"maximum":30},"audio":{"title":"Audio","description":"Generate a native audio track","type":"boolean","default":true},"fast":{"title":"Fast generation","description":"Same output quality with a shorter queue. Costs more per second (2 / 3 / 6 / 7 / 8 credits at 480P / 720P / 1080P / 2K / 4K vs 1 / 2 / 3 / 3 / 4.5).","type":"boolean","default":false},"prompt_extend":{"title":"Prompt rewriting","description":"Off by default, so the model follows your prompt literally. Turn on to let the model expand the prompt before generating.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility. Accepted, not currently honored by this backbone.","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"WanImageRequest":{"title":"WAN 2.2 ImageRequest","description":"Fast cinematic image generation (3-6 seconds) with up to 2MP output and optional LoRA support.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4"],"default":"1:1"},"megapixels":{"title":"Megapixels","description":"Output resolution in megapixels (1 or 2)","type":"integer","default":2,"minimum":1,"maximum":2},"numberOfImages":{"title":"Number of Outputs","description":"Number of images to generate (1-4)","type":"integer","default":1,"minimum":1,"maximum":4},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"model":{"title":"Model","description":"Model variant to use.","type":"string","enum":["replicate"],"default":"replicate"},"juiced":{"title":"Juiced","description":"Apply quality boost (slower).","type":"boolean"},"output_format":{"title":"Output Format","description":"Output file format.","type":"string"},"output_quality":{"title":"Output Quality","description":"JPEG/WEBP encoding quality (0–100).","type":"number"},"lora_weights_transformer":{"title":"Lora Weights Transformer","description":"URL or HuggingFace path to a transformer LoRA weights file.","type":"string"},"lora_scale_transformer":{"title":"Lora Scale Transformer","description":"Strength of the transformer LoRA (typical 0–2).","type":"number"},"lora_weights_transformer_2":{"title":"Lora Weights Transformer 2","description":"","type":"string"},"lora_scale_transformer_2":{"title":"Lora Scale Transformer 2","description":"","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"WanReferenceToVideoRequest":{"title":"WAN Reference to VideoRequest","description":"WAN reference-to-video. Up to 5 image/video references with multi-shot support.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"reference_urls":{"title":"Reference URLs","description":"Reference image or video URLs (1-5, up to 3 videos of 1-30s each). Every second of every reference video is billed like an output second, so each one adds its length to the billed seconds. A video on PixelDojo storage (upload it with POST /api/v1/upload first) is measured before the charge; a video hosted anywhere else bills 30s. A reference is read as an image when its link ends in .jpg, .jpeg, .png, .bmp or .webp and as a video when it ends in .mp4, .mov, .avi or .m4v; a link hosted elsewhere that ends in neither is refused (400, nothing charged), so upload it first.","type":"array","items":{"type":"string","format":"uri"},"maxItems":5,"minItems":1},"model":{"title":"Model","description":"WAN reference-to-video variant. wan2.7-r2v and wan2.6-r2v bill 2 credits per second at 720p and 4.5 at 1080p; wan2.6-r2v-flash bills 1.75 and 2.25. Reference-video seconds bill at the same rate as output seconds.","type":"string","enum":["wan2.7-r2v","wan2.6-r2v","wan2.6-r2v-flash"],"default":"wan2.7-r2v"},"duration":{"title":"Duration","description":"Video duration in seconds (2-10).","type":"integer","minimum":2,"maximum":10},"resolution":{"title":"Resolution","description":"Output resolution (720p or 1080p; trailing \"p\" optional).","type":"string","enum":["720","1080"],"default":"1080"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4"]},"shot_type":{"title":"Shot Type","description":"Single shot or multi-shot composition.","type":"string","enum":["single","multi"],"default":"single"},"negative_prompt":{"title":"Negative Prompt","description":"What to avoid in the video.","type":"string"},"prompt_extend":{"title":"Prompt Extend","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed (kept on for multi-shot, which relies on it). Turn on to auto-enhance short prompts.","type":"boolean","default":false},"watermark":{"title":"Watermark","description":"Whether to render a provider watermark.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility (0–2147483647).","type":"integer","minimum":0,"maximum":2147483647},"size":{"title":"Size","description":"Output image dimensions (width*height).","type":"string","enum":["1280*720","720*1280","960*960","1088*832","832*1088","1920*1080","1080*1920","1440*1440","1632*1248","1248*1632"]},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","reference_urls","duration"]},"WanVideoCharacterSwapRequest":{"title":"WAN Video Character SwapRequest","description":"WAN character swap. Combine a character image with a reference video to produce a new clip.","type":"object","additionalProperties":false,"properties":{"image_url":{"title":"Image URL","description":"Reference image URL.","type":"string","format":"uri"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Optional. The server measures the clip and bills its real length. A value you send is ignored.","type":"number","minimum":0,"maximum":30},"mode":{"title":"Mode","description":"wan-std bills 3.4 credits per second of the reference video (rounded up), wan-pro 4.9.","type":"string","enum":["wan-std","wan-pro"],"default":"wan-std"},"check_image":{"title":"Check Image","description":"Run face / character validation on the input image before submitting. Recommended; turn off only when you know the image is clean.","type":"boolean","default":true},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["image_url","video_url"]},"WanVideoEditRequest":{"title":"WAN 2.7 Video EditRequest","description":"WAN 2.7 video editing. Modify an existing clip via prompt with optional reference images.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Optional. The server measures the clip and bills its real length. A value you send is ignored.","type":"number","minimum":0,"maximum":10},"resolution":{"title":"Resolution","description":"Output resolution.","type":"string","enum":["720P","1080P"],"default":"1080P"},"aspect_ratio":{"title":"Aspect Ratio","description":"Output aspect ratio.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4"]},"audio_setting":{"title":"Audio Setting","description":"Audio: \"auto\" lets the model decide the sound, \"origin\" keeps the source video's audio.","type":"string","enum":["auto","origin"],"default":"auto"},"watermark":{"title":"Watermark","description":"Add a watermark to the bottom-right of the output.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed for reproducibility. Same seed + inputs yields similar results.","type":"integer","minimum":0,"maximum":2147483647},"duration_override":{"title":"Duration Override","description":"Force a specific output duration in seconds. Defaults to the source video's duration; supply this only to truncate or extend.","type":"integer","minimum":0,"maximum":10},"image_urls":{"title":"Image Urls","description":"Reference image URLs.","type":"array","items":{"type":"string","format":"uri"},"maxItems":4},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","video_url"]},"XaiImageRequest":{"title":"Grok ImageRequest","description":"xAI Grok Imagine. Fast tier for quick iteration, Quality tier for higher fidelity at 1k or 2k.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text prompt for image generation or editing","type":"string"},"num_outputs":{"title":"Number of Images","description":"How many images to make in one call (1 to 10). Each image is charged.","type":"integer","default":1,"minimum":1,"maximum":10},"aspect_ratio":{"title":"Aspect Ratio","description":"Aspect ratio for generated images (ignored for edits)","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"default":"1:1"},"quality":{"title":"Quality Tier","description":"fast (1 credit, default), quality (1.5 credits at 1k, 2 credits at 2k) or imagine-2 (2 credits, Grok Imagine 2). Quality has sharper detail and stronger text rendering.","type":"string","enum":["fast","quality","imagine-2"],"default":"fast"},"resolution":{"title":"Resolution","description":"1k (1024px long edge) or 2k (2048px long edge). Only applies to the quality and imagine-2 tiers.","type":"string","enum":["1k","2k"],"default":"2k"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"XaiImageEditRequest":{"title":"Grok Image EditRequest","description":"xAI Grok image editing. Sync response (no polling). Provide an image URL and a text edit instruction. Optional quality tier for 1k/2k high-fidelity edits.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing the edit to apply","type":"string"},"image_url":{"title":"Image URL","description":"URL of the image to edit (jpg, jpeg, png, webp)","type":"string","format":"uri"},"quality":{"title":"Quality Tier","description":"fast (1 credit, default), quality (1.5 credits at 1k, 2 credits at 2k) or imagine-2 (2 credits, Grok Imagine 2). Quality has sharper detail and stronger text rendering.","type":"string","enum":["fast","quality","imagine-2"],"default":"fast"},"resolution":{"title":"Resolution","description":"1k or 2k output. Only applies to the quality tier; imagine-2 edits keep the source image size.","type":"string","enum":["1k","2k"],"default":"2k"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","image_url"]},"XaiVideoRequest":{"title":"Grok VideoRequest","description":"xAI Grok Imagine video. Text-to-video or image-to-video, 1-15 seconds at 480p or 720p. Image-to-video can use the Grok Imagine 1.5 backbone for natively-synchronized audio.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the video to generate","type":"string"},"image_url":{"title":"Image URL","description":"Source image for image-to-video mode","type":"string","format":"uri"},"mode":{"title":"Mode","description":"Generation mode","type":"string","enum":["text-to-video","image-to-video"],"default":"text-to-video"},"model_version":{"title":"Model Version","description":"Grok Imagine backbone. \"standard\" costs 1.5 credits/second. \"1.5\" adds natively-synchronized audio, costs 2.5 credits/second at 480p and 720p, and is image-to-video only (requires image_url).","type":"string","enum":["standard","1.5"],"default":"standard"},"resolution":{"title":"Resolution","description":"Video resolution","type":"string","enum":["720p","480p"],"default":"720p"},"aspect_ratio":{"title":"Aspect Ratio","description":"Video aspect ratio","type":"string","enum":["16:9","4:3","1:1","9:16","3:4","3:2","2:3"],"default":"16:9"},"duration":{"title":"Duration","description":"Video duration in seconds (1-15)","type":"integer","default":5,"minimum":1,"maximum":15},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"XaiVideoEditRequest":{"title":"Grok Video EditRequest","description":"Grok Imagine Video edit. Transform short clips with a prompt.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text instruction describing what to generate or edit.","type":"string"},"video_url":{"title":"Video URL","description":"Reference video URL.","type":"string","format":"uri"},"video_duration":{"title":"Video Duration","description":"Optional. The server measures the clip and bills its real length. A value you send is ignored.","type":"number","minimum":0,"maximum":8.7},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt","video_url"]},"ZImageSpicyRequest":{"title":"Z Image RealisticRequest","description":"Z Image text-to-image, Realistic mode. Square / portrait / landscape compositions, 256–1536px on each side.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Convenience preset that maps to width × height","type":"string","enum":["1:1","16:9","9:16","4:3","3:4"],"default":"1:1"},"width":{"title":"Width","description":"Output width in pixels (256–1536). Overrides aspect_ratio when set.","type":"integer","minimum":256,"maximum":1536},"height":{"title":"Height","description":"Output height in pixels (256–1536). Overrides aspect_ratio when set.","type":"integer","minimum":256,"maximum":1536},"prompt_extend":{"title":"Prompt Extend","description":"Server-side LLM prompt rewriting. Off by default so your exact prompt is followed. Turn on to auto-enhance short prompts.","type":"boolean","default":false},"seed":{"title":"Seed","description":"Random seed (0–2,147,483,647); null/0 = random","type":"integer","minimum":0,"maximum":2147483647},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"required":["prompt"]},"ZImageTurboRequest":{"title":"Z-Image TurboRequest","description":"Super-fast 6B parameter text-to-image with great text rendering and LoRA support.","type":"object","additionalProperties":false,"properties":{"prompt":{"title":"Prompt","description":"Text description of the image to generate","type":"string"},"aspect_ratio":{"title":"Aspect Ratio","description":"Image aspect ratio","type":"string","enum":["1:1","16:9","9:16","4:3","3:4"],"default":"1:1"},"num_inference_steps":{"title":"Inference Steps","description":"Number of inference steps (1-8)","type":"number","default":8,"minimum":1,"maximum":8},"seed":{"title":"Seed","description":"Random seed for reproducibility","type":"number"},"lora_weights":{"title":"LoRA Weights","description":"URL (or array of URLs) to LoRA weights. Accepts a single URL string or a JSON array of URLs.","type":"string"},"lora_scales":{"title":"LoRA Scales","description":"Strength of the LoRA(s). Accepts a single number or a JSON array of numbers matching lora_weights.","type":"number"},"webhook_url":{"type":"string","format":"uri","description":"Optional webhook callback for terminal job events."}},"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"}}}}}}}