{"openapi":"3.1.0","info":{"title":"Hermes AI API","version":"1.0.0","description":"Submit asynchronous model tasks, retrieve results and check your usage. Fetch current customer prices and model availability from GET /api/v1/prices."},"servers":[{"url":"https://api.hermes-ai.net"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"},"apiKey":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Job":{"type":"object","required":["id","model","status","priceMicros","currency","createdAt","updatedAt","assets"],"properties":{"id":{"type":"string"},"model":{"type":"string"},"status":{"type":"string","enum":["queued","submitting","running","succeeded","failed","reconciliation_required"]},"errorCode":{"type":["string","null"]},"priceMicros":{"type":"integer","description":"USD micro-units"},"currency":{"type":"string","enum":["USD"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"}}}}}},"Error":{"type":"object","properties":{"code":{"type":"string"},"error":{"type":"string"}}}}},"paths":{"/api/v1/prices":{"get":{"summary":"Public customer rates and execution availability","responses":{"200":{"description":"Returns USD micro-unit rates with enabled and optional rateCard. Apply input defaults, match exactly one rule by when, and multiply by quantityField when present. If referenceImages is present, add priceMicros for each image in its field beyond the included count. Without a rateCard use priceMicros. A delivered-images rate reserves the requested count and charges only successfully delivered images. A pixelTier reserves the higher price and settles at the lower price when the captured image is at or below maxPixels; unknown dimensions use the higher price. Audio-duration rates reserve their maximum and charge measured output by started seconds. Video-duration rates reserve the maximum and charge by started seconds for the longer of requested or measured output duration. For an explicitly configured automatic-duration value, omitted automatic duration, or measuredOnly rate, charge measured output instead. Unknown output duration is charged at the maximum. If videoDuration.inputVideo is present, reserve its maxSeconds in addition to output; when the specified input video field is present, charge those fixed input seconds regardless of input length. Disabled or absent models cannot be submitted."}}}},"/api/v1/media":{"post":{"summary":"Upload image, video or audio as raw binary","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":true,"content":{"image/*":{"schema":{"type":"string","format":"binary"}},"video/*":{"schema":{"type":"string","format":"binary"}},"audio/*":{"schema":{"type":"string","format":"binary"}}}},"responses":{"201":{"description":"Returns a media:<uuid> reference"}}}},"/api/v1/jobs":{"get":{"summary":"List your latest tasks","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Latest 100 tasks"}}},"post":{"summary":"Submit one model task","security":[{"bearerAuth":[]},{"apiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model","input"],"properties":{"model":{"type":"string","enum":["nano-banana-pro-text-to-image-economy","nano-banana-pro-edit-economy","nano-banana-2-lite-image-to-image-economy","nano-banana-2-lite-text-to-image-economy","nano-banana-2-image-to-image-economy","nano-banana-2-text-to-image-economy","suno-single-v5-5","suno-custom-v5-5","suno-lyrics","suno-single-v5","suno-custom-v5","suno-single-v4-5","suno-custom-v4-5","gpt-image-2-5-sunburst-image-to-image-economy","gpt-image-2-5-sunburst-text-to-image-economy","gpt-image-2-5-flare-image-to-image-economy","gpt-image-2-5-flare-text-to-image-economy","xai-grok-imagine-2-0-text-to-image-economy","gemini-omni-flash-image-to-video-economy","gemini-omni-flash-text-to-video-economy","gemini-omni-flash-video-edit-economy","gpt-image-2-0-text-to-image-economy","gpt-image-2-0-edit-economy","grok-imagine-image-text-to-image-economy","grok-imagine-image-image-to-image-economy","xai-grok-imagine-v1-5-text-to-video-economy","xai-grok-imagine-v1-5-image-to-video-economy","google-veo3-1-pro-start-end-to-video-channel-low-price","google-veo3-1-pro-image-to-video-channel-low-price","google-veo3-1-fast-start-end-to-video-channel-low-price","google-veo3-1-fast-image-to-video-channel-low-price","google-veo3-1-pro-text-to-video-channel-low-price","google-veo3-1-fast-text-to-video-channel-low-price","qwen-image-3-0-pro-text-to-image","wan-2-7-text-to-image-pro","wan-2-7-text-to-image","wan-2-7-image-edit-pro","wan-2-7-image-edit","qwen-image-3-0-pro-image-edit","qwen-image-3-0-image-edit","qwen-image-3-0-text-to-image","qwen-image-2-0-text-to-image","qwen-image-2-0-pro-text-to-image","qwen-image-2-0-image-edit","qwen-image-2-0-pro-image-edit","wan-2-5-preview-image-to-image","wan-2-5-preview-text-to-image","hailuo-02-pro","hailuo-02-t2v-pro","hailuo-02-i2v-pro","hailuo-2-3-t2v-pro","hailuo-2-3-i2v-pro","hailuo-2-3-fast-pro-image-to-video","kling-v4-image-to-video","kling-v4-text-to-video","kling-v3-0-pro-image-to-video","kling-v3-0-pro-text-to-video","kling-v3-0-std-image-to-video","kling-v3-0-std-text-to-video","flux-3-text-to-image","flux-3-image-to-image","flux-3-klein-text-to-image","flux-3-klein-image-to-image","kling-v3-turbo-pro-image-to-video","kling-v3-turbo-std-image-to-video","kling-v3-turbo-pro-text-to-video","kling-v3-turbo-std-text-to-video","z-image-turbo-text-to-image","z-image-turbo-image-to-image","wan-2-7-text-to-video","wan-2-7-image-to-video","wan-2-7-video-extend","dola-seedream-5-0-flash-text-to-image","dola-seedream-5-0-flash-image-to-image","seedream-4-7-text-to-image","seedream-4-7-image-to-image","flux-2-dev-image-to-image","flux-2-dev-text-to-image","flux-2-klein-9b-text-to-image","flux-2-klein-9b-image-to-image","flux-2-klein-4b-image-to-image","flux-2-klein-4b-text-to-image","seedream-5-0-pro-text-to-image","seedream-5-0-pro-image-to-image","dola-seedream-5-0-pro-text-to-image","dola-seedream-5-0-pro-image-to-image","wan-2-6-text-to-video","wan-2-6-image-to-video","wan-2-6-flash-image-to-video","doubao-seed-audio-1-0","happyhorse-1-1-text-to-video","happyhorse-1-1-image-to-video","happyhorse-1-1-reference-to-video","vidu-q4-preview-reference-to-video","vidu-q4-preview-image-to-video","happyhorse-1-0-reference-to-video","happyhorse-1-0-image-to-video","happyhorse-1-0-text-to-video","vidu-reference-to-video-q3-mix","vidu-reference-to-video-q3","vidu-start-end-to-video-q3-pro","vidu-start-end-to-video-q3-turbo","vidu-image-to-video-q3-turbo","vidu-text-to-video-q3-turbo","vidu-image-to-video-q3-pro","vidu-text-to-video-q3-pro","minimax-h3-max-turbo-image-to-video","minimax-h3-max-turbo-text-to-video","minimax-h3-max-image-to-video","minimax-h3-max-text-to-video","minimax-h3-image-to-video","minimax-h3-text-to-video","pixverse-v6-extend","pixverse-v6-transition","pixverse-v6-image-to-video","pixverse-v6-text-to-video","kling-v2-6-std-text-to-video","kling-v2-6-std-image-to-video","kling-v2-6-pro-motion-control","kling-v2-6-std-motion-control","kling-v2-6-pro-image-to-video","kling-v2-6-pro-text-to-video","skyreels-v4-image-to-video-fast","skyreels-v4-text-to-video-fast","skyreels-v4-image-to-video-std","skyreels-v4-text-to-video-std","seedance-2-0-global-mini-multimodal-video","seedance-2-0-global-mini-image-to-video","seedance-2-0-global-mini-text-to-video","seedance-2-0-global-fast-multimodal-video","seedance-2-0-global-fast-image-to-video","seedance-2-0-global-fast-text-to-video","seedance-2-0-global-multimodal-video","seedance-2-0-global-image-to-video","seedance-2-0-global-text-to-video","google-veo3-1-lite-start-end-to-video-stable","google-veo3-1-lite-image-to-video-stable","google-veo3-1-lite-text-to-video-stable","wan-3-0-prime-text-to-video","wan-3-0-text-to-video","kling-v3-0-pro-motion-control","kling-v3-0-std-motion-control","kling-o1-text-to-video","kling-o1-image-to-video","kling-o1-start-end-to-video","kling-o3-std-text-to-video","kling-o3-pro-text-to-video","kling-o3-std-image-to-video","kling-o3-pro-image-to-video","kling-o3-4k-text-to-video","kling-o3-4k-image-to-video","kling-o3-4k-reference-to-video","kling-o1-video-edit","kling-o1-reference-to-video","kling-o3-pro-video-edit","kling-o3-std-video-edit","kling-o3-pro-reference-to-video","kling-o3-std-reference-to-video","wan-2-5-preview-image-to-video","wan-2-5-preview-text-to-video","hailuo-02-fast","hailuo-02-standard","hailuo-2-3-fast-image-to-video","hailuo-2-3-i2v-standard","hailuo-02-i2v-standard","hailuo-2-3-t2v-standard","hailuo-02-t2v-standard","flux-kontext-dev-lora-image-edit","wan-3-0-image-to-video","wan-3-0-prime-image-to-video","qwen-image-edit-2511","kling-v3-0-4k-image-to-video","z-image-turbo-lora-text-to-image","z-image-turbo-lora-image-to-image","qwen-image-edit-2511-lora","wan-2-7-reference-to-video","wan-2-6-reference-to-video","wan-2-6-flash-reference-to-video","wan-2-7-video-edit","vidu-reference-to-video-q3-drama","vidu-reference-to-video-q3-ad","minimax-h3-regeneration-text-to-video","minimax-h3-regeneration-image-to-video","minimax-h3-multimodal-reference-to-video","flux-3-video-text-to-video","flux-3-video-image-to-video","flux-3-video-video-continuation","seedream-5-5-text-to-image","seedream-5-5-image-to-image","dola-seedream-5-5-text-to-image","dola-seedream-5-5-image-to-image","muse-video-economy","muse-image-economy","nano-banana-2-1-text-to-image-stable","nano-banana-2-1-image-to-image-stable","nano-banana-2-1-text-to-image-economy","nano-banana-2-1-image-to-image-economy","krea-v2-medium-text-to-image","krea-v2-turbo","gpt-image-2-6-sunburst-text-to-image-stable-token","gpt-image-2-6-sunburst-image-to-image-stable-token","gpt-image-2-6-flare-text-to-image-stable-token","gpt-image-2-6-flare-image-to-image-stable-token","mureka-generate-lyrics"]},"input":{"type":"object"},"expectedPriceMicros":{"type":"integer","description":"Optional displayed price guard. A mismatch returns 409 PRICE_CHANGED before admission."}}}}}},"responses":{"200":{"description":"Idempotent replay"},"202":{"description":"New task","content":{"application/json":{"schema":{"type":"object","required":["id","model","status","priceMicros","currency","createdAt","updatedAt","assets"],"properties":{"id":{"type":"string"},"model":{"type":"string"},"status":{"type":"string","enum":["queued","submitting","running","succeeded","failed","reconciliation_required"]},"errorCode":{"type":["string","null"]},"priceMicros":{"type":"integer","description":"USD micro-units"},"currency":{"type":"string","enum":["USD"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"}}}}}}}}},"409":{"description":"IDEMPOTENCY_CONFLICT or PRICE_CHANGED"},"429":{"description":"Rate or concurrency limit"}}}},"/api/v1/jobs/{id}":{"get":{"summary":"Poll a task","security":[{"bearerAuth":[]},{"apiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current task","content":{"application/json":{"schema":{"type":"object","required":["id","model","status","priceMicros","currency","createdAt","updatedAt","assets"],"properties":{"id":{"type":"string"},"model":{"type":"string"},"status":{"type":"string","enum":["queued","submitting","running","succeeded","failed","reconciliation_required"]},"errorCode":{"type":["string","null"]},"priceMicros":{"type":"integer","description":"USD micro-units"},"currency":{"type":"string","enum":["USD"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"}}}}}}}}}}}},"/api/v1/usage":{"get":{"summary":"Current account credits and ledger","security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"Amounts are integer USD micro-units"}}}},"/api/v1/chat/models":{"get":{"summary":"Callable chat models with payable token prices","responses":{"200":{"description":"OpenAI list format; pricing.tiers hold USD per 1M tokens by prompt size"}}}},"/api/v1/chat/completions":{"post":{"summary":"OpenAI-compatible chat completion billed per token","security":[{"bearerAuth":[]},{"apiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model","messages"],"properties":{"model":{"type":"string","description":"Id from /api/v1/chat/models"},"messages":{"type":"array","items":{"type":"object"}},"stream":{"type":"boolean"},"max_tokens":{"type":"integer","description":"Output cap; also sizes the credit reservation (policy default when omitted)"},"tools":{"type":"array","items":{"type":"object"}}}}}}},"responses":{"200":{"description":"OpenAI chat.completion object (or text/event-stream when stream is true) with hermes.charged_micros"},"400":{"description":"INVALID_REQUEST"},"404":{"description":"MODEL_NOT_FOUND"},"409":{"description":"INSUFFICIENT_CREDITS or MODEL_PRICE_UNAVAILABLE"},"429":{"description":"RATE_LIMITED, CONCURRENCY_LIMITED or UPSTREAM_RATE_LIMITED"},"502":{"description":"UPSTREAM_ERROR"}}}},"/api/v1/chat/requests":{"get":{"summary":"Your chat requests with charges and token usage","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},{"name":"before","in":"query","description":"nextCursor from the previous page","schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"apiKey":[]}],"responses":{"200":{"description":"requests (customer metadata only) and nextCursor (null at the end)"},"400":{"description":"Invalid limit"},"404":{"description":"REQUEST_NOT_FOUND for an invalid or unowned cursor"}}}},"/api/v1/chat/requests/{id}":{"get":{"summary":"One chat request belonging to your account","security":[{"bearerAuth":[]},{"apiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Customer metadata, token usage and charge"},"404":{"description":"REQUEST_NOT_FOUND"}}}},"/api/v1/results/{id}":{"get":{"summary":"Download an owned result","security":[{"bearerAuth":[]},{"apiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Result bytes"}}}}},"x-models":{"nano-banana-pro-text-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9"],"default":"9:16"},"resolution":{"type":"string","description":"resolution","enum":["1k","2k","4k"],"default":"1k"}}}},"nano-banana-pro-edit-economy":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt","resolution"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"When the aspectRatio parameter is not provided, the image size adapts automatically.","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9"],"default":"3:4"},"resolution":{"type":"string","description":"resolution","enum":["1k","2k","4k"],"default":"1k"}}}},"nano-banana-2-lite-image-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9","1:4","4:1","1:8","8:1"],"default":"9:16"}}}},"nano-banana-2-lite-text-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9","1:4","4:1","1:8","8:1"],"default":"9:16"}}}},"nano-banana-2-image-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt","resolution"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9","1:4","4:1","1:8","8:1"],"default":"9:16"},"resolution":{"type":"string","description":"resolution","enum":["1k","2k","4k"],"default":"1k"}}}},"nano-banana-2-text-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution"],"properties":{"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9","1:4","4:1","1:8","8:1"],"default":"9:16"},"resolution":{"type":"string","description":"resolution","enum":["1k","2k","4k"],"default":"1k"}}}},"suno-single-v5-5":{"deprecated":false,"input":{"type":"object","required":["description"],"properties":{"title":{"type":"string","description":"Song title; if empty, Suno will auto-generate one based on content","minLength":0,"maxLength":80},"description":{"type":"string","description":"Describe the music style/mood/scene in plain text, up to 400 chars","minLength":1,"maxLength":400},"make_instrumental":{"type":"string","description":"Generate instrumental music without vocals; pass string \"true\"/\"false\"","enum":["false","true"],"default":"false"}}}},"suno-custom-v5-5":{"deprecated":false,"input":{"type":"object","required":["title","prompt","tags"],"properties":{"title":{"type":"string","description":"Song title","minLength":1,"maxLength":80},"prompt":{"type":"string","description":"Full lyrics, supports [Verse] [Chorus] [Bridge] structure tags","minLength":1,"maxLength":5000},"tags":{"type":"string","description":"Comma-separated style descriptors","minLength":1,"maxLength":1000}}}},"suno-lyrics":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Describe lyrics topic in one sentence (≤500 chars)","minLength":1,"maxLength":500}}}},"suno-single-v5":{"deprecated":false,"input":{"type":"object","required":["description"],"properties":{"title":{"type":"string","description":"Song title; if empty, Suno will auto-generate one based on content","maxLength":80},"description":{"type":"string","description":"Describe the music style/mood/scene in plain text, up to 400 chars","minLength":1,"maxLength":400},"make_instrumental":{"type":"string","description":"Generate instrumental music without vocals; pass string \"true\"/\"false\"","enum":["false","true"],"default":"false"}}}},"suno-custom-v5":{"deprecated":false,"input":{"type":"object","required":["title","prompt","tags"],"properties":{"title":{"type":"string","description":"Song title","minLength":1,"maxLength":80},"prompt":{"type":"string","description":"Full lyrics, supports [Verse] [Chorus] [Bridge] structure tags","minLength":1,"maxLength":5000},"tags":{"type":"string","description":"Comma-separated style descriptors","maxLength":1000}}}},"suno-single-v4-5":{"deprecated":false,"input":{"type":"object","required":["description"],"properties":{"title":{"type":"string","description":"Song title; if empty, Suno will auto-generate one based on content","default":"","maxLength":80},"description":{"type":"string","description":"Describe the music style/mood/scene in plain text, up to 400 chars","minLength":1,"maxLength":400},"make_instrumental":{"type":"string","description":"Generate instrumental music without vocals; pass string \"true\"/\"false\"","enum":["false","true"],"default":"false"}}}},"suno-custom-v4-5":{"deprecated":false,"input":{"type":"object","required":["title","prompt","tags"],"properties":{"title":{"type":"string","description":"Song title","minLength":1,"maxLength":80},"prompt":{"type":"string","description":"Full lyrics, supports [Verse] [Chorus] [Bridge] structure tags","minLength":1,"maxLength":5000},"tags":{"type":"string","description":"Comma-separated style descriptors","maxLength":1000}}}},"gpt-image-2-5-sunburst-image-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"prompt","default":"","minLength":1,"maxLength":20000},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference.","default":""},"maxItems":10},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","2:3","3:2","4:5","5:4","4:3","3:4","16:9","9:16","21:9"],"default":"16:9"},"resolution":{"type":"string","description":"1k/2k/4k available.","enum":["1k","2k","4k"],"default":"1k"}}}},"gpt-image-2-5-sunburst-text-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"prompt","default":"","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","3:2","2:3","5:4","4:5","16:9","9:16","21:9","3:4","4:3"],"default":"16:9"},"resolution":{"type":"string","description":"1k/2k/4k available.","enum":["1k","2k","4k"],"default":"1k"}}}},"gpt-image-2-5-flare-image-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"prompt","default":"","minLength":1,"maxLength":20000},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference.","default":""},"maxItems":10},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","2:3","3:2","4:5","5:4","4:3","3:4","16:9","9:16","21:9"],"default":"16:9"},"resolution":{"type":"string","description":"1k/2k/4k available.","enum":["1k","2k","4k"],"default":"1k"}}}},"gpt-image-2-5-flare-text-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"prompt","default":"","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","3:2","2:3","5:4","4:5","16:9","9:16","21:9","3:4","4:3"],"default":"16:9"},"resolution":{"type":"string","description":"1k/2k/4k available.","enum":["1k","2k","4k"],"default":"1k"}}}},"xai-grok-imagine-2-0-text-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","numImages"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":4000},"aspectRatio":{"type":"string","description":"Output image aspect ratio (API size whitelist).","enum":["1:1","2:3","3:2","3:4","4:3","9:16","16:9"],"default":"1:1"},"numImages":{"type":"string","description":"Number of images to generate (1–12). Billed by successfully delivered images.","enum":["1","2","3","4","5","6","7","8","9","10","11","12"],"default":"1"}}}},"gemini-omni-flash-image-to-video-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls","duration","resolution"],"properties":{"prompt":{"type":"string","description":"Video prompt. Describe how the reference image should move, camera motion, visual style, and audio cues in detail.","default":"make the character smile and slowly turn around, cinematic camera motion","minLength":1,"maxLength":2048},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images. Use 1 image for single-image video generation or 3 images for reference fusion. 2 images are not supported. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"duration":{"type":"string","description":"Video duration in seconds. Supported values: 4, 6, 8, 10.","enum":["4","6","8","10"],"default":"6"},"resolution":{"type":"string","description":"Video resolution.","enum":["720p","1080p","4k"],"default":"720p"},"aspectRatio":{"type":"string","description":"Video aspect ratio.","enum":["16:9","9:16"],"default":"16:9"}}}},"gemini-omni-flash-text-to-video-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","duration","resolution"],"properties":{"prompt":{"type":"string","description":"Video prompt. Describe the scene, subject, motion, environment, camera movement, visual style, and audio cues in detail.","default":"a beautiful sunset over the ocean with seagulls flying","minLength":1,"maxLength":2048},"duration":{"type":"string","description":"Video duration in seconds. Supported values: 4, 6, 8, 10.","enum":["4","6","8","10"],"default":"6"},"resolution":{"type":"string","description":"Video resolution.","enum":["720p","1080p","4k"],"default":"720p"},"aspectRatio":{"type":"string","description":"Video aspect ratio.","enum":["16:9","9:16"],"default":"16:9"}}}},"gemini-omni-flash-video-edit-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","videoUrl"],"properties":{"prompt":{"type":"string","description":"Video prompt. Describe how the reference image should move, camera motion, visual style, and audio cues in detail.","minLength":1,"maxLength":2048},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference image, supports only 1 or 3 images. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"resolution":{"type":"string","description":"Video resolution","enum":["720p","1080p","4k"],"default":"720p"},"aspectRatio":{"type":"string","description":"Video aspect ratio.","enum":["16:9","9:16"],"default":"16:9"},"videoUrl":{"type":"string","description":"Reference videos can be passed in simultaneously with imageUrls. The images can be used as identity or composition references, while the videos can be used as dynamic references. Supply an HTTPS URL or an uploaded media:<uuid> reference."}}}},"gpt-image-2-0-text-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","3:2","2:3","5:4","4:5","16:9","9:16","21:9","3:4","4:3","9:21","21:9","1:2","2:1","1:3","3:1"],"default":"16:9"},"resolution":{"type":"string","description":"1k/2k/4k available. Due to interface stability limitations, precise 2k/4k output is not guaranteed. Most results will be 1k. Use official API if concerned.","enum":["1k","2k","4k"],"default":"1k"}}}},"gpt-image-2-0-edit-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","2:3","3:2","4:5","5:4","4:3","3:4","16:9","9:16","21:9","9:21","2:1","1:2","3:1","1:3"],"default":"16:9"},"resolution":{"type":"string","description":"1k/2k/4k available. Due to interface stability limitations, precise 2k/4k output is not guaranteed. Most results will be 1k. Use official API if concerned.","enum":["1k","2k","4k"],"default":"1k"}}}},"grok-imagine-image-text-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["model","prompt"],"properties":{"model":{"type":"string","description":"model","enum":["g-3","g-4","g-4.1","g-4.2"],"default":"g-4.2"},"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["960x960","720x1280","1280x720","1168x784","784x1168"]}}}},"grok-imagine-image-image-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["model","prompt"],"properties":{"model":{"type":"string","description":"model","enum":["g-3","g-4","g-4.1","g-4.2"],"default":"g-4.2"},"prompt":{"type":"string","description":"prompt"},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."}}}},"xai-grok-imagine-v1-5-text-to-video-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","resolution","duration"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["2:3","3:2","1:1","16:9","9:16"],"default":"2:3"},"resolution":{"type":"string","description":"resolution","enum":["720p","480p"],"default":"720p"},"duration":{"type":"integer","description":"Video duration (seconds), range 6-15s","default":6,"minimum":6,"maximum":15}}}},"xai-grok-imagine-v1-5-image-to-video-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","resolution","duration"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["2:3","3:2","1:1","16:9","9:16"],"default":"16:9"},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"resolution":{"type":"string","description":"resolution","enum":["720p","480p"],"default":"480p"},"duration":{"type":"integer","description":"Video duration (seconds), range 6-15s","default":6,"minimum":6,"maximum":15}}}},"google-veo3-1-pro-start-end-to-video-channel-low-price":{"deprecated":false,"input":{"type":"object","required":["prompt","firstFrameUrl","aspectRatio","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":8000},"firstFrameUrl":{"type":"string","description":"firstFrameUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"lastFrameUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16"],"default":"9:16"},"duration":{"type":"string","description":"duration","enum":["8"],"default":"8"},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p","4k"],"default":"720p"}}}},"google-veo3-1-pro-image-to-video-channel-low-price":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","imageUrl","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":8000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16"],"default":"16:9"},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["8"],"default":"8"},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p","4k"],"default":"720p"}}}},"google-veo3-1-fast-start-end-to-video-channel-low-price":{"deprecated":false,"input":{"type":"object","required":["prompt","firstFrameUrl","aspectRatio","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":8000},"firstFrameUrl":{"type":"string","description":"firstFrameUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"lastFrameUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16"],"default":"9:16"},"duration":{"type":"string","description":"duration","enum":["8"],"default":"8"},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p","4k"],"default":"720p"}}}},"google-veo3-1-fast-image-to-video-channel-low-price":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","imageUrls","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":8000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16"],"default":"16:9"},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"duration":{"type":"string","description":"duration","enum":["8"],"default":"8"},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p","4k"],"default":"720p"}}}},"google-veo3-1-pro-text-to-video-channel-low-price":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":8000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16"],"default":"9:16"},"duration":{"type":"string","description":"duration","enum":["8"],"default":"8"},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p","4k"],"default":"720p"}}}},"google-veo3-1-fast-text-to-video-channel-low-price":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":8000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16"],"default":"9:16"},"duration":{"type":"string","description":"duration","enum":["8"],"default":"8"},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p","4k"],"default":"720p"}}}},"qwen-image-3-0-pro-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Positive prompt describing the desired image content, style, composition, and text rendering. Chinese and English are supported.","maxLength":3000},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content.","maxLength":600},"size":{"type":"string","description":"Output resolution as width*height, from 262144 to 4194304 pixels, with aspect ratio between 1:8 and 8:1. Leave empty to let the model choose.","pattern":"^[0-9]{1,7}\\*[0-9]{1,7}$","x-min-pixels":262144,"x-max-pixels":4194304,"x-max-aspect-ratio":8},"imageNum":{"type":"integer","description":"Number of images generated per request. Defaults to 1.","enum":[1,2,3,4,5,6],"default":1},"promptExtend":{"type":"boolean","description":"Whether to enable intelligent prompt rewriting. Enabled by default; improves results for short prompts.","default":true},"promptExtendMode":{"type":"string","description":"Prompt rewriting mode, effective only when promptExtend is enabled. Use direct for direct rewriting or agent for agent-based rewriting.","enum":["direct","agent"],"default":"direct"},"enableThinking":{"type":"boolean","description":"Enable thinking mode for prompt rewriting. On by default: better quality, slower. Turn off to cut rewrite time to about 20s. Only takes effect when promptExtend=true. Supported for Direct T2I and Agent T2I.","default":true},"seed":{"type":"integer","description":"Random seed in [0, 2147483647]. Fixing the seed reproduces results; leave empty for random.","minimum":0,"maximum":2147483647}}}},"wan-2-7-text-to-image-pro":{"deprecated":false,"input":{"type":"object","x-image-dimensions":{"widthField":"width","heightField":"height","minPixels":589824,"maxPixels":16777216,"maxAspectRatio":8},"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Text description of the image subject, scene, style, lighting, and mood.","maxLength":5000},"width":{"type":"integer","description":"Output width. Default is 1024, leave empty to omit. [Note] Must meet 3 conditions simultaneously: (1) Both width and height are 512-8192; (2) Total pixels (width×height) are between 589,824 (768×768) and 16,777,216 (4096×4096); (3) Aspect ratio is between 1:8 and 8:1.","default":1024,"minimum":512,"maximum":8192},"height":{"type":"integer","description":"Output height. Default is 1024, leave empty to omit. [Note] Must meet 3 conditions simultaneously: (1) Both width and height are 512-8192; (2) Total pixels (width×height) are between 589,824 (768×768) and 16,777,216 (4096×4096); (3) Aspect ratio is between 1:8 and 8:1.","default":1024,"minimum":512,"maximum":8192},"thinkingMode":{"type":"boolean","description":"Enable thinking mode for enhanced reasoning and better image quality. Increases generation time.","default":true}}}},"wan-2-7-text-to-image":{"deprecated":false,"input":{"type":"object","x-image-dimensions":{"widthField":"width","heightField":"height","minPixels":589824,"maxPixels":4194304,"maxAspectRatio":8},"required":["prompt"],"properties":{"prompt":{"type":"string","description":"Text description of the image subject, scene, style, lighting, and mood.","maxLength":5000},"width":{"type":"integer","description":"Output width, range 512-4096, default 1024. Leave empty to skip size.","default":1024,"minimum":512,"maximum":4096},"height":{"type":"integer","description":"Output height, range 512-4096, default 1024. Leave empty to skip size.","default":1024,"minimum":512,"maximum":4096},"thinkingMode":{"type":"boolean","description":"Enable thinking mode for enhanced reasoning and better image quality. Increases generation time.","default":true}}}},"wan-2-7-image-edit-pro":{"deprecated":false,"input":{"type":"object","x-image-dimensions":{"widthField":"width","heightField":"height","minPixels":589824,"maxPixels":4194304,"maxAspectRatio":8},"required":["imageUrls","prompt"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"Input images for editing (1-9 images). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"prompt":{"type":"string","description":"Edit instruction describing what to change and what to keep.","maxLength":2048},"width":{"type":"integer","description":"Output width, range 512-4096, default 1024. Leave empty to skip size.","default":1024,"minimum":512,"maximum":4096},"height":{"type":"integer","description":"Output height, range 512-4096, default 1024. Leave empty to skip size.","default":1024,"minimum":512,"maximum":4096}}}},"wan-2-7-image-edit":{"deprecated":false,"input":{"type":"object","x-image-dimensions":{"widthField":"width","heightField":"height","minPixels":589824,"maxPixels":4194304,"maxAspectRatio":8},"required":["imageUrls","prompt"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"Input images for editing (1-9 images). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"prompt":{"type":"string","description":"Edit instruction describing what to change and what to keep.","maxLength":2048},"width":{"type":"integer","description":"Output width, range 512-4096, default 1024. Leave empty to skip size.","default":1024,"minimum":512,"maximum":4096},"height":{"type":"integer","description":"Output height, range 512-4096, default 1024. Leave empty to skip size.","default":1024,"minimum":512,"maximum":4096}}}},"qwen-image-3-0-pro-image-edit":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"Input images (1-3), ordered by array position. Public URLs, OSS temporary URLs, and Base64 are supported. Recommended size: 384-2048px, max 10MB per image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"prompt":{"type":"string","description":"Image editing instruction describing what to preserve, replace, redraw, or enhance. Chinese and English are supported.","maxLength":3000},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content.","maxLength":600},"size":{"type":"string","description":"Output resolution as width*height. Total pixels must be within 512*512 to 2048*2048. Labels 1k/2k denote resolution tier. Leave empty to let the model choose from the prompt.","pattern":"^[0-9]{1,7}\\*[0-9]{1,7}$","x-min-pixels":262144,"x-max-pixels":4194304,"x-max-aspect-ratio":8},"imageNum":{"type":"integer","description":"Number of images generated per request. Defaults to 1.","enum":[1,2,3,4,5,6],"default":1},"promptExtend":{"type":"boolean","description":"Whether to enable intelligent prompt rewriting. Enabled by default; improves results for short editing instructions.","default":true},"promptExtendMode":{"type":"string","description":"Prompt rewriting mode, effective only when promptExtend is enabled. Use direct for direct rewriting or agent for agent-based rewriting.","enum":["direct","agent"],"default":"direct"},"enableThinking":{"type":"boolean","description":"Enable thinking mode for prompt rewriting. On by default: better quality, slower. Turn off to cut rewrite time to about 20s. Only takes effect when promptExtend=true. Supported for Direct I2I; not supported when promptExtendMode=agent.","default":true},"seed":{"type":"integer","description":"Random seed in [0, 2147483647]. Fixing the seed reproduces results; leave empty for random.","minimum":0,"maximum":2147483647}}}},"qwen-image-3-0-image-edit":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"Input images (1-3), ordered by array position. Public URLs, OSS temporary URLs, and Base64 are supported. Recommended size: 384-2048px, max 10MB per image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"prompt":{"type":"string","description":"Image editing instruction describing what to preserve, replace, redraw, or enhance. Chinese and English are supported.","maxLength":3000},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content.","maxLength":600},"size":{"type":"string","description":"Output resolution as width*height. Total pixels must be within 512*512 to 2048*2048. Labels 1k/2k denote resolution tier. Leave empty to let the model choose from the prompt.","pattern":"^[0-9]{1,7}\\*[0-9]{1,7}$","x-min-pixels":262144,"x-max-pixels":4194304,"x-max-aspect-ratio":8},"imageNum":{"type":"integer","description":"Number of images generated per request. Defaults to 1.","enum":[1,2,3,4,5,6],"default":1},"promptExtend":{"type":"boolean","description":"Whether to enable intelligent prompt rewriting. Enabled by default; improves results for short editing instructions.","default":true},"promptExtendMode":{"type":"string","description":"Prompt rewriting mode, effective only when promptExtend is enabled. Use direct for direct rewriting or agent for agent-based rewriting.","enum":["direct","agent"],"default":"direct"},"enableThinking":{"type":"boolean","description":"Enable thinking mode for prompt rewriting. On by default: better quality, slower. Turn off to cut rewrite time to about 20s. Only takes effect when promptExtend=true. Supported for Direct I2I; not supported when promptExtendMode=agent.","default":true},"seed":{"type":"integer","description":"Random seed in [0, 2147483647]. Fixing the seed reproduces results; leave empty for random.","minimum":0,"maximum":2147483647}}}},"qwen-image-3-0-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Positive prompt describing the desired image content, style, composition, and text rendering. Chinese and English are supported.","maxLength":3000},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content.","maxLength":600},"size":{"type":"string","description":"Output resolution as width*height, from 262144 to 4194304 pixels, with aspect ratio between 1:8 and 8:1. Leave empty to let the model choose.","pattern":"^[0-9]{1,7}\\*[0-9]{1,7}$","x-min-pixels":262144,"x-max-pixels":4194304,"x-max-aspect-ratio":8},"imageNum":{"type":"integer","description":"Number of images generated per request. Defaults to 1.","enum":[1,2,3,4,5,6],"default":1},"promptExtend":{"type":"boolean","description":"Whether to enable intelligent prompt rewriting. Enabled by default; improves results for short prompts.","default":true},"promptExtendMode":{"type":"string","description":"Prompt rewriting mode, effective only when promptExtend is enabled. Use direct for direct rewriting or agent for agent-based rewriting.","enum":["direct","agent"],"default":"direct"},"enableThinking":{"type":"boolean","description":"Enable thinking mode for prompt rewriting. On by default: better quality, slower. Turn off to cut rewrite time to about 20s. Only takes effect when promptExtend=true. Supported for Direct T2I and Agent T2I.","default":true},"seed":{"type":"integer","description":"Random seed in [0, 2147483647]. Fixing the seed reproduces results; leave empty for random.","minimum":0,"maximum":2147483647}}}},"qwen-image-2-0-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Positive prompt describing desired image content, style and composition. Supports Chinese and English, max 800 characters.","maxLength":800},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content. Supports Chinese and English, max 500 characters.","maxLength":500},"size":{"type":"string","description":"Output resolution (width*height). Total pixels must be between 512*512 and 2048*2048. Default: 1024*1024.","enum":["1024*1024","1536*1536","768*1152","1024*1536","1152*768","1536*1024","960*1280","1080*1440","1280*960","1440*1080","720*1280","1080*1920","1280*720","1920*1080","1344*576","2048*872"],"default":"1024*1024"},"imageNum":{"type":"string","description":"Number of output images. Default: 1, max: 6.","enum":["1","2","3","4","5","6"],"default":"1"},"promptExtend":{"type":"boolean","description":"Enable smart prompt enhancement. When enabled, the model optimizes and enriches the prompt for more diverse results.","default":true}}}},"qwen-image-2-0-pro-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Positive prompt describing desired image content, style and composition. Supports Chinese and English, max 800 characters.","maxLength":800},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content. Supports Chinese and English, max 500 characters.","maxLength":500},"size":{"type":"string","description":"Output resolution (width*height). Total pixels must be between 512*512 and 2048*2048. Default: 1024*1024.","enum":["1024*1024","1536*1536","768*1152","1024*1536","1152*768","1536*1024","960*1280","1080*1440","1280*960","1440*1080","720*1280","1080*1920","1280*720","1920*1080","1344*576","2048*872"],"default":"1024*1024"},"imageNum":{"type":"string","description":"Number of output images. Default: 1, max: 6.","enum":["1","2","3","4","5","6"],"default":"1"},"promptExtend":{"type":"boolean","description":"Enable smart prompt enhancement. When enabled, the model optimizes and enriches the prompt for more diverse results.","default":true}}}},"qwen-image-2-0-image-edit":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"Input images (1-3). Supports single image editing and multi-image fusion. Images are numbered in array order, output aspect ratio follows the last image. Recommended resolution: 384-3072px, max 10MB. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"prompt":{"type":"string","description":"Positive prompt describing desired image content, style and composition. Supports Chinese and English, max 800 characters. Only one text instruction is allowed.","maxLength":800},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content. Supports Chinese and English, max 500 characters.","maxLength":500},"size":{"type":"string","description":"Output resolution (width*height). Total pixels must be between 512*512 and 2048*2048. Default: same as input image (last image for multi-image input).","enum":["1024*1024","1536*1536","768*1152","1024*1536","1152*768","1536*1024","960*1280","1080*1440","1280*960","1440*1080","720*1280","1080*1920","1280*720","1920*1080","1344*576","2048*872"]},"imageNum":{"type":"string","description":"Number of output images. Default: 1, max: 6.","enum":["1","2","3","4","5","6"],"default":"1"}}}},"qwen-image-2-0-pro-image-edit":{"deprecated":false,"input":{"type":"object","required":["imageUrls"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"Input images (1-3). Supports single image editing and multi-image fusion. Images are numbered in array order, output aspect ratio follows the last image. Recommended resolution: 384-3072px, max 10MB. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"prompt":{"type":"string","description":"Positive prompt describing desired image content, style and composition. Supports Chinese and English, max 800 characters. Only one text instruction is allowed.","maxLength":800},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content. Supports Chinese and English, max 500 characters.","maxLength":500},"size":{"type":"string","description":"Output resolution (width*height). Total pixels must be between 512*512 and 2048*2048. Default: same as input image (last image for multi-image input).","enum":["1024*1024","1536*1536","768*1152","1024*1536","1152*768","1536*1024","960*1280","1080*1440","1280*960","1440*1080","720*1280","1080*1920","1280*720","1920*1080","1344*576","2048*872"]},"imageNum":{"type":"string","description":"Number of output images. Default: 1, max: 6.","enum":["1","2","3","4","5","6"],"default":"1"}}}},"wan-2-5-preview-image-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls","n"],"properties":{"prompt":{"type":"string","description":"Positive prompt describing the desired image editing operation.","maxLength":2000},"imageUrls":{"type":"array","items":{"type":"string","description":"Input images (1-3) Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content.","maxLength":500},"size":{"type":"string","description":"Output image resolution.Output image resolution. If size is not specified, the system will generate an image with a total pixel size of 1280×1280 by default, and maintain the aspect ratio (approximate value) according to the following rules: For single-image input: the aspect ratio is consistent with the input image. For multi-image input: the aspect ratio is consistent with the last input image.","enum":["1280*1280","1024*1024","800*1200","1200*800","960*1280","1280*960","720*1280","1280*720","1344*576"]},"n":{"type":"integer","description":"Number of images to generate (1-4), directly affects pricing.","default":1,"minimum":1,"maximum":4},"promptExtend":{"type":"boolean","description":"Enable intelligent prompt extension.","default":true},"seed":{"type":"integer","description":"Random seed for reproducible generation.","minimum":-1,"maximum":2147483647}}}},"wan-2-5-preview-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","size"],"properties":{"prompt":{"type":"string","description":"Positive prompt describing the desired image content and visual features.","maxLength":2000},"negativePrompt":{"type":"string","description":"Negative prompt describing unwanted content in the image.","maxLength":500},"size":{"type":"string","description":"Image resolution.","enum":["1280*1280","1104*1472","1472*1104","960*1696","1696*960"],"default":"1280*1280"},"n":{"type":"integer","description":"Number of images to generate (1-4), directly affects pricing.","default":1,"minimum":1,"maximum":4},"promptExtend":{"type":"boolean","description":"Enable intelligent prompt extension.","default":true},"seed":{"type":"integer","description":"Random seed for reproducible generation.","minimum":0,"maximum":2147483647}}}},"hailuo-02-pro":{"deprecated":false,"input":{"type":"object","required":["prompt","enablePromptExpansion","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["6"],"default":"6"}}}},"hailuo-02-t2v-pro":{"deprecated":false,"input":{"type":"object","required":["prompt","enablePromptExpansion"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true}}}},"hailuo-02-i2v-pro":{"deprecated":false,"input":{"type":"object","required":["enablePromptExpansion","firstImageUrl"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."}}}},"hailuo-2-3-t2v-pro":{"deprecated":false,"input":{"type":"object","required":["prompt","enablePromptExpansion"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true}}}},"hailuo-2-3-i2v-pro":{"deprecated":false,"input":{"type":"object","required":["enablePromptExpansion","imageUrl"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."}}}},"hailuo-2-3-fast-pro-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","enablePromptExpansion","imageUrl","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["6"],"default":"6"}}}},"kling-v4-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","resolution","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":26000},"firstImageUrl":{"type":"string","description":"Supports start frame only, or start frame plus end frame. End frame only is not supported. Provide 1 start frame; the end frame is optional and limited to 1 image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"string","description":"duration","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],"default":"5"},"watermark":{"type":"boolean","description":"Add a watermark to the output video. Off by default.","default":false}}}},"kling-v4-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration","aspectRatio"],"properties":{"prompt":{"type":"string","description":"Text prompt.，both positive and negative descriptions are allowed. Pure English: no more than 26,000 characters. Pure non-English: no more than 11,000 characters. Mixed Chinese and English: English character count ÷ 26,000 + non-English character count ÷ 11,000 ≤ 1.","maxLength":26000},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"string","description":"duration","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],"default":"5"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["21:9","16:9","1:1","9:16"],"default":"16:9"},"watermark":{"type":"boolean","description":"Add a watermark to the output video. Off by default.","default":false}}}},"kling-v3-0-pro-image-to-video":{"deprecated":false,"input":{"type":"object","x-shot-sequence":{"enabledField":"multiShot","modeField":"shotType","customMode":"customize","listField":"multiPrompt","itemDurationField":"duration","totalDurationField":"duration","exclusiveField":"lastImageUrl"},"required":["prompt","firstImageUrl","duration","sound"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":2500},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":2500},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"cfgScale":{"type":"number","description":"cfgScale","default":0.5,"minimum":0,"maximum":1},"sound":{"type":"boolean","description":"sound","default":true},"multiPrompt":{"type":"array","description":"Additional prompts for complex compositions","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","minLength":0,"maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["prompt","duration"]}},"elementList":{"type":"array","description":"Element reference list","maxItems":3,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":["element_id"]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"],"default":"customize"}}}},"kling-v3-0-pro-text-to-video":{"deprecated":false,"input":{"type":"object","x-shot-sequence":{"enabledField":"multiShot","modeField":"shotType","customMode":"customize","listField":"multiPrompt","itemDurationField":"duration","totalDurationField":"duration"},"required":["prompt","duration","sound"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":2500},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":2500},"duration":{"type":"string","description":"duration","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16"],"default":"16:9"},"cfgScale":{"type":"number","description":"cfgScale","default":0.5,"minimum":0,"maximum":1},"sound":{"type":"boolean","description":"sound","default":true},"multiPrompt":{"type":"array","description":"Additional prompts for complex compositions","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","minLength":0,"maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["prompt","duration"]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"],"default":"customize"}}}},"kling-v3-0-std-image-to-video":{"deprecated":false,"input":{"type":"object","x-shot-sequence":{"enabledField":"multiShot","modeField":"shotType","customMode":"customize","listField":"multiPrompt","itemDurationField":"duration","totalDurationField":"duration","exclusiveField":"lastImageUrl"},"required":["prompt","firstImageUrl","duration","sound"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":2500},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":2500},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"cfgScale":{"type":"number","description":"cfgScale","default":0.8,"minimum":0,"maximum":1},"sound":{"type":"boolean","description":"sound","default":true},"multiPrompt":{"type":"array","description":"Additional prompts for complex compositions","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","minLength":0,"maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["prompt","duration"]}},"elementList":{"type":"array","description":"Element reference list","maxItems":3,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":["element_id"]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"],"default":"customize"}}}},"kling-v3-0-std-text-to-video":{"deprecated":false,"input":{"type":"object","x-shot-sequence":{"enabledField":"multiShot","modeField":"shotType","customMode":"customize","listField":"multiPrompt","itemDurationField":"duration","totalDurationField":"duration"},"required":["prompt","duration","sound"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":2500},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":2500},"duration":{"type":"string","description":"duration","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16"],"default":"16:9"},"cfgScale":{"type":"number","description":"cfgScale","default":0.5,"minimum":0,"maximum":1},"sound":{"type":"boolean","description":"sound","default":true},"multiPrompt":{"type":"array","description":"Additional prompts for complex compositions","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","minLength":0,"maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["prompt","duration"]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"],"default":"customize"}}}},"flux-3-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution"],"properties":{"prompt":{"type":"string","description":"Scene description or edit instruction. No negative prompt; a bbox JSON array may be appended for layout or local edits.","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"Output aspect ratio. auto follows the first reference image when editing, or the prompt for text-to-image.","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":"1:1"},"resolution":{"type":"string","description":"Resolution tier, decides the price. 768sq ~768x768, 1k ~1MP, 1.5k ~2MP, 2k ~4MP, 4k ~16MP.","enum":["768sq","1k","1.5k","2k","4k"],"default":"1k"},"grounding":{"type":"boolean","description":"Allow web or image search before generation. On by default.","default":true},"safetyTolerance":{"type":"integer","description":"Moderation tolerance, 0 strictest to 4, default 2.","default":2,"minimum":0,"maximum":4}}}},"flux-3-image-to-image":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt","resolution"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images, 1-10. One for single-image edit; multiple are referenced as Image 1 / Image 2 in order. Each image must be at most 16,777,216 pixels (about 4096x4096; total pixels, not side length), otherwise it is rejected. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"prompt":{"type":"string","description":"Scene description or edit instruction. No negative prompt; a bbox JSON array may be appended for layout or local edits.","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"Output aspect ratio. auto follows the first reference image when editing, or the prompt for text-to-image.","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"},"resolution":{"type":"string","description":"Resolution tier, decides the price. 768sq ~768x768, 1k ~1MP, 1.5k ~2MP, 2k ~4MP, 4k ~16MP.","enum":["768sq","1k","1.5k","2k","4k"],"default":"1k"},"grounding":{"type":"boolean","description":"Allow web or image search before generation. On by default.","default":true},"safetyTolerance":{"type":"integer","description":"Moderation tolerance, 0 strictest to 4, default 2.","default":2,"minimum":0,"maximum":4}}}},"flux-3-klein-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution"],"properties":{"prompt":{"type":"string","description":"Scene description or edit instruction. No negative prompt; a bbox JSON array may be appended for layout or local edits.","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"Output aspect ratio. auto follows the first reference image when editing, or the prompt for text-to-image.","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":"1:1"},"resolution":{"type":"string","description":"Resolution tier, decides the price. 768sq ~768x768, 1k ~1MP, 1.5k ~2MP, 2k ~4MP, 4k ~16MP.","enum":["768sq","1k","1.5k","2k","4k"],"default":"1k"},"seed":{"type":"integer","description":"Random seed. Leave empty for random.","minimum":0,"maximum":2147483647},"steps":{"type":"integer","description":"Sampling steps 1-16, default 16. Fewer is faster but may lower quality; price unchanged.","default":16,"minimum":1,"maximum":16},"outputFormat":{"type":"string","description":"Output image format.","enum":["jpeg","png"],"default":"jpeg"},"safetyTolerance":{"type":"integer","description":"Moderation tolerance, 0 strictest to 4, default 2.","default":2,"minimum":0,"maximum":4}}}},"flux-3-klein-image-to-image":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt","resolution"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images, 1-10. One for single-image edit; multiple are referenced as Image 1 / Image 2 in order. Each image must be at most 16,777,216 pixels (about 4096x4096; total pixels, not side length), otherwise it is rejected. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"prompt":{"type":"string","description":"Scene description or edit instruction. No negative prompt; a bbox JSON array may be appended for layout or local edits.","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"Output aspect ratio. auto follows the first reference image when editing, or the prompt for text-to-image.","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"},"resolution":{"type":"string","description":"Resolution tier, decides the price. 768sq ~768x768, 1k ~1MP, 1.5k ~2MP, 2k ~4MP, 4k ~16MP.","enum":["768sq","1k","1.5k","2k","4k"],"default":"1k"},"seed":{"type":"integer","description":"Random seed. Leave empty for random.","minimum":0,"maximum":2147483647},"steps":{"type":"integer","description":"Sampling steps 1-16, default 16. Fewer is faster but may lower quality; price unchanged.","default":16,"minimum":1,"maximum":16},"outputFormat":{"type":"string","description":"Output image format.","enum":["jpeg","png"],"default":"jpeg"},"safetyTolerance":{"type":"integer","description":"Moderation tolerance, 0 strictest to 4, default 2.","default":2,"minimum":0,"maximum":4}}}},"kling-v3-turbo-pro-image-to-video":{"deprecated":false,"input":{"type":"object","required":["firstImageUrl","duration"],"properties":{"firstImageUrl":{"type":"string","description":"First-frame reference image. Supported formats: .jpg/.jpeg/.png; max 50MB; min 300px per side; aspect ratio within 1:2.5 to 2.5:1. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"prompt. Mutually exclusive with multi-prompt.","minLength":0,"maxLength":2500},"duration":{"type":"string","description":"Billing duration: single-shot = this duration; multi-shot = sum of all segment durations, capped at 15s.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"multiPrompt":{"type":"array","description":"Optional shot prompts; when supplied, the main prompt is ignored.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","minLength":0,"maxLength":512},"duration":{"type":"integer","description":"duration","minimum":3,"maximum":15}},"required":[]}}}}},"kling-v3-turbo-std-image-to-video":{"deprecated":false,"input":{"type":"object","required":["firstImageUrl","duration"],"properties":{"firstImageUrl":{"type":"string","description":"First-frame reference image. Supported formats: .jpg/.jpeg/.png; max 50MB; min 300px per side; aspect ratio within 1:2.5 to 2.5:1. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"prompt. Mutually exclusive with multi-prompt.","minLength":0,"maxLength":2500},"duration":{"type":"string","description":"Billing duration: single-shot = this duration; multi-shot = sum of all segment durations, capped at 15s.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"multiPrompt":{"type":"array","description":"Optional shot prompts; when supplied, the main prompt is ignored.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","minLength":0,"maxLength":512},"duration":{"type":"integer","description":"duration","minimum":3,"maximum":15}},"required":[]}}}}},"kling-v3-turbo-pro-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","duration"],"properties":{"prompt":{"type":"string","description":"prompt. Mutually exclusive with multi-prompt.","minLength":1,"maxLength":2500},"duration":{"type":"string","description":"Billing duration: single-shot = this duration; multi-shot = sum of all segment durations, capped at 15s.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16"],"default":"16:9"},"multiPrompt":{"type":"array","description":"Optional shot prompts; when supplied, the main prompt is ignored.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","minLength":0,"maxLength":512},"duration":{"type":"integer","description":"duration","minimum":3,"maximum":15}},"required":[]}}}}},"kling-v3-turbo-std-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","duration"],"properties":{"prompt":{"type":"string","description":"prompt. Mutually exclusive with multi-prompt.","minLength":1,"maxLength":2500},"duration":{"type":"string","description":"Billing duration: single-shot = this duration; multi-shot = sum of all segment durations, capped at 15s.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16"],"default":"16:9"},"multiPrompt":{"type":"array","description":"Optional shot prompts; when supplied, the main prompt is ignored.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","minLength":0,"maxLength":512},"duration":{"type":"integer","description":"duration","minimum":3,"maximum":15}},"required":[]}}}}},"z-image-turbo-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio"],"properties":{"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","3:4","4:3","9:16","16:9","2:3","3:2"],"default":"9:16"},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"z-image-turbo-image-to-image":{"deprecated":false,"input":{"type":"object","required":["imageUrl","prompt","aspectRatio","outputFormat"],"properties":{"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["3:2","2:3","16:9","9:16","4:3","3:4","1:1"],"default":"9:16"},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"wan-2-7-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","duration","resolution","aspectRatio"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":5000},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":500},"audioUrl":{"type":"string","description":"background music MP3 or WAV; maximum 15 MB. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["2","3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"resolution":{"type":"string","description":"resolution","enum":["720P","1080P"],"default":"720P"},"aspectRatio":{"type":"string","description":"Aspect ratio","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"promptExtend":{"type":"boolean","description":"Whether to enable prompt intelligent rewriting. After activation, use the large model to intelligently rewrite the input prompt. For shorter prompt generation, the effect is significantly improved, but it will increase the time consumption.","default":true},"seed":{"type":"integer","description":"Randomly select seeds with a value range of [0, 2147483647]. If not specified, the system will automatically generate random seeds. If you need to improve the reproducibility of the generated results, it is recommended to fix the seed value. Please note that due to the probabilistic nature of model generation, even with the same seed, it cannot be guaranteed that the results generated each time will be completely consistent","minimum":0,"maximum":2147483647}}}},"wan-2-7-image-to-video":{"deprecated":false,"input":{"type":"object","required":["firstImageUrl","resolution","duration"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":5000},"firstImageUrl":{"type":"string","description":"Choose one of two: 1. first_frame=the first frame of the generated video. 2. first_frame+last_frame=start and end frames generate the video. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"Choose one of two: 1. first_frame=the first frame of the generated video. 2. first_frame+last_frame=start and end frames generate the video. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"audioUrl":{"type":"string","description":"audioUrl MP3 or WAV; maximum 15 MB. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":500},"resolution":{"type":"string","description":"resolution","enum":["720P","1080P"],"default":"720P"},"duration":{"type":"string","description":"duration","enum":["2","3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"promptExtend":{"type":"boolean","description":"Whether to enable prompt intelligent rewriting. After activation, use the large model to intelligently rewrite the input prompt. For shorter prompt generation, the effect is significantly improved, but it will increase the time consumption.","default":true},"seed":{"type":"integer","description":"Randomly select seeds with a value range of [0, 2147483647]. If not specified, the system will automatically generate random seeds. If you need to improve the reproducibility of the generated results, it is recommended to fix the seed value. Please note that due to the probabilistic nature of model generation, even with the same seed, it cannot be guaranteed that the results generated each time will be completely consistent","minimum":0,"maximum":2147483647}}}},"wan-2-7-video-extend":{"deprecated":false,"input":{"type":"object","required":["videoUrl","resolution","duration"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":5000},"videoUrl":{"type":"string","description":"Based on the video segments, let the model generate subsequent content Supply an HTTPS URL or an uploaded media:<uuid> reference."},"audioUrl":{"type":"string","description":"audioUrl MP3 or WAV; maximum 15 MB. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":500},"resolution":{"type":"string","description":"resolution","enum":["720P","1080P"],"default":"1080P"},"duration":{"type":"string","description":"duration","enum":["2","3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"promptExtend":{"type":"boolean","description":"Whether to enable prompt intelligent rewriting. After activation, use the large model to intelligently rewrite the input prompt. For shorter prompt generation, the effect is significantly improved, but it will increase the time consumption.","default":true},"seed":{"type":"integer","description":"Randomly select seeds with a value range of [0, 2147483647]. If not specified, the system will automatically generate random seeds. If you need to improve the reproducibility of the generated results, it is recommended to fix the seed value. Please note that due to the probabilistic nature of model generation, even with the same seed, it cannot be guaranteed that the results generated each time will be completely consistent","minimum":0,"maximum":2147483647}}}},"dola-seedream-5-0-flash-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Prompt used to generate the image","minLength":5,"maxLength":5000},"width":{"type":"integer","description":"width","default":1024,"minimum":240,"maximum":8192},"height":{"type":"integer","description":"height","default":1024,"minimum":240,"maximum":8192},"resolution":{"type":"string","description":"Takes priority over width and height. When resolution is set, pixel width and height are ignored. Leave empty to use custom width and height.","enum":["1k","1.5k","2k"]},"outputFormat":{"type":"string","description":"Output image format, png or jpeg","enum":["jpeg","png"],"default":"jpeg"}}}},"dola-seedream-5-0-flash-image-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"Edit or fusion instruction","minLength":5,"maxLength":5000},"width":{"type":"integer","description":"width","default":1024,"minimum":240,"maximum":8192},"height":{"type":"integer","description":"height","default":1024,"minimum":240,"maximum":8192},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images, 1 to 10 Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"resolution":{"type":"string","description":"Takes priority over width and height. When resolution is set, pixel width and height are ignored. Leave empty to use custom width and height.","enum":["1k","1.5k","2k"]},"outputFormat":{"type":"string","description":"Output image format, png or jpeg","enum":["jpeg","png"],"default":"jpeg"}}}},"seedream-4-7-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":2000},"width":{"type":"integer","description":"width","default":2048,"minimum":512,"maximum":8192},"height":{"type":"integer","description":"height","default":2048,"minimum":512,"maximum":8192},"sequentialImageGeneration":{"type":"string","description":"sequentialImageGeneration","enum":["disabled","auto"],"default":"disabled"},"maxImages":{"type":"integer","description":"maxImages","default":1,"minimum":1,"maximum":15},"resolution":{"type":"string","description":"The resolution parameter has higher priority than widthxheight. When the resolution parameter is specified, it shall be adopted, and the widthxheight parameter will be disregarded.","enum":["1k","2k","4k"]}}}},"seedream-4-7-image-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":2000},"width":{"type":"integer","description":"width","default":2048,"minimum":512,"maximum":8192},"height":{"type":"integer","description":"height","default":2048,"minimum":512,"maximum":8192},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"sequentialImageGeneration":{"type":"string","description":"sequentialImageGeneration","enum":["disabled","auto"],"default":"disabled"},"maxImages":{"type":"integer","description":"maxImages","default":1,"minimum":1,"maximum":15},"resolution":{"type":"string","description":"The resolution parameter has higher priority than widthxheight. When the resolution parameter is specified, it shall be adopted, and the widthxheight parameter will be disregarded.","enum":["1k","2k","4k"]}}}},"flux-2-dev-image-to-image":{"deprecated":false,"input":{"type":"object","required":["imageUrl","prompt","aspectRatio","outputFormat"],"properties":{"imageUrl":{"type":"string","description":"Upload image Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"The size of the generated media in pixels","enum":["1:1","3:4","4:3","9:16","16:9","2:3","3:2","custom","auto"],"default":"9:16"},"customWidth":{"type":"integer","description":"customWidth","default":1024,"minimum":256,"maximum":1536},"customHeight":{"type":"integer","description":"customHight","default":1024,"minimum":256,"maximum":1536},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"flux-2-dev-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","outputFormat"],"properties":{"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"The size of the generated media in pixels","enum":["1:1","3:4","4:3","9:16","16:9","2:3","3:2","custom"],"default":"9:16"},"customWidth":{"type":"integer","description":"customWidth","default":1024,"minimum":256,"maximum":1536},"customHeight":{"type":"integer","description":"customHight","default":1024,"minimum":256,"maximum":1536},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"flux-2-klein-9b-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","outputFormat"],"properties":{"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","3:4","4:3","9:16","16:9","2:3","3:2","custom"],"default":"9:16"},"customWidth":{"type":"integer","description":"customWidth","default":1024,"minimum":256,"maximum":1536},"customHeight":{"type":"integer","description":"customHight","default":1024,"minimum":256,"maximum":1536},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"flux-2-klein-9b-image-to-image":{"deprecated":false,"input":{"type":"object","required":["imageUrl","prompt","aspectRatio","outputFormat"],"properties":{"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","3:4","4:3","9:16","16:9","2:3","3:2","custom","auto"],"default":"9:16"},"customWidth":{"type":"integer","description":"customWidth","default":1024,"minimum":256,"maximum":1536},"customHeight":{"type":"integer","description":"customHight","default":1024,"minimum":256,"maximum":1536},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"flux-2-klein-4b-image-to-image":{"deprecated":false,"input":{"type":"object","required":["imageUrl","prompt","aspectRatio","outputFormat"],"properties":{"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","3:4","4:3","9:16","16:9","2:3","3:2"],"default":"9:16"},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"flux-2-klein-4b-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","outputFormat"],"properties":{"prompt":{"type":"string","description":"prompt"},"customWidth":{"type":"integer","description":"customWidth","default":1024,"minimum":256,"maximum":1536},"customHeight":{"type":"integer","description":"customHight","default":1024,"minimum":256,"maximum":1536},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["custom","3:2","2:3","16:9","9:16","4:3","3:4","1:1"],"default":"9:16"},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"seedream-5-0-pro-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Prompt used to generate the image","minLength":5,"maxLength":2000},"width":{"type":"integer","description":"width","default":1024,"minimum":240,"maximum":8192},"height":{"type":"integer","description":"height","default":1024,"minimum":240,"maximum":8192},"resolution":{"type":"string","description":"Takes priority over width and height. When resolution is set, pixel width and height are ignored. Leave empty to use custom width and height.","enum":["1k","1.5k","2k"]},"outputFormat":{"type":"string","description":"Output image format, png or jpeg","enum":["jpeg","png"],"default":"jpeg"}}}},"seedream-5-0-pro-image-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"Edit or fusion instruction","minLength":5,"maxLength":2000},"width":{"type":"integer","description":"width","default":1024,"minimum":240,"maximum":8192},"height":{"type":"integer","description":"height","default":1024,"minimum":240,"maximum":8192},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images, 1 to 10 Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"resolution":{"type":"string","description":"Takes priority over width and height. When resolution is set, pixel width and height are ignored. Leave empty to use custom width and height.","enum":["1k","1.5k","2k"]},"outputFormat":{"type":"string","description":"Output image format, png or jpeg","enum":["jpeg","png"],"default":"jpeg"}}}},"dola-seedream-5-0-pro-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Prompt used to generate the image","minLength":5,"maxLength":5000},"width":{"type":"integer","description":"width","default":1024,"minimum":240,"maximum":8192},"height":{"type":"integer","description":"height","default":1024,"minimum":240,"maximum":8192},"resolution":{"type":"string","description":"Takes priority over width and height. When resolution is set, pixel width and height are ignored. Leave empty to use custom width and height.","enum":["1k","1.5k","2k"]},"outputFormat":{"type":"string","description":"Output image format, png or jpeg","enum":["jpeg","png"],"default":"jpeg"}}}},"dola-seedream-5-0-pro-image-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"Edit or fusion instruction","minLength":5,"maxLength":5000},"width":{"type":"integer","description":"width","default":1024,"minimum":240,"maximum":8192},"height":{"type":"integer","description":"height","default":1024,"minimum":240,"maximum":8192},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images, 1 to 10 Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"resolution":{"type":"string","description":"Takes priority over width and height. When resolution is set, pixel width and height are ignored. Leave empty to use custom width and height.","enum":["1k","1.5k","2k"]},"outputFormat":{"type":"string","description":"Output image format, png or jpeg","enum":["jpeg","png"],"default":"jpeg"}}}},"wan-2-6-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","duration","resolution","shotType"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":5000},"negativePrompt":{"type":"string","description":"negativePrompt"},"duration":{"type":"string","description":"duration","enum":["5","10","15"],"default":"5"},"resolution":{"type":"string","description":"resolution","enum":["1280*720","720*1280","1920*1080","1080*1920"],"default":"1080*1920"},"shotType":{"type":"string","description":"The type of shots to generate.","enum":["single","multi"],"default":"single"}}}},"wan-2-6-image-to-video":{"deprecated":false,"input":{"type":"object","required":["imageUrl","resolution","duration","shotType"],"properties":{"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"prompt"},"negativePrompt":{"type":"string","description":"negativePrompt"},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"string","description":"duration","enum":["5","10","15"],"default":"5"},"shotType":{"type":"string","description":"shotType","enum":["single","multi"],"default":"single"}}}},"wan-2-6-flash-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrl","resolution","duration","shotType","enablePromptExpansion","enableAudio"],"properties":{"prompt":{"type":"string","description":"prompt"},"negativePrompt":{"type":"string","description":"negativePrompt"},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"audioUrl":{"type":"string","description":"audioUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"resolution","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"string","description":"duration","enum":["2","3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"shotType":{"type":"string","description":"shotType","enum":["single","multi"],"default":"single"},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":false},"enableAudio":{"type":"boolean","description":"enableAudio","default":true}}}},"doubao-seed-audio-1-0":{"deprecated":false,"input":{"type":"object","x-exclusive-fields":[["speaker","audioUrls","imageUrl"]],"required":["prompt"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":3000},"speaker":{"type":"string","description":"Choose at most one of speaker, reference audio, or reference image."},"audioUrls":{"type":"array","items":{"type":"string","description":"Choose at most one of speaker, reference audio, or reference image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"imageUrl":{"type":"string","description":"Choose at most one of speaker, reference audio, or reference image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"format":{"type":"string","description":"format","enum":["wav","mp3","pcm","ogg_opus"],"default":"wav"},"sampleRate":{"type":"string","description":"sampleRate","enum":["8000","16000","24000","32000","44100"],"default":"24000"},"speechRate":{"type":"integer","description":"speechRate","default":0,"minimum":-50,"maximum":100},"loudnessRate":{"type":"integer","description":"loudnessRate","default":0,"minimum":-50,"maximum":100},"pitchRate":{"type":"integer","description":"pitchRate","default":0,"minimum":-12,"maximum":12}}}},"happyhorse-1-1-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Prompt describing scene, mood and camera.","minLength":1,"maxLength":2500},"resolution":{"type":"string","description":"Video resolution.","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"string","description":"Video duration in seconds.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspectRatio":{"type":"string","description":"Video aspect ratio.","enum":["16:9","9:16","1:1","4:3","3:4","4:5","5:4","9:21","21:9"],"default":"16:9"},"seed":{"type":"integer","description":"Random seed; leave empty for random.","minimum":0,"maximum":2147483647}}}},"happyhorse-1-1-image-to-video":{"deprecated":false,"input":{"type":"object","required":["imageUrl","resolution","duration"],"properties":{"imageUrl":{"type":"string","description":"First-frame image (≥300px, ratio 1:2.5 - 2.5:1). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"Optional prompt to guide the motion.","maxLength":2500},"resolution":{"type":"string","description":"Video resolution.","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"string","description":"Video duration in seconds.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"seed":{"type":"integer","description":"Random seed; leave empty for random.","minimum":0,"maximum":2147483647}}}},"happyhorse-1-1-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt; may reference figures 1/2/3 for each input image.","minLength":1,"maxLength":2500},"imageUrls":{"type":"array","items":{"type":"string","description":"At least one reference image URL; short edge ≥400px recommended. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"resolution":{"type":"string","description":"Output resolution.","enum":["720p","1080p"],"default":"1080p"},"aspectRatio":{"type":"string","description":"Video aspect ratio.","enum":["16:9","9:16","3:4","4:3","1:1","4:5","5:4","9:21","21:9"],"default":"16:9"},"duration":{"type":"string","description":"Duration in seconds.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"seed":{"type":"integer","description":"Random seed; omit for random.","minimum":0,"maximum":2147483647}}}},"vidu-q4-preview-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls","duration","resolution"],"properties":{"prompt":{"type":"string","description":"Required prompt. Describe how the reference images and audios should appear. Maximum 5000 characters.","maxLength":5000},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images, 1 to 12. JPG, JPEG, PNG, or WEBP, up to 50MB each. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":12},"audioUrls":{"type":"array","items":{"type":"string","description":"Reference audio, 0 to 3 clips. MP3 only, about 3 to 12 seconds each, up to 50MB. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"duration":{"type":"integer","description":"Duration in seconds. Default 5. Integer from 3 to 16.","default":5,"minimum":3,"maximum":16},"resolution":{"type":"string","description":"Resolution. Default 720p. Options: 540p, 720p, 1080p, 2k, 4k.","enum":["540p","720p","1080p","2k","4k"],"default":"720p"},"aspectRatio":{"type":"string","description":"Aspect ratio. Default 16:9. Options: 16:9, 9:16, 1:1, 4:3, 3:4.","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"audio":{"type":"string","description":"Generate video with dialogue and sound effects. Default on. Turn off for a silent video.","enum":["true","false"],"default":"true"},"isRec":{"type":"boolean","description":"Let the model rewrite the prompt. Default on.","default":true},"watermark":{"type":"boolean","description":"Add a watermark. The provider defaults this to on; this SKU defaults it to off and sends false.","default":false}}}},"vidu-q4-preview-image-to-video":{"deprecated":false,"input":{"type":"object","required":["imageUrl","duration","resolution"],"properties":{"prompt":{"type":"string","description":"Text description of the video. Optional. Maximum 5000 characters.","maxLength":5000},"imageUrl":{"type":"string","description":"First-frame image. Exactly one image. JPG, JPEG, PNG, or WEBP, up to 50MB. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"integer","description":"Duration in seconds. Default 5. Integer from 3 to 16.","default":5,"minimum":3,"maximum":16},"resolution":{"type":"string","description":"Resolution. Default 720p. Options: 540p, 720p, 1080p, 2k, 4k.","enum":["540p","720p","1080p","2k","4k"],"default":"720p"},"audio":{"type":"boolean","description":"Generate video with dialogue and sound effects. Default on. Turn off for a silent video.","default":true},"isRec":{"type":"boolean","description":"Let the model rewrite the prompt. Default on.","default":true},"watermark":{"type":"boolean","description":"Add a watermark. Default off.","default":false}}}},"happyhorse-1-0-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt; may reference figures 1/2/3 for each input image.","minLength":1,"maxLength":2500},"imageUrls":{"type":"array","items":{"type":"string","description":"At least one reference image URL; short edge ≥400px recommended. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"resolution":{"type":"string","description":"Output resolution.","enum":["720p","1080p"],"default":"1080p"},"aspectRatio":{"type":"string","description":"Video aspect ratio.","enum":["16:9","9:16","3:4","4:3","1:1"],"default":"16:9"},"duration":{"type":"string","description":"Duration in seconds.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"seed":{"type":"integer","description":"Random seed; omit for random.","minimum":0,"maximum":2147483647}}}},"happyhorse-1-0-image-to-video":{"deprecated":false,"input":{"type":"object","required":["imageUrl","resolution","duration"],"properties":{"imageUrl":{"type":"string","description":"First-frame image (≥300px, ratio 1:2.5 - 2.5:1). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"Optional prompt to guide the motion.","maxLength":2500},"resolution":{"type":"string","description":"Video resolution.","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"string","description":"Video duration in seconds.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"seed":{"type":"integer","description":"Random seed; leave empty for random.","minimum":0,"maximum":2147483647}}}},"happyhorse-1-0-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Prompt describing scene, mood and camera.","minLength":1,"maxLength":2500},"resolution":{"type":"string","description":"Video resolution.","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"string","description":"Video duration in seconds.","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspectRatio":{"type":"string","description":"Video aspect ratio.","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"seed":{"type":"integer","description":"Random seed; leave empty for random.","minimum":0,"maximum":2147483647}}}},"vidu-reference-to-video-q3-mix":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls","duration","resolution"],"properties":{"prompt":{"type":"string","description":"Text prompt describing the desired video content. Supports Chinese and English, max 5000 characters.","maxLength":5000},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images (1-7). The model uses subjects in images to generate consistent video. Supports png/jpeg/jpg/webp, min 128x128 pixels, aspect ratio within 4:1, max 50MB each. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"audioUrls":{"type":"array","items":{"type":"string","description":"Optional audio references (1-3). The model uses these audios as reference for subject-consistent video. MP3 only; each audio max 20s, max 50MB per file. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"duration":{"type":"integer","description":"Video duration in seconds. Default: 5, range: 1-16.","default":5,"minimum":1,"maximum":16},"resolution":{"type":"string","description":"Resolution. Default: 720p. Options: 720p, 1080p.","enum":["720p","1080p"],"default":"720p"},"aspectRatio":{"type":"string","description":"Aspect ratio. Default: 16:9. Supports arbitrary ratios. auto option auto-detects from input.","enum":["16:9","9:16","4:3","3:4","1:1","auto"],"default":"16:9"},"audio":{"type":"string","description":"Enable audio-video sync. True outputs video with dialogue and sound effects, false outputs silent video.","enum":["true","false"],"default":"true"}}}},"vidu-reference-to-video-q3":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls","duration","resolution"],"properties":{"prompt":{"type":"string","description":"Text prompt describing the desired video content. Supports Chinese and English, max 5000 characters.","maxLength":5000},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images (1-7). The model uses subjects in images to generate consistent video. Supports png/jpeg/jpg/webp, min 128x128 pixels, aspect ratio within 4:1, max 50MB each. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"duration":{"type":"integer","description":"Video duration in seconds. Default: 5, range: 3-16.","default":5,"minimum":3,"maximum":16},"resolution":{"type":"string","description":"Resolution. Default: 720p. Options: 720p, 1080p.","enum":["540p","720p","1080p"],"default":"720p"},"aspectRatio":{"type":"string","description":"Aspect ratio. Default: 16:9. Supports arbitrary ratios. auto option auto-detects from input.","enum":["16:9","9:16","4:3","3:4","1:1","auto"],"default":"16:9"},"audio":{"type":"string","description":"Enable audio-video sync. True outputs video with dialogue and sound effects, false outputs silent video.","enum":["true","false"],"default":"true"}}}},"vidu-start-end-to-video-q3-pro":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","lastImageUrl","duration","resolution","movementAmplitude","audio"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":4000},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],"default":"5"},"resolution":{"type":"string","description":"resolution","enum":["540p","720p","1080p"],"default":"720p"},"movementAmplitude":{"type":"string","description":"movementAmplitude","enum":["auto","small","medium","large"],"default":"auto"},"audio":{"type":"boolean","description":"audio","default":true}}}},"vidu-start-end-to-video-q3-turbo":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","lastImageUrl","duration","resolution","movementAmplitude","audio"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":4000},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],"default":"5"},"resolution":{"type":"string","description":"resolution","enum":["540p","720p","1080p"],"default":"720p"},"movementAmplitude":{"type":"string","description":"movementAmplitude","enum":["auto","small","medium","large"],"default":"auto"},"audio":{"type":"boolean","description":"audio","default":true}}}},"vidu-image-to-video-q3-turbo":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrl","duration","resolution","audio"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":4000},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],"default":"5"},"resolution":{"type":"string","description":"resolution","enum":["540p","720p","1080p"],"default":"720p"},"audio":{"type":"boolean","description":"audio","default":true}}}},"vidu-text-to-video-q3-turbo":{"deprecated":false,"input":{"type":"object","required":["prompt","style","aspectRatio","resolution","duration","audio"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":4000},"style":{"type":"string","description":"style","enum":["general","anime"],"default":"general"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["4:3","3:4","16:9","9:16","1:1"],"default":"16:9"},"resolution":{"type":"string","description":"resolution","enum":["540p","720p","1080p"],"default":"720p"},"duration":{"type":"string","description":"duration","enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],"default":"5"},"audio":{"type":"boolean","description":"Whether to use the audio and video direct output capability","default":true}}}},"vidu-image-to-video-q3-pro":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrl","duration","resolution","audio"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":4000},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],"default":"5"},"resolution":{"type":"string","description":"resolution","enum":["360p","540p","720p","1080p","2k"],"default":"720p"},"audio":{"type":"boolean","description":"audio","default":true}}}},"vidu-text-to-video-q3-pro":{"deprecated":false,"input":{"type":"object","required":["prompt","style","aspectRatio","resolution","duration","audio"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":4000},"style":{"type":"string","description":"style","enum":["general","anime"],"default":"general"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["4:3","3:4","16:9","9:16","1:1"],"default":"16:9"},"resolution":{"type":"string","description":"resolution","enum":["360p","540p","720p","1080p"],"default":"720p"},"duration":{"type":"string","description":"duration","enum":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],"default":"5"},"audio":{"type":"boolean","description":"Whether to use the audio and video direct output capability","default":true}}}},"minimax-h3-max-turbo-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","firstFrameUrl","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt describing how the first frame should move.","maxLength":2048},"firstFrameUrl":{"type":"string","description":"First-frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"Optional last-frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Video resolution.","enum":["480p","768p"],"default":"768p"},"duration":{"type":"string","description":"Video duration in seconds.","enum":["5","6","7","8","9","10","11","12","13","14","15"],"default":"5"}}}},"minimax-h3-max-turbo-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration","aspectRatio"],"properties":{"prompt":{"type":"string","description":"Text prompt describing the video to generate.","maxLength":2048},"resolution":{"type":"string","description":"Video resolution.","enum":["480p","768p"],"default":"768p"},"duration":{"type":"string","description":"Video duration in seconds.","enum":["5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aspectRatio":{"type":"string","description":"Aspect ratio of the generated video.","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"default":"16:9"}}}},"minimax-h3-max-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"firstFrameUrl":{"type":"string","description":"first frame image Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"last frame image Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Output resolution.","enum":["480P","768P"],"default":"768P"},"duration":{"type":"string","description":"Duration in seconds, 5-15.","enum":["5","6","7","8","9","10","11","12","13","14","15"],"default":"5"}}}},"minimax-h3-max-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration","ratio"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":"Output resolution.","enum":["480P","768P"],"default":"768P"},"duration":{"type":"string","description":"Duration in seconds, 5-15.","enum":["5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"ratio":{"type":"string","description":"Aspect ratio","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"default":"21:9"}}}},"minimax-h3-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"firstFrameUrl":{"type":"string","description":"first frame image Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"last frame image Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Output resolution.","enum":["2K","768P"],"default":"2K"},"duration":{"type":"string","description":"Duration in seconds, 5-15.","enum":["5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"aigc_watermark":{"type":"boolean","description":"Whether to add an AIGC watermark to the generated video.","default":false}}}},"minimax-h3-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":"Output resolution.","enum":["2K","768P"],"default":"2K"},"duration":{"type":"string","description":"Duration in seconds, 5-15.","enum":["5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"ratio":{"type":"string","description":"Aspect ratio, default adaptive.","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"default":"21:9"},"aigc_watermark":{"type":"boolean","description":"Whether to add an AIGC watermark to the generated video.","default":false}}}},"pixverse-v6-extend":{"deprecated":false,"input":{"type":"object","required":["prompt","videoUrl","resolution","duration","generateAudioSwitch"],"properties":{"prompt":{"type":"string","description":"Text description of what should happen in the extended segment.","maxLength":2048},"videoUrl":{"type":"string","description":"Source video to extend. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Output resolution.","enum":["360p","540p","720p","1080p"],"default":"720p"},"duration":{"type":"integer","description":"Length of the extension in seconds (1-15).","default":5,"minimum":1,"maximum":15},"generateAudioSwitch":{"type":"boolean","description":"Whether to generate synchronized audio for the video.","default":true},"negativePrompt":{"type":"string","description":"Elements to exclude from the extended footage.","maxLength":2048},"style":{"type":"string","description":"Visual style to apply to the extension.","enum":["anime","3d_animation","clay","comic","cyberpunk"]},"seed":{"type":"integer","description":"Random seed for reproducible results.","minimum":-1,"maximum":2147483647}}}},"pixverse-v6-transition":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","endImageUrl","resolution","duration","generateAudioSwitch","generateMultiClipSwitch"],"properties":{"prompt":{"type":"string","description":"Text description of the desired transition and transformation.","maxLength":2048},"firstImageUrl":{"type":"string","description":"Start frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"endImageUrl":{"type":"string","description":"End frame image to transition toward. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Output resolution.","enum":["360p","540p","720p","1080p"],"default":"720p"},"duration":{"type":"integer","description":"Clip length in seconds (1-15).","default":5,"minimum":1,"maximum":15},"generateAudioSwitch":{"type":"boolean","description":"Whether to generate synchronized audio for the video.","default":false},"generateMultiClipSwitch":{"type":"boolean","description":"Enable multi-clip generation with dynamic camera changes.","default":false},"aspectRatio":{"type":"string","description":"Output aspect ratio.","enum":["16:9","4:3","1:1","3:4","9:16","2:3","3:2","21:9"],"default":"1:1"},"style":{"type":"string","description":"Visual style to apply (e.g. cyberpunk, cinematic).","enum":["anime","3d_animation","clay","comic","cyberpunk"]},"negativePrompt":{"type":"string","description":"Elements to exclude from the generated transition.","maxLength":2048},"seed":{"type":"integer","description":"Random seed for reproducible results.","minimum":-1,"maximum":2147483647},"thinkingType":{"type":"boolean","description":"Prompt optimization mode","default":false}}}},"pixverse-v6-image-to-video":{"deprecated":false,"input":{"type":"object","required":["imageUrl","prompt","resolution","duration","generateAudioSwitch"],"properties":{"imageUrl":{"type":"string","description":"Reference image to animate. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"Text description of the motion, camera style, and scene atmosphere.","maxLength":2048},"resolution":{"type":"string","description":"Output resolution.","enum":["360p","540p","720p","1080p"],"default":"720p"},"duration":{"type":"integer","description":"Clip length in seconds (1-15).","default":5,"minimum":1,"maximum":15},"generateAudioSwitch":{"type":"boolean","description":"Whether to generate synchronized audio for the video.","default":true}}}},"pixverse-v6-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration","generateAudioSwitch"],"properties":{"prompt":{"type":"string","description":"Text description of the scene, motion, camera style, and atmosphere.","maxLength":2048},"resolution":{"type":"string","description":"Output resolution.","enum":["360p","540p","720p","1080p"],"default":"720p"},"duration":{"type":"integer","description":"Clip length in seconds (1-15).","default":5,"minimum":1,"maximum":15},"generateAudioSwitch":{"type":"boolean","description":"Whether to generate synchronized audio for the video.","default":true},"aspectRatio":{"type":"string","description":"Output aspect ratio.","enum":["16:9","4:3","1:1","3:4","9:16","2:3","3:2","21:9"],"default":"16:9"}}}},"kling-v2-6-std-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"negativePrompt":{"type":"string","description":"negativePrompt","maxLength":2500},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16"],"default":"16:9"},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"}}}},"kling-v2-6-std-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrl","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"negativePrompt":{"type":"string","description":"negativePrompt","maxLength":2500},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"}}}},"kling-v2-6-pro-motion-control":{"deprecated":false,"input":{"type":"object","required":["imageUrl","videoUrl","characterOrientation"],"properties":{"imageUrl":{"type":"string","description":"width & height between 300px - 65536px; aspect ratio between 1:2.5 and 2.5:1. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"videoUrl":{"type":"string","description":"Both width & height must be between 340px - 3850px. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"characterOrientation":{"type":"string","description":"其中image：与图片中人物朝向一致；此时参考视频时长不得超过10秒；  - 其中video：与视频中人物朝向一致；此时参考视频时长不得超过30秒","enum":["image","video"],"default":"video"},"prompt":{"type":"string","description":"prompt","maxLength":2500},"keepOriginalSound":{"type":"string","description":"keepOriginalSound","enum":["yes","no"],"default":"yes"}}}},"kling-v2-6-std-motion-control":{"deprecated":false,"input":{"type":"object","required":["imageUrl","videoUrl","characterOrientation"],"properties":{"imageUrl":{"type":"string","description":"width & height between 300px - 65536px; aspect ratio between 1:2.5 and 2.5:1. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"videoUrl":{"type":"string","description":"Both width & height must be between 340px - 3850px. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"characterOrientation":{"type":"string","description":"其中image：与图片中人物朝向一致；此时参考视频时长不得超过10秒；  - 其中video：与视频中人物朝向一致；此时参考视频时长不得超过30秒","enum":["image","video"],"default":"video"},"prompt":{"type":"string","description":"prompt","maxLength":2500},"keepOriginalSound":{"type":"string","description":"keepOriginalSound","enum":["yes","no"],"default":"yes"}}}},"kling-v2-6-pro-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrl","sound","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"negativePrompt":{"type":"string","description":"negativePrompt","maxLength":2500},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"sound":{"type":"string","description":"sound","enum":["true","false"],"default":"true"},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"}}}},"kling-v2-6-pro-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","sound","aspectRatio","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"negativePrompt":{"type":"string","description":"negativePrompt","maxLength":2500},"sound":{"type":"string","description":"sound","enum":["true","false"],"default":"true"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16"],"default":"9:16"},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"}}}},"skyreels-v4-image-to-video-fast":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","promptOptimizer","resolution"],"properties":{"prompt":{"type":"string","description":"The prompt describing the video to generate.","maxLength":2048},"firstImageUrl":{"type":"string","description":"The first frame image for the video.  Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"integer","description":"Duration of the generated video in seconds.","default":5,"minimum":3,"maximum":15},"promptOptimizer":{"type":"boolean","description":"Enables automatic prompt expansion and refinement to achieve higher visual fidelity and alignment.","default":true},"resolution":{"type":"string","description":"Output video resolution. Supports 480p, 720p, and 1080p.","enum":["480p","720p","1080p"],"default":"1080p"}}}},"skyreels-v4-text-to-video-fast":{"deprecated":false,"input":{"type":"object","required":["prompt","promptOptimizer","resolution"],"properties":{"prompt":{"type":"string","description":"The prompt describing the video to generate.","maxLength":2048},"duration":{"type":"integer","description":"Duration of the generated video in seconds.","default":5,"minimum":3,"maximum":15},"aspectRatio":{"type":"string","description":"Aspect ratio of the generated video.","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"promptOptimizer":{"type":"boolean","description":"Enables automatic prompt expansion and refinement to achieve higher visual fidelity and alignment.","default":true},"resolution":{"type":"string","description":"Output video resolution. Supports 480p, 720p, and 1080p.","enum":["480p","720p","1080p"],"default":"1080p"}}}},"skyreels-v4-image-to-video-std":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","sound","promptOptimizer","resolution"],"properties":{"prompt":{"type":"string","description":"The prompt describing the video to generate.","maxLength":2048},"firstImageUrl":{"type":"string","description":"The first frame image for the video.  Supply an HTTPS URL or an uploaded media:<uuid> reference."},"sound":{"type":"boolean","description":"Whether the generated video includes sound effects.","default":true},"duration":{"type":"integer","description":"Duration of the generated video in seconds.","default":5,"minimum":3,"maximum":15},"promptOptimizer":{"type":"boolean","description":"Enables automatic prompt expansion and refinement to achieve higher visual fidelity and alignment.","default":true},"resolution":{"type":"string","description":"Output video resolution. Supports 480p, 720p, and 1080p.","enum":["480p","720p","1080p"],"default":"1080p"}}}},"skyreels-v4-text-to-video-std":{"deprecated":false,"input":{"type":"object","required":["prompt","sound","promptOptimizer","resolution"],"properties":{"prompt":{"type":"string","description":"The prompt describing the video to generate.","maxLength":2048},"sound":{"type":"boolean","description":"Whether the generated video includes sound effects.","default":true},"duration":{"type":"integer","description":"Duration of the generated video in seconds.","default":5,"minimum":3,"maximum":15},"aspectRatio":{"type":"string","description":"Aspect ratio of the generated video.","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"promptOptimizer":{"type":"boolean","description":"Enables automatic prompt expansion and refinement to achieve higher visual fidelity and alignment.","default":true},"resolution":{"type":"string","description":"Output video resolution. Supports 480p, 720p, and 1080p.","enum":["480p","720p","1080p"],"default":"1080p"}}}},"seedance-2-0-global-mini-multimodal-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":"Video resolution. Mini submits 480p/720p natively; 1080p/2k/4k are generated from 720p and then upscaled.","enum":["480p","720p","1080p","2k","4k"],"default":"720p"},"duration":{"type":"string","description":"Video duration (seconds).","enum":["-1","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images (0-9). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"videoUrls":{"type":"array","items":{"type":"string","description":"Reference videos (0-3). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"audioUrls":{"type":"array","items":{"type":"string","description":"Reference audios (0-3). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"generateAudio":{"type":"boolean","description":"Generate audio for the video.","default":true},"ratio":{"type":"string","description":"Video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"realPersonMode":{"type":"boolean","description":"Real person mode.","default":true},"conversionSlots":{"type":"array","description":"Slots to convert into real person assets. Multiple selection is supported. all converts all image/video slots. ","items":{"type":"string","enum":["all","image1","image2","image3","image4","image5","image6","image7","image8","image9","video1","video2","video3"]},"uniqueItems":true,"default":["all"]},"returnLastFrame":{"type":"boolean","description":"Return the last frame image of the generated video.","default":false},"seed":{"type":"integer","description":"Seed integer, used to control the randomness of generated content.","default":-1,"minimum":-1,"maximum":2147483647}}}},"seedance-2-0-global-mini-image-to-video":{"deprecated":false,"input":{"type":"object","required":["resolution","duration","firstFrameUrl"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":"Video resolution. Mini submits 480p/720p natively; 1080p/2k/4k are generated from 720p and then upscaled.","enum":["480p","720p","1080p","2k","4k"],"default":"720p"},"duration":{"type":"string","description":"Video duration (seconds).","enum":["-1","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"firstFrameUrl":{"type":"string","description":"First frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"Last frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"generateAudio":{"type":"boolean","description":"Generate audio for the video.","default":true},"ratio":{"type":"string","description":"Video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"realPersonMode":{"type":"boolean","description":"Real person mode.","default":true},"conversionSlots":{"type":"array","description":"Slots to convert into real person assets. Multiple selection is supported. all converts both first and last frame.","items":{"type":"string","enum":["all","firstFrameUrl","lastFrameUrl"]},"uniqueItems":true,"default":["all"]},"returnLastFrame":{"type":"boolean","description":"Return the last frame image of the generated video.","default":false},"seed":{"type":"integer","description":"Seed integer, used to control the randomness of generated content.","default":-1,"minimum":-1,"maximum":2147483647}}}},"seedance-2-0-global-mini-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":"Video resolution. Mini submits 480p/720p natively; 1080p/2k/4k are generated from 720p and then upscaled.","enum":["480p","720p","1080p","2k","4k"],"default":"720p"},"duration":{"type":"string","description":"Video duration (seconds).","enum":["-1","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"generateAudio":{"type":"boolean","description":"Generate audio for the video.","default":true},"ratio":{"type":"string","description":"Video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"returnLastFrame":{"type":"boolean","description":"Return the last frame image of the generated video.","default":false},"seed":{"type":"integer","description":"Seed integer, used to control the randomness of generated content.","default":-1,"minimum":-1,"maximum":2147483647}}}},"seedance-2-0-global-fast-multimodal-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":"Video resolution. Includes native resolutions directly output by the model (480p, 720p), and upscaled resolutions based on native 720p generation (1080p, 2k, 4k).","enum":["480p","720p","1080p","2k","4k"],"default":"720p"},"duration":{"type":"string","description":"Video duration (seconds).","enum":["-1","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images (0-9). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"videoUrls":{"type":"array","items":{"type":"string","description":"Reference videos (0-3). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"audioUrls":{"type":"array","items":{"type":"string","description":"Reference audios (0-3). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"generateAudio":{"type":"boolean","description":"Generate audio for the video.","default":true},"ratio":{"type":"string","description":"Video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"realPersonMode":{"type":"boolean","description":"Real person mode.","default":true},"conversionSlots":{"type":"array","description":"Slots to convert into real person assets. Multiple selection is supported. all converts all image/video slots. ","items":{"type":"string","enum":["all","image1","image2","image3","image4","image5","image6","image7","image8","image9","video1","video2","video3"]},"uniqueItems":true,"default":["all"]},"returnLastFrame":{"type":"boolean","description":"Return the last frame image of the generated video.","default":false},"seed":{"type":"integer","description":"Seed integer, used to control the randomness of generated content.","default":-1,"minimum":-1,"maximum":2147483647}}}},"seedance-2-0-global-fast-image-to-video":{"deprecated":false,"input":{"type":"object","required":["resolution","duration","firstFrameUrl"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":"Video resolution. Includes native resolutions directly output by the model (480p, 720p), and upscaled resolutions based on native 720p generation (1080p, 2k, 4k).","enum":["480p","720p","1080p","2k","4k"],"default":"720p"},"duration":{"type":"string","description":"Video duration (seconds).","enum":["-1","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"firstFrameUrl":{"type":"string","description":"First frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"Last frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"generateAudio":{"type":"boolean","description":"Generate audio for the video.","default":true},"ratio":{"type":"string","description":"Video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"realPersonMode":{"type":"boolean","description":"Real person mode.","default":true},"conversionSlots":{"type":"array","description":"Slots to convert into real person assets. Multiple selection is supported. all converts both first and last frame.","items":{"type":"string","enum":["all","firstFrameUrl","lastFrameUrl"]},"uniqueItems":true,"default":["all"]},"returnLastFrame":{"type":"boolean","description":"Return the last frame image of the generated video.","default":false},"seed":{"type":"integer","description":"Seed integer, used to control the randomness of generated content.","default":-1,"minimum":-1,"maximum":2147483647}}}},"seedance-2-0-global-fast-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":" Video resolution. Includes native resolutions directly output by the model (480p, 720p), and upscaled resolutions based on native 720p generation (1080p, 2k, 4k).","enum":["480p","720p","1080p","2k","4k"],"default":"720p"},"duration":{"type":"string","description":"Video duration (seconds).","enum":["-1","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"generateAudio":{"type":"boolean","description":"Generate audio for the video.","default":true},"ratio":{"type":"string","description":"Video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"returnLastFrame":{"type":"boolean","description":"Return the last frame image of the generated video.","default":false},"seed":{"type":"integer","description":"Seed integer, used to control the randomness of generated content.","default":-1,"minimum":-1,"maximum":2147483647}}}},"seedance-2-0-global-multimodal-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":" Video resolution. Includes native resolutions directly output by the model (480p, 720p, native1080p), and upscaled resolutions based on native 720p generation (1080p, 2k, 4k).","enum":["480p","720p","native1080p","native4k","1080p","2k","4k"],"default":"720p"},"duration":{"type":"string","description":"Video duration (seconds).","enum":["-1","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images (0-9). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"videoUrls":{"type":"array","items":{"type":"string","description":"Reference videos (0-3). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"audioUrls":{"type":"array","items":{"type":"string","description":"Reference audios (0-3). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"generateAudio":{"type":"boolean","description":"Generate audio for the video.","default":true},"ratio":{"type":"string","description":"Video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"realPersonMode":{"type":"boolean","description":"Real person mode.","default":true},"conversionSlots":{"type":"array","description":"Slots to convert into real person assets. Multiple selection is supported. all converts all image/video slots. ","items":{"type":"string","enum":["all","image1","image2","image3","image4","image5","image6","image7","image8","image9","video1","video2","video3"]},"uniqueItems":true,"default":["all"]},"returnLastFrame":{"type":"boolean","description":"Return the last frame image of the generated video.","default":false},"seed":{"type":"integer","description":"Seed integer, used to control the randomness of generated content.","default":-1,"minimum":-1,"maximum":2147483647}}}},"seedance-2-0-global-image-to-video":{"deprecated":false,"input":{"type":"object","required":["resolution","duration","firstFrameUrl"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":"Video resolution. Includes native resolutions directly output by the model (480p, 720p, native1080p), and upscaled resolutions based on native 720p generation (1080p, 2k, 4k).","enum":["480p","720p","native1080p","native4k","1080p","2k","4k"],"default":"720p"},"duration":{"type":"string","description":"Video duration (seconds).","enum":["-1","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"firstFrameUrl":{"type":"string","description":"First frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"Last frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"generateAudio":{"type":"boolean","description":"Generate audio for the video.","default":true},"ratio":{"type":"string","description":"Video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"realPersonMode":{"type":"boolean","description":"Real person mode.","default":true},"conversionSlots":{"type":"array","description":"Slots to convert into real person assets. Multiple selection is supported. all converts both first and last frame.","items":{"type":"string","enum":["all","firstFrameUrl","lastFrameUrl"]},"uniqueItems":true,"default":["all"]},"returnLastFrame":{"type":"boolean","description":"Return the last frame image of the generated video.","default":false},"seed":{"type":"integer","description":"Seed integer, used to control the randomness of generated content.","default":-1,"minimum":-1,"maximum":2147483647}}}},"seedance-2-0-global-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","maxLength":20480},"resolution":{"type":"string","description":"Video resolution. Includes native resolutions directly output by the model (480p, 720p, native1080p), and upscaled resolutions based on native 720p generation (1080p, 2k, 4k).","enum":["480p","720p","native1080p","native4k","1080p","2k","4k"],"default":"720p"},"duration":{"type":"string","description":"Video duration (seconds).","enum":["-1","4","5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"generateAudio":{"type":"boolean","description":"Generate audio for the video.","default":true},"ratio":{"type":"string","description":"Video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"default":"adaptive"},"returnLastFrame":{"type":"boolean","description":"Return the last frame image of the generated video.","default":false},"seed":{"type":"integer","description":"Seed integer, used to control the randomness of generated content.","default":-1,"minimum":-1,"maximum":2147483647}}}},"google-veo3-1-lite-start-end-to-video-stable":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","lastImageUrl","resolution"],"properties":{"prompt":{"type":"string","description":"Text description of the desired transition and scene changes.","minLength":1,"maxLength":20000},"firstImageUrl":{"type":"string","description":"Start frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"End frame image to transition toward. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"aspectRatio":{"type":"string","description":"Output aspect ratio.","enum":["16:9","9:16"],"default":"16:9"},"resolution":{"type":"string","description":"Output resolution.","enum":["720p","1080p"],"default":"720p"},"negativePrompt":{"type":"string","description":"Elements to exclude from the generated transition.","minLength":0,"maxLength":20000},"seed":{"type":"integer","description":"Random seed for reproducible results.","minimum":0,"maximum":2147483647}}}},"google-veo3-1-lite-image-to-video-stable":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrl","duration","resolution"],"properties":{"prompt":{"type":"string","description":"Text description of the desired animation and scene atmosphere.","minLength":1,"maxLength":20000},"negativePrompt":{"type":"string","description":"Elements to exclude from the generated video.","minLength":0,"maxLength":20000},"imageUrl":{"type":"string","description":"Input image to animate. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"aspectRatio":{"type":"string","description":"Output aspect ratio.","enum":["16:9","9:16"],"default":"16:9"},"duration":{"type":"string","description":"duration","enum":["4","6","8"],"default":"6"},"resolution":{"type":"string","description":"Output resolution.","enum":["720p","1080p"],"default":"720p"},"seed":{"type":"integer","description":"Random seed for reproducible results.","minimum":-1,"maximum":2147483647}}}},"google-veo3-1-lite-text-to-video-stable":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text description of the scene, motion, camera style, and atmosphere.","minLength":1,"maxLength":20000},"negativePrompt":{"type":"string","description":"Elements to exclude from the generated video.","minLength":0,"maxLength":20000},"aspectRatio":{"type":"string","description":"Output aspect ratio.","enum":["16:9","9:16"],"default":"16:9"},"resolution":{"type":"string","description":"Output resolution.","enum":["720p","1080p"],"default":"1080p"},"duration":{"type":"string","description":"duration","enum":["4","6","8"],"default":"6"},"seed":{"type":"integer","description":"Random seed for reproducible results.","minimum":-1,"maximum":2147483647}}}},"wan-3-0-prime-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","aspectRatio","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt describing the desired video. Chinese or English, up to 20000 characters.","maxLength":20000},"resolution":{"type":"string","description":"Output resolution. Unit price varies by resolution.","enum":["480P","720P","1080P"],"default":"1080P"},"aspectRatio":{"type":"string","description":"Aspect ratio. adaptive chooses by intent.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16"],"default":"adaptive"},"duration":{"type":"string","description":"Output duration in seconds, up to 30. auto=smart duration decided by the model and billed by the actual output duration.","enum":["auto","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],"default":"5"},"audio":{"type":"boolean","description":"Whether output includes audio. true=with audio (default). Price is the same either way.","default":true},"seed":{"type":"integer","description":"Random seed in [0, 2147483647].","minimum":0,"maximum":2147483647},"promptExtend":{"type":"boolean","description":"Enable intelligent prompt rewriting. true (default) rewrites short prompts and takes longer. false disables it. Must be true when fileUrl or linkUrl is provided.","default":true},"watermark":{"type":"boolean","description":"Whether to add a watermark. false (default) adds none. true adds one.","default":false}}}},"wan-3-0-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","aspectRatio","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt describing the desired video. Chinese or English, up to 20000 characters.","maxLength":20000},"resolution":{"type":"string","description":"Output resolution. Unit price varies by resolution.","enum":["480P","720P","1080P"],"default":"720P"},"aspectRatio":{"type":"string","description":"Aspect ratio. adaptive chooses by intent.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16"],"default":"adaptive"},"duration":{"type":"string","description":"Output duration in seconds, up to 30. auto=smart duration decided by the model and billed by the actual output duration.","enum":["auto","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],"default":"5"},"audio":{"type":"boolean","description":"Whether output includes audio. true=with audio (default). Price is the same either way.","default":true},"seed":{"type":"integer","description":"Random seed in [0, 2147483647].","minimum":0,"maximum":2147483647},"promptExtend":{"type":"boolean","description":"Enable intelligent prompt rewriting. true (default) rewrites short prompts and takes longer. false disables it. Must be true when fileUrl or linkUrl is provided.","default":true},"watermark":{"type":"boolean","description":"Whether to add a watermark. false (default) adds none. true adds one.","default":false}}}},"kling-v3-0-pro-motion-control":{"deprecated":false,"input":{"type":"object","required":["imageUrl","videoUrl","characterOrientation"],"properties":{"imageUrl":{"type":"string","description":"width & height between 300px - 65536px; aspect ratio between 1:2.5 and 2.5:1. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"videoUrl":{"type":"string","description":"Driving video with motion to transfer (3–30 seconds). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"characterOrientation":{"type":"string","description":"Image orientation supports up to 10 seconds; video orientation supports up to 30 seconds.","enum":["image","video"],"default":"video"},"prompt":{"type":"string","description":"prompt","maxLength":2500},"negativePrompt":{"type":"string","description":"Elements to avoid in the output.","maxLength":2500},"keepOriginalSound":{"type":"boolean","description":"Whether to retain the original video sound.","default":true},"elementList":{"type":"array","description":"Element reference list","maxItems":3,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":[]}}}}},"kling-v3-0-std-motion-control":{"deprecated":false,"input":{"type":"object","required":["imageUrl","videoUrl","characterOrientation"],"properties":{"imageUrl":{"type":"string","description":"width & height between 300px - 65536px; aspect ratio between 1:2.5 and 2.5:1. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"videoUrl":{"type":"string","description":"Driving video with motion to transfer (3–30 seconds). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"characterOrientation":{"type":"string","description":"Image orientation supports up to 10 seconds; video orientation supports up to 30 seconds.","enum":["image","video"],"default":"video"},"prompt":{"type":"string","description":"prompt","maxLength":2500},"negativePrompt":{"type":"string","description":"Elements to avoid in the output.","maxLength":2500},"keepOriginalSound":{"type":"boolean","description":"Whether to retain the original video sound.","default":true},"elementList":{"type":"array","description":"Element reference list","maxItems":3,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":[]}}}}},"kling-o1-text-to-video":{"deprecated":false,"input":{"type":"object","required":["aspectRatio","duration","mode"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","9:16","16:9"],"default":"9:16"},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"},"mode":{"type":"string","description":"mode","enum":["std","pro"],"default":"std"}}}},"kling-o1-image-to-video":{"deprecated":false,"input":{"type":"object","required":["aspectRatio","duration","firstImageUrl","mode"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","9:16","16:9"],"default":"9:16"},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"mode":{"type":"string","description":"mode","enum":["std","pro"],"default":"std"}}}},"kling-o1-start-end-to-video":{"deprecated":false,"input":{"type":"object","required":["aspectRatio","duration","firstImageUrl","lastImageUrl","mode"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","9:16","16:9"],"default":"9:16"},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"mode":{"type":"string","description":"mode","enum":["std","pro"],"default":"std"}}}},"kling-o3-std-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","sound","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2500},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16"],"default":"16:9"},"sound":{"type":"boolean","description":"sound","default":true},"duration":{"type":"integer","description":"duration","default":5,"minimum":3,"maximum":15},"multiPrompt":{"type":"array","description":"List of multi-prompt elements for the generation.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["duration"]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"],"default":"customize"}}}},"kling-o3-pro-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","sound","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2500},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16"],"default":"16:9"},"sound":{"type":"boolean","description":"sound","default":true},"duration":{"type":"integer","description":"duration","default":5,"minimum":3,"maximum":15},"multiPrompt":{"type":"array","description":"List of multi-prompt elements for the generation.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["duration"]}},"elementList":{"type":"array","description":"Element reference list","maxItems":4,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":[]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"],"default":"customize"}}}},"kling-o3-std-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","duration","sound"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2500},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"integer","description":"duration","default":5,"minimum":3,"maximum":15},"sound":{"type":"boolean","description":"sound","default":true},"multiPrompt":{"type":"array","description":"List of multi-prompt elements for the generation.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["duration"]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"],"default":"customize"}}}},"kling-o3-pro-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","duration","sound"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2500},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"integer","description":"duration","default":5,"minimum":3,"maximum":15},"sound":{"type":"boolean","description":"sound","default":true},"multiPrompt":{"type":"array","description":"List of multi-prompt elements for the generation.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["prompt","duration"]}},"elementList":{"type":"array","description":"Element reference list","maxItems":4,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":[]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"],"default":"customize"}}}},"kling-o3-4k-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","duration"],"properties":{"prompt":{"type":"string","description":"Text description of the scene, action, camera style, lighting, and mood.","maxLength":2500},"aspectRatio":{"type":"string","description":"Output aspect ratio.","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"type":"integer","description":"Clip length in seconds (3-15).","default":5,"minimum":3,"maximum":15},"sound":{"type":"boolean","description":"Whether to generate synchronized audio.","default":false},"shotType":{"type":"string","description":"Shot type.When the multiShot parameter is true, the current parameter is required.","enum":["customize","intelligence"],"default":"customize"},"multiPrompt":{"type":"array","description":"List of multi-prompt segments (optional).","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"Segment prompt.","maxLength":512},"duration":{"type":"integer","description":"Segment duration.","minimum":1,"maximum":15}},"required":["duration"]}},"elementList":{"type":"array","description":"Element reference list (optional).","maxItems":3,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":[]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video (when true, the prompt parameter is invalid; when false, the shotType parameter and the multiPrompt parameter are invalid)","default":false}}}},"kling-o3-4k-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","firstImageUrl","duration"],"properties":{"prompt":{"type":"string","description":"Text description of the motion, camera style, lighting, and atmosphere.","maxLength":2500},"firstImageUrl":{"type":"string","description":"Starting reference image to animate. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"Optional ending frame image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"integer","description":"Clip length in seconds (3-15).","default":5,"minimum":3,"maximum":15},"sound":{"type":"boolean","description":"Whether to generate synchronized audio.","default":false},"shotType":{"type":"string","description":"Shot type.","enum":["customize","intelligence"],"default":"customize"},"multiPrompt":{"type":"array","description":"List of multi-prompt segments (optional).","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"Segment prompt.","maxLength":512},"duration":{"type":"integer","description":"Segment duration.","minimum":1,"maximum":15}},"required":["duration"]}},"elementList":{"type":"array","description":"Element reference list (optional).","maxItems":4,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":[]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video (when true, the prompt parameter is invalid; when false, the shotType parameter and the multiPrompt parameter are invalid)","default":false}}}},"kling-o3-4k-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","duration"],"properties":{"prompt":{"type":"string","description":"Text description of the video scene, characters, and motion.","maxLength":2500},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images: up to 4 with video, up to 7 without. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"keepOriginalSound":{"type":"boolean","description":"Keep audio from the reference video.","default":true},"sound":{"type":"boolean","description":"Generate AI audio (only when no reference video).","default":false},"aspectRatio":{"type":"string","description":"Output aspect ratio.","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"type":"integer","description":"Video length in seconds (3-15).","default":5,"minimum":3,"maximum":15},"shotType":{"type":"string","description":"Shot type.When the multiShot parameter is true, the current parameter is required.","enum":["customize","intelligence"],"default":"customize"},"multiPrompt":{"type":"array","description":"List of multi-prompt segments (optional).","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"Segment prompt.","maxLength":512},"duration":{"type":"integer","description":"Segment duration.","minimum":1,"maximum":15}},"required":["duration"]}},"elementList":{"type":"array","description":"Element reference list (optional).","maxItems":3,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":[]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video (when true, the prompt parameter is invalid; when false, the shotType parameter and the multiPrompt parameter are invalid)","default":false}}}},"kling-o1-video-edit":{"deprecated":false,"input":{"type":"object","required":["mode","prompt","videoUrl","keepOriginalSound"],"properties":{"mode":{"type":"string","description":"mode","enum":["std","pro"],"default":"std"},"prompt":{"type":"string","description":"prompt","maxLength":2000},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"videoUrl":{"type":"string","description":"videoUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"keepOriginalSound":{"type":"boolean","description":"keepOriginalSound","default":true}}}},"kling-o1-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["mode","prompt","aspectRatio","duration","keepOriginalSound"],"properties":{"mode":{"type":"string","description":"mode","enum":["std","pro"],"default":"std"},"prompt":{"type":"string","description":"prompt","maxLength":2000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","9:16","16:9"],"default":"9:16"},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"videoUrl":{"type":"string","description":"videoUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"keepOriginalSound":{"type":"boolean","description":"keepOriginalSound","default":true}}}},"kling-o3-pro-video-edit":{"deprecated":false,"input":{"type":"object","required":["prompt","videoUrl","keepOriginalSound"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2500},"videoUrl":{"type":"string","description":"The video URL. Video duration can not be longer than 10s. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":4},"keepOriginalSound":{"type":"boolean","description":"keepOriginalSound","default":true},"elementList":{"type":"array","description":"Element reference list","maxItems":4,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":[]}}}}},"kling-o3-std-video-edit":{"deprecated":false,"input":{"type":"object","required":["prompt","videoUrl","keepOriginalSound"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2500},"videoUrl":{"type":"string","description":"The video URL. Video duration can not be longer than 10s. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":4},"keepOriginalSound":{"type":"boolean","description":"keepOriginalSound","default":true}}}},"kling-o3-pro-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","keepOriginalSound","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2500},"videoUrl":{"type":"string","description":"The video URL. Video duration can not be longer than 10s. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"keepOriginalSound":{"type":"boolean","description":"keepOriginalSound","default":true},"sound":{"type":"boolean","description":"sound","default":false},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"type":"integer","description":"duration","default":5,"minimum":3,"maximum":15},"multiPrompt":{"type":"array","description":"List of multi-prompt elements for the generation.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["prompt","duration"]}},"elementList":{"type":"array","description":"Element reference list","maxItems":7,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"element_id":{"type":"string","description":"element_id"}},"required":[]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"]}}}},"kling-o3-std-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","keepOriginalSound","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2500},"videoUrl":{"type":"string","description":"The video URL. Video duration can not be longer than 10s. 720px-2160px Supply an HTTPS URL or an uploaded media:<uuid> reference."},"imageUrls":{"type":"array","items":{"type":"string","description":"When there is a reference video, the number of reference images must not exceed 4; when there is no reference video, the number of reference images must not exceed 7. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"keepOriginalSound":{"type":"boolean","description":"keepOriginalSound","default":true},"sound":{"type":"boolean","description":"sound","default":false},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16","1:1"],"default":"16:9"},"duration":{"type":"integer","description":"duration","default":5,"minimum":3,"maximum":15},"multiPrompt":{"type":"array","description":"List of multi-prompt elements for the generation.","maxItems":6,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt","maxLength":512},"duration":{"type":"integer","description":"duration","minimum":1,"maximum":15}},"required":["prompt","duration"]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video","default":false},"shotType":{"type":"string","description":"Shot type","enum":["customize","intelligence"]}}}},"wan-2-5-preview-image-to-video":{"deprecated":false,"input":{"type":"object","required":["imageUrl","duration","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":0,"maxLength":1500},"imageUrl":{"type":"string","description":"mage resolution: The width and height of the image range from 240 to 8000 pixels. File size: Maximum 10 MB. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"audioUrl":{"type":"string","description":"Audio file URL; the model will use this audio to generate a video. Duration: 3–30 seconds. File size: no more than 15 MB. Oversize handling: If the audio length exceeds the specified duration value (e.g., 5 seconds), the first 5 seconds will be automatically captured and the rest discarded. If the audio is shorter than the video duration, the portion beyond the audio length will be silent in the video. For example: if the audio is 3 seconds long and the video duration is set to 5 seconds, the output video will have sound for the first 3 seconds and be silent for the remaining 2 seconds. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":500},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"},"resolution":{"type":"string","description":"resolution","enum":["480p","720p","1080p"],"default":"1080p"},"promptExtend":{"type":"boolean","description":"Whether to enable prompt intelligent rewriting.","default":true},"seed":{"type":"integer","description":"Random seed","minimum":0,"maximum":2147483647}}}},"wan-2-5-preview-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","duration","size"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":1500},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":500},"audioUrl":{"type":"string","description":"Audio file URL; the model will use this audio to generate a video. Duration: 3–30 seconds. File size: no more than 15 MB. Oversize handling: If the audio length exceeds the specified duration value (e.g., 5 seconds), the first 5 seconds will be automatically captured and the rest discarded. If the audio is shorter than the video duration, the portion beyond the audio length will be silent in the video. For example: if the audio is 3 seconds long and the video duration is set to 5 seconds, the output video will have sound for the first 3 seconds and be silent for the remaining 2 seconds. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["5","10"],"default":"5"},"size":{"type":"string","description":"Specify the resolution of the generated video, in the format of width*height.","enum":["832*480","480*832","624*624","1280*720","720*1280","960*960","1088*832","832*1088","1920*1080","1080*1920","1440*1440","1632*1248","1248*1632"],"default":"1920*1080"},"promptExtend":{"type":"boolean","description":"Whether to enable prompt intelligent rewriting.","default":true},"seed":{"type":"integer","description":"Random seed","minimum":0,"maximum":2147483647}}}},"hailuo-02-fast":{"deprecated":false,"input":{"type":"object","required":["enablePromptExpansion","imageUrl","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["6","10"],"default":"6"}}}},"hailuo-02-standard":{"deprecated":false,"input":{"type":"object","required":["prompt","enablePromptExpansion","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["6","10"],"default":"6"}}}},"hailuo-2-3-fast-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","enablePromptExpansion","imageUrl","duration"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":5,"maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["6","10"],"default":"6"}}}},"hailuo-2-3-i2v-standard":{"deprecated":false,"input":{"type":"object","required":["enablePromptExpansion","imageUrl","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["6","10"],"default":"6"}}}},"hailuo-02-i2v-standard":{"deprecated":false,"input":{"type":"object","required":["enablePromptExpansion","firstImageUrl","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"firstImageUrl":{"type":"string","description":"firstImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastImageUrl":{"type":"string","description":"lastImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"string","description":"duration","enum":["6","10"],"default":"6"}}}},"hailuo-2-3-t2v-standard":{"deprecated":false,"input":{"type":"object","required":["prompt","enablePromptExpansion","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"duration":{"type":"string","description":"duration","enum":["6","10"],"default":"6"}}}},"hailuo-02-t2v-standard":{"deprecated":false,"input":{"type":"object","required":["prompt","enablePromptExpansion","duration"],"properties":{"prompt":{"type":"string","description":"prompt","maxLength":2000},"enablePromptExpansion":{"type":"boolean","description":"enablePromptExpansion","default":true},"duration":{"type":"string","description":"duration","enum":["6","10"],"default":"6"}}}},"flux-kontext-dev-lora-image-edit":{"deprecated":false,"input":{"type":"object","required":["imageUrl","aspectRatio","prompt"],"properties":{"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1","2","3","4","5","6","7","8","9"],"default":"1"},"width":{"type":"integer","description":"customWidth","default":1024,"minimum":256,"maximum":1536},"height":{"type":"integer","description":"customHeight","default":1024,"minimum":256,"maximum":1536},"lora":{"type":"string","description":"lora","maxLength":255},"loraStrength":{"type":"number","description":"lora_strength","default":0,"minimum":-100,"maximum":100},"prompt":{"type":"string","description":"prompt"},"outputFormat":{"type":"string","description":"outputFormat","enum":["PNG","JPEG","WEBP (lossless)","WEBP (lossy)"],"default":"PNG"}}}},"wan-3-0-image-to-video":{"deprecated":false,"input":{"type":"object","required":["firstFrameUrl","resolution","aspectRatio","duration"],"properties":{"prompt":{"type":"string","description":"Prompt (CN/EN). Describe the motion, camera work and audio after the first frame.","maxLength":20000},"firstFrameUrl":{"type":"string","description":"First frame image (required). First frame only = image-to-video; with last frame = first-last-frame video. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"Last frame image (optional). Used with the first frame to generate a transition video. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Output resolution, default 720P. Unit price varies by resolution.","enum":["480P","720P","1080P"],"default":"720P"},"aspectRatio":{"type":"string","description":"Aspect ratio. adaptive chooses by intent and input media.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16"],"default":"adaptive"},"duration":{"type":"string","description":"Output duration in seconds, up to 30. auto=smart duration decided by the model and billed by the actual output duration.","enum":["auto","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],"default":"5"},"audio":{"type":"boolean","description":"Whether output includes audio. true=with audio (default). Price is the same either way.","default":true},"enableThinking":{"type":"boolean","description":"Thinking mode. Required true when using fileUrl/linkUrl.","default":false},"seed":{"type":"integer","description":"Random seed in [0, 2147483647].","minimum":0,"maximum":2147483647},"promptExtend":{"type":"boolean","description":"Enable intelligent prompt rewriting. true (default) rewrites short prompts and takes longer. false disables it. Must be true when fileUrl or linkUrl is provided.","default":true},"watermark":{"type":"boolean","description":"Whether to add a watermark. false (default) adds none. true adds one.","default":false}}}},"wan-3-0-prime-image-to-video":{"deprecated":false,"input":{"type":"object","required":["firstFrameUrl","resolution","aspectRatio","duration"],"properties":{"prompt":{"type":"string","description":"Prompt (CN/EN). Describe the motion, camera work and audio after the first frame.","maxLength":20000},"firstFrameUrl":{"type":"string","description":"First frame image (required). First frame only = image-to-video; with last frame = first-last-frame video. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"Last frame image (optional). Used with the first frame to generate a transition video. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Output resolution, default 720P. Unit price varies by resolution.","enum":["480P","720P","1080P"],"default":"720P"},"aspectRatio":{"type":"string","description":"Aspect ratio. adaptive chooses by intent and input media.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16"],"default":"adaptive"},"duration":{"type":"string","description":"Output duration in seconds, up to 30. auto=smart duration decided by the model and billed by the actual output duration.","enum":["auto","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],"default":"5"},"audio":{"type":"boolean","description":"Whether output includes audio. true=with audio (default). Price is the same either way.","default":true},"seed":{"type":"integer","description":"Random seed in [0, 2147483647].","minimum":0,"maximum":2147483647},"promptExtend":{"type":"boolean","description":"Enable intelligent prompt rewriting. true (default) rewrites short prompts and takes longer. false disables it. Must be true when fileUrl or linkUrl is provided.","default":true},"watermark":{"type":"boolean","description":"Whether to add a watermark. false (default) adds none. true adds one.","default":false}}}},"qwen-image-edit-2511":{"deprecated":false,"input":{"type":"object","required":["imageUrl","prompt","aspectRatio","outputFormat"],"properties":{"imageUrl":{"type":"string","description":"imageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"imageUrl2":{"type":"string","description":"imageUrl2 Supply an HTTPS URL or an uploaded media:<uuid> reference."},"imageUrl3":{"type":"string","description":"imageUrl3 Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"prompt"},"aspectRatio":{"type":"string","description":"The size of the generated media in pixels","enum":["3:2","2:3","16:9","9:16","4:3","3:4","1:1"],"default":"1:1"},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"kling-v3-0-4k-image-to-video":{"deprecated":false,"input":{"type":"object","x-exclusive-fields":[["prompt","multiPrompt"]],"required":["imageUrl","duration"],"properties":{"imageUrl":{"type":"string","description":"Supported image formats: .jpg/.jpeg/.png. The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. ","minLength":1,"maxLength":2500},"negativePrompt":{"type":"string","description":"negativePrompt"},"endImageUrl":{"type":"string","description":"endImageUrl Supply an HTTPS URL or an uploaded media:<uuid> reference."},"duration":{"type":"integer","description":"duration","default":5,"minimum":3,"maximum":15},"cfgScale":{"type":"number","description":"cfgScale","default":0.5,"minimum":0,"maximum":1},"sound":{"type":"boolean","description":"sound","default":false},"shotType":{"type":"string","description":"shotType","enum":["customize","intelligence"],"default":"customize"},"multiPrompt":{"type":"array","description":"List of prompts for multi-shot video generation. If provided, divides the video into multiple shots.","maxItems":100,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"prompt":{"type":"string","description":"prompt"},"duration":{"type":"integer","description":"duration","minimum":3,"maximum":15}},"required":[]}},"elementList":{"type":"array","description":"elementList","maxItems":3,"items":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"elementId":{"type":"string","description":"elementId"}},"required":[]}},"multiShot":{"type":"boolean","description":"Whether to generate multi-shot video (when true, the prompt parameter is invalid; when false, the shotType parameter and the multiPrompt parameter are invalid)","default":false}}}},"z-image-turbo-lora-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","aspectRatio","outputFormat"],"properties":{"prompt":{"type":"string","description":"Describe the image to generate or edit."},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","3:4","4:3","9:16","16:9","2:3","3:2"],"default":"1:1"},"lora":{"type":"string","description":"LoRA model name available to the service."},"lora_strength":{"type":"number","description":"LoRA strength, from -100 to 100.","minimum":-100,"maximum":100},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"z-image-turbo-lora-image-to-image":{"deprecated":false,"input":{"type":"object","required":["imageUrl","prompt","aspectRatio","outputFormat"],"properties":{"imageUrl":{"type":"string","description":"Public URL of the input image (maximum 10 MB). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"Describe the image to generate or edit."},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["3:2","2:3","16:9","9:16","4:3","3:4","1:1"],"default":"1:1"},"lora":{"type":"string","description":"LoRA model name available to the service."},"lora_strength":{"type":"number","description":"LoRA strength, from -100 to 100.","minimum":-100,"maximum":100},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"qwen-image-edit-2511-lora":{"deprecated":false,"input":{"type":"object","required":["imageUrl","prompt","aspectRatio"],"properties":{"imageUrl":{"type":"string","description":"Public URL of the input image (maximum 10 MB). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"prompt":{"type":"string","description":"Describe the image to generate or edit."},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["3:2","2:3","16:9","9:16","4:3","3:4","1:1"],"default":"1:1"},"lora":{"type":"string","description":"LoRA model name available to the service."},"lora_strength":{"type":"number","description":"LoRA strength, from -100 to 100.","minimum":-100,"maximum":100},"outputFormat":{"type":"string","description":"outputFormat","enum":["png","jpeg","webp(lossless)","webp(lossy)"],"default":"png"}}}},"wan-2-7-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration","aspectRatio"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":5000},"videoUrls":{"type":"array","items":{"type":"string","description":"Reference videos. Up to five images and videos in total. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":5},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images. Up to five images and videos in total. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":5},"audioUrl":{"type":"string","description":"Optional reference audio URL. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":500},"resolution":{"type":"string","description":"resolution","enum":["720P","1080P"],"default":"720P"},"duration":{"type":"string","description":"duration","enum":["2","3","4","5","6","7","8","9","10"],"default":"5"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"promptExtend":{"type":"boolean","description":"promptExtend"},"seed":{"type":"integer","description":"seed","minimum":0,"maximum":2147483647}}}},"wan-2-6-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","size","duration"],"properties":{"prompt":{"type":"string","description":"prompt"},"negativePrompt":{"type":"string","description":"negativePrompt"},"videoUrls":{"type":"array","items":{"type":"string","description":"Up to three reference videos; combined images and videos must total one to five. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images; combined images and videos must total one to five. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":5},"size":{"type":"string","description":"size","enum":["1280*720","720*1280","960*960","1088*832","832*1088","1920*1080","1080*1920","1440*1440","1632*1248","1248*1632"],"default":"1280*720"},"duration":{"type":"string","description":"duration","enum":["2","3","4","5","6","7","8","9","10"],"default":"5"},"shotType":{"type":"string","description":"shotType","enum":["single","multi"]}}}},"wan-2-6-flash-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","size","duration","audio"],"properties":{"prompt":{"type":"string","description":"prompt"},"negativePrompt":{"type":"string","description":"negativePrompt"},"videoUrls":{"type":"array","items":{"type":"string","description":"Up to three reference videos; combined images and videos must total one to five. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images; combined images and videos must total one to five. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":5},"size":{"type":"string","description":"size","enum":["1280*720","720*1280","960*960","1088*832","832*1088","1920*1080","1080*1920","1440*1440","1632*1248","1248*1632"],"default":"1280*720"},"duration":{"type":"string","description":"duration","enum":["2","3","4","5","6","7","8","9","10"],"default":"5"},"shotType":{"type":"string","description":"shotType","enum":["single","multi"]},"audio":{"type":"boolean","description":"audio","default":true}}}},"wan-2-7-video-edit":{"deprecated":false,"input":{"type":"object","required":["prompt","videoUrl","imageUrls","resolution","duration","aspectRatio"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":5000},"videoUrl":{"type":"string","description":"Video duration must be between 2 and 10 seconds Supply an HTTPS URL or an uploaded media:<uuid> reference."},"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"negativePrompt":{"type":"string","description":"negativePrompt","minLength":0,"maxLength":500},"resolution":{"type":"string","description":"resolution","enum":["720P","1080P"],"default":"720P"},"duration":{"type":"string","description":"Controls the output video duration. 0 = keep full input video length; 2-10 = trim from start to specified seconds; set value cannot exceed the original input video duration","enum":["0","2","3","4","5","6","7","8","9","10"],"default":"0"},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["16:9","9:16","1:1","4:3","3:4"],"default":"16:9"},"promptExtend":{"type":"boolean","description":"Whether to enable prompt intelligent rewriting. After activation, use the large model to intelligently rewrite the input prompt. For shorter prompt generation, the effect is significantly improved, but it will increase the time consumption."},"seed":{"type":"integer","description":"Randomly select seeds with a value range of [0, 2147483647]. If not specified, the system will automatically generate random seeds. If you need to improve the reproducibility of the generated results, it is recommended to fix the seed value. Please note that due to the probabilistic nature of model generation, even with the same seed, it cannot be guaranteed that the results generated each time will be completely consistent"}}}},"vidu-reference-to-video-q3-drama":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls","duration","resolution"],"properties":{"prompt":{"type":"string","description":"Text prompt describing the desired video content. Supports Chinese and English, max 5000 characters.","maxLength":5000},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images (1-7). The model uses subjects in images to generate consistent video. Supports png/jpeg/jpg/webp, min 128x128 pixels, aspect ratio within 4:1, max 50MB each. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"duration":{"type":"integer","description":"Video duration in seconds. Range: 2-15.","default":8,"minimum":2,"maximum":15},"resolution":{"type":"string","description":"Output resolution: 1080p.","enum":["1080p"],"default":"1080p"},"aspectRatio":{"type":"string","description":"Aspect ratio. Default: 16:9. Supports arbitrary ratios. auto option auto-detects from input.","enum":["16:9","9:16","4:3","3:4","1:1","auto"],"default":"16:9"},"audio":{"type":"string","description":"Enable audio-video sync. True outputs video with dialogue and sound effects, false outputs silent video.","enum":["true","false"],"default":"true"}}}},"vidu-reference-to-video-q3-ad":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls","duration","resolution"],"properties":{"prompt":{"type":"string","description":"Text prompt describing the desired video content. Supports Chinese and English, max 5000 characters.","maxLength":5000},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images (1-7). The model uses subjects in images to generate consistent video. Supports png/jpeg/jpg/webp, min 128x128 pixels, aspect ratio within 4:1, max 50MB each. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":7},"audioUrls":{"type":"array","items":{"type":"string","description":"Optional audio references (1-3). The model uses these audios as reference for subject-consistent video. MP3 only; each audio max 20s, max 50MB per file. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"duration":{"type":"integer","description":"Video duration in seconds. Range: 3-16.","default":5,"minimum":3,"maximum":16},"resolution":{"type":"string","description":"Resolution. Default: 720p. Options: 720p, 1080p.","enum":["720p","1080p"],"default":"720p"},"aspectRatio":{"type":"string","description":"Aspect ratio. Default: 16:9. Supports arbitrary ratios. auto option auto-detects from input.","enum":["16:9","9:16","4:3","3:4","1:1","auto"],"default":"16:9"},"audio":{"type":"string","description":"Enable audio-video sync. True outputs video with dialogue and sound effects, false outputs silent video.","enum":["true","false"],"default":"true"}}}},"minimax-h3-regeneration-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","baseVideoUrl","resolution"],"properties":{"prompt":{"type":"string","description":"The final prompt actually sent to the model when generating the 768P source video.","minLength":1,"maxLength":40000},"baseVideoUrl":{"type":"string","description":"MiniMax-H3 768P source video (with audio track, 24fps, dims divisible by 32, area <=768x1344, 107-362 frames). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Target resolution (2K only).","enum":["2K"],"default":"2K"}}}},"minimax-h3-regeneration-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","firstFrameUrl","baseVideoUrl","resolution"],"properties":{"prompt":{"type":"string","description":"The final prompt actually sent to the model when generating the 768P source video.","minLength":1,"maxLength":40000},"firstFrameUrl":{"type":"string","description":"first frame image (same as generation) Supply an HTTPS URL or an uploaded media:<uuid> reference."},"lastFrameUrl":{"type":"string","description":"last frame image (same as generation) Supply an HTTPS URL or an uploaded media:<uuid> reference."},"baseVideoUrl":{"type":"string","description":"MiniMax-H3 768P source video (with audio track, 24fps, dims divisible by 32, area <=768x1344, 107-362 frames). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Target resolution (2K only).","enum":["2K"],"default":"2K"}}}},"minimax-h3-multimodal-reference-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution","duration"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","minLength":1,"maxLength":20480},"imageUrls":{"type":"array","items":{"type":"string","description":"reference images (max 9) Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"videoUrls":{"type":"array","items":{"type":"string","description":"reference video Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"audioUrls":{"type":"array","items":{"type":"string","description":"reference audio Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":3},"resolution":{"type":"string","description":"Output resolution.","enum":["2K","768P"],"default":"768P"},"duration":{"type":"string","description":"Duration in seconds, 5-15.","enum":["5","6","7","8","9","10","11","12","13","14","15"],"default":"5"},"ratio":{"type":"string","description":"Aspect ratio, default adaptive.","enum":["adaptive","21:9","16:9","4:3","1:1","3:4","9:16"],"default":"adaptive"},"aigcWatermark":{"type":"boolean","description":"Whether to add an AIGC watermark to the generated video."}}}},"flux-3-video-text-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","minLength":1,"maxLength":20480},"aspectRatio":{"type":"string","description":"Output aspect ratio; auto lets the model decide.","enum":["auto","21:9","2:1","16:9","4:3","1:1","3:4","9:16"],"default":"auto"},"duration":{"type":"integer","description":"Video duration in seconds (5-20); omit to auto-fit.","minimum":5,"maximum":20},"resolution":{"type":"string","description":"Video resolution: hd, or fhd (finished by the upsampler).","enum":["hd","fhd"],"default":"hd"},"draft":{"type":"boolean","description":"Draft mode: fast HD preview at a lower price.","default":false},"generateAudio":{"type":"boolean","description":"Generate synchronized audio (free).","default":true},"safetyTolerance":{"type":"integer","description":"Harm moderation tolerance, 0 strictest to 4, default 2.","default":2,"minimum":0,"maximum":4}}}},"flux-3-video-image-to-video":{"deprecated":false,"input":{"type":"object","required":["prompt","keyframeUrls","resolution"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","minLength":1,"maxLength":20480},"keyframeUrls":{"type":"array","items":{"type":"string","description":"1-10 keyframe images. Three or more images require an explicit duration. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"aspectRatio":{"type":"string","description":"Output aspect ratio; auto lets the model decide.","enum":["auto","21:9","2:1","16:9","4:3","1:1","3:4","9:16"],"default":"auto"},"duration":{"type":"integer","description":"Video duration in seconds (5-20); omit to auto-fit.","minimum":5,"maximum":20},"resolution":{"type":"string","description":"Video resolution: hd, or fhd (finished by the upsampler).","enum":["hd","fhd"],"default":"hd"},"draft":{"type":"boolean","description":"Draft mode: fast HD preview at a lower price.","default":false},"generateAudio":{"type":"boolean","description":"Generate synchronized audio (free).","default":true},"safetyTolerance":{"type":"integer","description":"Harm moderation tolerance, 0 strictest to 4, default 2.","default":2,"minimum":0,"maximum":4}}}},"flux-3-video-video-continuation":{"deprecated":false,"input":{"type":"object","required":["prompt","startVideo","resolution"],"properties":{"prompt":{"type":"string","description":"Text prompt for video generation.","minLength":1,"maxLength":20480},"startVideo":{"type":"string","description":"The source video (mp4) to continue from. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"aspectRatio":{"type":"string","description":"Output aspect ratio; auto lets the model decide.","enum":["auto","21:9","2:1","16:9","4:3","1:1","3:4","9:16"],"default":"auto"},"duration":{"type":"integer","description":"Video duration in seconds (5-20); omit to auto-fit.","minimum":5,"maximum":20},"resolution":{"type":"string","description":"Video resolution: hd, or fhd (finished by the upsampler).","enum":["hd","fhd"],"default":"hd"},"draft":{"type":"boolean","description":"Draft mode: fast HD preview at a lower price.","default":false},"generateAudio":{"type":"boolean","description":"Generate synchronized audio (free).","default":true},"safetyTolerance":{"type":"integer","description":"Harm moderation tolerance, 0 strictest to 4, default 2.","default":2,"minimum":0,"maximum":4}}}},"seedream-5-5-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Prompt used to generate the image","minLength":5,"maxLength":5000},"width":{"type":"integer","description":"Width, 240 to 8595. The product with height must be 921600 to 4624220, and the aspect ratio must be 1/16 to 16. Ignored when resolution is set.","default":1024,"minimum":240,"maximum":8595},"height":{"type":"integer","description":"Height, 240 to 8595. The product with width must be 921600 to 4624220, and the aspect ratio must be 1/16 to 16. Ignored when resolution is set.","default":1024,"minimum":240,"maximum":8595},"resolution":{"type":"string","description":"Takes priority over width and height. Values are 1K, 1.5K, and 2K. Default 2K.","enum":["1K","1.5K","2K"],"default":"2K"},"outputFormat":{"type":"string","description":"Output image format, png or jpeg. Default png.","enum":["png","jpeg"],"default":"png"},"watermark":{"type":"string","description":"Add a watermark. true or false. Default false. Omitted requests are still sent as false.","enum":["false","true"],"default":"false"},"background":{"type":"string","description":"Background. auto follows the prompt and output format. jpeg with auto is opaque. jpeg with transparent is rejected. opaque is an opaque background. Default auto.","enum":["auto","transparent","opaque"],"default":"auto"},"optimizePromptMode":{"type":"string","description":"Prompt optimization. Only standard is allowed. Omitted requests are still sent as standard. fast is rejected upstream.","enum":["standard"],"default":"standard"},"safetyIdentifier":{"type":"string","description":"Stable English identifier of the end user, at most 64 characters. A hash such as sha256_user_abc123 is recommended. Empty values are not sent.","minLength":0,"maxLength":64}}}},"seedream-5-5-image-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"Edit or fusion instruction","minLength":5,"maxLength":5000},"width":{"type":"integer","description":"Width, 240 to 8595. The product with height must be 921600 to 4624220, and the aspect ratio must be 1/16 to 16. Ignored when resolution is set.","default":1024,"minimum":240,"maximum":8595},"height":{"type":"integer","description":"Height, 240 to 8595. The product with width must be 921600 to 4624220, and the aspect ratio must be 1/16 to 16. Ignored when resolution is set.","default":1024,"minimum":240,"maximum":8595},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images, 1 to 10 Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"resolution":{"type":"string","description":"Takes priority over width and height. Values are 1K, 1.5K, and 2K. Default 2K.","enum":["1K","1.5K","2K"],"default":"2K"},"outputFormat":{"type":"string","description":"Output image format, png or jpeg. Default png.","enum":["png","jpeg"],"default":"png"},"watermark":{"type":"string","description":"Add a watermark. true or false. Default false. Omitted requests are still sent as false.","enum":["false","true"],"default":"false"},"background":{"type":"string","description":"Background. auto follows the prompt and output format. jpeg with auto is opaque. jpeg with transparent is rejected. opaque is an opaque background. Default auto.","enum":["auto","transparent","opaque"],"default":"auto"},"optimizePromptMode":{"type":"string","description":"Prompt optimization. Only standard is allowed. Omitted requests are still sent as standard. fast is rejected upstream.","enum":["standard"],"default":"standard"},"safetyIdentifier":{"type":"string","description":"Stable English identifier of the end user, at most 64 characters. A hash such as sha256_user_abc123 is recommended. Empty values are not sent.","minLength":0,"maxLength":64}}}},"dola-seedream-5-5-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Prompt used to generate the image","minLength":5,"maxLength":5000},"width":{"type":"integer","description":"Width, 240 to 8595. The product with height must be 921600 to 4624220, and the aspect ratio must be 1/16 to 16. Ignored when resolution is set.","default":1024,"minimum":240,"maximum":8595},"height":{"type":"integer","description":"Height, 240 to 8595. The product with width must be 921600 to 4624220, and the aspect ratio must be 1/16 to 16. Ignored when resolution is set.","default":1024,"minimum":240,"maximum":8595},"resolution":{"type":"string","description":"Takes priority over width and height. Values are 1K, 1.5K, and 2K. Default 2K.","enum":["1K","1.5K","2K"],"default":"2K"},"outputFormat":{"type":"string","description":"Output image format, png or jpeg. Default png.","enum":["png","jpeg"],"default":"png"},"watermark":{"type":"string","description":"Add a watermark. true or false. Default false. Omitted requests are still sent as false.","enum":["false","true"],"default":"false"},"background":{"type":"string","description":"Background. auto follows the prompt and output format. jpeg with auto is opaque. jpeg with transparent is rejected. opaque is an opaque background. Default auto.","enum":["auto","transparent","opaque"],"default":"auto"},"optimizePromptMode":{"type":"string","description":"Prompt optimization. Only standard is allowed. Omitted requests are still sent as standard. fast is rejected upstream.","enum":["standard"],"default":"standard"},"safetyIdentifier":{"type":"string","description":"Stable English identifier of the end user, at most 64 characters. A hash such as sha256_user_abc123 is recommended. Empty values are not sent.","minLength":0,"maxLength":64}}}},"dola-seedream-5-5-image-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"Edit or fusion instruction","minLength":5,"maxLength":5000},"width":{"type":"integer","description":"Width, 240 to 8595. The product with height must be 921600 to 4624220, and the aspect ratio must be 1/16 to 16. Ignored when resolution is set.","default":1024,"minimum":240,"maximum":8595},"height":{"type":"integer","description":"Height, 240 to 8595. The product with width must be 921600 to 4624220, and the aspect ratio must be 1/16 to 16. Ignored when resolution is set.","default":1024,"minimum":240,"maximum":8595},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images, 1 to 10 Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":10},"resolution":{"type":"string","description":"Takes priority over width and height. Values are 1K, 1.5K, and 2K. Default 2K.","enum":["1K","1.5K","2K"],"default":"2K"},"outputFormat":{"type":"string","description":"Output image format, png or jpeg. Default png.","enum":["png","jpeg"],"default":"png"},"watermark":{"type":"string","description":"Add a watermark. true or false. Default false. Omitted requests are still sent as false.","enum":["false","true"],"default":"false"},"background":{"type":"string","description":"Background. auto follows the prompt and output format. jpeg with auto is opaque. jpeg with transparent is rejected. opaque is an opaque background. Default auto.","enum":["auto","transparent","opaque"],"default":"auto"},"optimizePromptMode":{"type":"string","description":"Prompt optimization. Only standard is allowed. Omitted requests are still sent as standard. fast is rejected upstream.","enum":["standard"],"default":"standard"},"safetyIdentifier":{"type":"string","description":"Stable English identifier of the end user, at most 64 characters. A hash such as sha256_user_abc123 is recommended. Empty values are not sent.","minLength":0,"maxLength":64}}}},"muse-video-economy":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Describe the subject, action, and camera move. Required even when reference images are provided.","minLength":1,"maxLength":4000},"imageUrls":{"type":"array","items":{"type":"string","description":"Up to 9 reference images, 11MB combined original size. Omit for text-to-video. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"aspectRatio":{"type":"string","description":"Aspect ratio. If omitted, text-only defaults to 16:9 and image requests follow the reference.","enum":["16:9","9:16","1:1","4:3","3:4","3:2","2:3"],"default":"16:9"},"duration":{"type":"string","description":"Requested duration. Only about 10 seconds is supported. The file duration is authoritative.","enum":["10"],"default":"10"},"resolution":{"type":"string","description":"Resolution. Only 720p is supported.","enum":["720p"],"default":"720p"},"nsfwCheck":{"type":"boolean","description":"Run a pre-submit content check. A successful submit does not guarantee the video passes later review.","default":false}}}},"muse-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Describe the subject, light, and composition. Required even when reference images are provided.","minLength":1,"maxLength":4000},"imageUrls":{"type":"array","items":{"type":"string","description":"Up to 9 reference images, 11MB combined original size. Omit for text-to-image. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":9},"aspectRatio":{"type":"string","description":"Aspect ratio. If omitted, text-only defaults to 1:1 and image requests follow the reference. Do not send auto.","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"default":"1:1"},"nsfwCheck":{"type":"boolean","description":"Run a pre-submit content check. A successful submit does not guarantee the image passes later review.","default":false}}}},"nano-banana-2-1-text-to-image-stable":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9","1:4","4:1","1:8","8:1"],"default":"1:1"},"resolution":{"type":"string","description":"resolution","enum":["1k","2k","4k"],"default":"1k"},"thinkingLevel":{"type":"string","description":"thinkingLevel","enum":["minimal","medium","high"],"default":"medium"}}}},"nano-banana-2-1-image-to-image-stable":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt","resolution"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":14},"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9","1:4","4:1","1:8","8:1"],"default":"1:1"},"resolution":{"type":"string","description":"resolution","enum":["1k","2k","4k"],"default":"1k"},"thinkingLevel":{"type":"string","description":"thinkingLevel","enum":["minimal","medium","high"],"default":"medium"}}}},"nano-banana-2-1-text-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution"],"properties":{"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9","1:4","4:1","1:8","8:1"],"default":"1:1"},"resolution":{"type":"string","description":"resolution","enum":["1k","2k","4k"],"default":"1k"}}}},"nano-banana-2-1-image-to-image-economy":{"deprecated":false,"input":{"type":"object","required":["imageUrls","prompt","resolution"],"properties":{"imageUrls":{"type":"array","items":{"type":"string","description":"imageUrls Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":14},"prompt":{"type":"string","description":"prompt","minLength":1,"maxLength":20000},"aspectRatio":{"type":"string","description":"aspectRatio","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","5:4","4:5","21:9","1:4","4:1","1:8","8:1"],"default":"1:1"},"resolution":{"type":"string","description":"resolution","enum":["1k","2k","4k"],"default":"1k"}}}},"krea-v2-medium-text-to-image":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Text prompt describing the image to generate.","minLength":1,"maxLength":5000},"aspectRatio":{"type":"string","description":"Output aspect ratio.","enum":["1:1","4:3","3:4","16:9","9:16"],"default":"1:1"},"outputFormat":{"type":"string","description":"Output image format.","enum":["png","jpeg"],"default":"png"}}}},"krea-v2-turbo":{"deprecated":false,"input":{"type":"object","required":["prompt","resolution"],"properties":{"prompt":{"type":"string","description":"The positive prompt for the generation.","minLength":1,"maxLength":5000},"imageUrl":{"type":"string","description":"Optional source image. When set, the model runs image-to-image and keeps the source aspect ratio. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"resolution":{"type":"string","description":"Output resolution tier. 1k is about 1 megapixel, 2k is about 4 megapixels, generated natively. Upstream price depends on the tier.","enum":["1k","2k"],"default":"1k"},"aspectRatio":{"type":"string","description":"Output aspect ratio.","enum":["1:1","1:2","2:1","1:3","3:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","9:21","21:9"],"default":"1:1"},"strength":{"type":"number","description":"Image-to-image repaint strength. Used only when a source image is set. Higher values repaint more freely.","default":0.8,"minimum":0,"maximum":1},"seed":{"type":"integer","description":"Random seed. -1 means random. Leave empty to omit it.","minimum":-1,"maximum":2147483647}}}},"gpt-image-2-6-sunburst-text-to-image-stable-token":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Image generation prompt (2-32000 characters).","minLength":2,"maxLength":32000},"size":{"type":"string","description":"Output size. Use auto, or a supported size such as 1024x1024, 1536x1024, or 1024x1536. A custom size is WIDTHxHEIGHT: both edges must be multiples of 16 and the aspect ratio must be between 1:3 and 3:1. Neither edge may exceed 3840, and total pixels must be between 655360 and 8294400. Sizes above 2560x1440 are experimental. Omit to use auto.","default":"auto","maxLength":32},"background":{"type":"string","description":"Output background mode.","enum":["auto","transparent","opaque"],"default":"auto"},"quality":{"type":"string","description":"Generation quality; higher levels increase latency and token usage.","enum":["auto","low","medium","high","xhigh","max"],"default":"auto"},"complexity":{"type":"string","description":"Planning effort before generation.  low, medium, high. Omitted when not sent.","enum":["low","medium","high"]},"moderation":{"type":"string","description":"Moderation level. auto or low. Omitted when not sent; upstream defaults to auto.","enum":["auto","low"]},"svgModel":{"type":"string","description":"Text model that writes the SVG. Set only when outputFormat is svg. Omitted otherwise.","enum":["gpt-4.1-mini","gpt-5.4-mini","gpt-5.6-sol","gpt-5.6-terra","gpt-6-astra","gpt-6-luna"]},"svgReasoningEffort":{"type":"string","description":"Reasoning effort for the SVG author. Applied only when outputFormat is svg and svgModel is set. Omitted when not sent.","enum":["none","minimal","low","medium","high","xhigh","max"]},"frameCount":{"type":"integer","description":"GIF frame count, 2 to 16. Set only when outputFormat is gif. Upstream defaults to 9 when omitted.","minimum":2,"maximum":16},"frameDurationMs":{"type":"integer","description":"GIF frame duration in milliseconds, 20 to 2000, rounded to 10ms. Set only for gif. Upstream defaults to 200.","minimum":20,"maximum":2000},"outputCompression":{"type":"integer","description":"Output compression, 0 to 100. Applies to jpeg and webp only. Omitted when not sent.","minimum":0,"maximum":100},"outputFormat":{"type":"string","description":"Output image format.","enum":["jpeg","png","webp","gif","svg"],"default":"png"}}}},"gpt-image-2-6-sunburst-image-to-image-stable-token":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"Image editing instruction (2-32000 characters).","minLength":2,"maxLength":32000},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images (1-16). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":16},"maskUrl":{"type":"string","description":"Same size as the source image, with alpha channel; PNG under 4MB Supply an HTTPS URL or an uploaded media:<uuid> reference."},"markupUrl":{"type":"string","description":"Transparent PNG the same size as the first reference image, marking the area to change. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"size":{"type":"string","description":"Output size. Use auto, or a supported size such as 1024x1024, 1536x1024, or 1024x1536. A custom size is WIDTHxHEIGHT: both edges must be multiples of 16 and the aspect ratio must be between 1:3 and 3:1. Neither edge may exceed 3840, and total pixels must be between 655360 and 8294400. Sizes above 2560x1440 are experimental. Omit to use auto.","default":"auto","maxLength":32},"background":{"type":"string","description":"Output background mode.","enum":["auto","transparent","opaque"],"default":"auto"},"quality":{"type":"string","description":"Editing quality; higher levels increase latency and token usage.","enum":["auto","low","medium","high","xhigh","max"],"default":"auto"},"complexity":{"type":"string","description":"Planning effort before generation.  low, medium, high. Omitted when not sent.","enum":["low","medium","high"]},"frameCount":{"type":"integer","description":"GIF frame count, 2 to 16. Set only when outputFormat is gif. Upstream defaults to 9 when omitted.","minimum":2,"maximum":16},"frameDurationMs":{"type":"integer","description":"GIF frame duration in milliseconds, 20 to 2000, rounded to 10ms. Set only for gif. Upstream defaults to 200.","minimum":20,"maximum":2000},"outputCompression":{"type":"integer","description":"Output compression, 0 to 100. Applies to jpeg and webp only. Omitted when not sent.","minimum":0,"maximum":100},"outputFormat":{"type":"string","description":"Output image format.","enum":["jpeg","png","webp","gif"],"default":"png"}}}},"gpt-image-2-6-flare-text-to-image-stable-token":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Image generation prompt (2-32000 characters).","minLength":2,"maxLength":32000},"size":{"type":"string","description":"Output size. Use auto, or a supported size such as 1024x1024, 1536x1024, or 1024x1536. A custom size is WIDTHxHEIGHT: both edges must be multiples of 16 and the aspect ratio must be between 1:3 and 3:1. Neither edge may exceed 3840, and total pixels must be between 655360 and 8294400. Sizes above 2560x1440 are experimental. Omit to use auto.","default":"auto","maxLength":32},"background":{"type":"string","description":"Output background mode.","enum":["auto","transparent","opaque"],"default":"auto"},"quality":{"type":"string","description":"Generation quality; higher levels increase latency and token usage.","enum":["auto","low","medium","high","xhigh","max"],"default":"auto"},"complexity":{"type":"string","description":"Planning effort before generation.  low, medium, high. Omitted when not sent.","enum":["low","medium","high"]},"moderation":{"type":"string","description":"Moderation level. auto or low. Omitted when not sent; upstream defaults to auto.","enum":["auto","low"]},"svgModel":{"type":"string","description":"Text model that writes the SVG. Set only when outputFormat is svg. Omitted otherwise.","enum":["gpt-4.1-mini","gpt-5.4-mini","gpt-5.6-sol","gpt-5.6-terra","gpt-6-astra","gpt-6-luna"]},"svgReasoningEffort":{"type":"string","description":"Reasoning effort for the SVG author. Applied only when outputFormat is svg and svgModel is set. Omitted when not sent.","enum":["none","minimal","low","medium","high","xhigh","max"]},"frameCount":{"type":"integer","description":"GIF frame count, 2 to 16. Set only when outputFormat is gif. Upstream defaults to 9 when omitted.","minimum":2,"maximum":16},"frameDurationMs":{"type":"integer","description":"GIF frame duration in milliseconds, 20 to 2000, rounded to 10ms. Set only for gif. Upstream defaults to 200.","minimum":20,"maximum":2000},"outputCompression":{"type":"integer","description":"Output compression, 0 to 100. Applies to jpeg and webp only. Omitted when not sent.","minimum":0,"maximum":100},"outputFormat":{"type":"string","description":"Output image format.","enum":["jpeg","png","webp","gif","svg"],"default":"png"}}}},"gpt-image-2-6-flare-image-to-image-stable-token":{"deprecated":false,"input":{"type":"object","required":["prompt","imageUrls"],"properties":{"prompt":{"type":"string","description":"Image editing instruction (2-32000 characters).","minLength":2,"maxLength":32000},"imageUrls":{"type":"array","items":{"type":"string","description":"Reference images (1-16). Supply an HTTPS URL or an uploaded media:<uuid> reference."},"maxItems":16},"maskUrl":{"type":"string","description":"Same size as the source image, with alpha channel; PNG under 4MB Supply an HTTPS URL or an uploaded media:<uuid> reference."},"markupUrl":{"type":"string","description":"Transparent PNG the same size as the first reference image, marking the area to change. Supply an HTTPS URL or an uploaded media:<uuid> reference."},"size":{"type":"string","description":"Output size. Use auto, or a supported size such as 1024x1024, 1536x1024, or 1024x1536. A custom size is WIDTHxHEIGHT: both edges must be multiples of 16 and the aspect ratio must be between 1:3 and 3:1. Neither edge may exceed 3840, and total pixels must be between 655360 and 8294400. Sizes above 2560x1440 are experimental. Omit to use auto.","default":"auto","maxLength":32},"background":{"type":"string","description":"Output background mode.","enum":["auto","transparent","opaque"],"default":"auto"},"quality":{"type":"string","description":"Editing quality; higher levels increase latency and token usage.","enum":["auto","low","medium","high","xhigh","max"],"default":"auto"},"complexity":{"type":"string","description":"Planning effort before generation.  low, medium, high. Omitted when not sent.","enum":["low","medium","high"]},"frameCount":{"type":"integer","description":"GIF frame count, 2 to 16. Set only when outputFormat is gif. Upstream defaults to 9 when omitted.","minimum":2,"maximum":16},"frameDurationMs":{"type":"integer","description":"GIF frame duration in milliseconds, 20 to 2000, rounded to 10ms. Set only for gif. Upstream defaults to 200.","minimum":20,"maximum":2000},"outputCompression":{"type":"integer","description":"Output compression, 0 to 100. Applies to jpeg and webp only. Omitted when not sent.","minimum":0,"maximum":100},"outputFormat":{"type":"string","description":"Output image format.","enum":["jpeg","png","webp","gif"],"default":"png"}}}},"mureka-generate-lyrics":{"deprecated":false,"input":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Prompt to drive lyrics generation (theme, keywords or description).","minLength":1,"maxLength":1024}}}}}}