Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

feat(create): Studio-Vertrag und Videodauern aus dem Web portiert (P1)

purpleed5b2efd31b9
diff --git a/src/lib/render/__tests__/fixtures/studio-prices-2026-09-19.json b/src/lib/render/__tests__/fixtures/studio-prices-2026-09-19.json
new file mode 100644
index 00000000..ff040d3e
--- /dev/null
+++ b/src/lib/render/__tests__/fixtures/studio-prices-2026-09-19.json
@@ -0,0 +1,1767 @@
+[
+ {
+ "model": "open-video",
+ "options": {
+ "duration": 5,
+ "preset": "tuned",
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.2
+ },
+ {
+ "model": "open-video",
+ "options": {
+ "duration": 5,
+ "preset": "tuned",
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.1
+ },
+ {
+ "model": "open-video",
+ "options": {
+ "duration": 5,
+ "preset": "tuned",
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.3
+ },
+ {
+ "model": "open-video",
+ "options": {
+ "duration": 20,
+ "preset": "tuned",
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.4
+ },
+ {
+ "model": "open-video",
+ "options": {
+ "duration": 3,
+ "preset": "tuned",
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.06
+ },
+ {
+ "model": "open-video",
+ "options": {
+ "duration": 5,
+ "preset": "original",
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.1
+ },
+ {
+ "model": "open-video-lora",
+ "options": {
+ "duration": 5,
+ "preset": "tuned",
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.25
+ },
+ {
+ "model": "open-video-lora",
+ "options": {
+ "duration": 5,
+ "preset": "tuned",
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.15
+ },
+ {
+ "model": "open-video-lora",
+ "options": {
+ "duration": 5,
+ "preset": "tuned",
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.35
+ },
+ {
+ "model": "open-video-lora",
+ "options": {
+ "duration": 20,
+ "preset": "tuned",
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.6
+ },
+ {
+ "model": "open-video-lora",
+ "options": {
+ "duration": 5,
+ "preset": "original",
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.15
+ },
+ {
+ "model": "open-video-lora",
+ "options": {
+ "duration": 3,
+ "preset": "tuned",
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.09
+ },
+ {
+ "model": "mmaudio-v2",
+ "options": {
+ "duration": 5,
+ "guidance_scale": 4.5,
+ "mask_away_clip": false,
+ "num_inference_steps": 25
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.005
+ },
+ {
+ "model": "mmaudio-v2",
+ "options": {
+ "duration": 30,
+ "guidance_scale": 4.5,
+ "mask_away_clip": false,
+ "num_inference_steps": 25
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.03
+ },
+ {
+ "model": "mmaudio-v2",
+ "options": {
+ "duration": 1,
+ "guidance_scale": 4.5,
+ "mask_away_clip": false,
+ "num_inference_steps": 25
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.001
+ },
+ {
+ "model": "mmaudio-v2",
+ "options": {
+ "duration": 5,
+ "guidance_scale": 4.5,
+ "mask_away_clip": false,
+ "num_inference_steps": 50
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.005
+ },
+ {
+ "model": "mmaudio-v2",
+ "options": {
+ "duration": 5,
+ "guidance_scale": 0,
+ "mask_away_clip": false,
+ "num_inference_steps": 25
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.005
+ },
+ {
+ "model": "mmaudio-v2",
+ "options": {
+ "duration": 5,
+ "guidance_scale": 4.5,
+ "mask_away_clip": false,
+ "num_inference_steps": 4
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.005
+ },
+ {
+ "model": "mmaudio-v2",
+ "options": {
+ "duration": 5,
+ "guidance_scale": 20,
+ "mask_away_clip": false,
+ "num_inference_steps": 25
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.005
+ },
+ {
+ "model": "hunyuan-video-foley",
+ "options": {},
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.05
+ },
+ {
+ "model": "mmaudio-v2",
+ "options": {
+ "duration": 5,
+ "guidance_scale": 4.5,
+ "mask_away_clip": true,
+ "num_inference_steps": 25
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.005
+ },
+ {
+ "model": "infinitetalk",
+ "options": {
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.09
+ },
+ {
+ "model": "infinitetalk-multi",
+ "options": {
+ "order": "meanwhile",
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.09
+ },
+ {
+ "model": "infinitetalk",
+ "options": {
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.18
+ },
+ {
+ "model": "infinitetalk-multi",
+ "options": {
+ "order": "right_left",
+ "resolution": "480p"
+ },
+ "seconds": 6,
+ "promptLength": 100,
+ "usd": 0.18
+ },
+ {
+ "model": "infinitetalk-multi",
+ "options": {
+ "order": "meanwhile",
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.18
+ },
+ {
+ "model": "infinitetalk-multi",
+ "options": {
+ "order": "left_right",
+ "resolution": "480p"
+ },
+ "seconds": 6,
+ "promptLength": 100,
+ "usd": 0.18
+ },
+ {
+ "model": "minimax-h3-edit",
+ "options": {
+ "output_format": "jpeg",
+ "resolution": "2k"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.09
+ },
+ {
+ "model": "minimax-h3-edit",
+ "options": {
+ "output_format": "jpeg",
+ "resolution": "1k"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.03
+ },
+ {
+ "model": "qwen-image-angles",
+ "options": {
+ "distance": 1,
+ "horizontal_angle": 0,
+ "output_format": "jpeg",
+ "vertical_angle": 0
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.025
+ },
+ {
+ "model": "scail-2",
+ "options": {
+ "mode": "animate",
+ "resolution": "480p"
+ },
+ "seconds": 6,
+ "promptLength": 100,
+ "usd": 0.24
+ },
+ {
+ "model": "scail-2",
+ "options": {
+ "mode": "replace",
+ "resolution": "480p"
+ },
+ "seconds": 6,
+ "promptLength": 100,
+ "usd": 0.24
+ },
+ {
+ "model": "scail-2",
+ "options": {
+ "mode": "animate",
+ "resolution": "720p"
+ },
+ "seconds": 6,
+ "promptLength": 100,
+ "usd": 0.48
+ },
+ {
+ "model": "wan-ditto",
+ "options": {
+ "resolution": "720p"
+ },
+ "seconds": 6,
+ "promptLength": 100,
+ "usd": 0.48
+ },
+ {
+ "model": "seedance-2.5",
+ "options": {
+ "duration": 5,
+ "generate_audio": true,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.9
+ },
+ {
+ "model": "wan-ditto",
+ "options": {
+ "resolution": "480p"
+ },
+ "seconds": 6,
+ "promptLength": 100,
+ "usd": 0.24
+ },
+ {
+ "model": "seedance-2.5",
+ "options": {
+ "duration": 5,
+ "generate_audio": true,
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1.8
+ },
+ {
+ "model": "seedance-2.5",
+ "options": {
+ "duration": 5,
+ "generate_audio": true,
+ "resolution": "4k"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 9
+ },
+ {
+ "model": "seedance-2.5",
+ "options": {
+ "duration": 5,
+ "generate_audio": true,
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 4.5
+ },
+ {
+ "model": "seedance-2.5",
+ "options": {
+ "duration": 30,
+ "generate_audio": true,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 5.4
+ },
+ {
+ "model": "seedance-2.5",
+ "options": {
+ "duration": 5,
+ "generate_audio": false,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.9
+ },
+ {
+ "model": "seedance-2.5",
+ "options": {
+ "duration": 4,
+ "generate_audio": true,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.72
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 5,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.2
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 5,
+ "resolution": "768p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.4
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 5,
+ "resolution": "540p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.3
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 3,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.12
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 5,
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.8
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 4,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.16
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 7,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.28
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 6,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.24
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 8,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.32
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 10,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.4
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 11,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.44
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 9,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.36
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 12,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.48
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 14,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.56
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 13,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.52
+ },
+ {
+ "model": "wan-3.0",
+ "options": {
+ "duration": 5,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.25
+ },
+ {
+ "model": "wan-3.0",
+ "options": {
+ "duration": 5,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.5
+ },
+ {
+ "model": "minimax-h3",
+ "options": {
+ "duration": 15,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.6
+ },
+ {
+ "model": "wan-3.0",
+ "options": {
+ "duration": 5,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1
+ },
+ {
+ "model": "wan-3.0",
+ "options": {
+ "duration": 30,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1.5
+ },
+ {
+ "model": "wan-3.0",
+ "options": {
+ "duration": 2,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.1
+ },
+ {
+ "model": "wan-3.0-spicy",
+ "options": {
+ "duration": 5,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.25
+ },
+ {
+ "model": "wan-3.0-spicy",
+ "options": {
+ "duration": 5,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.5
+ },
+ {
+ "model": "wan-3.0",
+ "options": {
+ "duration": 5,
+ "enable_audio": false,
+ "enable_prompt_expansion": false,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.25
+ },
+ {
+ "model": "wan-3.0-spicy",
+ "options": {
+ "duration": 5,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1
+ },
+ {
+ "model": "wan-3.0-spicy",
+ "options": {
+ "duration": 30,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1.5
+ },
+ {
+ "model": "wan-3.0-spicy",
+ "options": {
+ "duration": 2,
+ "enable_audio": true,
+ "enable_prompt_expansion": false,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.1
+ },
+ {
+ "model": "wan-3.0-spicy",
+ "options": {
+ "duration": 5,
+ "enable_audio": false,
+ "enable_prompt_expansion": false,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.25
+ },
+ {
+ "model": "preset-wan-2.2-spicy",
+ "options": {
+ "resolution": "480p",
+ "duration": 5
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.15
+ },
+ {
+ "model": "preset-wan-2.2-spicy",
+ "options": {
+ "resolution": "480p",
+ "duration": 8
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.24
+ },
+ {
+ "model": "preset-wan-2.2-spicy",
+ "options": {
+ "resolution": "720p",
+ "duration": 5
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.3
+ },
+ {
+ "model": "preset-wan-2.2-spicy",
+ "options": {
+ "resolution": "720p",
+ "duration": 8
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.48
+ },
+ {
+ "model": "preset-wan-2.2-spicy-extend",
+ "options": {
+ "resolution": "480p",
+ "duration": 5
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.15
+ },
+ {
+ "model": "preset-wan-2.2-spicy-extend",
+ "options": {
+ "resolution": "480p",
+ "duration": 8
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.24
+ },
+ {
+ "model": "preset-wan-2.2-spicy-extend",
+ "options": {
+ "resolution": "720p",
+ "duration": 5
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.3
+ },
+ {
+ "model": "preset-wan-2.2-spicy-extend",
+ "options": {
+ "resolution": "720p",
+ "duration": 8
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.48
+ },
+ {
+ "model": "preset-wan-2.7-spicy",
+ "options": {
+ "resolution": "720p",
+ "duration": 5
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.5
+ },
+ {
+ "model": "preset-wan-2.7-spicy",
+ "options": {
+ "resolution": "720p",
+ "duration": 10
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1
+ },
+ {
+ "model": "preset-wan-2.7-spicy",
+ "options": {
+ "resolution": "720p",
+ "duration": 15
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1.5
+ },
+ {
+ "model": "preset-wan-2.7-spicy",
+ "options": {
+ "resolution": "1080p",
+ "duration": 5
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.75
+ },
+ {
+ "model": "preset-wan-2.7-spicy",
+ "options": {
+ "resolution": "1080p",
+ "duration": 10
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1.5
+ },
+ {
+ "model": "preset-wan-2.7-spicy",
+ "options": {
+ "resolution": "1080p",
+ "duration": 15
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 2.25
+ },
+ {
+ "model": "preset-chroma",
+ "options": {
+ "size": "512*512"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.015
+ },
+ {
+ "model": "preset-prefect-pony",
+ "options": {
+ "size": "512*512"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.015
+ },
+ {
+ "model": "preset-neta-lumina",
+ "options": {
+ "size": "512*512"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "preset-chroma",
+ "options": {
+ "size": "1024*1024"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.015
+ },
+ {
+ "model": "preset-prefect-pony",
+ "options": {
+ "size": "1024*1024"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.015
+ },
+ {
+ "model": "preset-neta-lumina",
+ "options": {
+ "size": "1024*1024"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "preset-chroma",
+ "options": {
+ "size": "1536*1024"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.015
+ },
+ {
+ "model": "preset-prefect-pony",
+ "options": {
+ "size": "1536*1024"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.015
+ },
+ {
+ "model": "preset-neta-lumina",
+ "options": {
+ "size": "1536*1024"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "preset-chroma",
+ "options": {
+ "size": "2048*2048"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.015
+ },
+ {
+ "model": "preset-prefect-pony",
+ "options": {
+ "size": "2048*2048"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.015
+ },
+ {
+ "model": "preset-neta-lumina",
+ "options": {
+ "size": "2048*2048"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 10,
+ "usd": 0.005
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.005
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 1000,
+ "usd": 0.05
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 4000,
+ "usd": 0.2
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 1,
+ "usd": 0.005
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 99,
+ "usd": 0.005
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 101,
+ "usd": 0.00505
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 150,
+ "usd": 0.0075
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 199,
+ "usd": 0.00995
+ },
+ {
+ "model": "preset-qwen3-tts",
+ "options": {
+ "voice": "Serena",
+ "language": "auto"
+ },
+ "seconds": 3,
+ "promptLength": 201,
+ "usd": 0.01005
+ },
+ {
+ "model": "seed-speech-tts",
+ "options": {},
+ "seconds": 3,
+ "promptLength": 1000,
+ "usd": 0.06
+ },
+ {
+ "model": "minimax-speech-hd",
+ "options": {},
+ "seconds": 3,
+ "promptLength": 1000,
+ "usd": 0.1
+ },
+ {
+ "model": "minimax-speech-turbo",
+ "options": {},
+ "seconds": 3,
+ "promptLength": 1000,
+ "usd": 0.06
+ },
+ {
+ "model": "eleven-v3",
+ "options": {},
+ "seconds": 3,
+ "promptLength": 1000,
+ "usd": 0.2
+ },
+ {
+ "model": "inworld-tts",
+ "options": {},
+ "seconds": 3,
+ "promptLength": 1000,
+ "usd": 0.05
+ },
+ {
+ "model": "chatterbox-tts",
+ "options": {},
+ "seconds": 3,
+ "promptLength": 1000,
+ "usd": 0.03
+ },
+ {
+ "model": "minimax-music",
+ "options": {},
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.15
+ },
+ {
+ "model": "mureka-song",
+ "options": {},
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.225
+ },
+ {
+ "model": "eleven-music",
+ "options": {
+ "music_length_ms": 59000
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.75
+ },
+ {
+ "model": "eleven-music",
+ "options": {
+ "music_length_ms": 60000
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.75
+ },
+ {
+ "model": "eleven-music",
+ "options": {
+ "music_length_ms": 61000
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1.5
+ },
+ {
+ "model": "eleven-music",
+ "options": {
+ "music_length_ms": 180000
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 2.25
+ },
+ {
+ "model": "eleven-music",
+ "options": {
+ "music_length_ms": 600000
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 7.5
+ },
+ {
+ "model": "wan-3.0-prime",
+ "options": {
+ "duration": 5,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.375
+ },
+ {
+ "model": "wan-3.0-prime",
+ "options": {
+ "duration": 5,
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.75
+ },
+ {
+ "model": "wan-3.0-prime",
+ "options": {
+ "duration": 10,
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 3.0
+ },
+ {
+ "model": "wan-3.0-prime-spicy",
+ "options": {
+ "duration": 5,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.375
+ },
+ {
+ "model": "wan-3.0-prime-spicy",
+ "options": {
+ "duration": 5,
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.75
+ },
+ {
+ "model": "wan-3.0-prime-spicy",
+ "options": {
+ "duration": 10,
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 3.0
+ },
+ {
+ "model": "seedance-2.5-turbo",
+ "options": {
+ "duration": 5,
+ "resolution": "720p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 1.0
+ },
+ {
+ "model": "seedance-2.5-turbo",
+ "options": {
+ "duration": 10,
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 2.2
+ },
+ {
+ "model": "seedance-2.5-avatar",
+ "options": {
+ "resolution": "480p"
+ },
+ "seconds": 2.936875,
+ "promptLength": 100,
+ "usd": 0.88
+ },
+ {
+ "model": "seedance-2.5-avatar",
+ "options": {
+ "resolution": "720p"
+ },
+ "seconds": 11.096875,
+ "promptLength": 100,
+ "usd": 5.28
+ },
+ {
+ "model": "longcat-avatar",
+ "options": {
+ "resolution": "480p"
+ },
+ "seconds": 2.936875,
+ "promptLength": 100,
+ "usd": 0.12
+ },
+ {
+ "model": "longcat-avatar",
+ "options": {
+ "resolution": "720p"
+ },
+ "seconds": 11.096875,
+ "promptLength": 100,
+ "usd": 0.96
+ },
+ {
+ "model": "longcat-avatar-multi",
+ "options": {
+ "resolution": "480p"
+ },
+ "seconds": 2.936875,
+ "promptLength": 100,
+ "usd": 0.12
+ },
+ {
+ "model": "lipsync-3-avatar",
+ "options": {},
+ "seconds": 11.096875,
+ "promptLength": 100,
+ "usd": 1.62
+ },
+ {
+ "model": "heygen-twin",
+ "options": {
+ "resolution": "4k"
+ },
+ "seconds": 11.096875,
+ "promptLength": 100,
+ "usd": 1.44
+ },
+ {
+ "model": "wan-2.2-animate-2",
+ "options": {
+ "resolution": "480p"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.16
+ },
+ {
+ "model": "wan-2.2-animate-2",
+ "options": {
+ "resolution": "720p"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.32
+ },
+ {
+ "model": "wan-3.0-extend",
+ "options": {
+ "duration": 5,
+ "resolution": "480p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.25
+ },
+ {
+ "model": "wan-3.0-extend",
+ "options": {
+ "duration": 10,
+ "resolution": "1080p"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 2.0
+ },
+ {
+ "model": "seedance-2.5-extend",
+ "options": {
+ "duration": 5,
+ "resolution": "480p"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.99
+ },
+ {
+ "model": "seedance-2.5-extend",
+ "options": {
+ "duration": 10,
+ "resolution": "4k"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 15.4
+ },
+ {
+ "model": "seedream-5-edit",
+ "options": {
+ "resolution": "1k"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.045
+ },
+ {
+ "model": "seedream-5-edit",
+ "options": {
+ "resolution": "2k"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.09
+ },
+ {
+ "model": "qwen-image-3-edit",
+ "options": {
+ "resolution": "1k"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.033
+ },
+ {
+ "model": "flashvsr",
+ "options": {
+ "target_resolution": "720p"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.048
+ },
+ {
+ "model": "flashvsr",
+ "options": {
+ "target_resolution": "1080p"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.072
+ },
+ {
+ "model": "flashvsr",
+ "options": {
+ "target_resolution": "4k"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.128
+ },
+ {
+ "model": "video-upscaler-pro",
+ "options": {
+ "target_resolution": "1080p"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.16
+ },
+ {
+ "model": "video-upscaler-pro",
+ "options": {
+ "target_resolution": "4k"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.28
+ },
+ {
+ "model": "ultimate-video-upscaler",
+ "options": {
+ "target_resolution": "1080p"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.12
+ },
+ {
+ "model": "ultimate-video-upscaler",
+ "options": {
+ "target_resolution": "4k"
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.32
+ },
+ {
+ "model": "crystal-upscaler",
+ "options": {
+ "target_megapixels": 2
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 0.8
+ },
+ {
+ "model": "crystal-upscaler",
+ "options": {
+ "target_megapixels": 33
+ },
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 13.2
+ },
+ {
+ "model": "flux-3-upscale",
+ "options": {},
+ "seconds": 3.041667,
+ "promptLength": 100,
+ "usd": 3.16
+ },
+ {
+ "model": "z-image",
+ "options": {
+ "size": "1024*1024"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "z-image",
+ "options": {
+ "size": "1024*576"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "z-image",
+ "options": {
+ "size": "1920*1080"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "z-image",
+ "options": {
+ "size": "2048*2048"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "z-image",
+ "options": {
+ "size": "832*1216"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "jib-mix-qwen",
+ "options": {
+ "size": "1024*1024"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.02
+ },
+ {
+ "model": "jib-mix-qwen",
+ "options": {
+ "size": "1024*576"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.02
+ },
+ {
+ "model": "jib-mix-qwen",
+ "options": {
+ "size": "1920*1080"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.02
+ },
+ {
+ "model": "jib-mix-qwen",
+ "options": {
+ "size": "2048*2048"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.02
+ },
+ {
+ "model": "jib-mix-qwen",
+ "options": {
+ "size": "832*1216"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.02
+ },
+ {
+ "model": "wan-2.2-realism",
+ "options": {
+ "size": "1024*1024"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.025
+ },
+ {
+ "model": "wan-2.2-realism",
+ "options": {
+ "size": "1024*576"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.025
+ },
+ {
+ "model": "wan-2.2-realism",
+ "options": {
+ "size": "1920*1080"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.025
+ },
+ {
+ "model": "wan-2.2-realism",
+ "options": {
+ "size": "2048*2048"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.025
+ },
+ {
+ "model": "wan-2.2-realism",
+ "options": {
+ "size": "832*1216"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.025
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "1:1"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "16:9"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "9:16"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "4:3"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "3:4"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "3:2"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "2:3"
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "16:9",
+ "num_images": 1
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "16:9",
+ "num_images": 2
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.02
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "16:9",
+ "num_inference_steps": 10
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "16:9",
+ "num_inference_steps": 50
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ },
+ {
+ "model": "nucleus-image",
+ "options": {
+ "aspect_ratio": "16:9",
+ "num_inference_steps": 100
+ },
+ "seconds": 3,
+ "promptLength": 100,
+ "usd": 0.01
+ }
+]
diff --git a/src/lib/render/__tests__/studio-contract.test.ts b/src/lib/render/__tests__/studio-contract.test.ts
new file mode 100644
index 00000000..73c4ebc4
--- /dev/null
+++ b/src/lib/render/__tests__/studio-contract.test.ts
@@ -0,0 +1,90 @@
+/**
+ * Portiert aus dem Web (P1, Vertrag). Gekuerzt gegenueber dem Web-Original:
+ * die Faelle zu CREATE_PRESETS/presetBaseCredits (create-presets.ts),
+ * presetModels('duo') (preset-models.ts) und ownStudioPaths/probeDuration
+ * (studio-prepare.ts, server, NICHT Teil des Desktops) haengen an Dateien,
+ * die erst in P2 bzw. gar nicht in den Desktop kommen. Sie gehoeren, wo
+ * sinnvoll, in die Testdatei ihres eigenen Pakets.
+ *
+ * Der Web-Fall "keeps API and worker definitions identical" vergleicht die
+ * API-Kopie gegen die Worker-Kopie im selben Repo. Dafuer gibt es im Desktop
+ * keine Entsprechung; stattdessen haelt der Fall unten die drei JSON-Dateien
+ * byteidentisch gegen den Web-Worktree, wenn LU_STUDIO_WEB_REPO gesetzt ist,
+ * und ueberspringt sonst sauber, denn der Web-Stand ist beweglich.
+ *
+ * Run mit Drift-Pruefung: LU_STUDIO_WEB_REPO=/pfad/zum/web npx vitest run \
+ * src/lib/render/__tests__/studio-contract.test.ts
+ */
+import { describe, it, expect } from 'vitest'
+import { readFileSync } from 'node:fs'
+import { resolve } from 'node:path'
+import { STUDIO_MODELS, studioSchema, studioOptions, studioCredits, supportsProviderField } from '../studio-contract'
+
+const WEB = process.env.LU_STUDIO_WEB_REPO?.trim() ? resolve(process.env.LU_STUDIO_WEB_REPO.trim()) : undefined
+if (!WEB) {
+ process.stderr.write(
+ '[studio-contract] Driftwaechter uebersprungen: LU_STUDIO_WEB_REPO ist nicht gesetzt.\n',
+ )
+}
+
+describe('Cloud studio contracts', () => {
+ describe.skipIf(!WEB)('haelt die Vertragsdaten byteidentisch gegen den Web-Worktree', () => {
+ it.each(['studio-models.json', 'provider-schemas.json', 'provider-endpoints.json'])('%s', (f) => {
+ const desktop = readFileSync(resolve('src/lib/render', f), 'utf8')
+ const web = readFileSync(resolve(WEB!, 'apps/web/lib/render', f), 'utf8')
+ expect(desktop).toBe(web)
+ })
+ })
+
+ it.each(Object.keys(STUDIO_MODELS))('has a schema for %s', (id) => expect(studioSchema(id).properties).toBeTruthy())
+
+ it('reads negative prompt support from endpoint schemas', () => {
+ for (const id of ['wan-2.6-spicy', 'wan-2.7-spicy']) expect(supportsProviderField(id, 'negative_prompt', 'animate')).toBe(true)
+ for (const id of ['wan-2.2-spicy', 'open-video']) expect(supportsProviderField(id, 'negative_prompt', 'animate')).toBe(false)
+ })
+
+ it('prices OpenVideo seconds and resolution', () => {
+ expect(studioCredits('open-video', studioOptions('open-video', 'test', { duration: 20, resolution: '1080p' }))).toBe(120000)
+ expect(studioCredits('open-video-lora', studioOptions('open-video-lora', 'test', { duration: 10, resolution: '720p' }))).toBe(50000)
+ })
+
+ it('rejects arbitrary URLs in curated LoRAs', () => {
+ expect(() => studioOptions('open-video-lora', 'test', { loras: [{ path: 'https://evil.test/model' }] })).toThrow()
+ expect(studioOptions('open-video-lora', 'test', { loras: [{ path: 'better_motion', scale: 1 }] }).loras).toBeTruthy()
+ })
+
+ it('validates options', () => {
+ expect(studioOptions('open-video', 'test', {}).duration).toBe(5)
+ for (const options of [{ duration: 100 }, { negative_prompt: 'x' }, { seed: NaN }]) expect(() => studioOptions('open-video', 'test', options)).toThrow()
+ expect(studioOptions('scail-2', 'test', { mode: 'replace' }).mode).toBe('replace')
+ })
+
+ it('rounds measured duration and enforces input caps', () => {
+ const o = studioOptions('infinitetalk', '', {})
+ expect(studioCredits('infinitetalk', o, 1)).toBe(9000)
+ expect(studioCredits('infinitetalk', o, 5.2)).toBe(18000)
+ expect(() => studioCredits('infinitetalk', o)).toThrow()
+ expect(() => studioCredits('infinitetalk', o, 601)).toThrow()
+ })
+
+ it('prices extra images and 2k', () =>
+ expect(studioCredits('minimax-h3-edit', studioOptions('minimax-h3-edit', 'test', { resolution: '2k' }), undefined, 3)).toBe(10000))
+
+ it('requires a valid Ditto style', () => {
+ expect(() => studioOptions('wan-ditto', 'something', {})).toThrow()
+ expect(studioOptions('wan-ditto', 'Watercolor', {}).resolution).toBe('480p')
+ })
+})
+
+it('prices TTS per character above its minimum and preserves full WAN duration support', () => {
+ expect(studioCredits('preset-qwen3-tts', studioOptions('preset-qwen3-tts', 'hello', {}), undefined, 1, 101)).toBe(505)
+ expect(studioCredits('preset-qwen3-tts', studioOptions('preset-qwen3-tts', 'hello', {}), undefined, 1, 4000)).toBe(20000)
+ for (const id of ['wan-3.0', 'wan-3.0-spicy']) for (const duration of [2, 3, 30]) expect(studioOptions(id, 'scene', { duration }).duration).toBe(duration)
+ for (const duration of [1, 31]) expect(() => studioOptions('wan-3.0', 'scene', { duration })).toThrow()
+})
+
+import livePrices from './fixtures/studio-prices-2026-09-19.json'
+it.each(livePrices)('matches live provider price for $model with $options', (row) => {
+ const options = studioOptions(row.model, '', row.options, false)
+ expect(studioCredits(row.model, options, row.seconds, 1, row.promptLength)).toBe(Math.round(row.usd * 100000))
+})
diff --git a/src/lib/render/__tests__/video-duration.test.ts b/src/lib/render/__tests__/video-duration.test.ts
new file mode 100644
index 00000000..51b8a6d7
--- /dev/null
+++ b/src/lib/render/__tests__/video-duration.test.ts
@@ -0,0 +1,55 @@
+/**
+ * Portiert aus dem Web (P1, Vertrag), dd29f359. Der Web-Fall "covers every
+ * advertised classic video and has a price for every long choice" haengt an
+ * CLOUD_MODELS und MEDIA_MODEL_USD aus lib/billing/credits, das es im Desktop
+ * nicht gibt (Preise kommen aus dem Katalog, nicht aus einer eigenen Tabelle).
+ * Diese Deckung gehoert in P3, sobald CloudModel.clip.durations im
+ * Desktop-Katalogtyp steht.
+ *
+ * Der Web-Fall "keeps the worker contract byte-identical to the API
+ * contract" vergleicht API- gegen Worker-Kopie im selben Repo; dafuer gibt es
+ * im Desktop keine Entsprechung. Stattdessen haelt der Fall unten
+ * video-durations.json byteidentisch gegen den Web-Worktree, wenn
+ * LU_STUDIO_WEB_REPO gesetzt ist, und ueberspringt sonst sauber.
+ *
+ * Run mit Drift-Pruefung: LU_STUDIO_WEB_REPO=/pfad/zum/web npx vitest run \
+ * src/lib/render/__tests__/video-duration.test.ts
+ */
+import { describe, expect, it } from 'vitest'
+import { readFileSync } from 'node:fs'
+import { resolve } from 'node:path'
+import { bookedVideoSeconds, videoDurations } from '../video-duration'
+
+const WEB = process.env.LU_STUDIO_WEB_REPO?.trim() ? resolve(process.env.LU_STUDIO_WEB_REPO.trim()) : undefined
+if (!WEB) {
+ process.stderr.write(
+ '[video-duration] Driftwaechter uebersprungen: LU_STUDIO_WEB_REPO ist nicht gesetzt.\n',
+ )
+}
+
+describe('priced video duration contract', () => {
+ describe.skipIf(!WEB)('haelt video-durations.json byteidentisch gegen den Web-Worktree', () => {
+ it('video-durations.json', () => {
+ const desktop = readFileSync(resolve('src/lib/render/video-durations.json'), 'utf8')
+ const web = readFileSync(resolve(WEB!, 'apps/web/lib/render/video-durations.json'), 'utf8')
+ expect(desktop).toBe(web)
+ })
+ })
+
+ it.each([0, -1, NaN, Infinity, '8'])('rejects invalid frame count %s', (frames) => {
+ expect(() => bookedVideoSeconds('wan-2.2-720p', { frames, fps: 16 })).toThrow()
+ })
+
+ it('preserves older frame buckets only for supported lengths', () => {
+ expect(bookedVideoSeconds('wan-2.2-720p', { frames: 121, fps: 16 })).toBe(8)
+ expect(() => bookedVideoSeconds('wan-2.7-spicy', { frames: 121, fps: 16 })).toThrow()
+ expect(bookedVideoSeconds('wan-2.7-spicy', { duration: 10 })).toBe(10)
+ expect(bookedVideoSeconds('wan-2.7-spicy', { frames: 120, fps: 8 })).toBe(15)
+ expect(() => bookedVideoSeconds('missing', {})).toThrow()
+ })
+
+ it('exposes the durations file directly, since P3 does not wire CLOUD_MODELS yet', () => {
+ expect(videoDurations('wan-2.2-720p')).toEqual([5, 8])
+ expect(videoDurations('missing')).toEqual([])
+ })
+})
diff --git a/src/lib/render/provider-endpoints.json b/src/lib/render/provider-endpoints.json
new file mode 100644
index 00000000..818ea514
--- /dev/null
+++ b/src/lib/render/provider-endpoints.json
@@ -0,0 +1,175 @@
+{
+ "flux-schnell": {
+ "t2": "wavespeed-ai/flux-schnell"
+ },
+ "flux-dev": {
+ "t2": "wavespeed-ai/flux-dev",
+ "i2": "wavespeed-ai/flux-dev"
+ },
+ "qwen-image": {
+ "t2": "wavespeed-ai/qwen-image/text-to-image"
+ },
+ "hidream": {
+ "t2": "wavespeed-ai/hidream-i1-dev"
+ },
+ "flux-2-dev": {
+ "t2": "wavespeed-ai/flux-2-dev/text-to-image"
+ },
+ "z-image-turbo": {
+ "t2": "wavespeed-ai/z-image/turbo"
+ },
+ "chroma": {
+ "t2": "wavespeed-ai/chroma"
+ },
+ "prefect-pony": {
+ "t2": "wavespeed-ai/prefect-pony-xl"
+ },
+ "hunyuan-image": {
+ "t2": "wavespeed-ai/hunyuan-image-2.1"
+ },
+ "neta-lumina": {
+ "t2": "wavespeed-ai/neta-lumina"
+ },
+ "wan-2.2-720p": {
+ "t2": "wavespeed-ai/wan-2.2/t2v-720p",
+ "i2": "wavespeed-ai/wan-2.2/i2v-720p",
+ "t2Lora": "wavespeed-ai/wan-2.2/t2v-720p-lora",
+ "i2Lora": "wavespeed-ai/wan-2.2/i2v-720p-lora"
+ },
+ "wan-2.2-fast": {
+ "t2": "wavespeed-ai/wan-2.2/t2v-5b-720p-lora",
+ "i2": "wavespeed-ai/wan-2.2/i2v-5b-720p-lora",
+ "t2Lora": "wavespeed-ai/wan-2.2/t2v-5b-720p-lora",
+ "i2Lora": "wavespeed-ai/wan-2.2/i2v-5b-720p-lora"
+ },
+ "hunyuan-video": {
+ "t2": "wavespeed-ai/hunyuan-video-1.5/text-to-video",
+ "i2": "wavespeed-ai/hunyuan-video-1.5/image-to-video"
+ },
+ "ltx-2": {
+ "t2": "wavespeed-ai/ltx-2-19b/text-to-video",
+ "i2": "wavespeed-ai/ltx-2-19b/image-to-video",
+ "t2Lora": "wavespeed-ai/ltx-2-19b/text-to-video-lora",
+ "i2Lora": "wavespeed-ai/ltx-2-19b/image-to-video-lora"
+ },
+ "ltx-2.3": {
+ "t2": "wavespeed-ai/ltx-2.3/text-to-video",
+ "i2": "wavespeed-ai/ltx-2.3/image-to-video",
+ "t2Lora": "wavespeed-ai/ltx-2.3/text-to-video-lora",
+ "i2Lora": "wavespeed-ai/ltx-2.3/image-to-video-lora"
+ },
+ "flux-lora-trainer": {
+ "t2": "wavespeed-ai/flux-dev-lora-trainer"
+ },
+ "z-image-lora-trainer": {
+ "t2": "wavespeed-ai/z-image-lora-trainer"
+ },
+ "qwen-image-lora-trainer": {
+ "t2": "wavespeed-ai/qwen-image-lora-trainer"
+ },
+ "ltx-2-video-lora-trainer": {
+ "t2": "wavespeed-ai/ltx-2-19b/video-lora-trainer"
+ },
+ "flux-schnell-lora": {
+ "t2": "wavespeed-ai/flux-schnell-lora"
+ },
+ "flux-dev-lora-ultra-fast": {
+ "t2": "wavespeed-ai/flux-dev-lora-ultra-fast"
+ },
+ "z-image-turbo-lora": {
+ "t2": "wavespeed-ai/z-image/turbo-lora"
+ },
+ "z-image-base-lora": {
+ "t2": "wavespeed-ai/z-image/base-lora"
+ },
+ "qwen-image-lora": {
+ "t2": "wavespeed-ai/qwen-image/text-to-image-lora"
+ },
+ "infinitetalk-fast": {
+ "t2": "wavespeed-ai/infinitetalk-fast"
+ },
+ "latentsync": {
+ "t2": "wavespeed-ai/latentsync"
+ },
+ "lipsync-2": {
+ "t2": "sync/lipsync-2"
+ },
+ "p-video-avatar": {
+ "t2": "pruna-ai/p-video/avatar"
+ },
+ "qwen3-tts": {
+ "t2": "wavespeed-ai/qwen3-tts/text-to-speech"
+ },
+ "qwen3-tts-clone": {
+ "t2": "wavespeed-ai/qwen3-tts/voice-clone"
+ },
+ "qwen3-tts-design": {
+ "t2": "wavespeed-ai/qwen3-tts/voice-design"
+ },
+ "ace-step": {
+ "t2": "wavespeed-ai/ace-step/prompt-to-audio"
+ },
+ "ace-step-1.5": {
+ "t2": "wavespeed-ai/ace-step-1.5"
+ },
+ "sonilo-music": {
+ "t2": "sonilo/text-to-music"
+ },
+ "wan-2.2-spicy-extend": {
+ "t2": "wavespeed-ai/wan-2.2-spicy/video-extend",
+ "t2Lora": "wavespeed-ai/wan-2.2-spicy/video-extend-lora"
+ },
+ "wan-2.2-spicy": {
+ "i2": "wavespeed-ai/wan-2.2-spicy/image-to-video",
+ "i2Lora": "wavespeed-ai/wan-2.2-spicy/image-to-video-lora"
+ },
+ "ltx-2.3-spicy": {
+ "i2": "wavespeed-ai/ltx-2.3-spicy/image-to-video",
+ "i2Lora": "wavespeed-ai/ltx-2.3-spicy/image-to-video-lora"
+ },
+ "wan-2.6-spicy": {
+ "i2": "alibaba/wan-2.6/image-to-video-spicy"
+ },
+ "wan-2.7-spicy": {
+ "i2": "alibaba/wan-2.7/image-to-video-spicy"
+ },
+ "minimax-h3-spicy": {
+ "i2": "wavespeed-ai/minimax-h3/image-to-video-spicy"
+ },
+ "seedance-1.5-pro-spicy": {
+ "i2": "bytedance/seedance-v1.5-pro/image-to-video-spicy"
+ },
+ "seedance-2.5-spicy": {
+ "i2": "bytedance/seedance-2.5/image-to-video-spicy"
+ },
+ "seedance-2.0-spicy": {
+ "i2": "bytedance/seedance-2.0/image-to-video-spicy"
+ },
+ "seedance-2.0-fast-spicy": {
+ "i2": "bytedance/seedance-2.0-fast/image-to-video-spicy"
+ },
+ "vidu-q3-spicy": {
+ "i2": "vidu/q3/image-to-video-spicy"
+ },
+ "ltx-2-extend": {
+ "t2": "wavespeed-ai/ltx-2/video-extend"
+ },
+ "pixverse-extend": {
+ "t2": "pixverse/pixverse-v6/extend"
+ },
+ "wan-2.2-animate": {
+ "t2": "wavespeed-ai/wan-2.2/animate"
+ },
+ "steady-dancer": {
+ "t2": "wavespeed-ai/steady-dancer"
+ },
+ "p-video-animate": {
+ "t2": "pruna-ai/p-video/animate"
+ },
+ "dreamactor-v2": {
+ "t2": "bytedance/dreamactor-v2"
+ },
+ "qwen-image-edit": {
+ "t2": "wavespeed-ai/qwen-image/edit"
+ }
+}
diff --git a/src/lib/render/provider-schemas.json b/src/lib/render/provider-schemas.json
new file mode 100644
index 00000000..5bb0af93
--- /dev/null
+++ b/src/lib/render/provider-schemas.json
@@ -0,0 +1,8787 @@
+{
+ "alibaba/wan-2.6/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "Audio URL to guide generation (optional).",
+ "type": "string"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 10,
+ 15
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "enable_prompt_expansion": {
+ "default": false,
+ "description": "If set to true, the prompt optimizer will be enabled.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated media.",
+ "enum": [
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "shot_type": {
+ "default": "single",
+ "description": "The type of shots to generate.",
+ "enum": [
+ "single",
+ "multi"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "audio",
+ "prompt",
+ "negative_prompt",
+ "resolution",
+ "duration",
+ "shot_type",
+ "enable_prompt_expansion",
+ "seed"
+ ]
+ },
+ "alibaba/wan-2.7/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "Audio URL to guide generation (optional).",
+ "type": "string"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 10,
+ 15
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "enable_prompt_expansion": {
+ "default": false,
+ "description": "If set to true, the prompt optimizer will be enabled.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated media.",
+ "enum": [
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "shot_type": {
+ "default": "single",
+ "description": "The type of shots to generate.",
+ "enum": [
+ "single",
+ "multi"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "audio",
+ "prompt",
+ "negative_prompt",
+ "resolution",
+ "duration",
+ "shot_type",
+ "enable_prompt_expansion",
+ "seed"
+ ]
+ },
+ "alibaba/wan-3.0/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated video. If not specified, it is adapted to the input image.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "1:1",
+ "4:3",
+ "3:4"
+ ],
+ "type": "string",
+ "x-placeholder": "Select aspect ratio"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds (2-30s).",
+ "maximum": 30,
+ "minimum": 2,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "enable_audio": {
+ "default": true,
+ "description": "Whether to include audio in the generated video.",
+ "type": "boolean"
+ },
+ "enable_prompt_expansion": {
+ "default": false,
+ "description": "If set to true, the prompt optimizer will be enabled.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "The first frame image for generating the video. Supports URL or Base64-encoded data.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated video.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "last_image",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "enable_prompt_expansion",
+ "enable_audio",
+ "seed"
+ ]
+ },
+ "alibaba/wan-3.0/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated video. If not specified, it is adapted to the input image.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "1:1",
+ "4:3",
+ "3:4"
+ ],
+ "type": "string",
+ "x-placeholder": "Select aspect ratio"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds (2-30s).",
+ "maximum": 30,
+ "minimum": 2,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "enable_audio": {
+ "default": true,
+ "description": "Whether to include audio in the generated video.",
+ "type": "boolean"
+ },
+ "enable_prompt_expansion": {
+ "default": false,
+ "description": "If set to true, the prompt optimizer will be enabled.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "The first frame image for generating the video. Supports URL or Base64-encoded data.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Optional prompt describing the scene, action, camera movement, and mood for the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated video.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "last_image",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "enable_prompt_expansion",
+ "enable_audio",
+ "seed"
+ ]
+ },
+ "bytedance/dreamactor-v2": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "Reference image (JPEG/PNG). Max 4.7MB. Resolution: 480x480 to 1920x1080.",
+ "type": "string"
+ },
+ "video": {
+ "description": "Driving video (MP4/MOV/WebM). Max 30 seconds. Resolution: 200x200 to 2048x1440.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "video"
+ ]
+ },
+ "bytedance/seedance-2.0-fast/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "4:3",
+ "3:4",
+ "1:1",
+ "21:9"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated video in seconds (4-15s).",
+ "maximum": 15,
+ "minimum": 4,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "Start image URL to guide the video generation.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "Last frame image URL for video continuation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Describe the scene, action, camera movement, and mood for the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The output video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "last_image",
+ "aspect_ratio",
+ "resolution",
+ "duration",
+ "generate_audio",
+ "seed"
+ ]
+ },
+ "bytedance/seedance-2.0/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated video. If not specified, adapts to the input image.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "4:3",
+ "3:4",
+ "1:1",
+ "21:9"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated video in seconds (4-15s).",
+ "maximum": 15,
+ "minimum": 4,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "Start image URL to guide the video generation.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "Last frame image URL for video continuation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Describe the scene, action, camera movement, and mood for the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The output video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "last_image",
+ "aspect_ratio",
+ "resolution",
+ "duration",
+ "generate_audio",
+ "seed"
+ ]
+ },
+ "bytedance/seedance-2.5/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated video in seconds (4-30s).",
+ "maximum": 30,
+ "minimum": 4,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "Start image URL to guide the video generation.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "Last frame image URL for video continuation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Describe the scene, action, camera movement, and mood for the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The output video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "prompt",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "last_image",
+ "resolution",
+ "duration",
+ "generate_audio"
+ ]
+ },
+ "bytedance/seedance-2.5/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated video in seconds (4-30s).",
+ "maximum": 30,
+ "minimum": 4,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "Start image URL to guide the video generation.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "Last frame image URL for video continuation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Describe the scene, action, camera movement, and mood for the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The output video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "last_image",
+ "resolution",
+ "duration",
+ "generate_audio",
+ "seed"
+ ]
+ },
+ "bytedance/seedance-v1.5-pro/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated media.",
+ "enum": [
+ "21:9",
+ "16:9",
+ "4:3",
+ "1:1",
+ "3:4",
+ "9:16"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "camera_fixed": {
+ "default": false,
+ "description": "Whether to fix the camera position.",
+ "type": "boolean"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 12,
+ "minimum": 4,
+ "type": "integer"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to generate audio.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "last_image",
+ "aspect_ratio",
+ "duration",
+ "resolution",
+ "generate_audio",
+ "camera_fixed",
+ "seed"
+ ]
+ },
+ "pixverse/pixverse-v6/extend": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated video in seconds. v6 supports values from 1 to 15 seconds",
+ "maximum": 15,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "generate_audio_switch": {
+ "default": false,
+ "description": "Enable audio generation for the video.",
+ "type": "boolean"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string",
+ "x-hidden": true
+ },
+ "prompt": {
+ "description": "Text description of the desired video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated video",
+ "enum": [
+ "360p",
+ "540p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "Random seed for generation.",
+ "type": "integer",
+ "x-hidden": true
+ },
+ "style": {
+ "description": "The style of the extended video",
+ "enum": [
+ "anime",
+ "3d_animation",
+ "clay",
+ "comic",
+ "cyberpunk"
+ ],
+ "type": "string",
+ "x-hidden": true
+ },
+ "video": {
+ "description": "URL of the input video to extend",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "video",
+ "resolution",
+ "duration",
+ "generate_audio_switch",
+ "negative_prompt",
+ "style",
+ "seed"
+ ]
+ },
+ "pruna-ai/p-video/animate": {
+ "additionalProperties": false,
+ "properties": {
+ "fps": {
+ "default": "original",
+ "description": "Target output frame rate.",
+ "enum": [
+ "original",
+ "24",
+ "48"
+ ],
+ "type": "string"
+ },
+ "image": {
+ "description": "Reference image URL for the subject or scene to animate.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Optional instruction describing how the image should follow the source video motion.",
+ "type": "string",
+ "x-rows": 3,
+ "x-ui-component": "textarea"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Output video resolution.",
+ "enum": [
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "save_audio": {
+ "default": true,
+ "description": "Save the output video with audio.",
+ "type": "boolean"
+ },
+ "seed": {
+ "description": "Random seed for reproducible generations.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "Source motion video URL.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "image",
+ "prompt",
+ "resolution",
+ "fps",
+ "save_audio",
+ "seed"
+ ]
+ },
+ "pruna-ai/p-video/avatar": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "Audio URL used to drive the avatar speech and lip sync.",
+ "type": "string"
+ },
+ "image": {
+ "description": "Avatar image URL.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Output resolution.",
+ "enum": [
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "Random seed for reproducible generations.",
+ "type": "integer"
+ },
+ "video_prompt": {
+ "default": "The person is talking.",
+ "description": "Prompt controlling body movement, framing behavior, and atmosphere.",
+ "type": "string",
+ "x-rows": 3,
+ "x-ui-component": "textarea"
+ }
+ },
+ "required": [
+ "image",
+ "audio"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "audio",
+ "video_prompt",
+ "resolution",
+ "seed"
+ ]
+ },
+ "sonilo/text-to-music": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 30,
+ "description": "Target music duration in seconds. Maximum 360 seconds.",
+ "maximum": 360,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "prompt": {
+ "description": "Text prompt describing the music style, mood, instruments, and arrangement.",
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ }
+ },
+ "required": [
+ "prompt",
+ "duration"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "duration"
+ ]
+ },
+ "sync/lipsync-2": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "The audio to be used for generation",
+ "type": "string"
+ },
+ "sync_mode": {
+ "default": "cut_off",
+ "description": "Defines how to handle duration mismatches between video and audio inputs. See the Media Content Tips guide https://docs.sync.so/compatibility-and-tips/media-content-tips#sync-mode-options for a brief overview, or the SyncMode enum below for detailed explanations of each option.",
+ "enum": [
+ "bounce",
+ "loop",
+ "cut_off",
+ "silence",
+ "remap"
+ ],
+ "type": "string"
+ },
+ "video": {
+ "description": "The video to be used for generation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "audio",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "audio",
+ "sync_mode"
+ ]
+ },
+ "vidu/q3/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "bgm": {
+ "default": true,
+ "description": "The background music for generating the output.",
+ "type": "boolean"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 16,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to generate audio.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "The URL of the image to generate an image from.",
+ "type": "string"
+ },
+ "movement_amplitude": {
+ "default": "auto",
+ "description": "The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.",
+ "enum": [
+ "auto",
+ "small",
+ "medium",
+ "large"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated media.",
+ "enum": [
+ "540p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "resolution",
+ "duration",
+ "movement_amplitude",
+ "generate_audio",
+ "bgm",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ace-step-1.5": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 60,
+ "description": "Audio length in seconds.",
+ "maximum": 240,
+ "minimum": 5,
+ "type": "number"
+ },
+ "lyrics": {
+ "description": "Vocal content for the track. Use [inst] or [instrumental] for no vocals.",
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "seed": {
+ "description": "The random seed for reproducibility.",
+ "type": "integer"
+ },
+ "tags": {
+ "description": "Comma-separated list of genre tags to control the style of the generated audio.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "tags",
+ "lyrics"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "tags",
+ "lyrics",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ace-step/prompt-to-audio": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 60,
+ "description": "Audio length in seconds.",
+ "maximum": 240,
+ "minimum": 5,
+ "type": "number"
+ },
+ "instrumental": {
+ "default": false,
+ "description": "Whether to generate an instrumental version.",
+ "type": "boolean"
+ },
+ "prompt": {
+ "description": "Prompt to control the style of the generated audio. This will be used to generate tags and lyrics.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed for reproducibility.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "instrumental",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/chroma": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "output_format",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "wavespeed-ai/flux-2-dev/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/flux-dev": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "guidance_scale": {
+ "default": 3.5,
+ "description": "The guidance scale to use for the generation.",
+ "maximum": 20,
+ "minimum": 1,
+ "type": "number"
+ },
+ "image": {
+ "description": "The image to generate an image from.",
+ "type": "string"
+ },
+ "mask_image": {
+ "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
+ "type": "string"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "The number of images to generate.",
+ "maximum": 4,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "num_inference_steps": {
+ "default": 28,
+ "description": "The number of inference steps to perform.",
+ "maximum": 50,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ },
+ "strength": {
+ "default": 0.8,
+ "description": "Strength indicates extent to transform the reference image.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "mask_image",
+ "strength",
+ "size",
+ "num_inference_steps",
+ "seed",
+ "guidance_scale",
+ "num_images",
+ "output_format",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "wavespeed-ai/flux-dev-lora-trainer": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "description": "URL to zip archive with images. Try to use at least 4 images in general the more the better.\n\n In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
+ "type": "string",
+ "x-accept": "application/zip",
+ "x-placeholder": "Please upload a zip file containing images.",
+ "x-ui-component": "uploader"
+ },
+ "learning_rate": {
+ "default": 0.0004,
+ "maximum": 1,
+ "minimum": 0,
+ "step": 1e-05,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "lora_rank": {
+ "default": 16,
+ "maximum": 64,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "steps": {
+ "default": 1000,
+ "description": "Number of steps to train the LoRA on.",
+ "maximum": 10000,
+ "minimum": 500,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "trigger_word": {
+ "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "data",
+ "trigger_word",
+ "steps",
+ "learning_rate",
+ "lora_rank"
+ ]
+ },
+ "wavespeed-ai/flux-dev-lora-ultra-fast": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "guidance_scale": {
+ "default": 3.5,
+ "description": "The guidance scale to use for the generation.",
+ "maximum": 20,
+ "minimum": 0,
+ "type": "number"
+ },
+ "image": {
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "mask_image": {
+ "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
+ "type": "string"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "The number of images to generate.",
+ "maximum": 4,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "num_inference_steps": {
+ "default": 28,
+ "description": "The number of inference steps to perform.",
+ "maximum": 50,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ },
+ "strength": {
+ "default": 0.8,
+ "description": "Strength indicates extent to transform the reference image.",
+ "maximum": 1,
+ "minimum": 0.01,
+ "type": "number"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "mask_image",
+ "strength",
+ "loras",
+ "size",
+ "num_inference_steps",
+ "guidance_scale",
+ "num_images",
+ "seed",
+ "output_format",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/flux-schnell": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "image": {
+ "type": "string"
+ },
+ "mask_image": {
+ "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
+ "type": "string"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "The number of images to generate.",
+ "maximum": 4,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ },
+ "strength": {
+ "default": 0.8,
+ "description": "Strength indicates extent to transform the reference image.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "mask_image",
+ "strength",
+ "size",
+ "num_images",
+ "seed",
+ "output_format",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "wavespeed-ai/flux-schnell-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "image": {
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "mask_image": {
+ "description": "The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.",
+ "type": "string"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "The number of images to generate.",
+ "maximum": 4,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ },
+ "strength": {
+ "default": 0.8,
+ "description": "Strength indicates extent to transform the reference image.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "mask_image",
+ "strength",
+ "loras",
+ "size",
+ "num_images",
+ "seed",
+ "output_format",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "wavespeed-ai/hidream-i1-dev": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "output_format",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/hunyuan-image-2.1": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/hunyuan-video-1.5/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated video in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "image": {
+ "description": "The image to generate the video from. Provide URL or base64 encoded image.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation. Describes the motion and action in the video.",
+ "type": "string",
+ "x-rows": 10,
+ "x-ui-component": "textarea"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated video.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/hunyuan-video-1.5/text-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated video in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string",
+ "x-rows": 10,
+ "x-ui-component": "textarea"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1280*720",
+ "description": "The size of the generated video in pixels (width*height).",
+ "enum": [
+ "832*480",
+ "480*832",
+ "1280*720",
+ "720*1280"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "negative_prompt",
+ "size",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/hunyuan-video-foley": {
+ "additionalProperties": false,
+ "properties": {
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "The video for generating the output.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "prompt",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/infinitetalk": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "The audio for generating the output.",
+ "type": "string"
+ },
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "mask_image": {
+ "description": "Optional mask image to specify the person in the image to animate.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the output video.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "audio",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "audio",
+ "mask_image",
+ "prompt",
+ "resolution",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/infinitetalk-fast": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "The audio for generating the output.",
+ "type": "string"
+ },
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "mask_image": {
+ "description": "Optional mask image to specify the person in the image to animate.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "audio",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "audio",
+ "mask_image",
+ "prompt",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/infinitetalk/multi": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "left_audio": {
+ "description": "The audio of the persion on the left for generating the output.",
+ "type": "string"
+ },
+ "order": {
+ "default": "meanwhile",
+ "description": "The order of the two audio sources in the output video, \"meanwhile\" means both audio sources will play at the same time, \"left_right\" means the left audio will play first then the right audio will play, \"right_left\" means the right audio will play first then the left audio will play.",
+ "enum": [
+ "meanwhile",
+ "left_right",
+ "right_left"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the output video.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "right_audio": {
+ "description": "The audio of the persion on the right for generating the output.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "left_audio",
+ "right_audio",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "left_audio",
+ "right_audio",
+ "prompt",
+ "order",
+ "resolution",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/latentsync": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "The URL of the audio to be synchronized.",
+ "type": "string"
+ },
+ "video": {
+ "description": "The URL of the video to be synchronized.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video",
+ "audio"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "audio",
+ "video"
+ ]
+ },
+ "wavespeed-ai/ltx-2-19b/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 20,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "image": {
+ "description": "The image for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2-19b/image-to-video-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 20,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "image": {
+ "description": "The image for the generation.",
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "resolution",
+ "duration",
+ "loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2-19b/text-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "16:9",
+ "description": "Aspect ratio of the video.",
+ "enum": [
+ "16:9",
+ "9:16"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 20,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2-19b/text-to-video-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "16:9",
+ "description": "Aspect ratio of the video.",
+ "enum": [
+ "16:9",
+ "9:16"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 20,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2-19b/video-lora-trainer": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "description": "Upload a zip file containing videos with optional audio latents for audio-video LoRA training. Each text file should have the same name as the video file it corresponds to for captions.",
+ "type": "string",
+ "x-accept": "application/zip",
+ "x-placeholder": "Please upload a zip file containing videos.",
+ "x-ui-component": "uploader"
+ },
+ "learning_rate": {
+ "default": 0.0002,
+ "maximum": 1,
+ "minimum": 0,
+ "step": 1e-05,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "lora_rank": {
+ "default": 32,
+ "maximum": 128,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "steps": {
+ "default": 1000,
+ "description": "Number of steps to train the LoRA on.",
+ "maximum": 5000,
+ "minimum": 100,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "trigger_word": {
+ "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "data",
+ "trigger_word",
+ "steps",
+ "learning_rate",
+ "lora_rank"
+ ]
+ },
+ "wavespeed-ai/ltx-2.3-spicy/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Output duration in seconds (3-20).",
+ "maximum": 20,
+ "minimum": 3,
+ "type": "integer"
+ },
+ "image": {
+ "description": "Reference image for the first frame (JPG/PNG recommended).",
+ "type": "string"
+ },
+ "preset": {
+ "default": "tuned",
+ "description": "Style preset bundle. `original` = light styling. `tuned` = the recommended general-purpose stack.",
+ "enum": [
+ "tuned",
+ "original"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "Positive prompt describing the desired motion / scene.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "Output resolution tier.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "Random seed. -1 for a random seed.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "preset",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2.3-spicy/image-to-video-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Output duration in seconds (3-20).",
+ "maximum": 20,
+ "minimum": 3,
+ "type": "integer"
+ },
+ "image": {
+ "description": "Reference image for the first frame (JPG/PNG recommended).",
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "LoRA short key.",
+ "enum": [
+ "sulphur",
+ "sulphur_v1",
+ "vbvr",
+ "dreamly",
+ "synth",
+ "plora",
+ "singularity",
+ "omninft",
+ "omninft_bf16",
+ "better_motion",
+ "physics_v2",
+ "hardcut",
+ "transition"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "scale": {
+ "default": 1,
+ "description": "Strength applied to the LoRA.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "preset": {
+ "default": "tuned",
+ "description": "LoRA preset bundle. `original` = light styling. `tuned` = the recommended general-purpose stack. Overridden per-LoRA via `loras`.",
+ "enum": [
+ "tuned",
+ "original"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "Positive prompt describing the desired motion / scene.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "Output resolution tier.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "Random seed. -1 for a random seed.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "preset",
+ "loras",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2.3/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 20,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "image": {
+ "description": "The image for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2.3/image-to-video-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 20,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "image": {
+ "description": "The image for the generation.",
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "resolution",
+ "duration",
+ "loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2.3/text-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "16:9",
+ "description": "Aspect ratio of the video.",
+ "enum": [
+ "16:9",
+ "9:16"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 20,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2.3/text-to-video-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "16:9",
+ "description": "Aspect ratio of the video.",
+ "enum": [
+ "16:9",
+ "9:16"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 20,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Video resolution.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/ltx-2/video-extend": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Duration in seconds to extend the video. Maximum 20 seconds.",
+ "maximum": 20,
+ "minimum": 1,
+ "type": "number"
+ },
+ "prompt": {
+ "description": "Description of what should happen in the extended portion of the video.",
+ "type": "string"
+ },
+ "video": {
+ "description": "The URL of the video to extend.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "prompt",
+ "duration"
+ ]
+ },
+ "wavespeed-ai/minimax-h3/image-edit": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated image. Defaults to the aspect ratio of the first reference image.",
+ "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"
+ ],
+ "type": "string"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "images": {
+ "description": "Reference images to edit from (1 to 9 URLs). The first image also sets the output aspect ratio unless aspect_ratio is given.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 9,
+ "minItems": 1,
+ "type": "array"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The edit instruction. Refer to the reference images as <Picture 1>, <Picture 2>, ... in order. Describe the new scene, outfit or style you want; the subject's identity is taken from the references.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Total output resolution tier: 1k (~1 megapixel) or 2k (~4 megapixels).",
+ "enum": [
+ "1k",
+ "2k"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "images",
+ "aspect_ratio",
+ "resolution",
+ "output_format",
+ "seed",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "wavespeed-ai/minimax-h3/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Output video duration in seconds.",
+ "enum": [
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "image": {
+ "description": "First-frame image URL. The output canvas follows this image's aspect ratio.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "Optional last-frame image URL. When provided, the video interpolates from the first frame to this frame.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Text description of the desired motion, scene, and soundtrack. Audio is generated natively together with the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
+ "enum": [
+ "480p",
+ "540p",
+ "768p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "last_image",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/minimax-h3/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Output video duration in seconds.",
+ "enum": [
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "image": {
+ "description": "Start image URL to guide the video generation. The output canvas follows this image's aspect ratio.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "Optional last-frame image URL. When provided, the video interpolates from the first frame to this frame.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Describe the scene, action, camera movement, and mood for the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "Output video resolution. 768p is the model's native canvas; 480p is a faster, lower-cost tier; 540p is a mid tier at 1.5x the 480p price. 1080p is the highest-quality full-HD tier at 2x the 768p price (generation takes longer).",
+ "enum": [
+ "480p",
+ "540p",
+ "768p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. A negative value means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "last_image",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/mmaudio-v2": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 8,
+ "description": "The duration of the generated media in seconds.",
+ "maximum": 30,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "guidance_scale": {
+ "default": 4.5,
+ "description": "The guidance scale to use for the generation.",
+ "maximum": 20,
+ "minimum": 0,
+ "type": "number"
+ },
+ "mask_away_clip": {
+ "default": false,
+ "description": "Whether to mask away the clip.",
+ "type": "boolean"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string"
+ },
+ "num_inference_steps": {
+ "default": 25,
+ "description": "The number of inference steps to perform.",
+ "maximum": 50,
+ "minimum": 4,
+ "type": "integer"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "video": {
+ "description": "The URL of the video to generate the audio for.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "video",
+ "negative_prompt",
+ "num_inference_steps",
+ "duration",
+ "guidance_scale",
+ "mask_away_clip"
+ ]
+ },
+ "wavespeed-ai/neta-lumina": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "output_format",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "wavespeed-ai/open-video/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Output duration in seconds (3-20).",
+ "maximum": 20,
+ "minimum": 3,
+ "type": "integer"
+ },
+ "image": {
+ "description": "Reference image for the first frame (JPG/PNG recommended).",
+ "type": "string"
+ },
+ "preset": {
+ "default": "tuned",
+ "description": "Style preset bundle. `original` = light styling. `tuned` = the recommended general-purpose stack.",
+ "enum": [
+ "tuned",
+ "original"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "Positive prompt describing the desired motion / scene.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "Output resolution tier.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "Random seed. -1 for a random seed.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "preset",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/open-video/image-to-video-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Output duration in seconds (3-20).",
+ "maximum": 20,
+ "minimum": 3,
+ "type": "integer"
+ },
+ "image": {
+ "description": "Reference image for the first frame (JPG/PNG recommended).",
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "LoRA short key.",
+ "enum": [
+ "sulphur",
+ "sulphur_v1",
+ "vbvr",
+ "dreamly",
+ "synth",
+ "plora",
+ "singularity",
+ "omninft",
+ "omninft_bf16",
+ "better_motion",
+ "physics_v2",
+ "hardcut",
+ "transition"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "scale": {
+ "default": 1,
+ "description": "Strength applied to the LoRA.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "preset": {
+ "default": "tuned",
+ "description": "LoRA preset bundle. `original` = light styling. `tuned` = the recommended general-purpose stack. Overridden per-LoRA via `loras`.",
+ "enum": [
+ "tuned",
+ "original"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "Positive prompt describing the desired motion / scene.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "Output resolution tier.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "Random seed. -1 for a random seed.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "preset",
+ "loras",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/prefect-pony-xl": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "output_format",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "wavespeed-ai/qwen-image-lora-trainer": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "description": "URL to zip archive with images. Try to use at least 4 images in general the more the better.\n\n In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
+ "type": "string",
+ "x-accept": "application/zip",
+ "x-placeholder": "Please upload a zip file containing images.",
+ "x-ui-component": "uploader"
+ },
+ "learning_rate": {
+ "default": 0.0004,
+ "maximum": 1,
+ "minimum": 0,
+ "step": 1e-05,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "lora_rank": {
+ "default": 16,
+ "maximum": 64,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "steps": {
+ "default": 1000,
+ "description": "Number of steps to train the LoRA on.",
+ "maximum": 10000,
+ "minimum": 500,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "trigger_word": {
+ "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "data",
+ "trigger_word",
+ "steps",
+ "learning_rate",
+ "lora_rank"
+ ]
+ },
+ "wavespeed-ai/qwen-image/edit": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "image": {
+ "description": "The image to generate an image from.",
+ "type": "string"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string",
+ "x-hidden": true
+ }
+ },
+ "required": [
+ "prompt",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "size",
+ "seed",
+ "output_format",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "wavespeed-ai/qwen-image/edit-multiple-angles": {
+ "additionalProperties": false,
+ "properties": {
+ "distance": {
+ "default": 1,
+ "description": "Camera distance/zoom level. 0 = close-up, 1 = medium shot, 2 = wide shot.",
+ "maximum": 2,
+ "minimum": 0,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "horizontal_angle": {
+ "default": 0,
+ "description": "Horizontal rotation angle (azimuth) in degrees. Controls the camera's horizontal position around the subject. Values are rounded to the nearest valid angle: 0 (front), 45 (front-right), 90 (right), 135 (back-right), 180 (back), 225 (back-left), 270 (left), 315 (front-left).",
+ "maximum": 359,
+ "minimum": 0,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "images": {
+ "description": "The input images. A maximum of 3 reference images can be uploaded.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Optional additional prompt to guide the generation. This is appended to the angle prompt.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string",
+ "x-hidden": true
+ },
+ "vertical_angle": {
+ "default": 0,
+ "description": "Vertical tilt angle (elevation) in degrees. Controls the camera's vertical position. Values are rounded to the nearest valid angle: -30 (low angle), 0 (eye level), 30 (elevated), 60 (high angle).",
+ "maximum": 60,
+ "minimum": -30,
+ "type": "integer",
+ "x-ui-component": "slider"
+ }
+ },
+ "required": [
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "images",
+ "horizontal_angle",
+ "vertical_angle",
+ "distance",
+ "prompt",
+ "size",
+ "seed",
+ "output_format",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "wavespeed-ai/qwen-image/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/qwen-image/text-to-image-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "loras",
+ "seed",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/qwen3-tts/text-to-speech": {
+ "additionalProperties": false,
+ "properties": {
+ "language": {
+ "default": "auto",
+ "description": "Language of the speech output (use 'auto' for automatic detection)",
+ "enum": [
+ "auto",
+ "Chinese",
+ "English",
+ "German",
+ "Italian",
+ "Portuguese",
+ "Spanish",
+ "Japanese",
+ "Korean",
+ "French",
+ "Russian"
+ ],
+ "type": "string"
+ },
+ "style_instruction": {
+ "description": "Optional instruction to control the speaking style, tone, or emotion",
+ "type": "string",
+ "x-rows": 3,
+ "x-ui-component": "textarea"
+ },
+ "text": {
+ "description": "The text content to convert into speech",
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "voice": {
+ "default": "Vivian",
+ "description": "Voice character to use for speech synthesis",
+ "enum": [
+ "Vivian",
+ "Serena",
+ "Ono_Anna",
+ "Sohee",
+ "Uncle_Fu",
+ "Dylan",
+ "Eric",
+ "Ryan",
+ "Aiden"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "language",
+ "voice"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "language",
+ "voice",
+ "style_instruction"
+ ]
+ },
+ "wavespeed-ai/qwen3-tts/voice-clone": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "URL of the reference audio to clone the voice from",
+ "type": "string"
+ },
+ "language": {
+ "default": "auto",
+ "description": "Language of the speech output (use 'auto' for automatic detection)",
+ "enum": [
+ "auto",
+ "Chinese",
+ "English",
+ "German",
+ "Italian",
+ "Portuguese",
+ "Spanish",
+ "Japanese",
+ "Korean",
+ "French",
+ "Russian"
+ ],
+ "type": "string"
+ },
+ "reference_text": {
+ "description": "Transcript of the reference audio (optional, improves accuracy)",
+ "type": "string",
+ "x-rows": 3,
+ "x-ui-component": "textarea"
+ },
+ "text": {
+ "description": "The text content to convert into speech using the cloned voice",
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ }
+ },
+ "required": [
+ "audio",
+ "text"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "audio",
+ "reference_text",
+ "text",
+ "language"
+ ]
+ },
+ "wavespeed-ai/qwen3-tts/voice-design": {
+ "additionalProperties": false,
+ "properties": {
+ "language": {
+ "default": "auto",
+ "description": "Language of the speech output (use 'auto' for automatic detection)",
+ "enum": [
+ "auto",
+ "Chinese",
+ "English",
+ "German",
+ "Italian",
+ "Portuguese",
+ "Spanish",
+ "Japanese",
+ "Korean",
+ "French",
+ "Russian"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "description": "The text content to convert into speech",
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "voice_description": {
+ "description": "Natural language description of the desired voice characteristics (e.g., 'a warm female voice with a gentle tone')",
+ "type": "string",
+ "x-rows": 3,
+ "x-ui-component": "textarea"
+ }
+ },
+ "required": [
+ "text",
+ "voice_description"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "voice_description",
+ "language"
+ ]
+ },
+ "wavespeed-ai/scail-2": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "Reference character image (JPG/PNG recommended; avoid WEBP).",
+ "type": "string"
+ },
+ "mode": {
+ "default": "animate",
+ "description": "Generation mode. animate: drive the reference character with the input video's motion. replace: swap the input video's subject with the reference character.",
+ "enum": [
+ "animate",
+ "replace"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "Optional positive prompt describing the desired output.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "Output resolution tier (the reference image is rescaled to ~0.5 MP for 480p or ~1.0 MP for 720p).",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "Random seed. -1 for a random seed.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "Driving video providing the motion.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "video",
+ "prompt",
+ "mode",
+ "resolution",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/steady-dancer": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the output video.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "The video for generating the output.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "video",
+ "prompt",
+ "resolution",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.1/ditto": {
+ "additionalProperties": false,
+ "properties": {
+ "prompt": {
+ "description": "The style prompt for the generation.",
+ "enum": [
+ "RealDomain",
+ "FireScene",
+ "Steampunk",
+ "JapaneseAnime",
+ "PencilSketch",
+ "PixelArt",
+ "Claymation",
+ "Ukiyo-e",
+ "Renaissance",
+ "VanGogh",
+ "Cyberpunk",
+ "Watercolor",
+ "ComicBook",
+ "ChildrenBook",
+ "Charcoal",
+ "RickAndMorty",
+ "SpiritedAway",
+ "MoeAnime",
+ "Pixar",
+ "GoldenAge",
+ "MyLittlePony",
+ "BronzeSculpture",
+ "CandySculpture",
+ "ChocolateSculpture",
+ "SilverSculpture",
+ "GoldSculpture",
+ "RustedIronSculpture",
+ "GlassSculpture",
+ "BrickSculpture",
+ "IceSculpture",
+ "SlimeSculpture",
+ "3DChibi",
+ "Fabric",
+ "Ghibli",
+ "Jojo",
+ "Lego",
+ "PaperCutting"
+ ],
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the output video.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "URL to the video to use as the input for the generation.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "video",
+ "resolution",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2-spicy/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the generated media.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2-spicy/image-to-video-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "high_noise_loras": {
+ "description": "List of high noise LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "low_noise_loras": {
+ "description": "List of low noise LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the generated media.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "resolution",
+ "duration",
+ "loras",
+ "high_noise_loras",
+ "low_noise_loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2-spicy/video-extend": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the generated media.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "The video for generating the output.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "video",
+ "resolution",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2-spicy/video-extend-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "high_noise_loras": {
+ "description": "List of high noise LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "low_noise_loras": {
+ "description": "List of low noise LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the generated media.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "The video for generating the output.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "video",
+ "resolution",
+ "duration",
+ "loras",
+ "high_noise_loras",
+ "low_noise_loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2/animate": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "mode": {
+ "default": "animate",
+ "description": "The mode of the generation. Animate Mode: animate the character in input image with movements from the input video. Replace Mode: replace the character in input video with the character in input image.",
+ "enum": [
+ "animate",
+ "replace"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the output video.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "The video for generating the output.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "video",
+ "prompt",
+ "mode",
+ "resolution",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2/i2v-5b-720p-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2/i2v-720p": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "The last image for generating the output.",
+ "type": "string"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "negative_prompt",
+ "last_image",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2/i2v-720p-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "high_noise_loras": {
+ "description": "List of high noise LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "The last image for generating the output.",
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "low_noise_loras": {
+ "description": "List of low noise LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "negative_prompt",
+ "last_image",
+ "duration",
+ "loras",
+ "high_noise_loras",
+ "low_noise_loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2/t2v-5b-720p-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1280*720",
+ "description": "The size of the generated media in pixels (width*height).",
+ "enum": [
+ "1280*720",
+ "720*1280"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2/t2v-720p": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1280*720",
+ "description": "The size of the generated media in pixels (width*height).",
+ "enum": [
+ "1280*720",
+ "720*1280"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "negative_prompt",
+ "size",
+ "duration",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/wan-2.2/t2v-720p-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds.",
+ "enum": [
+ 5,
+ 8
+ ],
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "high_noise_loras": {
+ "description": "List of high noise LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "low_noise_loras": {
+ "description": "List of low noise LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt for the generation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1280*720",
+ "description": "The size of the generated media in pixels (width*height).",
+ "enum": [
+ "1280*720",
+ "720*1280"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "negative_prompt",
+ "size",
+ "duration",
+ "loras",
+ "high_noise_loras",
+ "low_noise_loras",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/z-image-lora-trainer": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "description": "URL to zip archive with images. Try to use at least 4 images in general the more the better.\n\n In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.",
+ "type": "string",
+ "x-accept": "application/zip",
+ "x-placeholder": "Please upload a zip file containing images.",
+ "x-ui-component": "uploader"
+ },
+ "learning_rate": {
+ "default": 0.0001,
+ "maximum": 1,
+ "minimum": 0,
+ "step": 1e-05,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "lora_rank": {
+ "default": 16,
+ "maximum": 64,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "steps": {
+ "default": 1000,
+ "description": "Number of steps to train the LoRA on.",
+ "maximum": 10000,
+ "minimum": 500,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "trigger_word": {
+ "description": "Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "data",
+ "trigger_word",
+ "steps",
+ "learning_rate",
+ "lora_rank"
+ ]
+ },
+ "wavespeed-ai/z-image/base-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "image": {
+ "description": "URL of the reference image to guide the generation.",
+ "type": "string"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ },
+ "strength": {
+ "default": 0.6,
+ "description": "Controls the strength of the transformation. Higher values produce outputs more different from the input image.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "loras",
+ "size",
+ "strength",
+ "seed",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/z-image/turbo": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "image": {
+ "description": "URL of the reference image to guide the generation.",
+ "type": "string"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ },
+ "strength": {
+ "default": 0.6,
+ "description": "Controls the strength of the transformation. Higher values produce outputs more different from the input image.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "size",
+ "strength",
+ "seed",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/z-image/turbo-lora": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "loras": {
+ "description": "List of LoRAs to apply (max 3).",
+ "items": {
+ "properties": {
+ "path": {
+ "description": "URL or the path to the LoRA weights.",
+ "type": "string"
+ },
+ "scale": {
+ "default": 1,
+ "description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "path",
+ "scale"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "x-ui-component": "loras"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "loras",
+ "size",
+ "seed",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "bytedance/seedance-2.5/talking-avatar": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "URL of a nonempty audio recording. Only the first 120 seconds are processed; longer recordings are accepted and trimmed automatically.",
+ "type": "string"
+ },
+ "image": {
+ "description": "URL of the portrait image to animate.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Optional guidance for the avatar's expression and movement. Leave empty to use natural speaking behavior.",
+ "type": "string",
+ "x-rows": 3,
+ "x-ui-component": "textarea"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Output video resolution.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "image",
+ "audio"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "audio",
+ "prompt",
+ "resolution"
+ ]
+ },
+ "wavespeed-ai/longcat-avatar-1.5": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "The audio for generating the output.",
+ "type": "string"
+ },
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the output video.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "audio",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "audio",
+ "prompt",
+ "resolution",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/longcat-avatar-1.5/multi": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "The image for generating the output.",
+ "type": "string"
+ },
+ "left_audio": {
+ "description": "The audio of the persion on the left for generating the output.",
+ "type": "string"
+ },
+ "order": {
+ "default": "meanwhile",
+ "description": "The order of the two audio sources in the output video, \"meanwhile\" means both audio sources will play at the same time, \"left_right\" means the left audio will play first then the right audio will play, \"right_left\" means the right audio will play first then the left audio will play.",
+ "enum": [
+ "meanwhile",
+ "left_right",
+ "right_left"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the output video.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "right_audio": {
+ "description": "The audio of the persion on the right for generating the output.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "left_audio",
+ "right_audio",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "left_audio",
+ "right_audio",
+ "prompt",
+ "order",
+ "resolution",
+ "seed"
+ ]
+ },
+ "sync/lipsync-3/avatar": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "description": "Input audio URL. The output video follows the audio duration.",
+ "title": "Audio",
+ "type": "string"
+ },
+ "image": {
+ "description": "Input image URL. Use a clear face image in JPEG, PNG, or WebP format.",
+ "title": "Image",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image",
+ "audio"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "audio"
+ ]
+ },
+ "heygen/avatar-v/digital-twin": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "16:9",
+ "description": "Aspect ratio of the output video.",
+ "enum": [
+ "16:9",
+ "9:16"
+ ],
+ "type": "string"
+ },
+ "audio": {
+ "description": "Optional audio file URL for the avatar to lip-sync to. When provided, prompt and voice are ignored.",
+ "type": "string"
+ },
+ "avatar": {
+ "default": "Abigail Sofa Front",
+ "description": "Name of the Avatar V-eligible avatar to use.",
+ "enum": [
+ "Abigail Office Front",
+ "Abigail Office Side",
+ "Abigail Sofa Front",
+ "Abigail Sofa Side",
+ "Amelia Business Training Front 2",
+ "Amelia Business Training Front",
+ "Amelia Business Training Side 2",
+ "Amelia Business Training Side",
+ "Amelia Lounge Front 2",
+ "Amelia Lounge Front",
+ "Amelia Lounge Side 2",
+ "Amelia Lounge Side",
+ "Amelia Yoga Front 2",
+ "Amelia Yoga Front",
+ "Amelia Yoga Side 2",
+ "Amelia Yoga Side",
+ "Anja Office Front",
+ "Anja Office Side ",
+ "Anja Sofa Front",
+ "Anja Sofa Side ",
+ "Ann Doctor Sitting",
+ "Ann Doctor Standing",
+ "Ann Therapist",
+ "Annie Bar Sitting Front",
+ "Annie Bar Sitting Side",
+ "Annie Bar Standing Front 2",
+ "Annie Bar Standing Front 3",
+ "Annie Bar Standing Front",
+ "Annie Bar Standing Side 2",
+ "Annie Bar Standing Side 3",
+ "Annie Bar Standing Side",
+ "Annie Business Casual Standing Front 2",
+ "Annie Business Casual Standing Front",
+ "Annie Business Casual Standing Side 2",
+ "Annie Business Casual Standing Side",
+ "Annie Casual Sitting Front 2",
+ "Annie Casual Sitting Front",
+ "Annie Casual Sitting Side 2",
+ "Annie Casual Sitting Side",
+ "Annie Casual Standing Front 2",
+ "Annie Casual Standing Front",
+ "Annie Casual Standing Side 2",
+ "Annie Casual Standing Side",
+ "Annie Desk Sitting Front 2",
+ "Annie Desk Sitting Front",
+ "Annie Desk Sitting Side 2",
+ "Annie Desk Sitting Side",
+ "Annie Lounge Standing Front",
+ "Annie Lounge Standing Side",
+ "Annie Office Sitting Front 2",
+ "Annie Office Sitting Front",
+ "Annie Office Sitting Side 2",
+ "Annie Office Sitting Side",
+ "Annie Office Standing Front",
+ "Annie Office Standing Side",
+ "Annie Sofa Sitting Front 3",
+ "Annie Sofa Sitting Front",
+ "Annie Sofa Sitting Side 2",
+ "Annie Sofa Sitting Side 3",
+ "Annie Sofa Sitting Side",
+ "Annie Sofa Sitting Front 2",
+ "Annie Studio Pink Sitting Front",
+ "Annie Studio Pink Sitting Side",
+ "Annie Studio Pink Standing Front",
+ "Annie Studio Pink Standing Side",
+ "Artur Office Front 2",
+ "Artur Office Front",
+ "Artur Office Side 2",
+ "Artur Office Side",
+ "Artur Sofa Casual Front 2",
+ "Artur Sofa Casual Front",
+ "Artur Sofa Casual Side 2",
+ "Artur Sofa Causal Side",
+ "Aubrey Sofa Side",
+ "Aubrey Night Scene Front",
+ "Aubrey Outdoor Sport Front",
+ "Aubrey Outdoor Sport Side",
+ "Aubrey Sofa Front",
+ "Blanka Lounge Front",
+ "Blanka Lounge Side",
+ "Blanka Outdoor Business Front",
+ "Blanka Outdoor Business Side",
+ "Blanka Outdoor Reading Front",
+ "Blanka Outdoor Reading Side",
+ "Blanka Picnic Front",
+ "Blanka Picnic Side",
+ "Bojan Business Training Front 2",
+ "Bojan Business Training Front",
+ "Bojan Business Training Side 2",
+ "Bojan Business Training Side",
+ "Bojan Lounge Front 2",
+ "Bojan Lounge Front",
+ "Bojan Lounge Side 2",
+ "Bojan Lounge Side",
+ "Bojan Sport Front 2",
+ "Bojan Sport Front",
+ "Bojan Sport Side 2",
+ "Bojan Sport Side",
+ "Brandon Business Sitting Front",
+ "Brandon Business Sitting Side",
+ "Brandon Business Standing Front",
+ "Brandon Business Standing Side",
+ "Brandon Casual Sitting Front",
+ "Brandon Casual Sitting Side",
+ "Brandon Kitchen Standing Front",
+ "Brandon Kitchen Standing Side",
+ "Brandon Lobby Sitting Front",
+ "Brandon Lobby Sitting Side",
+ "Brandon Lobby Standing Front",
+ "Brandon Lobby Standing Side",
+ "Brandon Office Sitting Front",
+ "Brandon Office Sitting Side",
+ "Brandon Office Standing Front",
+ "Brandon Office Standing Side",
+ "Brandon Sofa Sitting Front",
+ "Brandon Sofa Sitting Side",
+ "Brent Office Front 2",
+ "Brent Office Front",
+ "Brent Office Side 2",
+ "Brent Office Side",
+ "Brent Sofa Front 2",
+ "Brent Sofa Front",
+ "Brent Sofa Side 2",
+ "Brent Sofa Side",
+ "Bryan Fitness Coach",
+ "Bryan Tech Expert",
+ "Caroline Business Sitting Front",
+ "Caroline Business Sitting Side",
+ "Caroline Business Standing Front",
+ "Caroline Business Standing Side",
+ "Caroline Casual Sitting Front",
+ "Caroline Casual Sitting Side",
+ "Caroline Kitchen Standing Front",
+ "Caroline Kitchen Standing Side",
+ "Caroline Lobby Sitting Front",
+ "Caroline Lobby Sitting Side",
+ "Caroline Lobby Standing Front",
+ "Caroline Lobby Standing Side",
+ "Caroline Office Sitting Front",
+ "Caroline Office Sitting Side",
+ "Caroline Office Standing Front",
+ "Caroline Office Standing Side",
+ "Caroline Sofa Sitting Front",
+ "Caroline Sofa Sitting Side",
+ "Chloe Lounge Front",
+ "Chloe Lounge Side",
+ "Chloe Outdoor Side",
+ "Conrad House Front",
+ "Conrad House Side",
+ "Conrad Sofa Front",
+ "Conrad Sofa Side",
+ "Derya Indoor Front 2",
+ "Derya Indoor Front",
+ "Derya Indoor Side 2",
+ "Derya Indoor Side",
+ "Derya Office Front 2",
+ "Derya Office Front",
+ "Derya Office Side 2",
+ "Derya Office Side",
+ "Dexter Doctor Sitting",
+ "Dexter Doctor Standing",
+ "Dexter Lawyer",
+ "Elenora Fitness Coach",
+ "Elenora Fitness Coach 2",
+ "Elenora Tech Expert",
+ "Emanuel Office Front",
+ "Emanuel Office Side",
+ "Emanuel Sofa Front",
+ "Emanuel Sofa Side",
+ "Emilia Outdoor Business Front",
+ "Emilia Outdoor Business Side",
+ "Emilia Outdoor Yoga Front 2",
+ "Emilia Outdoor Yoga Front",
+ "Emilia Outdoor Yoga Side",
+ "Emilia Picnic Front",
+ "Emilia Picnic Side",
+ "Edward",
+ "Fernando Business Indoor Front",
+ "Fernando Business Indoor Side",
+ "Fernando OutdoorChair Front 2",
+ "Fernando Outdoor Chair Front",
+ "Fernando Outdoor Chair Side",
+ "Fernando Outdoor Front",
+ "Fernando Outdoor Side",
+ "Fernando Outdoor Table Front",
+ "Fernando Outdoor Table Side",
+ "Gala Bedroom Front",
+ "Gala Business Sofa Front 2",
+ "Gala Business Sofa Front 3",
+ "Gala Business Sofa Front",
+ "Gala Business Sofa Side 2",
+ "Gala Business Sofa Side 3",
+ "Gala Business Sofa Side",
+ "Gala Casual Sofa with iPad Front",
+ "Gala Casual Sofa with iPad Side 2",
+ "Gala Casual Sofa with iPad Side",
+ "Gala Office Front",
+ "Gala Office Side",
+ "Gala Sofa Front 2",
+ "Gala Sofa Front 3",
+ "Gala Sofa Front",
+ "Gala Sofa Side 2",
+ "Gala Sofa Side 3",
+ "Gala Sofa Side",
+ "Georgia Casual Front",
+ "Georgia Casual Side",
+ "Georgia Office Front",
+ "Georgia Office Side",
+ "Gerardo Sofa Side",
+ "Gerardo Indoor Front",
+ "Gerardo Indoor Side",
+ "Gerardo Night Scene Front 2",
+ "Gerardo Night Scene Front",
+ "Gerardo Outdoor Sport Front",
+ "Gerardo Outdoor Sport Side",
+ "Gerardo Sofa Front",
+ "Giulia Office Front 2",
+ "Giulia Office Front",
+ "Giulia Office Side 2",
+ "Giulia Office Side",
+ "Giulia Sofa Front",
+ "Giulia Sofa Side",
+ "Giulia Sofa Front 2",
+ "Giulia Sofa Side 3",
+ "Ida Lounge Front 2",
+ "Ida Lounge Front",
+ "Ida Lounge Side 2",
+ "Ida Lounge Side",
+ "Ida Sofa Front 2",
+ "Ida Sofa Front",
+ "Ida Sofa Side 2",
+ "Ida Sofa Side",
+ "Jocelyn Office Front 2",
+ "Jocelyn Office Front",
+ "Jocelyn Office Side 2",
+ "Jocelyn Office Side",
+ "Jocelyn Sofa Front 2",
+ "Jocelyn Sofa Front",
+ "Jocelyn Sofa Side 2",
+ "Jocelyn Sofa Side",
+ "Joel Couch Front",
+ "Joel Couch Side",
+ "Joel Gym Front",
+ "Joel Gym Side",
+ "Joel Mountain Front",
+ "Joel Mountain Side",
+ "Jonas Gym Front 2",
+ "Jonas Gym Front",
+ "Jonas Gym Side 2",
+ "Jonas Gym Side ",
+ "June Office Front 2",
+ "Juan Office Front",
+ "Juan Office Side 2",
+ "Juan Office Side",
+ "Juan Sofa Front 2",
+ "Juan Sofa Front",
+ "Juan Sofa Side 2",
+ "Juan Sofa Side",
+ "Judita Yoga Front 2",
+ "Judita Yoga Front",
+ "Judita Yoga Side 2",
+ "Judita Yoga Side",
+ "Judy Doctor Sitting",
+ "Judy Doctor Standing",
+ "Judy Lawyer",
+ "Judy Teacher Sitting",
+ "Judy HR",
+ "Judy Teacher Standing",
+ "June HR",
+ "June Office Front",
+ "June Office Side 2",
+ "June Office Side",
+ "June Sofa Casual Front 2",
+ "June Sofa Casual Front",
+ "June Sofa Casual Side 2",
+ "June Sofa Casual Side",
+ "Kavya Indoor Front",
+ "Kavya Indoor Side",
+ "Kavya Outdoor Side",
+ "Kavya Outdoor Sport Front",
+ "Kavya Outdoor Sport Side",
+ "Kavya Sofa Front",
+ "Kavya Sofa Side",
+ "Leos Office Front 2",
+ "Leos Office Front",
+ "Leos Office Side 2",
+ "Leos Office Side",
+ "Leos Sofa Front 2",
+ "Leos Sofa Front",
+ "Leos Sofa Side 2",
+ "Leos Sofa Side",
+ "Leszek Lounge Front",
+ "Leszek Lounge Side",
+ "Leszek Outdoor Business Front",
+ "Leszek Outdoor Business Side",
+ "Leszek Outdoor Casual Front",
+ "Leszek Outdoor Casual Side",
+ "Leszek Sofa Front",
+ "Leszek Sofa Side",
+ "Leah",
+ "Martina Office Front 2",
+ "Martina Office Front",
+ "Martina Office Side 2",
+ "Martina Office Side",
+ "Martina Sofa Front 2",
+ "Martina Sofa Front",
+ "Martina Sofa Side 2",
+ "Martina Sofa Side",
+ "Masha Office Front 2",
+ "Masha Office Front",
+ "Masha Office Side 2",
+ "Masha Office Side",
+ "Masha Sofa Casual Front 2",
+ "Masha Sofa Casual Front",
+ "Masha Sofa Casual Side 2",
+ "Masha Sofa Casual Side",
+ "Matteo Office Front 2",
+ "Matteo Office Front",
+ "Matteo Office Side 2",
+ "Matteo Office Side",
+ "Matteo Sofa Front 2",
+ "Matteo Sofa Front",
+ "Matteo Sofa Side 2",
+ "Matteo Sofa Side",
+ "Max Indoor Front",
+ "Max Indoor Side",
+ "Max Outdoor Sport Front",
+ "Max Outdoor Sport Side",
+ "Milena Office Front 2",
+ "Milena Office Front",
+ "Milena Office Side 2",
+ "Milena Office Side",
+ "Milena Sofa Front 2",
+ "Milena Sofa Front",
+ "Milena Sofa Side 2",
+ "Milena Sofa Side",
+ "Miles Outdoor Front",
+ "Miles Outdoor Side",
+ "Miles Sofa Front 2",
+ "Miles Sofa Front",
+ "Miles Sofa Side 2",
+ "Miles Sofa Side",
+ "Mireia Business Indoor Front",
+ "Mireia Business Indoor Side",
+ "Mireia Outdoor Chair Front",
+ "Mireia Outdoor Front",
+ "Mireia Outdoor Side",
+ "Mireia Outdoor Table Front",
+ "Mireia Outdoor Table Side",
+ "Miyu Office Front 2",
+ "Miyu Office Front",
+ "Miyu Office Side 2",
+ "Miyu Office Side",
+ "Miyu Sofa Business Front",
+ "Miyu Sofa Business Side",
+ "Miyu Sofa Casual Front 2",
+ "Miyu Sofa Casual Front",
+ "Miyu Sofa Casual Side 2 ",
+ "Miyu Sofa Casual Side",
+ "Noah Lobby Front 2",
+ "Noah Lobby Front",
+ "Noah Lobby Side 2",
+ "Noah Lobby Side",
+ "Noah Office Front 2",
+ "Noah Office Front",
+ "Noah Office Side 2",
+ "Noah Office Side",
+ "Noah Sofa Front 2",
+ "Noah Sofa Front ",
+ "Noah Sofa Side 2",
+ "Noah Sofa Side",
+ "Oxana Gym Front 2",
+ "Oxana Gym Front",
+ "Oxana Gym Side 2",
+ "Oxana Gym Side",
+ "Oxana Office Front 2",
+ "Oxana Office Front",
+ "Oxana Office Side 2",
+ "Oxana Office Side",
+ "Oxana Sofa Front 2",
+ "Oxana Sofa Front",
+ "Oxana Sofa Side 2",
+ "Oxana Sofa Side",
+ "Oxana Yoga Front 2",
+ "Oxana Yoga Front",
+ "Oxana Yoga Side 2",
+ "Oxana Yoga Side",
+ "Patrizio Business Training Front",
+ "Patrizio Business Training Side",
+ "Patrizio Office Front",
+ "Patrizio Office Side 2",
+ "Patrizio Office Side",
+ "Patrizio Sofa Front",
+ "Patrizio Sofa Side",
+ "Piper Business Sofa Front",
+ "Piper Business Sofa Side",
+ "Piper Education Front",
+ "Piper Education Side",
+ "Rasmus Lounge Front 2",
+ "Rasmus Lounge Front",
+ "Rasmus Lounge Side 2",
+ "Rasmus Lounge Side",
+ "Rasmus Sofa Front 2",
+ "Rasmus Sofa Front",
+ "Rasmus Sofa Side 2",
+ "Rasmus Sofa Side",
+ "Raul Business Sofa Front 2",
+ "Raul Business Sofa Front",
+ "Raul Business Sofa Side 2",
+ "Raul Business Sofa Side",
+ "Raul Casual Sofa Front 2",
+ "Raul Casual Sofa Front",
+ "Raul Casual Sofa Side 2",
+ "Raul Casual Sofa Side",
+ "Raul Casual Sofa no iPad Front",
+ "Raul Casual Sofa no iPad Side",
+ "Raul Casual Sofa with iPad Front",
+ "Raul Casual Sofa with iPad Side",
+ "Raul Office Front 2",
+ "Raul Office Front",
+ "Raul Office Side",
+ "Raul Sofa Front 2",
+ "Raul Sofa Front",
+ "Raul Sofa Side 2",
+ "Raul Sofa Side",
+ "Ren Office Front 2",
+ "Ren Office Front",
+ "Ren Office Side 2",
+ "Ren Office Side",
+ "Ren Sofa Business Front",
+ "Ren Sofa Business Side",
+ "Ren Sofa Casual Front 2",
+ "Ren Sofa Casual Front",
+ "Ren Sofa Casual Side 2 ",
+ "Ren Sofa Casual Side",
+ "Riley Casual Front",
+ "Riley Casual Side",
+ "Riley Office Front",
+ "Riley Office Side",
+ "Roman Outdoor Sport Front",
+ "Roman Outdoor Sport Side",
+ "Sabine Office Front 2",
+ "Sabine Office Front",
+ "Sabine Office Side",
+ "Sabine Sofa Side",
+ "Santa Fireplace Front",
+ "Santa Fireplace Side",
+ "Scarlett Couch Front 2",
+ "Scarlett Couch Front",
+ "Scarlett Couch Side 2",
+ "Scarlett Couch Side",
+ "Scarlett Fireplace Front",
+ "Scarlett Fireplace Side",
+ "Scarlett Hall Front",
+ "Scarlett Hall Side",
+ "Scarlett Yoga Front",
+ "Scarlett Yoga Side",
+ "Shawn Therapist",
+ "Silas Customer Support",
+ "Silas HR",
+ "Silas Lounge Front",
+ "Silas Lounge Side",
+ "Silas Sofa Side 2",
+ "Silas Sofa Side",
+ "Teodor Office Front 2",
+ "Teodor Office Front",
+ "Teodor Office Side 2",
+ "Teodor Office Side",
+ "Teodor Sofa Front 2",
+ "Teodor Sofa Front",
+ "Teodor Sofa Side 2",
+ "Teodor Sofa Side",
+ "Timothy Casual Front",
+ "Timothy Casual Side",
+ "Timothy Office Front",
+ "Timothy Office Side",
+ "Veit Office Front",
+ "Veit Office Side",
+ "Veit Sofa Front",
+ "Veit Sofa Side",
+ "Vernon Office Front 2",
+ "Vernon Office Front",
+ "Vernon Office Side 2",
+ "Vernon Office Side",
+ "Verena Office Front",
+ "Verena Office Side",
+ "Verena Sofa Front",
+ "Verena Sofa Side",
+ "Vernon Lounge Front 2",
+ "Vernon Lounge Side 2",
+ "Vernon Lounge Side",
+ "Vince Business Sofa Front",
+ "Vince Business Training Front",
+ "Vince Business Training Side 2",
+ "Vince Business Training Side",
+ "Vince Sofa Casual Front 2",
+ "Vince Sofa Casual Front",
+ "Vince Sofa Casual Side 2",
+ "Vince Sofa Casual Side",
+ "Matthew"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "fit": {
+ "default": "cover",
+ "description": "How the avatar fits within the output frame.",
+ "enum": [
+ "cover",
+ "contain"
+ ],
+ "type": "string"
+ },
+ "output_format": {
+ "default": "mp4",
+ "description": "Output container format. WebM produces transparent video and ignores background.",
+ "enum": [
+ "mp4",
+ "webm"
+ ],
+ "type": "string"
+ },
+ "remove_background": {
+ "default": false,
+ "description": "Remove the avatar background. Requires a matting-enabled avatar.",
+ "type": "boolean"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Output resolution preset.",
+ "enum": [
+ "720p",
+ "1080p",
+ "4k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "avatar",
+ "audio"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "avatar",
+ "audio",
+ "fit",
+ "remove_background",
+ "output_format",
+ "resolution",
+ "aspect_ratio"
+ ]
+ },
+ "bytedance/seed-speech-tts-2.0": {
+ "additionalProperties": false,
+ "properties": {
+ "language": {
+ "description": "Optional language override. Leave unset for automatic language detection.",
+ "enum": [
+ "zh",
+ "en",
+ "ja",
+ "es-mx",
+ "id",
+ "pt-br",
+ "ko",
+ "it",
+ "de",
+ "fr"
+ ],
+ "title": "Language",
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "output_format": {
+ "default": "mp3",
+ "description": "Output audio format.",
+ "enum": [
+ "mp3",
+ "opus"
+ ],
+ "title": "Output Format",
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "pitch": {
+ "default": 0,
+ "description": "Voice pitch shift in semitones. 0 is normal pitch.",
+ "maximum": 12,
+ "minimum": -12,
+ "title": "Pitch",
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "sample_rate": {
+ "default": 24000,
+ "description": "Sample rate of the output audio in Hz.",
+ "enum": [
+ 8000,
+ 16000,
+ 22050,
+ 24000,
+ 32000,
+ 44100,
+ 48000
+ ],
+ "title": "Sample Rate",
+ "type": "integer",
+ "x-ui-component": "select"
+ },
+ "speed": {
+ "default": 1,
+ "description": "Speech speed. 1.0 is normal speed.",
+ "maximum": 2,
+ "minimum": 0.5,
+ "title": "Speed",
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "text": {
+ "description": "The text to synthesize into speech.",
+ "title": "Text",
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "voice": {
+ "default": "stokie_en",
+ "description": "Voice preset to use for speech synthesis.",
+ "enum": [
+ "vivi_mixed_en_zh_ja_es_id",
+ "mindy_en_es_id_pt_zh",
+ "stokie_en",
+ "dacey_en",
+ "tim_en",
+ "kian_en_zh",
+ "cedric_en_zh",
+ "sophie_en_zh",
+ "jean_en_zh",
+ "magnus_en_zh",
+ "mabel_en_zh",
+ "nadia_en_zh",
+ "opal_en_zh",
+ "pearl_en_zh",
+ "quentin_en_zh",
+ "vienna_mixed_en_zh",
+ "alina_mixed_en_zh",
+ "corinne_mixed_en_zh",
+ "esther_mixed_en_zh",
+ "freya_mixed_en_zh",
+ "gigi_mixed_en_zh",
+ "holly_mixed_en_zh",
+ "lyla_mixed_en_zh",
+ "daisy_mixed_en_zh",
+ "tracy_es_zh",
+ "jess_ja_es_id_pt_en_zh",
+ "pinky_es_ko_mixed_en_zh",
+ "sweety_ja_es",
+ "sandy_es_mixed_en_zh",
+ "sven_de",
+ "minimi_ja",
+ "usseau_fr",
+ "felipe_es",
+ "han_id",
+ "martins_pt",
+ "enzo_it",
+ "shane_ko",
+ "bonnie_zh",
+ "felix_zh",
+ "celeste_zh",
+ "monkey_king_zh"
+ ],
+ "title": "Voice",
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "voice_instruction": {
+ "description": "Optional natural-language instruction for tone, emotion, pace, or volume. It is not spoken aloud.",
+ "title": "Voice Instruction",
+ "type": "string",
+ "x-rows": 3,
+ "x-ui-component": "textarea"
+ },
+ "volume": {
+ "default": 1,
+ "description": "Speech volume. 1.0 is normal volume.",
+ "maximum": 2,
+ "minimum": 0.5,
+ "title": "Volume",
+ "type": "number",
+ "x-ui-component": "slider"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "voice",
+ "voice_instruction",
+ "output_format",
+ "sample_rate",
+ "speed",
+ "volume",
+ "pitch",
+ "language"
+ ]
+ },
+ "chatterbox/text-to-speech": {
+ "additionalProperties": false,
+ "properties": {
+ "cfg": {
+ "default": 0.5,
+ "description": "Classifier-free guidance weight for controlling generation.",
+ "maximum": 1,
+ "minimum": 0.1,
+ "title": "CFG",
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "exaggeration": {
+ "default": 0.25,
+ "description": "Expressiveness strength for generated speech.",
+ "maximum": 1,
+ "minimum": 0,
+ "title": "Exaggeration",
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "reference_audio": {
+ "description": "Optional reference audio to guide the generated voice style and tone.",
+ "format": "uri",
+ "title": "Reference Audio",
+ "type": "string"
+ },
+ "temperature": {
+ "default": 0.7,
+ "description": "Generation temperature. Higher values create more variation.",
+ "maximum": 2,
+ "minimum": 0.05,
+ "title": "Temperature",
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "text": {
+ "description": "The text to convert to speech. You can add emotive tags such as <laugh>, <chuckle>, <sigh>, <cough>, <sniffle>, <groan>, <yawn>, and <gasp>.",
+ "title": "Text",
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "reference_audio",
+ "exaggeration",
+ "temperature",
+ "cfg"
+ ]
+ },
+ "minimax/speech-2.8-hd": {
+ "additionalProperties": false,
+ "properties": {
+ "bitrate": {
+ "description": "Bitrate of generated sound.",
+ "enum": [
+ 32000,
+ 64000,
+ 128000,
+ 256000
+ ],
+ "type": "integer",
+ "x-placeholder": "Select the bitrate"
+ },
+ "channel": {
+ "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "type": "string",
+ "x-placeholder": "Select the channel"
+ },
+ "emotion": {
+ "default": "happy",
+ "description": "The emotion of the generated speech.",
+ "enum": [
+ "happy",
+ "sad",
+ "angry",
+ "fearful",
+ "disgusted",
+ "surprised",
+ "neutral"
+ ],
+ "type": "string",
+ "x-placeholder": "Select the emotion"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "english_normalization": {
+ "default": false,
+ "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
+ "type": "boolean"
+ },
+ "format": {
+ "description": "Format of generated sound.",
+ "enum": [
+ "mp3",
+ "wav",
+ "pcm",
+ "flac"
+ ],
+ "type": "string",
+ "x-placeholder": "Select format"
+ },
+ "language_boost": {
+ "description": "Enhance the ability to recognize specified languages and dialects.",
+ "enum": [
+ "Chinese",
+ "Chinese,Yue",
+ "English",
+ "Arabic",
+ "Russian",
+ "Spanish",
+ "French",
+ "Portuguese",
+ "German",
+ "Turkish",
+ "Dutch",
+ "Ukrainian",
+ "Vietnamese",
+ "Indonesian",
+ "Japanese",
+ "Italian",
+ "Korean",
+ "Thai",
+ "Polish",
+ "Romanian",
+ "Greek",
+ "Czech",
+ "Finnish",
+ "Hindi",
+ "Bulgarian",
+ "Danish",
+ "Hebrew",
+ "Malay",
+ "Persian",
+ "Slovak",
+ "Swedish",
+ "Croatian",
+ "Filipino",
+ "Hungarian",
+ "Norwegian",
+ "Slovenian",
+ "Catalan",
+ "Nynorsk",
+ "Tamil",
+ "Afrikaans",
+ "auto"
+ ],
+ "type": "string",
+ "x-placeholder": "Select the language"
+ },
+ "pitch": {
+ "default": 0,
+ "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
+ "maximum": 12,
+ "minimum": -12,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "pronunciation_dict": {
+ "description": "Format: Alias/Pronunciation, e.g. Omg/Oh my god",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "x-placeholder": "Omg/Oh my god",
+ "x-ui-component": "array"
+ },
+ "sample_rate": {
+ "description": "Sample rate of generated sound.",
+ "enum": [
+ 8000,
+ 16000,
+ 22050,
+ 24000,
+ 32000,
+ 44100
+ ],
+ "type": "integer",
+ "x-placeholder": "Select the sample rate"
+ },
+ "speed": {
+ "default": 1,
+ "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
+ "maximum": 2,
+ "minimum": 0.5,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "text": {
+ "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
+ "type": "string",
+ "x-hint": "Supported interjections: (laughs), (chuckle), (coughs), (clear-throat), (groans), (breath), (pant), (inhale), (exhale), (gasps), (sniffs), (sighs), (snorts), (burps), (lip-smacking), (humming), (hissing), (emm), (whistles), (sneezes), (crying), (applause).",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "voice_id": {
+ "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
+ "type": "string",
+ "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
+ "x-placeholder": "Please input your custom voice ID",
+ "x-suggestions": [
+ "Wise_Woman",
+ "Friendly_Person",
+ "Inspirational_girl",
+ "Deep_Voice_Man",
+ "Calm_Woman",
+ "Casual_Guy",
+ "Lively_Girl",
+ "Patient_Man",
+ "Young_Knight",
+ "Determined_Man",
+ "Lovely_Girl",
+ "Decent_Boy",
+ "Imposing_Manner",
+ "Elegant_Man",
+ "Abbess",
+ "Sweet_Girl_2",
+ "Exuberant_Girl",
+ "English_expressive_narrator",
+ "English_radiant_girl",
+ "English_magnetic_voiced_man",
+ "English_compelling_lady1",
+ "English_Aussie_Bloke",
+ "English_captivating_female1",
+ "English_Upbeat_Woman",
+ "English_Trustworth_Man",
+ "English_CalmWoman",
+ "English_UpsetGirl",
+ "English_Gentle-voiced_man",
+ "English_Whispering_girl_v3",
+ "English_Diligent_Man",
+ "English_Graceful_Lady",
+ "English_Husky_MetalHead",
+ "English_ReservedYoungMan",
+ "English_PlayfulGirl",
+ "English_ManWithDeepVoice",
+ "English_GentleTeacher",
+ "English_MaturePartner",
+ "English_FriendlyPerson",
+ "English_MatureBoss",
+ "English_Debator",
+ "whisper_man",
+ "English_Abbess",
+ "English_LovelyGirl",
+ "whisper_woman_1",
+ "English_Steadymentor",
+ "English_Deep-VoicedGentleman",
+ "English_DeterminedMan",
+ "English_Wiselady",
+ "English_CaptivatingStoryteller",
+ "English_AttractiveGirl",
+ "English_DecentYoungMan",
+ "English_SentimentalLady",
+ "English_ImposingManner",
+ "English_SadTeen",
+ "English_ThoughtfulMan",
+ "English_PassionateWarrior",
+ "English_DecentBoy",
+ "English_WiseScholar",
+ "English_Soft-spokenGirl",
+ "English_SereneWoman",
+ "English_ConfidentWoman",
+ "English_PatientMan",
+ "English_Comedian",
+ "English_GorgeousLady",
+ "English_BossyLeader",
+ "English_LovelyLady",
+ "English_Strong-WilledBoy",
+ "English_Deep-tonedMan",
+ "English_StressedLady",
+ "English_AssertiveQueen",
+ "English_AnimeCharacter",
+ "English_Jovialman",
+ "English_WhimsicalGirl",
+ "English_CharmingQueen",
+ "English_Kind-heartedGirl",
+ "English_FriendlyNeighbor",
+ "English_Sweet_Female_4",
+ "English_Magnetic_Male_2",
+ "English_Lively_Male_11",
+ "English_Friendly_Female_3",
+ "English_Steady_Female_1",
+ "English_Lively_Male_10",
+ "English_Magnetic_Male_12",
+ "English_Steady_Female_5",
+ "English_Insightful_Speaker",
+ "English_patient_man_v1",
+ "English_Persuasive_Man",
+ "English_Explanatory_Man",
+ "English_intellect_female_1",
+ "English_energetic_male_1",
+ "English_witty_female_1",
+ "English_Lucky_Robot",
+ "English_Cute_Girl",
+ "English_Sharp_Commentator",
+ "English_Honest_Man",
+ "angry_pirate_1",
+ "massive_kind_troll",
+ "movie_trailer_deep",
+ "peace_and_ease",
+ "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
+ "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
+ "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
+ "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
+ "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
+ "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
+ "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
+ "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
+ "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
+ "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
+ "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
+ "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
+ "conversational_female_1_v1",
+ "conversational_female_2_v1",
+ "socialmedia_female_1_v1",
+ "BritishChild_male_1_v1",
+ "BritishChild_female_1_v1",
+ "Chinese (Mandarin)_Reliable_Executive",
+ "Chinese (Mandarin)_News_Anchor",
+ "Chinese (Mandarin)_Unrestrained_Young_Man",
+ "Chinese (Mandarin)_Mature_Woman",
+ "Arrogant_Miss",
+ "Chinese (Mandarin)_Kind-hearted_Antie",
+ "Robot_Armor",
+ "hunyin_6",
+ "Chinese (Mandarin)_HK_Flight_Attendant",
+ "Chinese (Mandarin)_Humorous_Elder",
+ "Chinese (Mandarin)_Gentleman",
+ "Chinese (Mandarin)_Warm_Bestie",
+ "Chinese (Mandarin)_Stubborn_Friend",
+ "Chinese (Mandarin)_Sweet_Lady",
+ "Chinese (Mandarin)_Southern_Young_Man",
+ "Chinese (Mandarin)_Wise_Women",
+ "Chinese (Mandarin)_Gentle_Youth",
+ "Chinese (Mandarin)_Warm_Girl",
+ "Chinese (Mandarin)_Male_Announcer",
+ "Chinese (Mandarin)_Kind-hearted_Elder",
+ "Chinese (Mandarin)_Cute_Spirit",
+ "Chinese (Mandarin)_Radio_Host",
+ "Chinese (Mandarin)_Lyrical_Voice",
+ "Chinese (Mandarin)_Straightforward_Boy",
+ "Chinese (Mandarin)_Sincere_Adult",
+ "Chinese (Mandarin)_Gentle_Senior",
+ "Chinese (Mandarin)_Crisp_Girl",
+ "Chinese (Mandarin)_Pure-hearted_Boy",
+ "Chinese (Mandarin)_Soft_Girl",
+ "Chinese (Mandarin)_IntellectualGirl",
+ "Chinese (Mandarin)_Warm_HeartedGirl",
+ "Chinese (Mandarin)_Laid_BackGirl",
+ "Chinese (Mandarin)_ExplorativeGirl",
+ "Chinese (Mandarin)_Warm-HeartedAunt",
+ "Chinese (Mandarin)_BashfulGirl",
+ "Arabic_CalmWoman",
+ "Arabic_FriendlyGuy",
+ "Cantonese_ProfessionalHost\uff08F)",
+ "Cantonese_GentleLady",
+ "Cantonese_ProfessionalHost\uff08M)",
+ "Cantonese_PlayfulMan",
+ "Cantonese_CuteGirl",
+ "Cantonese_KindWoman",
+ "Cantonese_Narrator",
+ "Cantonese_WiselProfessor",
+ "Cantonese_IndifferentStaff",
+ "Dutch_kindhearted_girl",
+ "Dutch_bossy_leader",
+ "French_Male_Speech_New",
+ "French_Female_News Anchor",
+ "French_CasualMan",
+ "French_MovieLeadFemale",
+ "French_FemaleAnchor",
+ "French_MaleNarrator",
+ "French_Female Journalist",
+ "French_Female_Speech_New",
+ "German_FriendlyMan",
+ "German_SweetLady",
+ "German_PlayfulMan",
+ "Indonesian_SweetGirl",
+ "Indonesian_ReservedYoungMan",
+ "Indonesian_CharmingGirl",
+ "Indonesian_CalmWoman",
+ "Indonesian_ConfidentWoman",
+ "Indonesian_CaringMan",
+ "Indonesian_BossyLeader",
+ "Indonesian_DeterminedBoy",
+ "Indonesian_GentleGirl",
+ "Italian_BraveHeroine",
+ "Italian_Narrator",
+ "Italian_WanderingSorcerer",
+ "Italian_DiligentLeader",
+ "Italian_ReliableMan",
+ "Italian_AthleticStudent",
+ "Italian_ArrogantPrincess",
+ "Japanese_Whisper_Belle",
+ "Japanese_IntellectualSenior",
+ "Japanese_DecisivePrincess",
+ "Japanese_LoyalKnight",
+ "Japanese_DominantMan",
+ "Japanese_SeriousCommander",
+ "Japanese_ColdQueen",
+ "Japanese_DependableWoman",
+ "Japanese_GentleButler",
+ "Japanese_KindLady",
+ "Japanese_CalmLady",
+ "Japanese_OptimisticYouth",
+ "Japanese_GenerousIzakayaOwner",
+ "Japanese_SportyStudent",
+ "Japanese_InnocentBoy",
+ "Japanese_GracefulMaiden",
+ "Korean_PowerfulGirl",
+ "Korean_BossyMan",
+ "Korean_SweetGirl",
+ "Korean_CheerfulBoyfriend",
+ "Korean_EnchantingSister",
+ "Korean_ShyGirl",
+ "Korean_ReliableSister",
+ "Korean_StrictBoss",
+ "Korean_SassyGirl",
+ "Korean_ChildhoodFriendGirl",
+ "Korean_PlayboyCharmer",
+ "Korean_ElegantPrincess",
+ "Korean_BraveFemaleWarrior",
+ "Korean_BraveYouth",
+ "Korean_CalmLady",
+ "Korean_EnthusiasticTeen",
+ "Korean_SoothingLady",
+ "Korean_IntellectualSenior",
+ "Korean_LonelyWarrior",
+ "Korean_MatureLady",
+ "Korean_InnocentBoy",
+ "Korean_CharmingSister",
+ "Korean_AthleticStudent",
+ "Korean_BraveAdventurer",
+ "Korean_CalmGentleman",
+ "Korean_WiseElf",
+ "Korean_CheerfulCoolJunior",
+ "Korean_DecisiveQueen",
+ "Korean_ColdYoungMan",
+ "Korean_MysteriousGirl",
+ "Korean_QuirkyGirl",
+ "Korean_ConsiderateSenior",
+ "Korean_CheerfulLittleSister",
+ "Korean_DominantMan",
+ "Korean_AirheadedGirl",
+ "Korean_ReliableYouth",
+ "Korean_FriendlyBigSister",
+ "Korean_GentleBoss",
+ "Korean_ColdGirl",
+ "Korean_HaughtyLady",
+ "Korean_CharmingElderSister",
+ "Korean_IntellectualMan",
+ "Korean_CaringWoman",
+ "Korean_WiseTeacher",
+ "Korean_ConfidentBoss",
+ "Korean_AthleticGirl",
+ "Korean_PossessiveMan",
+ "Korean_GentleWoman",
+ "Korean_CockyGuy",
+ "Korean_ThoughtfulWoman",
+ "Korean_OptimisticYouth",
+ "Portuguese_AnxiousMan",
+ "Portuguese_Matureresearcher",
+ "Portuguese_Optimisticyouth",
+ "Portuguese_CuteElf",
+ "Portuguese_EnergeticGirl",
+ "Portuguese_FunnyGuy",
+ "Portuguese_Nuttylady",
+ "Portuguese_Deep-tonedMan",
+ "Portuguese_SentimentalLady",
+ "Portuguese_BossyLeader",
+ "Portuguese_Wiselady",
+ "Portuguese_Strong-WilledBoy",
+ "Portuguese_Deep-VoicedGentleman",
+ "Portuguese_UpsetGirl",
+ "Portuguese_PassionateWarrior",
+ "Portuguese_AnimeCharacter",
+ "Portuguese_ConfidentWoman",
+ "Portuguese_AngryMan",
+ "Portuguese_CaptivatingStoryteller",
+ "Portuguese_Godfather",
+ "Portuguese_ReservedYoungMan",
+ "Portuguese_SmartYoungGirl",
+ "Portuguese_Kind-heartedGirl",
+ "Portuguese_Pompouslady",
+ "Portuguese_Grinch",
+ "Portuguese_Debator",
+ "Portuguese_SweetGirl",
+ "Portuguese_AttractiveGirl",
+ "Portuguese_ThoughtfulMan",
+ "Portuguese_PlayfulGirl",
+ "Portuguese_GorgeousLady",
+ "Portuguese_LovelyLady",
+ "Portuguese_SereneWoman",
+ "Portuguese_SadTeen",
+ "Portuguese_MaturePartner",
+ "Portuguese_Comedian",
+ "Portuguese_NaughtySchoolgirl",
+ "Portuguese_Narrator",
+ "Portuguese_ToughBoss",
+ "Portuguese_Fussyhostess",
+ "Portuguese_Dramatist",
+ "Portuguese_Steadymentor",
+ "Portuguese_Jovialman",
+ "Portuguese_CharmingQueen",
+ "Portuguese_SantaClaus",
+ "Portuguese_Rudolph",
+ "Portuguese_Arnold",
+ "Portuguese_CharmingSanta",
+ "Portuguese_Ghost",
+ "Portuguese_HumorousElder",
+ "Portuguese_CalmLeader",
+ "Portuguese_GentleTeacher",
+ "Portuguese_EnergeticBoy",
+ "Portuguese_ReliableMan",
+ "Portuguese_SereneElder",
+ "Portuguese_GrimReaper",
+ "Portuguese_AssertiveQueen",
+ "Portuguese_WhimsicalGirl",
+ "Portuguese_StressedLady",
+ "Portuguese_FriendlyNeighbor",
+ "Portuguese_CaringGirlfriend",
+ "Portuguese_PowerfulSoldier",
+ "Portuguese_FascinatingBoy",
+ "Portuguese_RomanticHusband",
+ "Portuguese_StrictBoss",
+ "Portuguese_InspiringLady",
+ "Portuguese_PlayfulSpirit",
+ "Portuguese_ElegantGirl",
+ "Portuguese_CompellingGirl",
+ "Portuguese_PowerfulVeteran",
+ "Portuguese_SensibleManager",
+ "Portuguese_ThoughtfulLady",
+ "Portuguese_TheatricalActor",
+ "Portuguese_FragileBoy",
+ "Portuguese_ChattyGirl",
+ "Portuguese_Conscientiousinstructor",
+ "Portuguese_RationalMan",
+ "Portuguese_WiseScholar",
+ "Portuguese_FrankLady",
+ "Portuguese_DeterminedManager",
+ "Portuguese_CharmingLady",
+ "Russian_HandsomeChildhoodFriend",
+ "Russian_BrightHeroine",
+ "Russian_AmbitiousWoman",
+ "Russian_ReliableMan",
+ "Russian_CrazyQueen",
+ "Russian_PessimisticGirl",
+ "Russian_AttractiveGuy",
+ "Russian_Bad-temperedBoy",
+ "Spanish_FriendlyNeighbor",
+ "Spanish_FragileBoy",
+ "Spanish_UpsetGirl",
+ "Spanish_Soft-spokenGirl",
+ "Spanish_CharmingQueen",
+ "Spanish_Nuttylady",
+ "Spanish_ElegantGirl",
+ "Spanish_FascinatingBoy",
+ "Spanish_FunnyGuy",
+ "Spanish_PlayfulSpirit",
+ "Spanish_TheatricalActor",
+ "Spanish_SereneWoman",
+ "Spanish_MaturePartner",
+ "Spanish_CaptivatingStoryteller",
+ "Spanish_Narrator",
+ "Spanish_WiseScholar",
+ "Spanish_Kind-heartedGirl",
+ "Spanish_DeterminedManager",
+ "Spanish_BossyLeader",
+ "Spanish_ReservedYoungMan",
+ "Spanish_ConfidentWoman",
+ "Spanish_ThoughtfulMan",
+ "Spanish_Strong-WilledBoy",
+ "Spanish_SophisticatedLady",
+ "Spanish_RationalMan",
+ "Spanish_AnimeCharacter",
+ "Spanish_Deep-tonedMan",
+ "Spanish_Fussyhostess",
+ "Spanish_SincereTeen",
+ "Spanish_FrankLady",
+ "Spanish_Comedian",
+ "Spanish_Debator",
+ "Spanish_ToughBoss",
+ "Spanish_Wiselady",
+ "Spanish_Steadymentor",
+ "Spanish_Jovialman",
+ "Spanish_SantaClaus",
+ "Spanish_Rudolph",
+ "Spanish_Intonategirl",
+ "Spanish_Arnold",
+ "Spanish_Ghost",
+ "Spanish_HumorousElder",
+ "Spanish_EnergeticBoy",
+ "Spanish_WhimsicalGirl",
+ "Spanish_StrictBoss",
+ "Spanish_ReliableMan",
+ "Spanish_SereneElder",
+ "Spanish_AngryMan",
+ "Spanish_AssertiveQueen",
+ "Spanish_CaringGirlfriend",
+ "Spanish_PowerfulSoldier",
+ "Spanish_PassionateWarrior",
+ "Spanish_ChattyGirl",
+ "Spanish_RomanticHusband",
+ "Spanish_CompellingGirl",
+ "Spanish_PowerfulVeteran",
+ "Spanish_SensibleManager",
+ "Spanish_ThoughtfulLady",
+ "Turkish_CalmWoman",
+ "Turkish_Trustworthyman",
+ "Ukrainian_CalmWoman",
+ "Ukrainian_WiseScholar",
+ "Vietnamese_Serene_Man",
+ "Vietnamese_female_4_v1",
+ "Vietnamese_male_1_v2",
+ "Vietnamese_kindhearted_girl",
+ "Thai_Optimistic_girl",
+ "Thai_male_1_sample8",
+ "Thai_Tender_Woman",
+ "Thai_male_2_sample2",
+ "Thai_female_1_sample1",
+ "Thai_female_2_sample2",
+ "Polish_male_1_sample4",
+ "Polish_male_2_sample3",
+ "Polish_female_1_sample1",
+ "Polish_female_2_sample3",
+ "Romanian_male_1_sample2",
+ "Romanian_male_2_sample1",
+ "Romanian_female_1_sample4",
+ "Romanian_female_2_sample1",
+ "Greek_female_1_sample1",
+ "greek_male_1a_v1",
+ "Greek_female_2_sample3",
+ "czech_male_1_v1",
+ "czech_female_5_v7",
+ "czech_female_2_v2",
+ "finnish_male_3_v1",
+ "finnish_female_4_v1",
+ "finnish_male_1_v2",
+ "hindi_male_1_v2",
+ "hindi_female_2_v1",
+ "hindi_female_1_v2",
+ "Bulgarian_male_2_v1",
+ "Bulgarian_female_1_v1",
+ "Danish_male_1_v1",
+ "Danish_female_1_v1",
+ "Hebrew_male_1_v1",
+ "Hebrew_female_1_v1",
+ "Malay_male_1_v1",
+ "Malay_female_1_v1",
+ "Malay_female_2_v1",
+ "Persian_male_1_v1",
+ "Persian_female_1_v1",
+ "Slovak_male_1_v1",
+ "Slovak_female_1_v1",
+ "Swedish_male_1_v1",
+ "Swedish_female_1_v1",
+ "Croatian_male_1_v1",
+ "Croatian_female_1_v1",
+ "Filipino_male_1_v1",
+ "Filipino_female_1_v1",
+ "Hungarian_male_1_v1",
+ "Hungarian_female_1_v1",
+ "Norwegian_male_1_v1",
+ "Norwegian_female_1_v1",
+ "Slovenian_male_1_v1",
+ "Slovenian_female_1_v2",
+ "Catalan_male_1_v1",
+ "Catalan_female_1_v1",
+ "Nynorsk_male_1_v1",
+ "Nynorsk_female_1_v1",
+ "Tamil_male_1_v1",
+ "Tamil_female_1_v1",
+ "Afrikaans_male_1_v1",
+ "Afrikaans_female_1_v1"
+ ],
+ "x-ui-component": "command"
+ },
+ "volume": {
+ "default": 1,
+ "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
+ "maximum": 10,
+ "minimum": 0.1,
+ "type": "number",
+ "x-ui-component": "slider"
+ }
+ },
+ "required": [
+ "text",
+ "voice_id"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "pronunciation_dict",
+ "voice_id",
+ "speed",
+ "volume",
+ "pitch",
+ "emotion",
+ "english_normalization",
+ "sample_rate",
+ "bitrate",
+ "channel",
+ "format",
+ "language_boost",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "minimax/speech-2.8-turbo": {
+ "additionalProperties": false,
+ "properties": {
+ "bitrate": {
+ "description": "Bitrate of generated sound.",
+ "enum": [
+ 32000,
+ 64000,
+ 128000,
+ 256000
+ ],
+ "type": "integer",
+ "x-placeholder": "Select the bitrate"
+ },
+ "channel": {
+ "description": "The number of channels of the generated audio. 1: mono, 2: stereo.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "type": "string",
+ "x-placeholder": "Select the channel"
+ },
+ "emotion": {
+ "default": "happy",
+ "description": "The emotion of the generated speech.",
+ "enum": [
+ "happy",
+ "sad",
+ "angry",
+ "fearful",
+ "disgusted",
+ "surprised",
+ "neutral"
+ ],
+ "type": "string",
+ "x-placeholder": "Select the emotion"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "english_normalization": {
+ "default": false,
+ "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
+ "type": "boolean"
+ },
+ "format": {
+ "description": "Format of generated sound.",
+ "enum": [
+ "mp3",
+ "wav",
+ "pcm",
+ "flac"
+ ],
+ "type": "string",
+ "x-placeholder": "Select format"
+ },
+ "language_boost": {
+ "description": "Enhance the ability to recognize specified languages and dialects.",
+ "enum": [
+ "Chinese",
+ "Chinese,Yue",
+ "English",
+ "Arabic",
+ "Russian",
+ "Spanish",
+ "French",
+ "Portuguese",
+ "German",
+ "Turkish",
+ "Dutch",
+ "Ukrainian",
+ "Vietnamese",
+ "Indonesian",
+ "Japanese",
+ "Italian",
+ "Korean",
+ "Thai",
+ "Polish",
+ "Romanian",
+ "Greek",
+ "Czech",
+ "Finnish",
+ "Hindi",
+ "Bulgarian",
+ "Danish",
+ "Hebrew",
+ "Malay",
+ "Persian",
+ "Slovak",
+ "Swedish",
+ "Croatian",
+ "Filipino",
+ "Hungarian",
+ "Norwegian",
+ "Slovenian",
+ "Catalan",
+ "Nynorsk",
+ "Tamil",
+ "Afrikaans",
+ "auto"
+ ],
+ "type": "string",
+ "x-placeholder": "Select the language"
+ },
+ "pitch": {
+ "default": 0,
+ "description": "Speech pitch. Range: -12 to 12, where 0 is normal pitch.",
+ "maximum": 12,
+ "minimum": -12,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "pronunciation_dict": {
+ "description": "Format: Alias/Pronunciation, e.g. Omg/Oh my god",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 100,
+ "type": "array",
+ "x-hint": ".Use this to map tone words in your text (e.g. Omg(...)) to custom pronunciations.",
+ "x-placeholder": "Omg/Oh my god",
+ "x-ui-component": "array"
+ },
+ "sample_rate": {
+ "description": "Sample rate of generated sound.",
+ "enum": [
+ 8000,
+ 16000,
+ 22050,
+ 24000,
+ 32000,
+ 44100
+ ],
+ "type": "integer",
+ "x-placeholder": "Select the sample rate"
+ },
+ "speed": {
+ "default": 1,
+ "description": "Speech speed. Range: 0.5-2.0, where 1.0 is normal speed.",
+ "maximum": 2,
+ "minimum": 0.5,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "text": {
+ "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
+ "type": "string",
+ "x-hint": "Supported interjections: (laughs), (chuckle), (coughs), (clear-throat), (groans), (breath), (pant), (inhale), (exhale), (gasps), (sniffs), (sighs), (snorts), (burps), (lip-smacking), (humming), (hissing), (emm), (whistles), (sneezes), (crying), (applause).",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "voice_id": {
+ "description": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl.",
+ "type": "string",
+ "x-hint": "Desired voice ID. Use a voice ID you have trained (https://wavespeed.ai/models/minimax/voice-clone), or one of the following system voice IDs: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl",
+ "x-placeholder": "Please input your custom voice ID",
+ "x-suggestions": [
+ "Wise_Woman",
+ "Friendly_Person",
+ "Inspirational_girl",
+ "Deep_Voice_Man",
+ "Calm_Woman",
+ "Casual_Guy",
+ "Lively_Girl",
+ "Patient_Man",
+ "Young_Knight",
+ "Determined_Man",
+ "Lovely_Girl",
+ "Decent_Boy",
+ "Imposing_Manner",
+ "Elegant_Man",
+ "Abbess",
+ "Sweet_Girl_2",
+ "Exuberant_Girl",
+ "English_expressive_narrator",
+ "English_radiant_girl",
+ "English_magnetic_voiced_man",
+ "English_compelling_lady1",
+ "English_Aussie_Bloke",
+ "English_captivating_female1",
+ "English_Upbeat_Woman",
+ "English_Trustworth_Man",
+ "English_CalmWoman",
+ "English_UpsetGirl",
+ "English_Gentle-voiced_man",
+ "English_Whispering_girl_v3",
+ "English_Diligent_Man",
+ "English_Graceful_Lady",
+ "English_Husky_MetalHead",
+ "English_ReservedYoungMan",
+ "English_PlayfulGirl",
+ "English_ManWithDeepVoice",
+ "English_GentleTeacher",
+ "English_MaturePartner",
+ "English_FriendlyPerson",
+ "English_MatureBoss",
+ "English_Debator",
+ "whisper_man",
+ "English_Abbess",
+ "English_LovelyGirl",
+ "whisper_woman_1",
+ "English_Steadymentor",
+ "English_Deep-VoicedGentleman",
+ "English_DeterminedMan",
+ "English_Wiselady",
+ "English_CaptivatingStoryteller",
+ "English_AttractiveGirl",
+ "English_DecentYoungMan",
+ "English_SentimentalLady",
+ "English_ImposingManner",
+ "English_SadTeen",
+ "English_ThoughtfulMan",
+ "English_PassionateWarrior",
+ "English_DecentBoy",
+ "English_WiseScholar",
+ "English_Soft-spokenGirl",
+ "English_SereneWoman",
+ "English_ConfidentWoman",
+ "English_PatientMan",
+ "English_Comedian",
+ "English_GorgeousLady",
+ "English_BossyLeader",
+ "English_LovelyLady",
+ "English_Strong-WilledBoy",
+ "English_Deep-tonedMan",
+ "English_StressedLady",
+ "English_AssertiveQueen",
+ "English_AnimeCharacter",
+ "English_Jovialman",
+ "English_WhimsicalGirl",
+ "English_CharmingQueen",
+ "English_Kind-heartedGirl",
+ "English_FriendlyNeighbor",
+ "English_Sweet_Female_4",
+ "English_Magnetic_Male_2",
+ "English_Lively_Male_11",
+ "English_Friendly_Female_3",
+ "English_Steady_Female_1",
+ "English_Lively_Male_10",
+ "English_Magnetic_Male_12",
+ "English_Steady_Female_5",
+ "English_Insightful_Speaker",
+ "English_patient_man_v1",
+ "English_Persuasive_Man",
+ "English_Explanatory_Man",
+ "English_intellect_female_1",
+ "English_energetic_male_1",
+ "English_witty_female_1",
+ "English_Lucky_Robot",
+ "English_Cute_Girl",
+ "English_Sharp_Commentator",
+ "English_Honest_Man",
+ "angry_pirate_1",
+ "massive_kind_troll",
+ "movie_trailer_deep",
+ "peace_and_ease",
+ "moss_audio_6dc281eb-713c-11f0-a447-9613c873494c",
+ "moss_audio_c12a59b9-7115-11f0-a447-9613c873494c",
+ "moss_audio_076697ad-7144-11f0-a447-9613c873494c",
+ "moss_audio_737a299c-734a-11f0-918f-4e0486034804",
+ "moss_audio_19dbb103-7350-11f0-ad20-f2bc95e89150",
+ "moss_audio_7c7e7ae2-7356-11f0-9540-7ef9b4b62566",
+ "moss_audio_570551b1-735c-11f0-b236-0adeeecad052",
+ "moss_audio_ad5baf92-735f-11f0-8263-fe5a2fe98ec8",
+ "moss_audio_cedfd4d2-736d-11f0-99be-fe40dd2a5fe8",
+ "moss_audio_a0d611da-737c-11f0-ad20-f2bc95e89150",
+ "moss_audio_4f4172f4-737b-11f0-9540-7ef9b4b62566",
+ "moss_audio_62ca20b0-7380-11f0-99be-fe40dd2a5fe8",
+ "conversational_female_1_v1",
+ "conversational_female_2_v1",
+ "socialmedia_female_1_v1",
+ "BritishChild_male_1_v1",
+ "BritishChild_female_1_v1",
+ "Chinese (Mandarin)_Reliable_Executive",
+ "Chinese (Mandarin)_News_Anchor",
+ "Chinese (Mandarin)_Unrestrained_Young_Man",
+ "Chinese (Mandarin)_Mature_Woman",
+ "Arrogant_Miss",
+ "Chinese (Mandarin)_Kind-hearted_Antie",
+ "Robot_Armor",
+ "hunyin_6",
+ "Chinese (Mandarin)_HK_Flight_Attendant",
+ "Chinese (Mandarin)_Humorous_Elder",
+ "Chinese (Mandarin)_Gentleman",
+ "Chinese (Mandarin)_Warm_Bestie",
+ "Chinese (Mandarin)_Stubborn_Friend",
+ "Chinese (Mandarin)_Sweet_Lady",
+ "Chinese (Mandarin)_Southern_Young_Man",
+ "Chinese (Mandarin)_Wise_Women",
+ "Chinese (Mandarin)_Gentle_Youth",
+ "Chinese (Mandarin)_Warm_Girl",
+ "Chinese (Mandarin)_Male_Announcer",
+ "Chinese (Mandarin)_Kind-hearted_Elder",
+ "Chinese (Mandarin)_Cute_Spirit",
+ "Chinese (Mandarin)_Radio_Host",
+ "Chinese (Mandarin)_Lyrical_Voice",
+ "Chinese (Mandarin)_Straightforward_Boy",
+ "Chinese (Mandarin)_Sincere_Adult",
+ "Chinese (Mandarin)_Gentle_Senior",
+ "Chinese (Mandarin)_Crisp_Girl",
+ "Chinese (Mandarin)_Pure-hearted_Boy",
+ "Chinese (Mandarin)_Soft_Girl",
+ "Chinese (Mandarin)_IntellectualGirl",
+ "Chinese (Mandarin)_Warm_HeartedGirl",
+ "Chinese (Mandarin)_Laid_BackGirl",
+ "Chinese (Mandarin)_ExplorativeGirl",
+ "Chinese (Mandarin)_Warm-HeartedAunt",
+ "Chinese (Mandarin)_BashfulGirl",
+ "Arabic_CalmWoman",
+ "Arabic_FriendlyGuy",
+ "Cantonese_ProfessionalHost\uff08F)",
+ "Cantonese_GentleLady",
+ "Cantonese_ProfessionalHost\uff08M)",
+ "Cantonese_PlayfulMan",
+ "Cantonese_CuteGirl",
+ "Cantonese_KindWoman",
+ "Cantonese_Narrator",
+ "Cantonese_WiselProfessor",
+ "Cantonese_IndifferentStaff",
+ "Dutch_kindhearted_girl",
+ "Dutch_bossy_leader",
+ "French_Male_Speech_New",
+ "French_Female_News Anchor",
+ "French_CasualMan",
+ "French_MovieLeadFemale",
+ "French_FemaleAnchor",
+ "French_MaleNarrator",
+ "French_Female Journalist",
+ "French_Female_Speech_New",
+ "German_FriendlyMan",
+ "German_SweetLady",
+ "German_PlayfulMan",
+ "Indonesian_SweetGirl",
+ "Indonesian_ReservedYoungMan",
+ "Indonesian_CharmingGirl",
+ "Indonesian_CalmWoman",
+ "Indonesian_ConfidentWoman",
+ "Indonesian_CaringMan",
+ "Indonesian_BossyLeader",
+ "Indonesian_DeterminedBoy",
+ "Indonesian_GentleGirl",
+ "Italian_BraveHeroine",
+ "Italian_Narrator",
+ "Italian_WanderingSorcerer",
+ "Italian_DiligentLeader",
+ "Italian_ReliableMan",
+ "Italian_AthleticStudent",
+ "Italian_ArrogantPrincess",
+ "Japanese_Whisper_Belle",
+ "Japanese_IntellectualSenior",
+ "Japanese_DecisivePrincess",
+ "Japanese_LoyalKnight",
+ "Japanese_DominantMan",
+ "Japanese_SeriousCommander",
+ "Japanese_ColdQueen",
+ "Japanese_DependableWoman",
+ "Japanese_GentleButler",
+ "Japanese_KindLady",
+ "Japanese_CalmLady",
+ "Japanese_OptimisticYouth",
+ "Japanese_GenerousIzakayaOwner",
+ "Japanese_SportyStudent",
+ "Japanese_InnocentBoy",
+ "Japanese_GracefulMaiden",
+ "Korean_PowerfulGirl",
+ "Korean_BossyMan",
+ "Korean_SweetGirl",
+ "Korean_CheerfulBoyfriend",
+ "Korean_EnchantingSister",
+ "Korean_ShyGirl",
+ "Korean_ReliableSister",
+ "Korean_StrictBoss",
+ "Korean_SassyGirl",
+ "Korean_ChildhoodFriendGirl",
+ "Korean_PlayboyCharmer",
+ "Korean_ElegantPrincess",
+ "Korean_BraveFemaleWarrior",
+ "Korean_BraveYouth",
+ "Korean_CalmLady",
+ "Korean_EnthusiasticTeen",
+ "Korean_SoothingLady",
+ "Korean_IntellectualSenior",
+ "Korean_LonelyWarrior",
+ "Korean_MatureLady",
+ "Korean_InnocentBoy",
+ "Korean_CharmingSister",
+ "Korean_AthleticStudent",
+ "Korean_BraveAdventurer",
+ "Korean_CalmGentleman",
+ "Korean_WiseElf",
+ "Korean_CheerfulCoolJunior",
+ "Korean_DecisiveQueen",
+ "Korean_ColdYoungMan",
+ "Korean_MysteriousGirl",
+ "Korean_QuirkyGirl",
+ "Korean_ConsiderateSenior",
+ "Korean_CheerfulLittleSister",
+ "Korean_DominantMan",
+ "Korean_AirheadedGirl",
+ "Korean_ReliableYouth",
+ "Korean_FriendlyBigSister",
+ "Korean_GentleBoss",
+ "Korean_ColdGirl",
+ "Korean_HaughtyLady",
+ "Korean_CharmingElderSister",
+ "Korean_IntellectualMan",
+ "Korean_CaringWoman",
+ "Korean_WiseTeacher",
+ "Korean_ConfidentBoss",
+ "Korean_AthleticGirl",
+ "Korean_PossessiveMan",
+ "Korean_GentleWoman",
+ "Korean_CockyGuy",
+ "Korean_ThoughtfulWoman",
+ "Korean_OptimisticYouth",
+ "Portuguese_AnxiousMan",
+ "Portuguese_Matureresearcher",
+ "Portuguese_Optimisticyouth",
+ "Portuguese_CuteElf",
+ "Portuguese_EnergeticGirl",
+ "Portuguese_FunnyGuy",
+ "Portuguese_Nuttylady",
+ "Portuguese_Deep-tonedMan",
+ "Portuguese_SentimentalLady",
+ "Portuguese_BossyLeader",
+ "Portuguese_Wiselady",
+ "Portuguese_Strong-WilledBoy",
+ "Portuguese_Deep-VoicedGentleman",
+ "Portuguese_UpsetGirl",
+ "Portuguese_PassionateWarrior",
+ "Portuguese_AnimeCharacter",
+ "Portuguese_ConfidentWoman",
+ "Portuguese_AngryMan",
+ "Portuguese_CaptivatingStoryteller",
+ "Portuguese_Godfather",
+ "Portuguese_ReservedYoungMan",
+ "Portuguese_SmartYoungGirl",
+ "Portuguese_Kind-heartedGirl",
+ "Portuguese_Pompouslady",
+ "Portuguese_Grinch",
+ "Portuguese_Debator",
+ "Portuguese_SweetGirl",
+ "Portuguese_AttractiveGirl",
+ "Portuguese_ThoughtfulMan",
+ "Portuguese_PlayfulGirl",
+ "Portuguese_GorgeousLady",
+ "Portuguese_LovelyLady",
+ "Portuguese_SereneWoman",
+ "Portuguese_SadTeen",
+ "Portuguese_MaturePartner",
+ "Portuguese_Comedian",
+ "Portuguese_NaughtySchoolgirl",
+ "Portuguese_Narrator",
+ "Portuguese_ToughBoss",
+ "Portuguese_Fussyhostess",
+ "Portuguese_Dramatist",
+ "Portuguese_Steadymentor",
+ "Portuguese_Jovialman",
+ "Portuguese_CharmingQueen",
+ "Portuguese_SantaClaus",
+ "Portuguese_Rudolph",
+ "Portuguese_Arnold",
+ "Portuguese_CharmingSanta",
+ "Portuguese_Ghost",
+ "Portuguese_HumorousElder",
+ "Portuguese_CalmLeader",
+ "Portuguese_GentleTeacher",
+ "Portuguese_EnergeticBoy",
+ "Portuguese_ReliableMan",
+ "Portuguese_SereneElder",
+ "Portuguese_GrimReaper",
+ "Portuguese_AssertiveQueen",
+ "Portuguese_WhimsicalGirl",
+ "Portuguese_StressedLady",
+ "Portuguese_FriendlyNeighbor",
+ "Portuguese_CaringGirlfriend",
+ "Portuguese_PowerfulSoldier",
+ "Portuguese_FascinatingBoy",
+ "Portuguese_RomanticHusband",
+ "Portuguese_StrictBoss",
+ "Portuguese_InspiringLady",
+ "Portuguese_PlayfulSpirit",
+ "Portuguese_ElegantGirl",
+ "Portuguese_CompellingGirl",
+ "Portuguese_PowerfulVeteran",
+ "Portuguese_SensibleManager",
+ "Portuguese_ThoughtfulLady",
+ "Portuguese_TheatricalActor",
+ "Portuguese_FragileBoy",
+ "Portuguese_ChattyGirl",
+ "Portuguese_Conscientiousinstructor",
+ "Portuguese_RationalMan",
+ "Portuguese_WiseScholar",
+ "Portuguese_FrankLady",
+ "Portuguese_DeterminedManager",
+ "Portuguese_CharmingLady",
+ "Russian_HandsomeChildhoodFriend",
+ "Russian_BrightHeroine",
+ "Russian_AmbitiousWoman",
+ "Russian_ReliableMan",
+ "Russian_CrazyQueen",
+ "Russian_PessimisticGirl",
+ "Russian_AttractiveGuy",
+ "Russian_Bad-temperedBoy",
+ "Spanish_FriendlyNeighbor",
+ "Spanish_FragileBoy",
+ "Spanish_UpsetGirl",
+ "Spanish_Soft-spokenGirl",
+ "Spanish_CharmingQueen",
+ "Spanish_Nuttylady",
+ "Spanish_ElegantGirl",
+ "Spanish_FascinatingBoy",
+ "Spanish_FunnyGuy",
+ "Spanish_PlayfulSpirit",
+ "Spanish_TheatricalActor",
+ "Spanish_SereneWoman",
+ "Spanish_MaturePartner",
+ "Spanish_CaptivatingStoryteller",
+ "Spanish_Narrator",
+ "Spanish_WiseScholar",
+ "Spanish_Kind-heartedGirl",
+ "Spanish_DeterminedManager",
+ "Spanish_BossyLeader",
+ "Spanish_ReservedYoungMan",
+ "Spanish_ConfidentWoman",
+ "Spanish_ThoughtfulMan",
+ "Spanish_Strong-WilledBoy",
+ "Spanish_SophisticatedLady",
+ "Spanish_RationalMan",
+ "Spanish_AnimeCharacter",
+ "Spanish_Deep-tonedMan",
+ "Spanish_Fussyhostess",
+ "Spanish_SincereTeen",
+ "Spanish_FrankLady",
+ "Spanish_Comedian",
+ "Spanish_Debator",
+ "Spanish_ToughBoss",
+ "Spanish_Wiselady",
+ "Spanish_Steadymentor",
+ "Spanish_Jovialman",
+ "Spanish_SantaClaus",
+ "Spanish_Rudolph",
+ "Spanish_Intonategirl",
+ "Spanish_Arnold",
+ "Spanish_Ghost",
+ "Spanish_HumorousElder",
+ "Spanish_EnergeticBoy",
+ "Spanish_WhimsicalGirl",
+ "Spanish_StrictBoss",
+ "Spanish_ReliableMan",
+ "Spanish_SereneElder",
+ "Spanish_AngryMan",
+ "Spanish_AssertiveQueen",
+ "Spanish_CaringGirlfriend",
+ "Spanish_PowerfulSoldier",
+ "Spanish_PassionateWarrior",
+ "Spanish_ChattyGirl",
+ "Spanish_RomanticHusband",
+ "Spanish_CompellingGirl",
+ "Spanish_PowerfulVeteran",
+ "Spanish_SensibleManager",
+ "Spanish_ThoughtfulLady",
+ "Turkish_CalmWoman",
+ "Turkish_Trustworthyman",
+ "Ukrainian_CalmWoman",
+ "Ukrainian_WiseScholar",
+ "Vietnamese_Serene_Man",
+ "Vietnamese_female_4_v1",
+ "Vietnamese_male_1_v2",
+ "Vietnamese_kindhearted_girl",
+ "Thai_Optimistic_girl",
+ "Thai_male_1_sample8",
+ "Thai_Tender_Woman",
+ "Thai_male_2_sample2",
+ "Thai_female_1_sample1",
+ "Thai_female_2_sample2",
+ "Polish_male_1_sample4",
+ "Polish_male_2_sample3",
+ "Polish_female_1_sample1",
+ "Polish_female_2_sample3",
+ "Romanian_male_1_sample2",
+ "Romanian_male_2_sample1",
+ "Romanian_female_1_sample4",
+ "Romanian_female_2_sample1",
+ "Greek_female_1_sample1",
+ "greek_male_1a_v1",
+ "Greek_female_2_sample3",
+ "czech_male_1_v1",
+ "czech_female_5_v7",
+ "czech_female_2_v2",
+ "finnish_male_3_v1",
+ "finnish_female_4_v1",
+ "finnish_male_1_v2",
+ "hindi_male_1_v2",
+ "hindi_female_2_v1",
+ "hindi_female_1_v2",
+ "Bulgarian_male_2_v1",
+ "Bulgarian_female_1_v1",
+ "Danish_male_1_v1",
+ "Danish_female_1_v1",
+ "Hebrew_male_1_v1",
+ "Hebrew_female_1_v1",
+ "Malay_male_1_v1",
+ "Malay_female_1_v1",
+ "Malay_female_2_v1",
+ "Persian_male_1_v1",
+ "Persian_female_1_v1",
+ "Slovak_male_1_v1",
+ "Slovak_female_1_v1",
+ "Swedish_male_1_v1",
+ "Swedish_female_1_v1",
+ "Croatian_male_1_v1",
+ "Croatian_female_1_v1",
+ "Filipino_male_1_v1",
+ "Filipino_female_1_v1",
+ "Hungarian_male_1_v1",
+ "Hungarian_female_1_v1",
+ "Norwegian_male_1_v1",
+ "Norwegian_female_1_v1",
+ "Slovenian_male_1_v1",
+ "Slovenian_female_1_v2",
+ "Catalan_male_1_v1",
+ "Catalan_female_1_v1",
+ "Nynorsk_male_1_v1",
+ "Nynorsk_female_1_v1",
+ "Tamil_male_1_v1",
+ "Tamil_female_1_v1",
+ "Afrikaans_male_1_v1",
+ "Afrikaans_female_1_v1"
+ ],
+ "x-ui-component": "command"
+ },
+ "volume": {
+ "default": 1,
+ "description": "Speech volume. Range: 0.1-10.0, where 1.0 is normal volume.",
+ "maximum": 10,
+ "minimum": 0.1,
+ "type": "number",
+ "x-ui-component": "slider"
+ }
+ },
+ "required": [
+ "text",
+ "voice_id"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "pronunciation_dict",
+ "voice_id",
+ "speed",
+ "volume",
+ "pitch",
+ "emotion",
+ "english_normalization",
+ "sample_rate",
+ "bitrate",
+ "channel",
+ "format",
+ "language_boost",
+ "enable_base64_output",
+ "enable_sync_mode"
+ ]
+ },
+ "elevenlabs/eleven-v3": {
+ "additionalProperties": false,
+ "properties": {
+ "similarity": {
+ "default": 1,
+ "description": "High enhancement boosts overall voice clarity and target speaker similarity. Very high values can cause artifacts, so adjusting this setting to find the optimal value is encouraged.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "stability": {
+ "default": 0.5,
+ "description": "Voice stability (0-1) Default value: 0.5",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "text": {
+ "description": "Text to convert to speech. Every character is 1 token. Maximum 10000 characters. Use <#x#> between words to control pause duration (0.01-99.99s).",
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "use_speaker_boost": {
+ "default": true,
+ "description": "This parameter supports English text normalization, which improves performance in number-reading scenarios.",
+ "type": "boolean"
+ },
+ "voice_id": {
+ "default": "Alice",
+ "description": "The voice to use for speech generation",
+ "type": "string",
+ "x-placeholder": "Please input your custom voice ID",
+ "x-suggestions": [
+ "Aria",
+ "Roger",
+ "Sarah",
+ "Laura",
+ "Charlie",
+ "George",
+ "Callum",
+ "River",
+ "Liam",
+ "Charlotte",
+ "Alice",
+ "Matilda",
+ "Will",
+ "Jessica",
+ "Eric",
+ "Chris",
+ "Brian",
+ "Daniel",
+ "Lily",
+ "Bill"
+ ],
+ "x-ui-component": "command"
+ }
+ },
+ "required": [
+ "text",
+ "voice_id"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "voice_id",
+ "similarity",
+ "stability",
+ "use_speaker_boost"
+ ]
+ },
+ "inworld/realtime-tts-2": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "MP3",
+ "description": "Output audio format.",
+ "enum": [
+ "MP3",
+ "LINEAR16",
+ "OGG_OPUS",
+ "FLAC",
+ "WAV"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "speaking_rate": {
+ "default": 1,
+ "description": "The speed of speaking.",
+ "maximum": 1.5,
+ "minimum": 0.5,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "temperature": {
+ "default": 1,
+ "description": "The temperature to use for the generation. A higher value means more randomness in the output.",
+ "maximum": 1.5,
+ "minimum": 0.7,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "text": {
+ "description": "Text to synthesize into speech. Maximum input of 2,000 characters.",
+ "title": "Text",
+ "type": "string",
+ "x-rows": 8,
+ "x-ui-component": "textarea"
+ },
+ "voice_id": {
+ "default": "Dennis",
+ "description": "The voice to use for speech generation.",
+ "enum": [
+ "Alex",
+ "Ashley",
+ "Craig",
+ "Deborah",
+ "Dennis",
+ "Edward",
+ "Elizabeth",
+ "Hades",
+ "Julia",
+ "Pixie",
+ "Mark",
+ "Olivia",
+ "Priya",
+ "Ronald",
+ "Sarah",
+ "Shaun",
+ "Theodore",
+ "Timothy",
+ "Wendy",
+ "Dominus",
+ "Hana",
+ "Clive",
+ "Carter",
+ "Blake",
+ "Luna",
+ "Yichen",
+ "Xiaoyin",
+ "Xinyi",
+ "Jing",
+ "Erik",
+ "Katrien",
+ "Lennart",
+ "Lore",
+ "Alain",
+ "H\u00e9l\u00e8ne",
+ "Mathieu",
+ "\u00c9tienne",
+ "Johanna",
+ "Josef",
+ "Gianni",
+ "Orietta",
+ "Asuka",
+ "Satoshi",
+ "Hyunwoo",
+ "Minji",
+ "Seojun",
+ "Yoona",
+ "Szymon",
+ "Wojciech",
+ "Heitor",
+ "Mait\u00ea",
+ "Diego",
+ "Lupita",
+ "Miguel",
+ "Rafael",
+ "Svetlana",
+ "Elena",
+ "Dmitry",
+ "Nikolai",
+ "Riya",
+ "Manoj",
+ "Yael",
+ "Oren",
+ "Nour",
+ "Omar"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "text",
+ "voice_id",
+ "speaking_rate",
+ "temperature",
+ "output_format",
+ "enable_sync_mode"
+ ]
+ },
+ "minimax/music-3.0": {
+ "additionalProperties": false,
+ "properties": {
+ "bitrate": {
+ "default": 256000,
+ "description": "Bitrate for the generated music",
+ "enum": [
+ 60000,
+ 32000,
+ 64000,
+ 128000,
+ 256000
+ ],
+ "type": "integer"
+ },
+ "is_instrumental": {
+ "default": false,
+ "description": "Whether to generate instrumental music (no vocals).",
+ "type": "boolean"
+ },
+ "lyrics": {
+ "description": "Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Valid input: 10-3000 characters.",
+ "type": "string",
+ "x-rows": 5,
+ "x-ui-component": "textarea"
+ },
+ "lyrics_optimizer": {
+ "default": false,
+ "description": "true and lyrics is empty, the system will auto-generate lyrics from.",
+ "type": "boolean"
+ },
+ "prompt": {
+ "description": "Prompt for the music generation.",
+ "type": "string"
+ },
+ "sample_rate": {
+ "default": 44100,
+ "description": "Sample rate for the generated music",
+ "enum": [
+ 16000,
+ 24000,
+ 32000,
+ 44100
+ ],
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "lyrics",
+ "lyrics_optimizer",
+ "bitrate",
+ "sample_rate",
+ "is_instrumental"
+ ]
+ },
+ "mureka-ai/mureka-v9.5/generate-song": {
+ "additionalProperties": false,
+ "properties": {
+ "gender": {
+ "description": "Optional vocal gender preference. Leave unselected to omit this parameter.",
+ "enum": [
+ "female",
+ "male"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "lyrics": {
+ "description": "Lyrics for the generated song. Official limit: up to 5000 characters.",
+ "minLength": 1,
+ "type": "string",
+ "x-rows": 8,
+ "x-ui-component": "textarea"
+ },
+ "melody_id": {
+ "description": "Optional Mureka uploaded melody file ID.",
+ "type": "string",
+ "x-hidden": true
+ },
+ "output_format": {
+ "default": "mp3",
+ "description": "Output audio format after re-uploading to WaveSpeed CDN.",
+ "enum": [
+ "mp3",
+ "wav",
+ "flac"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "Optional style prompt for the song. Official limit: up to 1024 characters.",
+ "type": "string",
+ "x-rows": 4,
+ "x-ui-component": "textarea"
+ },
+ "reference_id": {
+ "description": "Optional Mureka uploaded reference file ID.",
+ "type": "string",
+ "x-hidden": true
+ },
+ "vocal_id": {
+ "description": "Optional Mureka uploaded vocal file ID.",
+ "type": "string",
+ "x-hidden": true
+ }
+ },
+ "required": [
+ "lyrics"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "lyrics",
+ "prompt",
+ "gender",
+ "output_format",
+ "reference_id",
+ "vocal_id",
+ "melody_id"
+ ]
+ },
+ "elevenlabs/music-v2.5": {
+ "additionalProperties": false,
+ "properties": {
+ "force_instrumental": {
+ "default": false,
+ "description": "If true, guarantees instrumental music without vocals. If false, vocals depend on the prompt.",
+ "type": "boolean"
+ },
+ "music_length_ms": {
+ "default": 30000,
+ "description": "Requested music duration in milliseconds (3,000-600,000; 30,000 = 30 seconds). Required for predictable pricing; automatic duration is not supported.",
+ "maximum": 600000,
+ "minimum": 3000,
+ "step": 1000,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "output_format": {
+ "default": "mp3_48000_192",
+ "description": "MP3 output format, written as codec_sample_rate_bitrate. Default: mp3_48000_192 (48 kHz, 192 kbps).",
+ "enum": [
+ "mp3_22050_32",
+ "mp3_24000_48",
+ "mp3_44100_32",
+ "mp3_44100_64",
+ "mp3_44100_96",
+ "mp3_44100_128",
+ "mp3_44100_192",
+ "mp3_48000_128",
+ "mp3_48000_192",
+ "mp3_48000_240",
+ "mp3_48000_320"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "prompt": {
+ "description": "Describe the genre, mood, instruments, vocals and optional lyrics of the music to generate. Maximum 4,100 characters.",
+ "maxLength": 4100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "music_length_ms"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "music_length_ms",
+ "force_instrumental",
+ "output_format"
+ ]
+ },
+ "alibaba/wan-3.0-prime/image-to-video": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated video. If not specified, it is adapted to the input image.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "1:1",
+ "4:3",
+ "3:4"
+ ],
+ "type": "string",
+ "x-placeholder": "Select aspect ratio"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds (2-30s).",
+ "maximum": 30,
+ "minimum": 2,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "enable_audio": {
+ "default": true,
+ "description": "Whether to include audio in the generated video.",
+ "type": "boolean"
+ },
+ "enable_prompt_expansion": {
+ "default": false,
+ "description": "If set to true, the prompt optimizer will be enabled.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "The first frame image for generating the video. Supports URL or Base64-encoded data.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated video.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "last_image",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "enable_prompt_expansion",
+ "enable_audio",
+ "seed"
+ ]
+ },
+ "alibaba/wan-3.0-prime/image-to-video-spicy": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated video. If not specified, it is adapted to the input image.",
+ "enum": [
+ "16:9",
+ "9:16",
+ "1:1",
+ "4:3",
+ "3:4"
+ ],
+ "type": "string",
+ "x-placeholder": "Select aspect ratio"
+ },
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated media in seconds (2-30s).",
+ "maximum": 30,
+ "minimum": 2,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "enable_audio": {
+ "default": true,
+ "description": "Whether to include audio in the generated video.",
+ "type": "boolean"
+ },
+ "enable_prompt_expansion": {
+ "default": false,
+ "description": "If set to true, the prompt optimizer will be enabled.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "The first frame image for generating the video. Supports URL or Base64-encoded data.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Optional prompt describing the scene, action, camera movement, and mood for the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated video.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "prompt",
+ "last_image",
+ "resolution",
+ "aspect_ratio",
+ "duration",
+ "enable_prompt_expansion",
+ "enable_audio",
+ "seed"
+ ]
+ },
+ "bytedance/seedance-2.5/image-to-video-turbo": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "The duration of the generated video in seconds (4-30s).",
+ "maximum": 30,
+ "minimum": 4,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
+ "type": "boolean"
+ },
+ "image": {
+ "description": "Start image URL to guide the video generation.",
+ "type": "string"
+ },
+ "last_image": {
+ "description": "Last frame image URL for video continuation.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Describe the scene, action, camera movement, and mood for the video.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The output video resolution.",
+ "enum": [
+ "720p",
+ "1080p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ }
+ },
+ "required": [
+ "prompt",
+ "image"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "last_image",
+ "resolution",
+ "duration",
+ "generate_audio"
+ ]
+ },
+ "wavespeed-ai/wan-2.2/animate-2": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "description": "The reference image of the character to animate. The output character keeps this identity; the background is generated from the prompt.",
+ "type": "string"
+ },
+ "motion_prompt": {
+ "description": "Describes the motion in the driving video, e.g. \"A person doing energetic street dance\".",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Describes the character's appearance and the output background, e.g. \"Character appearance description: ...\\nBackground description: ...\". Looks only - put motion wording in motion_prompt.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "480p",
+ "description": "The resolution of the output video.",
+ "enum": [
+ "480p",
+ "720p"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "The driving video whose body motion, hand gestures and facial expressions are transferred to the character. Up to 120 seconds.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "image",
+ "video",
+ "prompt",
+ "motion_prompt",
+ "resolution",
+ "seed"
+ ]
+ },
+ "bytedance/seedance-2.5/video-extend": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Length in seconds of the new segment to append (4-30).",
+ "maximum": 30,
+ "minimum": 4,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "generate_audio": {
+ "default": true,
+ "description": "Whether to generate native audio synchronized with the output video. Defaults to true.",
+ "type": "boolean"
+ },
+ "prompt": {
+ "description": "Describe the cinematic continuation - action, camera movement, lighting, mood.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "Output resolution of the new segment.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "video": {
+ "description": "URL of the input video to extend. The native extension uses the last 30 seconds as context; generation continues seamlessly from the ending.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "video",
+ "resolution",
+ "duration",
+ "generate_audio"
+ ]
+ },
+ "alibaba/wan-3.0/video-extend": {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "default": 5,
+ "description": "Length in seconds of the NEW segment to append (2-30). Final output duration is the retained source duration plus this value.",
+ "maximum": 30,
+ "minimum": 2,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "enable_audio": {
+ "default": true,
+ "description": "Generate audio for the new segment. Existing source audio is preserved.",
+ "type": "boolean"
+ },
+ "enable_prompt_expansion": {
+ "default": false,
+ "description": "If set to true, the prompt optimizer will be enabled.",
+ "type": "boolean"
+ },
+ "last_image": {
+ "description": "The last frame image for generating the video (optional). Supports URL or Base64-encoded data.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "resolution": {
+ "default": "720p",
+ "description": "The resolution of the generated video.",
+ "enum": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "video": {
+ "description": "Source video URL. Inputs longer than 120 seconds are automatically trimmed to their last 120 seconds before extension.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video",
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "video",
+ "last_image",
+ "resolution",
+ "duration",
+ "enable_prompt_expansion",
+ "enable_audio",
+ "seed"
+ ]
+ },
+ "bytedance/seedream-v5.0-pro/edit": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "The aspect ratio of the generated image. Leave empty to automatically use the closest supported aspect ratio based on the first input image.",
+ "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"
+ ],
+ "type": "string",
+ "x-placeholder": "Select aspect ratio"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "images": {
+ "description": "The images to edit. A maximum of 10 reference images can be uploaded.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "prompt_optimization_mode": {
+ "default": "standard",
+ "description": "Prompt optimization mode. The model rewrites your prompt before generating. 'standard' uses the full rewrite; 'fast' uses a lighter one that generates several times quicker but follows long or intricate prompts less closely, and is served only by the upstream providers that honour it, so it has less failover depth.",
+ "enum": [
+ "standard",
+ "fast"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "The output resolution tier used for billing. 1k is the lower-cost tier; 2k is the higher-cost tier.",
+ "enum": [
+ "1k",
+ "1.5k",
+ "2k"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "images",
+ "aspect_ratio",
+ "resolution",
+ "output_format",
+ "prompt_optimization_mode",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "alibaba/qwen-image-3.0/edit": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "description": "Aspect ratio of the generated image. Leave empty to use the first input image 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"
+ ],
+ "type": "string"
+ },
+ "enable_prompt_expansion": {
+ "default": true,
+ "description": "Whether to enable intelligent prompt expansion",
+ "type": "boolean"
+ },
+ "images": {
+ "description": "Reference images for editing (1-3 images, 384-2048px each dimension)",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "prompt": {
+ "description": "Text prompt describing the desired edit, supports Chinese and English (max 800 characters)",
+ "minLength": 1,
+ "type": "string"
+ },
+ "resolution": {
+ "default": "1k",
+ "description": "Output resolution tier used for billing.",
+ "enum": [
+ "1k",
+ "2k"
+ ],
+ "type": "string"
+ },
+ "seed": {
+ "description": "Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed)",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt",
+ "images"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "images",
+ "aspect_ratio",
+ "resolution",
+ "enable_prompt_expansion",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/flashvsr": {
+ "additionalProperties": false,
+ "properties": {
+ "target_resolution": {
+ "default": "1080p",
+ "description": "Target resolution to upscale to.",
+ "enum": [
+ "720p",
+ "1080p",
+ "2k",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "video": {
+ "description": "The video to upscale.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "target_resolution"
+ ]
+ },
+ "wavespeed-ai/video-upscaler-pro": {
+ "additionalProperties": false,
+ "properties": {
+ "target_resolution": {
+ "default": "1080p",
+ "description": "Target resolution to upscale to.",
+ "enum": [
+ "720p",
+ "1080p",
+ "2k",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "video": {
+ "description": "The video to upscale.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "target_resolution"
+ ]
+ },
+ "wavespeed-ai/ultimate-video-upscaler": {
+ "additionalProperties": false,
+ "properties": {
+ "target_resolution": {
+ "default": "1080p",
+ "description": "Target resolution to upscale to.",
+ "enum": [
+ "720p",
+ "1080p",
+ "2k",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "video": {
+ "description": "The video to upscale.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "target_resolution"
+ ]
+ },
+ "clarity-ai/crystal-video-upscaler": {
+ "additionalProperties": false,
+ "properties": {
+ "target_megapixels": {
+ "default": 2,
+ "description": "Requested output size in megapixels. Range: 1-200 MP.",
+ "maximum": 200,
+ "minimum": 1,
+ "title": "Target Megapixels",
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "video": {
+ "description": "Input video to upscale.",
+ "title": "Video",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "target_megapixels"
+ ]
+ },
+ "black-forest-labs/flux-3/video-upscale": {
+ "additionalProperties": false,
+ "properties": {
+ "creativity": {
+ "default": 1,
+ "description": "Use 0 for a source-faithful upscale or 1 for creative detail enhancement.",
+ "maximum": 1,
+ "minimum": 0,
+ "step": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "prompt": {
+ "description": "Optional description used to guide creative detail enhancement. Leave empty for a neutral upscale.",
+ "type": "string"
+ },
+ "upscale_factor": {
+ "default": 2,
+ "description": "Output scaling factor. The source aspect ratio is preserved.",
+ "maximum": 3,
+ "minimum": 1.5,
+ "step": 0.1,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "video": {
+ "description": "MP4 video to upscale. Maximum duration: 20 seconds. Maximum file size: 50 MB.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "prompt",
+ "upscale_factor",
+ "creativity"
+ ]
+ },
+ "wavespeed-ai/video-upscaler": {
+ "additionalProperties": false,
+ "properties": {
+ "target_resolution": {
+ "default": "1080p",
+ "description": "Target resolution to upscale to.",
+ "enum": [
+ "720p",
+ "1080p",
+ "2k",
+ "4k"
+ ],
+ "type": "string",
+ "x-ui-component": "select"
+ },
+ "video": {
+ "description": "The video to upscale.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "video"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "video",
+ "target_resolution"
+ ]
+ },
+ "wavespeed-ai/z-image/base": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "image": {
+ "description": "URL of the reference image to guide the generation.",
+ "type": "string",
+ "disabled": true
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ },
+ "strength": {
+ "default": 0.6,
+ "description": "Controls the strength of the transformation. Higher values produce outputs more different from the input image.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number",
+ "disabled": true
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "image",
+ "size",
+ "strength",
+ "seed",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/nucleus-image/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "aspect_ratio": {
+ "default": "1:1",
+ "description": "The output aspect ratio. Nucleus-Image supports a fixed set of aspect-ratio presets.",
+ "enum": [
+ "1:1",
+ "16:9",
+ "9:16",
+ "4:3",
+ "3:4",
+ "3:2",
+ "2:3"
+ ],
+ "type": "string"
+ },
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "guidance_scale": {
+ "default": 8,
+ "description": "The classifier-free guidance scale.",
+ "maximum": 20,
+ "minimum": 0,
+ "type": "number",
+ "x-ui-component": "slider"
+ },
+ "negative_prompt": {
+ "description": "The negative prompt to use for generation.",
+ "type": "string"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "The number of images to generate.",
+ "maximum": 2,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "num_inference_steps": {
+ "default": 50,
+ "description": "The number of inference steps to perform.",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer",
+ "x-ui-component": "slider"
+ },
+ "output_format": {
+ "default": "png",
+ "description": "The format of the generated image.",
+ "enum": [
+ "jpeg",
+ "png"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The prompt to use for generating the image.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "Seed for reproducible generation.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "negative_prompt",
+ "aspect_ratio",
+ "num_images",
+ "num_inference_steps",
+ "guidance_scale",
+ "output_format",
+ "enable_base64_output",
+ "seed"
+ ]
+ },
+ "wavespeed-ai/jib-mix-qwen-image/text-to-image": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ },
+ "wavespeed-ai/wan-2.2/text-to-image-realism": {
+ "additionalProperties": false,
+ "properties": {
+ "enable_base64_output": {
+ "default": false,
+ "description": "If set to `true`, the prediction's `output` strings are returned as **naked base64** (no `data:<mime>;base64,` prefix). When `false` (default), outputs are returned as URLs pointing to our CDN.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "enable_sync_mode": {
+ "default": false,
+ "description": "If set to `true`, the request attempts to wait for the generated result and return outputs in the same response. If the result is not ready within the sync wait window, the API can return a timeout body while the task continues processing. This option is only available via the API and is supported only by some models.",
+ "disabled": true,
+ "type": "boolean"
+ },
+ "output_format": {
+ "default": "jpeg",
+ "description": "The format of the output image.",
+ "enum": [
+ "jpeg",
+ "png",
+ "webp"
+ ],
+ "type": "string"
+ },
+ "prompt": {
+ "description": "The positive prompt for the generation.",
+ "type": "string"
+ },
+ "seed": {
+ "description": "The random seed to use for the generation. -1 means a random seed will be used.",
+ "type": "integer"
+ },
+ "size": {
+ "default": "1024*1024",
+ "description": "The size of the generated media in pixels (width*height).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "type": "object",
+ "x-order-properties": [
+ "prompt",
+ "size",
+ "seed",
+ "output_format",
+ "enable_sync_mode",
+ "enable_base64_output"
+ ]
+ }
+}
diff --git a/src/lib/render/studio-contract.ts b/src/lib/render/studio-contract.ts
new file mode 100644
index 00000000..41b23d11
--- /dev/null
+++ b/src/lib/render/studio-contract.ts
@@ -0,0 +1,113 @@
+// Provider api_schema snapshot, reviewed 2026-09-19. Mirrored in the worker.
+import definitions from './studio-models.json'
+import schemas from './provider-schemas.json'
+import endpoints from './provider-endpoints.json'
+export type Schema = { type?: string; properties?: Record<string, Schema>; required?: string[]; enum?: unknown[]; default?: unknown; minimum?: number; maximum?: number; minItems?: number; maxItems?: number; items?: Schema; description?: string; disabled?: boolean }
+export interface StudioModel {
+ baselineUsd: number; sourceModel?: string; promptField?: string
+ label: string; endpoint: string; kind: 'image' | 'video' | 'audio'; adult: boolean
+ inputs: Record<string, string>; defaults: Record<string, unknown>
+ // `resolutionField` / `durationField`: nicht jeder Endpunkt nennt die beiden
+ // Groessen gleich. Die Upscaler rechnen ueber `target_resolution`, die
+ // ElevenLabs-Musik ueber `music_length_ms`. `unitDivisor` bringt Millisekunden
+ // auf Sekunden, `blockSeconds` bildet einen angefangenen Block ab (ElevenLabs
+ // rechnet je angefangene Minute), `minSeconds` die Mindestlaenge einer
+ // gemessenen Eingabe. Alle vier sind an POST /model/price gemessen.
+ price: { mode: string; rates: Record<string, number>; maxSeconds?: number; extraImage?: number
+ resolutionField?: string; durationField?: string; unitDivisor?: number; blockSeconds?: number; minSeconds?: number
+ perUnitField?: string }
+}
+export const STUDIO_MODELS = definitions as Record<string, StudioModel>
+export function studioSchema(id: string): Schema {
+ const model = STUDIO_MODELS[id]
+ if (!model) throw new Error('Unknown studio model')
+ return (schemas as Record<string, Schema>)[model.endpoint]
+}
+export function supportsProviderField(id: string, field: string, op = 'generate', lora = false): boolean {
+ const m = (endpoints as Record<string, Record<string, string>>)[id]
+ const key = op === 'animate' || op === 'edit' ? 'i2' : 't2'
+ const path = STUDIO_MODELS[id]?.endpoint ?? (lora ? m?.[key + 'Lora'] : undefined) ?? m?.[key] ?? m?.i2
+ return !!path && !!(schemas as Record<string, Schema>)[path]?.properties?.[field]
+}
+const HIDDEN = new Set(['enable_base64_output', 'enable_sync_mode'])
+export function studioFields(id: string): Record<string, Schema> {
+ const m = STUDIO_MODELS[id]
+ return Object.fromEntries(Object.entries(studioSchema(id).properties ?? {}).filter(([key,s]) =>
+ !m.inputs[key] && key !== (m.promptField ?? 'prompt') && !HIDDEN.has(key) && !s.disabled))
+}
+function validate(value: unknown, schema: Schema, name: string): void {
+ if(name==='size'&&(typeof value!=='string'||!/^\d+\*\d+$/.test(value)||value.split('*').some(v=>Number(v)<=0)))throw new Error('Size must be width*height in pixels')
+ if (schema.enum && !schema.enum.includes(value)) throw new Error(`Choose a supported ${name}`)
+ if (schema.type === 'string' && (typeof value !== 'string' || value.length > 4000)) throw new Error(`Invalid ${name}`)
+ if (schema.type === 'boolean' && typeof value !== 'boolean') throw new Error(`Invalid ${name}`)
+ if (schema.type === 'number' || schema.type === 'integer') {
+ if (typeof value !== 'number' || !Number.isFinite(value) || (schema.type === 'integer' && !Number.isInteger(value)) ||
+ (schema.minimum !== undefined && value < schema.minimum) || (schema.maximum !== undefined && value > schema.maximum)) throw new Error(`Invalid ${name}`)
+ }
+ if (schema.type === 'array') {
+ if (!Array.isArray(value) || value.length < (schema.minItems ?? 0) || value.length > (schema.maxItems ?? 30)) throw new Error(`Invalid ${name}`)
+ for (const v of value) validate(v,schema.items ?? {},name)
+ }
+ if (schema.type === 'object') {
+ if (!value || typeof value !== 'object' || Array.isArray(value)) throw new Error(`Invalid ${name}`)
+ const obj = value as Record<string, unknown>
+ for (const required of schema.required ?? []) if (obj[required] === undefined) throw new Error(`Missing ${name}.${required}`)
+ for (const [k,v] of Object.entries(obj)) {
+ if (!schema.properties?.[k]) throw new Error(`Unsupported ${name}.${k}`)
+ validate(v,schema.properties[k],`${name}.${k}`)
+ }
+ }
+}
+export function studioOptions(id: string, prompt: string, raw: unknown, checkPrompt = true): Record<string, unknown> {
+ if (raw !== undefined && (!raw || typeof raw !== 'object' || Array.isArray(raw))) throw new Error('Invalid model options')
+ const schema = studioSchema(id), m = STUDIO_MODELS[id], fields = studioFields(id)
+ const options: Record<string, unknown> = { ...m.defaults }
+ for (const [k,s] of Object.entries(fields)) if (s.default !== undefined && !(k in options)) options[k] = s.default
+ for (const [k,v] of Object.entries((raw ?? {}) as Record<string,unknown>)) {
+ if (!fields[k]) throw new Error(`Unsupported model option: ${k}`)
+ validate(v, fields[k],k); options[k] = v
+ }
+ for (const [key,value] of Object.entries(options)) {
+ if (!schema.properties?.[key]) throw new Error(`Unsupported default: ${key}`)
+ validate(value,schema.properties[key],key)
+ }
+ const promptField=m.promptField??'prompt'
+ if (checkPrompt && schema.required?.includes(promptField) && !prompt.trim()) throw new Error('Enter a prompt before starting')
+ if (checkPrompt && schema.properties?.[promptField]) validate(prompt,schema.properties[promptField],'prompt')
+ for (const k of schema.required ?? []) if (!m.inputs[k] && k !== promptField && options[k] === undefined) throw new Error(`Missing ${k}`)
+ return options
+}
+export function studioCredits(id: string, options: Record<string,unknown>, measuredSeconds?: number, imageCount = 1, promptLength = 100): number {
+ const m = STUDIO_MODELS[id]; if (!m) throw new Error('Unknown studio model')
+ const resolution = String(options[m.price.resolutionField ?? 'resolution'] ?? 'default'), rate = m.price.rates[resolution]
+ if (rate === undefined) throw new Error('Unpriced resolution')
+ let seconds = m.price.mode === 'characters' ? Math.max(1,promptLength/100) : 1
+ if (m.price.mode === 'output') {
+ seconds = Number(options[m.price.durationField ?? 'duration']) / (m.price.unitDivisor ?? 1)
+ // Ein angefangener Block zaehlt voll, weil der Anbieter ihn voll berechnet.
+ if (m.price.blockSeconds) seconds = Math.ceil(seconds / m.price.blockSeconds - 1e-9) * m.price.blockSeconds
+ }
+ // 'input' zahlt die gemessene Eingabe, 'both' die Eingabe UND die angehaengte
+ // Laenge: Seedance berechnet beim Verlaengern den ganzen fertigen Clip.
+ if (m.price.mode === 'input' || m.price.mode === 'both') {
+ if (!measuredSeconds || !Number.isFinite(measuredSeconds) || measuredSeconds > (m.price.maxSeconds ?? 120)) throw new Error(`Input must be no longer than ${m.price.maxSeconds ?? 120} seconds`)
+ seconds = Math.max(m.price.minSeconds ?? 3,Math.ceil(measuredSeconds))
+ if (m.price.mode === 'both') seconds += Number(options[m.price.durationField ?? 'duration'])
+ }
+ if (!Number.isFinite(seconds) || seconds <= 0) throw new Error('Invalid duration')
+ // Ein Endpunkt, der nach Bildpunkten abrechnet, bringt seinen eigenen Faktor
+ // mit (Crystal: Preis je Megapixel je Sekunde).
+ const units = m.price.perUnitField ? Number(options[m.price.perUnitField]) : 1
+ if (!Number.isFinite(units) || units <= 0) throw new Error('Invalid size')
+ return Math.ceil((rate * seconds * units + (m.price.extraImage ?? 0) * Math.max(0,imageCount-1)) * 100000 - 1e-8)
+}
+export function studioBaseCredits(id: string): number {
+ const schema = studioSchema(id), m = STUDIO_MODELS[id]
+ const options: Record<string, unknown> = { ...m.defaults }
+ for (const [key, s] of Object.entries(schema.properties ?? {})) if (!(key in options) && s.default !== undefined) options[key] = s.default
+ return studioCredits(id,options,5)
+}
+
+export function studioPreviewCredits(id: string, raw: Record<string,unknown>, seconds?: number, imageCount = 1, promptLength = 100): number | null {
+ try { return studioCredits(id,studioOptions(id,'',raw,false),seconds,imageCount,promptLength) } catch { return null }
+}
diff --git a/src/lib/render/studio-models.json b/src/lib/render/studio-models.json
new file mode 100644
index 00000000..33c3156f
--- /dev/null
+++ b/src/lib/render/studio-models.json
@@ -0,0 +1,1021 @@
+{
+ "open-video": {
+ "label": "OpenVideo",
+ "endpoint": "wavespeed-ai/open-video/image-to-video",
+ "kind": "video",
+ "adult": true,
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.02,
+ "720p": 0.04,
+ "1080p": 0.06
+ }
+ },
+ "inputs": {
+ "image": "source_path"
+ },
+ "defaults": {},
+ "baselineUsd": 0.1
+ },
+ "open-video-lora": {
+ "label": "OpenVideo + Style LoRA",
+ "endpoint": "wavespeed-ai/open-video/image-to-video-lora",
+ "kind": "video",
+ "adult": true,
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.03,
+ "720p": 0.05,
+ "1080p": 0.07
+ }
+ },
+ "inputs": {
+ "image": "source_path"
+ },
+ "defaults": {},
+ "baselineUsd": 0.15
+ },
+ "mmaudio-v2": {
+ "label": "MMAudio v2",
+ "endpoint": "wavespeed-ai/mmaudio-v2",
+ "kind": "video",
+ "adult": false,
+ "price": {
+ "mode": "output",
+ "rates": {
+ "default": 0.001
+ }
+ },
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {
+ "duration": 5
+ },
+ "baselineUsd": 0.001
+ },
+ "hunyuan-video-foley": {
+ "label": "Hunyuan Video Foley",
+ "endpoint": "wavespeed-ai/hunyuan-video-foley",
+ "kind": "video",
+ "adult": false,
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.05
+ }
+ },
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {},
+ "baselineUsd": 0.05
+ },
+ "infinitetalk": {
+ "label": "InfiniteTalk HQ",
+ "endpoint": "wavespeed-ai/infinitetalk",
+ "kind": "video",
+ "adult": false,
+ "price": {
+ "mode": "input",
+ "rates": {
+ "480p": 0.03,
+ "720p": 0.06
+ },
+ "maxSeconds": 600
+ },
+ "inputs": {
+ "image": "source_path",
+ "audio": "audio_path",
+ "mask_image": "mask_path"
+ },
+ "defaults": {},
+ "baselineUsd": 0.15
+ },
+ "infinitetalk-multi": {
+ "label": "InfiniteTalk Duo",
+ "endpoint": "wavespeed-ai/infinitetalk/multi",
+ "kind": "video",
+ "adult": false,
+ "price": {
+ "mode": "input",
+ "rates": {
+ "480p": 0.03,
+ "720p": 0.06
+ },
+ "maxSeconds": 600
+ },
+ "inputs": {
+ "image": "source_path",
+ "left_audio": "audio_path",
+ "right_audio": "audio2_path"
+ },
+ "defaults": {},
+ "baselineUsd": 0.15
+ },
+ "qwen-image-angles": {
+ "label": "Qwen Image \u2022 Multiple Angles",
+ "endpoint": "wavespeed-ai/qwen-image/edit-multiple-angles",
+ "kind": "image",
+ "adult": false,
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.025
+ }
+ },
+ "inputs": {
+ "images": "image_paths"
+ },
+ "defaults": {},
+ "baselineUsd": 0.025
+ },
+ "minimax-h3-edit": {
+ "label": "MiniMax H3 \u2022 Image Edit",
+ "endpoint": "wavespeed-ai/minimax-h3/image-edit",
+ "kind": "image",
+ "adult": false,
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "1k": 0.03,
+ "2k": 0.09
+ },
+ "extraImage": 0.005
+ },
+ "inputs": {
+ "images": "image_paths"
+ },
+ "defaults": {},
+ "baselineUsd": 0.03
+ },
+ "scail-2": {
+ "label": "SCAIL 2 \u2022 Character Motion",
+ "endpoint": "wavespeed-ai/scail-2",
+ "kind": "video",
+ "adult": false,
+ "price": {
+ "mode": "input",
+ "rates": {
+ "480p": 0.04,
+ "720p": 0.08
+ },
+ "maxSeconds": 120
+ },
+ "inputs": {
+ "image": "source_path",
+ "video": "video_path"
+ },
+ "defaults": {
+ "mode": "animate"
+ },
+ "baselineUsd": 0.2
+ },
+ "wan-ditto": {
+ "label": "Wan DITTO \u2022 Video Restyle",
+ "endpoint": "wavespeed-ai/wan-2.1/ditto",
+ "kind": "video",
+ "adult": false,
+ "price": {
+ "mode": "input",
+ "rates": {
+ "480p": 0.04,
+ "720p": 0.08
+ },
+ "maxSeconds": 120
+ },
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {},
+ "baselineUsd": 0.2
+ },
+ "seedance-2.5": {
+ "label": "Seedance 2.5",
+ "endpoint": "bytedance/seedance-2.5/image-to-video",
+ "kind": "video",
+ "adult": false,
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.18,
+ "720p": 0.36,
+ "1080p": 0.9,
+ "4k": 1.8
+ }
+ },
+ "inputs": {
+ "image": "source_path",
+ "last_image": "last_image_path"
+ },
+ "defaults": {
+ "resolution": "480p"
+ },
+ "baselineUsd": 0.9
+ },
+ "minimax-h3": {
+ "label": "MiniMax H3",
+ "endpoint": "wavespeed-ai/minimax-h3/image-to-video",
+ "kind": "video",
+ "adult": false,
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.04,
+ "540p": 0.06,
+ "768p": 0.08,
+ "1080p": 0.16
+ }
+ },
+ "inputs": {
+ "image": "source_path",
+ "last_image": "last_image_path"
+ },
+ "defaults": {
+ "resolution": "480p"
+ },
+ "baselineUsd": 0.2
+ },
+ "wan-3.0": {
+ "label": "Wan 3.0",
+ "endpoint": "alibaba/wan-3.0/image-to-video",
+ "kind": "video",
+ "adult": false,
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.05,
+ "720p": 0.1,
+ "1080p": 0.2
+ }
+ },
+ "inputs": {
+ "image": "source_path",
+ "last_image": "last_image_path"
+ },
+ "defaults": {
+ "resolution": "480p"
+ },
+ "baselineUsd": 0.5
+ },
+ "wan-3.0-spicy": {
+ "label": "Wan 3.0 Spicy",
+ "endpoint": "alibaba/wan-3.0/image-to-video-spicy",
+ "kind": "video",
+ "adult": true,
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.05,
+ "720p": 0.1,
+ "1080p": 0.2
+ }
+ },
+ "inputs": {
+ "image": "source_path",
+ "last_image": "last_image_path"
+ },
+ "defaults": {
+ "resolution": "480p"
+ },
+ "baselineUsd": 0.5
+ },
+ "preset-chroma": {
+ "label": "Chroma",
+ "endpoint": "wavespeed-ai/chroma",
+ "kind": "image",
+ "adult": true,
+ "inputs": {},
+ "defaults": {},
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.015
+ }
+ },
+ "sourceModel": "chroma",
+ "baselineUsd": 0.015
+ },
+ "preset-prefect-pony": {
+ "label": "Prefect Pony",
+ "endpoint": "wavespeed-ai/prefect-pony-xl",
+ "kind": "image",
+ "adult": true,
+ "inputs": {},
+ "defaults": {},
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.015
+ }
+ },
+ "sourceModel": "prefect-pony",
+ "baselineUsd": 0.015
+ },
+ "preset-neta-lumina": {
+ "label": "Neta Lumina",
+ "endpoint": "wavespeed-ai/neta-lumina",
+ "kind": "image",
+ "adult": true,
+ "inputs": {},
+ "defaults": {},
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.01
+ }
+ },
+ "sourceModel": "neta-lumina",
+ "baselineUsd": 0.01
+ },
+ "preset-wan-2.2-spicy": {
+ "label": "Wan 2.2 Spicy",
+ "endpoint": "wavespeed-ai/wan-2.2-spicy/image-to-video",
+ "kind": "video",
+ "adult": true,
+ "inputs": {
+ "image": "source_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.03,
+ "720p": 0.06
+ }
+ },
+ "sourceModel": "wan-2.2-spicy",
+ "baselineUsd": 0.15
+ },
+ "preset-wan-2.7-spicy": {
+ "label": "Wan 2.7 Spicy",
+ "endpoint": "alibaba/wan-2.7/image-to-video-spicy",
+ "kind": "video",
+ "adult": true,
+ "inputs": {
+ "image": "source_path",
+ "audio": "audio_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "output",
+ "rates": {
+ "720p": 0.1,
+ "1080p": 0.15
+ }
+ },
+ "sourceModel": "wan-2.7-spicy",
+ "baselineUsd": 0.5
+ },
+ "preset-wan-2.2-spicy-extend": {
+ "label": "Wan 2.2 Spicy Extend",
+ "endpoint": "wavespeed-ai/wan-2.2-spicy/video-extend",
+ "kind": "video",
+ "adult": true,
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.03,
+ "720p": 0.06
+ }
+ },
+ "sourceModel": "wan-2.2-spicy-extend",
+ "baselineUsd": 0.15
+ },
+ "preset-qwen3-tts": {
+ "label": "Qwen3 TTS",
+ "endpoint": "wavespeed-ai/qwen3-tts/text-to-speech",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {},
+ "defaults": {},
+ "price": {
+ "mode": "characters",
+ "rates": {
+ "default": 0.005
+ }
+ },
+ "sourceModel": "qwen3-tts",
+ "promptField": "text",
+ "baselineUsd": 0.005
+ },
+ "seedance-2.5-avatar": {
+ "label": "Seedance 2.5 Avatar",
+ "endpoint": "bytedance/seedance-2.5/talking-avatar",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "image": "source_path",
+ "audio": "audio_path"
+ },
+ "defaults": {
+ "resolution": "480p"
+ },
+ "price": {
+ "mode": "input",
+ "rates": {
+ "480p": 0.22,
+ "720p": 0.44
+ },
+ "minSeconds": 4,
+ "maxSeconds": 120
+ },
+ "baselineUsd": 1.1
+ },
+ "longcat-avatar": {
+ "label": "LongCat Avatar",
+ "endpoint": "wavespeed-ai/longcat-avatar-1.5",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "image": "source_path",
+ "audio": "audio_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "480p": 0.04,
+ "720p": 0.08
+ },
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.2
+ },
+ "longcat-avatar-multi": {
+ "label": "LongCat Avatar Duo",
+ "endpoint": "wavespeed-ai/longcat-avatar-1.5/multi",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "image": "source_path",
+ "left_audio": "audio_path",
+ "right_audio": "audio2_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "480p": 0.04,
+ "720p": 0.08
+ },
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.2
+ },
+ "lipsync-3-avatar": {
+ "label": "Lipsync 3 Avatar",
+ "endpoint": "sync/lipsync-3/avatar",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "image": "source_path",
+ "audio": "audio_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "default": 0.135
+ },
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.135
+ },
+ "heygen-twin": {
+ "label": "HeyGen Presenter",
+ "endpoint": "heygen/avatar-v/digital-twin",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "audio": "audio_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "720p": 0.12,
+ "1080p": 0.12,
+ "4k": 0.12
+ },
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.12
+ },
+ "seed-speech-tts": {
+ "label": "Seed Speech 2.0",
+ "endpoint": "bytedance/seed-speech-tts-2.0",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {},
+ "defaults": {},
+ "promptField": "text",
+ "price": {
+ "mode": "characters",
+ "rates": {
+ "default": 0.006
+ }
+ },
+ "baselineUsd": 0.06
+ },
+ "chatterbox-tts": {
+ "label": "Chatterbox",
+ "endpoint": "chatterbox/text-to-speech",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {
+ "reference_audio": "audio_path"
+ },
+ "defaults": {},
+ "promptField": "text",
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.03
+ }
+ },
+ "baselineUsd": 0.03
+ },
+ "minimax-speech-hd": {
+ "label": "MiniMax Speech HD",
+ "endpoint": "minimax/speech-2.8-hd",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {},
+ "defaults": {
+ "voice_id": "Wise_Woman"
+ },
+ "promptField": "text",
+ "price": {
+ "mode": "characters",
+ "rates": {
+ "default": 0.01
+ }
+ },
+ "baselineUsd": 0.1
+ },
+ "minimax-speech-turbo": {
+ "label": "MiniMax Speech Turbo",
+ "endpoint": "minimax/speech-2.8-turbo",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {},
+ "defaults": {
+ "voice_id": "Wise_Woman"
+ },
+ "promptField": "text",
+ "price": {
+ "mode": "characters",
+ "rates": {
+ "default": 0.006
+ }
+ },
+ "baselineUsd": 0.06
+ },
+ "eleven-v3": {
+ "label": "ElevenLabs v3",
+ "endpoint": "elevenlabs/eleven-v3",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {},
+ "defaults": {},
+ "promptField": "text",
+ "price": {
+ "mode": "characters",
+ "rates": {
+ "default": 0.02
+ }
+ },
+ "baselineUsd": 0.2
+ },
+ "inworld-tts": {
+ "label": "Inworld TTS",
+ "endpoint": "inworld/realtime-tts-2",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {},
+ "defaults": {},
+ "promptField": "text",
+ "price": {
+ "mode": "characters",
+ "rates": {
+ "default": 0.005
+ }
+ },
+ "baselineUsd": 0.05
+ },
+ "minimax-music": {
+ "label": "MiniMax Music",
+ "endpoint": "minimax/music-3.0",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {},
+ "defaults": {},
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.15
+ }
+ },
+ "baselineUsd": 0.15
+ },
+ "mureka-song": {
+ "label": "Mureka Song",
+ "endpoint": "mureka-ai/mureka-v9.5/generate-song",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {},
+ "defaults": {},
+ "promptField": "lyrics",
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.225
+ }
+ },
+ "baselineUsd": 0.225
+ },
+ "eleven-music": {
+ "label": "ElevenLabs Music",
+ "endpoint": "elevenlabs/music-v2.5",
+ "kind": "audio",
+ "adult": false,
+ "inputs": {},
+ "defaults": {},
+ "price": {
+ "mode": "output",
+ "rates": {
+ "default": 0.0125
+ },
+ "durationField": "music_length_ms",
+ "unitDivisor": 1000,
+ "blockSeconds": 60
+ },
+ "baselineUsd": 0.75
+ },
+ "wan-3.0-prime": {
+ "label": "Wan 3.0 Prime",
+ "endpoint": "alibaba/wan-3.0-prime/image-to-video",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "image": "source_path",
+ "last_image": "last_image_path"
+ },
+ "defaults": {
+ "resolution": "480p"
+ },
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.075,
+ "720p": 0.15,
+ "1080p": 0.3
+ }
+ },
+ "baselineUsd": 0.75
+ },
+ "wan-3.0-prime-spicy": {
+ "label": "Wan 3.0 Prime Spicy",
+ "endpoint": "alibaba/wan-3.0-prime/image-to-video-spicy",
+ "kind": "video",
+ "adult": true,
+ "inputs": {
+ "image": "source_path",
+ "last_image": "last_image_path"
+ },
+ "defaults": {
+ "resolution": "480p"
+ },
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.075,
+ "720p": 0.15,
+ "1080p": 0.3
+ }
+ },
+ "baselineUsd": 0.75
+ },
+ "seedance-2.5-turbo": {
+ "label": "Seedance 2.5 Turbo",
+ "endpoint": "bytedance/seedance-2.5/image-to-video-turbo",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "image": "source_path",
+ "last_image": "last_image_path"
+ },
+ "defaults": {
+ "resolution": "720p"
+ },
+ "price": {
+ "mode": "output",
+ "rates": {
+ "720p": 0.2,
+ "1080p": 0.22
+ }
+ },
+ "baselineUsd": 1.0
+ },
+ "wan-2.2-animate-2": {
+ "label": "Wan 2.2 Animate 2",
+ "endpoint": "wavespeed-ai/wan-2.2/animate-2",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "image": "source_path",
+ "video": "video_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "480p": 0.04,
+ "720p": 0.08
+ },
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.2
+ },
+ "seedance-2.5-extend": {
+ "label": "Seedance 2.5 Extend",
+ "endpoint": "bytedance/seedance-2.5/video-extend",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {
+ "resolution": "480p"
+ },
+ "price": {
+ "mode": "both",
+ "rates": {
+ "480p": 0.11,
+ "720p": 0.22,
+ "1080p": 0.55,
+ "4k": 1.1
+ },
+ "maxSeconds": 120
+ },
+ "baselineUsd": 1.1
+ },
+ "wan-3.0-extend": {
+ "label": "Wan 3.0 Extend",
+ "endpoint": "alibaba/wan-3.0/video-extend",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "video": "video_path",
+ "last_image": "last_image_path"
+ },
+ "defaults": {
+ "resolution": "480p"
+ },
+ "price": {
+ "mode": "output",
+ "rates": {
+ "480p": 0.05,
+ "720p": 0.1,
+ "1080p": 0.2
+ }
+ },
+ "baselineUsd": 0.5
+ },
+ "seedream-5-edit": {
+ "label": "Seedream 5 Pro",
+ "endpoint": "bytedance/seedream-v5.0-pro/edit",
+ "kind": "image",
+ "adult": false,
+ "inputs": {
+ "images": "image_paths"
+ },
+ "defaults": {
+ "resolution": "1k"
+ },
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "1k": 0.045,
+ "1.5k": 0.045,
+ "2k": 0.09
+ },
+ "extraImage": 0.003
+ },
+ "baselineUsd": 0.045
+ },
+ "qwen-image-3-edit": {
+ "label": "Qwen Image 3.0",
+ "endpoint": "alibaba/qwen-image-3.0/edit",
+ "kind": "image",
+ "adult": false,
+ "inputs": {
+ "images": "image_paths"
+ },
+ "defaults": {
+ "resolution": "1k"
+ },
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "1k": 0.033,
+ "2k": 0.033
+ },
+ "extraImage": 0.003
+ },
+ "baselineUsd": 0.03
+ },
+ "flashvsr": {
+ "label": "FlashVSR",
+ "endpoint": "wavespeed-ai/flashvsr",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "720p": 0.012,
+ "1080p": 0.018,
+ "2k": 0.024,
+ "4k": 0.032
+ },
+ "resolutionField": "target_resolution",
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.05
+ },
+ "video-upscaler-pro": {
+ "label": "Upscaler Pro",
+ "endpoint": "wavespeed-ai/video-upscaler-pro",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "720p": 0.02,
+ "1080p": 0.04,
+ "2k": 0.05,
+ "4k": 0.07
+ },
+ "resolutionField": "target_resolution",
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.2
+ },
+ "ultimate-video-upscaler": {
+ "label": "Ultimate Upscaler",
+ "endpoint": "wavespeed-ai/ultimate-video-upscaler",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "720p": 0.02,
+ "1080p": 0.03,
+ "2k": 0.05,
+ "4k": 0.08
+ },
+ "resolutionField": "target_resolution",
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.15
+ },
+ "crystal-upscaler": {
+ "label": "Crystal 8K",
+ "endpoint": "clarity-ai/crystal-video-upscaler",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "default": 0.1
+ },
+ "perUnitField": "target_megapixels",
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.1
+ },
+ "flux-3-upscale": {
+ "label": "FLUX 3 Upscale",
+ "endpoint": "black-forest-labs/flux-3/video-upscale",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "default": 0.79
+ },
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.79
+ },
+ "video-upscaler": {
+ "label": "Video Upscaler",
+ "endpoint": "wavespeed-ai/video-upscaler",
+ "kind": "video",
+ "adult": false,
+ "inputs": {
+ "video": "video_path"
+ },
+ "defaults": {},
+ "price": {
+ "mode": "input",
+ "rates": {
+ "720p": 0.005,
+ "1080p": 0.005,
+ "2k": 0.01,
+ "4k": 0.02
+ },
+ "resolutionField": "target_resolution",
+ "maxSeconds": 120
+ },
+ "baselineUsd": 0.025
+ },
+ "z-image": {
+ "label": "Z-Image Base",
+ "endpoint": "wavespeed-ai/z-image/base",
+ "kind": "image",
+ "adult": true,
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.01
+ }
+ },
+ "inputs": {},
+ "defaults": {},
+ "baselineUsd": 0.01
+ },
+ "nucleus-image": {
+ "label": "Nucleus",
+ "endpoint": "wavespeed-ai/nucleus-image/text-to-image",
+ "kind": "image",
+ "adult": true,
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.01
+ },
+ "perUnitField": "num_images"
+ },
+ "inputs": {},
+ "defaults": {},
+ "baselineUsd": 0.01
+ },
+ "jib-mix-qwen": {
+ "label": "JibMix Qwen",
+ "endpoint": "wavespeed-ai/jib-mix-qwen-image/text-to-image",
+ "kind": "image",
+ "adult": true,
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.02
+ }
+ },
+ "inputs": {},
+ "defaults": {},
+ "baselineUsd": 0.02
+ },
+ "wan-2.2-realism": {
+ "label": "Wan 2.2 Realism",
+ "endpoint": "wavespeed-ai/wan-2.2/text-to-image-realism",
+ "kind": "image",
+ "adult": true,
+ "price": {
+ "mode": "flat",
+ "rates": {
+ "default": 0.025
+ }
+ },
+ "inputs": {},
+ "defaults": {},
+ "baselineUsd": 0.025
+ }
+}
diff --git a/src/lib/render/video-duration.ts b/src/lib/render/video-duration.ts
new file mode 100644
index 00000000..d489fbcb
--- /dev/null
+++ b/src/lib/render/video-duration.ts
@@ -0,0 +1,35 @@
+// Supported and priced LU clip lengths. Provider schemas checked 2026-09-19.
+// Kept byte-identical between API and worker by a contract test.
+import durations from './video-durations.json'
+export function videoDurations(model: string): readonly number[] {
+ return (durations as Record<string, number[]>)[model] ?? []
+}
+
+// UI model switches reset stale selections to the shortest valid choice.
+export function selectedVideoSeconds(model: string, frames: number, fps: number): number {
+ const allowed = videoDurations(model)
+ const raw = frames / fps
+ if (allowed.includes(raw)) return raw
+ const legacy = raw >= 6.5 ? 8 : 5
+ return allowed.includes(legacy) && raw <= 8 ? legacy : (allowed[0] ?? 5)
+}
+
+export function bookedVideoSeconds(model: string, params: Record<string, unknown>): number {
+ const allowed = videoDurations(model)
+ const invalid = () => new Error(`This model supports ${allowed.join(', ')} seconds in LU. Select a supported length before generating.`)
+ let seconds = 5
+ if (params.frames !== undefined || params.fps !== undefined) {
+ const frames = params.frames ?? 80
+ const fps = params.fps ?? 16
+ if (typeof frames !== 'number' || typeof fps !== 'number' || !Number.isFinite(frames) || !Number.isFinite(fps) || frames <= 0 || fps <= 0) throw invalid()
+ const raw = frames / fps
+ seconds = allowed.includes(raw) ? raw : raw <= 8 ? (raw >= 6.5 ? 8 : 5) : NaN
+ }
+ if (params.duration !== undefined) {
+ if (typeof params.duration !== 'number' || !allowed.includes(params.duration) ||
+ ((params.frames !== undefined || params.fps !== undefined) && params.duration !== seconds)) throw invalid()
+ seconds = params.duration
+ }
+ if (!allowed.includes(seconds)) throw invalid()
+ return seconds
+}
diff --git a/src/lib/render/video-durations.json b/src/lib/render/video-durations.json
new file mode 100644
index 00000000..1105117a
--- /dev/null
+++ b/src/lib/render/video-durations.json
@@ -0,0 +1,56 @@
+{
+ "wan-2.2-720p": [
+ 5,
+ 8
+ ],
+ "wan-2.2-fast": [
+ 5,
+ 8
+ ],
+ "ltx-2": [
+ 5,
+ 8
+ ],
+ "hunyuan-video": [
+ 5,
+ 8
+ ],
+ "ltx-2.3": [
+ 5,
+ 8
+ ],
+ "wan-2.2-spicy": [
+ 5
+ ],
+ "ltx-2.3-spicy": [
+ 5
+ ],
+ "wan-2.6-spicy": [
+ 5,
+ 10,
+ 15
+ ],
+ "wan-2.7-spicy": [
+ 5,
+ 10,
+ 15
+ ],
+ "minimax-h3-spicy": [
+ 5
+ ],
+ "seedance-1.5-pro-spicy": [
+ 5
+ ],
+ "seedance-2.5-spicy": [
+ 5
+ ],
+ "seedance-2.0-spicy": [
+ 5
+ ],
+ "seedance-2.0-fast-spicy": [
+ 5
+ ],
+ "vidu-q3-spicy": [
+ 5
+ ]
+}