@runware/schemas 0.0.0-20260510231619
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/response-map.json +1902 -0
- package/dist/schemas/requests/architectures/exactly-illustrative.json +252 -0
- package/dist/schemas/requests/architectures/flux-1-dev.json +1103 -0
- package/dist/schemas/requests/architectures/flux-1-kontext-dev.json +855 -0
- package/dist/schemas/requests/architectures/flux-1-schnell.json +911 -0
- package/dist/schemas/requests/architectures/illustrious.json +893 -0
- package/dist/schemas/requests/architectures/noobai.json +893 -0
- package/dist/schemas/requests/architectures/pony.json +893 -0
- package/dist/schemas/requests/architectures/sd-1-5-distilled.json +893 -0
- package/dist/schemas/requests/architectures/sd-1-5-hyper.json +893 -0
- package/dist/schemas/requests/architectures/sd-1-5-lcm.json +893 -0
- package/dist/schemas/requests/architectures/sd-1-5.json +893 -0
- package/dist/schemas/requests/architectures/sd-2-1.json +893 -0
- package/dist/schemas/requests/architectures/sd3.json +847 -0
- package/dist/schemas/requests/architectures/sdxl-distilled.json +893 -0
- package/dist/schemas/requests/architectures/sdxl-hyper.json +893 -0
- package/dist/schemas/requests/architectures/sdxl-lcm.json +893 -0
- package/dist/schemas/requests/architectures/sdxl-lightning.json +893 -0
- package/dist/schemas/requests/architectures/sdxl-turbo.json +893 -0
- package/dist/schemas/requests/architectures/sdxl.json +990 -0
- package/dist/schemas/requests/architectures/z-image-turbo.json +730 -0
- package/dist/schemas/requests/architectures/z-image.json +730 -0
- package/dist/schemas/requests/models/alibaba/alibaba-happyhorse-1-0.json +709 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-2-0-pro.json +257 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-2-0.json +257 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-2512.json +740 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-edit-plus.json +571 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-edit.json +572 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-layered.json +571 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen-image.json +744 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen2-5-vl-3b-instruct.json +136 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen2-5-vl-7b-instruct.json +136 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen3-5-27b.json +281 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen3-5-397b.json +281 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen3-tts-1-7b-base.json +815 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen3-tts-1-7b-customvoice.json +759 -0
- package/dist/schemas/requests/models/alibaba/alibaba-qwen3-tts-1-7b-voicedesign.json +749 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-2-a14b-turbo.json +829 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-2-a14b.json +829 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-2-animate.json +848 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-5-preview-image.json +191 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-5-preview.json +568 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-6-flash.json +587 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-6-image.json +238 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-6.json +640 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-7-image-pro.json +364 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-7-image.json +340 -0
- package/dist/schemas/requests/models/alibaba/alibaba-wan2-7.json +685 -0
- package/dist/schemas/requests/models/alibaba/alibaba-z-image-turbo.json +730 -0
- package/dist/schemas/requests/models/alibaba/alibaba-z-image.json +730 -0
- package/dist/schemas/requests/models/alibaba/index.json +15134 -0
- package/dist/schemas/requests/models/anthropic/anthropic-claude-haiku-4-5.json +370 -0
- package/dist/schemas/requests/models/anthropic/anthropic-claude-opus-4-7.json +373 -0
- package/dist/schemas/requests/models/anthropic/anthropic-claude-sonnet-4-6.json +372 -0
- package/dist/schemas/requests/models/anthropic/index.json +1117 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-1-1-pro-ultra.json +317 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-1-1-pro.json +214 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-1-dev.json +1103 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-1-expand-pro.json +266 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-1-fill-pro.json +252 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-1-kontext-dev.json +855 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-1-kontext-max.json +345 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-1-kontext-pro.json +345 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-1-schnell.json +911 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-2-dev.json +569 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-2-flex.json +264 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-4b-base.json +570 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-4b.json +570 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-9b-base.json +570 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-9b-kv.json +570 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-9b.json +570 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-2-max.json +248 -0
- package/dist/schemas/requests/models/bfl/bfl-flux-2-pro.json +248 -0
- package/dist/schemas/requests/models/bfl/index.json +8774 -0
- package/dist/schemas/requests/models/bria/bria-3-2.json +569 -0
- package/dist/schemas/requests/models/bria/bria-fibo-edit-tools.json +401 -0
- package/dist/schemas/requests/models/bria/bria-fibo-edit.json +253 -0
- package/dist/schemas/requests/models/bria/bria-fibo-lite.json +350 -0
- package/dist/schemas/requests/models/bria/bria-fibo.json +358 -0
- package/dist/schemas/requests/models/bria/bria-image-increase-resolution.json +163 -0
- package/dist/schemas/requests/models/bria/bria-image-replace-background.json +264 -0
- package/dist/schemas/requests/models/bria/bria-rmbg-v2-0.json +153 -0
- package/dist/schemas/requests/models/bria/bria-video-background-removal.json +153 -0
- package/dist/schemas/requests/models/bria/bria-video-eraser.json +361 -0
- package/dist/schemas/requests/models/bria/bria-video-increase-resolution.json +129 -0
- package/dist/schemas/requests/models/bria/index.json +3148 -0
- package/dist/schemas/requests/models/bytedance/bytedance-omnihuman-1-5.json +231 -0
- package/dist/schemas/requests/models/bytedance/bytedance-omnihuman-1.json +191 -0
- package/dist/schemas/requests/models/bytedance/bytedance-seedance-1-0-pro-fast.json +513 -0
- package/dist/schemas/requests/models/bytedance/bytedance-seedance-1-0-pro.json +521 -0
- package/dist/schemas/requests/models/bytedance/bytedance-seedance-1-5-pro.json +683 -0
- package/dist/schemas/requests/models/bytedance/bytedance-seedance-2-0-fast.json +634 -0
- package/dist/schemas/requests/models/bytedance/bytedance-seedance-2-0.json +701 -0
- package/dist/schemas/requests/models/bytedance/bytedance-seedream-4-0.json +424 -0
- package/dist/schemas/requests/models/bytedance/bytedance-seedream-4-5.json +321 -0
- package/dist/schemas/requests/models/bytedance/bytedance-seedream-5-0-lite.json +426 -0
- package/dist/schemas/requests/models/bytedance/bytedance-video-upscaler.json +119 -0
- package/dist/schemas/requests/models/bytedance/index.json +4758 -0
- package/dist/schemas/requests/models/creatify/creatify-aurora-v1-fast.json +199 -0
- package/dist/schemas/requests/models/creatify/creatify-aurora-v1.json +199 -0
- package/dist/schemas/requests/models/creatify/index.json +401 -0
- package/dist/schemas/requests/models/elevenlabs/elevenlabs-flash-v2-5.json +833 -0
- package/dist/schemas/requests/models/elevenlabs/elevenlabs-flash-v2.json +802 -0
- package/dist/schemas/requests/models/elevenlabs/elevenlabs-monolingual-v1.json +802 -0
- package/dist/schemas/requests/models/elevenlabs/elevenlabs-multilingual-v1.json +810 -0
- package/dist/schemas/requests/models/elevenlabs/elevenlabs-multilingual-v2.json +830 -0
- package/dist/schemas/requests/models/elevenlabs/elevenlabs-music-v1.json +877 -0
- package/dist/schemas/requests/models/elevenlabs/elevenlabs-turbo-v2-5.json +833 -0
- package/dist/schemas/requests/models/elevenlabs/elevenlabs-turbo-v2.json +802 -0
- package/dist/schemas/requests/models/elevenlabs/elevenlabs-v3.json +875 -0
- package/dist/schemas/requests/models/elevenlabs/index.json +7460 -0
- package/dist/schemas/requests/models/exactly/exactly-illustrative-training.json +112 -0
- package/dist/schemas/requests/models/exactly/exactly-photo-bright-pulse.json +553 -0
- package/dist/schemas/requests/models/exactly/exactly-photo-distant-reality.json +553 -0
- package/dist/schemas/requests/models/exactly/exactly-photo-extreme-contrast.json +553 -0
- package/dist/schemas/requests/models/exactly/exactly-photo-grain-film-look.json +553 -0
- package/dist/schemas/requests/models/exactly/exactly-photo-journey.json +553 -0
- package/dist/schemas/requests/models/exactly/exactly-photo-warm-light.json +553 -0
- package/dist/schemas/requests/models/exactly/index.json +3428 -0
- package/dist/schemas/requests/models/google/google-gemini-3-1-flash-lite.json +400 -0
- package/dist/schemas/requests/models/google/google-gemini-3-1-flash-tts.json +1384 -0
- package/dist/schemas/requests/models/google/google-gemini-3-1-pro.json +398 -0
- package/dist/schemas/requests/models/google/google-gemini-3-flash.json +400 -0
- package/dist/schemas/requests/models/google/google-imagen-3-fast.json +230 -0
- package/dist/schemas/requests/models/google/google-imagen-3.json +230 -0
- package/dist/schemas/requests/models/google/google-imagen-4-fast.json +230 -0
- package/dist/schemas/requests/models/google/google-imagen-4-preview.json +230 -0
- package/dist/schemas/requests/models/google/google-imagen-4-ultra.json +230 -0
- package/dist/schemas/requests/models/google/google-nano-banana-2.json +983 -0
- package/dist/schemas/requests/models/google/google-nano-banana-pro.json +703 -0
- package/dist/schemas/requests/models/google/google-nano-banana.json +373 -0
- package/dist/schemas/requests/models/google/google-veo-2.json +428 -0
- package/dist/schemas/requests/models/google/google-veo-3-1-fast.json +568 -0
- package/dist/schemas/requests/models/google/google-veo-3-1-lite.json +509 -0
- package/dist/schemas/requests/models/google/google-veo-3-1.json +783 -0
- package/dist/schemas/requests/models/google/google-veo-3-fast.json +411 -0
- package/dist/schemas/requests/models/google/google-veo-3.json +454 -0
- package/dist/schemas/requests/models/google/index.json +8876 -0
- package/dist/schemas/requests/models/heygen/heygen-avatar-iv.json +3066 -0
- package/dist/schemas/requests/models/heygen/heygen-video-agent.json +1522 -0
- package/dist/schemas/requests/models/heygen/index.json +4591 -0
- package/dist/schemas/requests/models/hyper3d/hyper3d-rodin-gen-2.json +355 -0
- package/dist/schemas/requests/models/hyper3d/index.json +359 -0
- package/dist/schemas/requests/models/ideogram/ideogram-1-0-remix.json +473 -0
- package/dist/schemas/requests/models/ideogram/ideogram-1-0.json +427 -0
- package/dist/schemas/requests/models/ideogram/ideogram-2-0-edit.json +322 -0
- package/dist/schemas/requests/models/ideogram/ideogram-2-0-reframe.json +1138 -0
- package/dist/schemas/requests/models/ideogram/ideogram-2-0-remix.json +1219 -0
- package/dist/schemas/requests/models/ideogram/ideogram-2-0.json +1173 -0
- package/dist/schemas/requests/models/ideogram/ideogram-2a-remix.json +1148 -0
- package/dist/schemas/requests/models/ideogram/ideogram-2a.json +1102 -0
- package/dist/schemas/requests/models/ideogram/ideogram-3-0-edit.json +538 -0
- package/dist/schemas/requests/models/ideogram/ideogram-3-0-reframe.json +1204 -0
- package/dist/schemas/requests/models/ideogram/ideogram-3-0-remix.json +1325 -0
- package/dist/schemas/requests/models/ideogram/ideogram-3-0-replace-background.json +427 -0
- package/dist/schemas/requests/models/ideogram/ideogram-3-0.json +1225 -0
- package/dist/schemas/requests/models/ideogram/index.json +11713 -0
- package/dist/schemas/requests/models/imagineart/imagineart-1-5-pro.json +283 -0
- package/dist/schemas/requests/models/imagineart/imagineart-1-5.json +272 -0
- package/dist/schemas/requests/models/imagineart/imagineart-2-0.json +486 -0
- package/dist/schemas/requests/models/imagineart/index.json +1043 -0
- package/dist/schemas/requests/models/inworld/index.json +3062 -0
- package/dist/schemas/requests/models/inworld/inworld-tts-1-5-max.json +807 -0
- package/dist/schemas/requests/models/inworld/inworld-tts-1-5-mini.json +807 -0
- package/dist/schemas/requests/models/inworld/inworld-tts-2.json +1446 -0
- package/dist/schemas/requests/models/klingai/index.json +11714 -0
- package/dist/schemas/requests/models/klingai/klingai-1-0-pro.json +319 -0
- package/dist/schemas/requests/models/klingai/klingai-1-0-standard.json +319 -0
- package/dist/schemas/requests/models/klingai/klingai-1-5-pro.json +308 -0
- package/dist/schemas/requests/models/klingai/klingai-1-5-standard.json +296 -0
- package/dist/schemas/requests/models/klingai/klingai-1-6-pro.json +304 -0
- package/dist/schemas/requests/models/klingai/klingai-1-6-standard.json +311 -0
- package/dist/schemas/requests/models/klingai/klingai-2-0-master.json +319 -0
- package/dist/schemas/requests/models/klingai/klingai-2-1-master.json +311 -0
- package/dist/schemas/requests/models/klingai/klingai-2-1-pro.json +320 -0
- package/dist/schemas/requests/models/klingai/klingai-2-1-standard.json +300 -0
- package/dist/schemas/requests/models/klingai/klingai-2-5-turbo-pro.json +319 -0
- package/dist/schemas/requests/models/klingai/klingai-2-5-turbo-standard.json +251 -0
- package/dist/schemas/requests/models/klingai/klingai-avatar-2-0-pro.json +189 -0
- package/dist/schemas/requests/models/klingai/klingai-avatar-2-0-standard.json +189 -0
- package/dist/schemas/requests/models/klingai/klingai-image-3-0.json +443 -0
- package/dist/schemas/requests/models/klingai/klingai-image-o1.json +444 -0
- package/dist/schemas/requests/models/klingai/klingai-image-o3.json +473 -0
- package/dist/schemas/requests/models/klingai/klingai-lip-sync.json +210 -0
- package/dist/schemas/requests/models/klingai/klingai-video-2-6-pro.json +493 -0
- package/dist/schemas/requests/models/klingai/klingai-video-2-6-standard.json +326 -0
- package/dist/schemas/requests/models/klingai/klingai-video-3-0-4k.json +551 -0
- package/dist/schemas/requests/models/klingai/klingai-video-3-0-pro.json +765 -0
- package/dist/schemas/requests/models/klingai/klingai-video-3-0-standard.json +765 -0
- package/dist/schemas/requests/models/klingai/klingai-video-o1-pro.json +534 -0
- package/dist/schemas/requests/models/klingai/klingai-video-o1-standard.json +528 -0
- package/dist/schemas/requests/models/klingai/klingai-video-o3-4k.json +512 -0
- package/dist/schemas/requests/models/klingai/klingai-video-o3-pro.json +819 -0
- package/dist/schemas/requests/models/klingai/klingai-video-o3-standard.json +819 -0
- package/dist/schemas/requests/models/lightricks/index.json +2356 -0
- package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-3-fast.json +438 -0
- package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-3.json +517 -0
- package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-fast.json +328 -0
- package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-pro.json +482 -0
- package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-retake.json +289 -0
- package/dist/schemas/requests/models/lightricks/lightricks-ltx-2.json +303 -0
- package/dist/schemas/requests/models/luma/index.json +1049 -0
- package/dist/schemas/requests/models/luma/luma-uni-1-max.json +523 -0
- package/dist/schemas/requests/models/luma/luma-uni-1.json +523 -0
- package/dist/schemas/requests/models/memories/index.json +241 -0
- package/dist/schemas/requests/models/memories/memories-video-age-detection.json +119 -0
- package/dist/schemas/requests/models/memories/memories-video-captioning.json +119 -0
- package/dist/schemas/requests/models/meshy/index.json +583 -0
- package/dist/schemas/requests/models/meshy/meshy-6.json +579 -0
- package/dist/schemas/requests/models/meta/index.json +298 -0
- package/dist/schemas/requests/models/meta/meta-llava-1-6-mistral-7b.json +136 -0
- package/dist/schemas/requests/models/meta/meta-sam-3d-objects.json +159 -0
- package/dist/schemas/requests/models/microsoft/index.json +326 -0
- package/dist/schemas/requests/models/microsoft/microsoft-trellis-2.json +322 -0
- package/dist/schemas/requests/models/minimax/index.json +5629 -0
- package/dist/schemas/requests/models/minimax/minimax-01-director.json +296 -0
- package/dist/schemas/requests/models/minimax/minimax-01-live.json +296 -0
- package/dist/schemas/requests/models/minimax/minimax-01.json +322 -0
- package/dist/schemas/requests/models/minimax/minimax-hailuo-02.json +345 -0
- package/dist/schemas/requests/models/minimax/minimax-hailuo-2-3-fast.json +383 -0
- package/dist/schemas/requests/models/minimax/minimax-hailuo-2-3.json +362 -0
- package/dist/schemas/requests/models/minimax/minimax-m2-5.json +349 -0
- package/dist/schemas/requests/models/minimax/minimax-m2-7-highspeed.json +291 -0
- package/dist/schemas/requests/models/minimax/minimax-m2-7.json +291 -0
- package/dist/schemas/requests/models/minimax/minimax-music-2-6.json +858 -0
- package/dist/schemas/requests/models/minimax/minimax-music-cover.json +730 -0
- package/dist/schemas/requests/models/minimax/minimax-speech-2-8.json +1113 -0
- package/dist/schemas/requests/models/mirelo/index.json +813 -0
- package/dist/schemas/requests/models/mirelo/mirelo-sfx-1-5.json +809 -0
- package/dist/schemas/requests/models/moonshotai/index.json +415 -0
- package/dist/schemas/requests/models/moonshotai/moonshotai-kimi-k2-6.json +411 -0
- package/dist/schemas/requests/models/openai/index.json +4198 -0
- package/dist/schemas/requests/models/openai/openai-clip-vit-l-14.json +136 -0
- package/dist/schemas/requests/models/openai/openai-dalle-2.json +214 -0
- package/dist/schemas/requests/models/openai/openai-dalle-3.json +252 -0
- package/dist/schemas/requests/models/openai/openai-gpt-5-4-mini.json +331 -0
- package/dist/schemas/requests/models/openai/openai-gpt-5-4-nano.json +331 -0
- package/dist/schemas/requests/models/openai/openai-gpt-5-4-pro.json +331 -0
- package/dist/schemas/requests/models/openai/openai-gpt-5-4.json +331 -0
- package/dist/schemas/requests/models/openai/openai-gpt-5-5.json +318 -0
- package/dist/schemas/requests/models/openai/openai-gpt-image-1-5.json +318 -0
- package/dist/schemas/requests/models/openai/openai-gpt-image-1-mini.json +318 -0
- package/dist/schemas/requests/models/openai/openai-gpt-image-1.json +318 -0
- package/dist/schemas/requests/models/openai/openai-gpt-image-2.json +267 -0
- package/dist/schemas/requests/models/openai/openai-sora-2-pro.json +382 -0
- package/dist/schemas/requests/models/openai/openai-sora-2.json +360 -0
- package/dist/schemas/requests/models/picsart/index.json +125 -0
- package/dist/schemas/requests/models/picsart/picsart-image-vectorizer.json +121 -0
- package/dist/schemas/requests/models/pixverse/index.json +7029 -0
- package/dist/schemas/requests/models/pixverse/pixverse-lipsync.json +222 -0
- package/dist/schemas/requests/models/pixverse/pixverse-modify.json +253 -0
- package/dist/schemas/requests/models/pixverse/pixverse-v3-5.json +911 -0
- package/dist/schemas/requests/models/pixverse/pixverse-v4-5.json +1040 -0
- package/dist/schemas/requests/models/pixverse/pixverse-v4.json +1040 -0
- package/dist/schemas/requests/models/pixverse/pixverse-v5-5.json +732 -0
- package/dist/schemas/requests/models/pixverse/pixverse-v5-6.json +726 -0
- package/dist/schemas/requests/models/pixverse/pixverse-v5-fast.json +573 -0
- package/dist/schemas/requests/models/pixverse/pixverse-v5.json +711 -0
- package/dist/schemas/requests/models/pixverse/pixverse-v6.json +826 -0
- package/dist/schemas/requests/models/prunaai/index.json +1628 -0
- package/dist/schemas/requests/models/prunaai/prunaai-p-image-edit.json +347 -0
- package/dist/schemas/requests/models/prunaai/prunaai-p-image-upscale.json +158 -0
- package/dist/schemas/requests/models/prunaai/prunaai-p-image.json +175 -0
- package/dist/schemas/requests/models/prunaai/prunaai-p-video-avatar.json +393 -0
- package/dist/schemas/requests/models/prunaai/prunaai-p-video.json +555 -0
- package/dist/schemas/requests/models/recraft/index.json +1583 -0
- package/dist/schemas/requests/models/recraft/recraft-v4-pro-vector.json +335 -0
- package/dist/schemas/requests/models/recraft/recraft-v4-pro.json +396 -0
- package/dist/schemas/requests/models/recraft/recraft-v4-vector.json +335 -0
- package/dist/schemas/requests/models/recraft/recraft-v4.json +396 -0
- package/dist/schemas/requests/models/recraft/recraft-vectorize.json +121 -0
- package/dist/schemas/requests/models/rundiffusion/index.json +3849 -0
- package/dist/schemas/requests/models/rundiffusion/rundiffusion-juggernaut-base-flux.json +1103 -0
- package/dist/schemas/requests/models/rundiffusion/rundiffusion-juggernaut-lightning-flux.json +911 -0
- package/dist/schemas/requests/models/rundiffusion/rundiffusion-juggernaut-pro-flux.json +1103 -0
- package/dist/schemas/requests/models/rundiffusion/rundiffusion-juggernaut-z.json +731 -0
- package/dist/schemas/requests/models/runware/ace-step-v1-5-base.json +1005 -0
- package/dist/schemas/requests/models/runware/ace-step-v1-5-turbo.json +1005 -0
- package/dist/schemas/requests/models/runware/birefnet-dis.json +131 -0
- package/dist/schemas/requests/models/runware/birefnet-general-resolution-512x512-fp16.json +131 -0
- package/dist/schemas/requests/models/runware/birefnet-general.json +131 -0
- package/dist/schemas/requests/models/runware/birefnet-hrsod-dhu.json +131 -0
- package/dist/schemas/requests/models/runware/birefnet-massive-tr-dis5k-tr-tes.json +131 -0
- package/dist/schemas/requests/models/runware/birefnet-matting.json +131 -0
- package/dist/schemas/requests/models/runware/birefnet-portrait.json +131 -0
- package/dist/schemas/requests/models/runware/birefnet-v1-base-cod.json +131 -0
- package/dist/schemas/requests/models/runware/birefnet-v1-base.json +131 -0
- package/dist/schemas/requests/models/runware/bria-rmbg-v2-0-open.json +131 -0
- package/dist/schemas/requests/models/runware/ccsr.json +187 -0
- package/dist/schemas/requests/models/runware/clarity.json +277 -0
- package/dist/schemas/requests/models/runware/dia-1-6b.json +742 -0
- package/dist/schemas/requests/models/runware/dia2-2b.json +809 -0
- package/dist/schemas/requests/models/runware/flux-1-dev-srpo.json +1103 -0
- package/dist/schemas/requests/models/runware/flux-krea.json +1103 -0
- package/dist/schemas/requests/models/runware/hidream-i1-dev.json +448 -0
- package/dist/schemas/requests/models/runware/hidream-i1-fast.json +448 -0
- package/dist/schemas/requests/models/runware/hidream-i1-full.json +448 -0
- package/dist/schemas/requests/models/runware/index.json +11773 -0
- package/dist/schemas/requests/models/runware/kandinsky-5-0-image-lite.json +469 -0
- package/dist/schemas/requests/models/runware/kandinsky-5-0-lite.json +312 -0
- package/dist/schemas/requests/models/runware/llama-3-1-8b-prompt-enhancer.json +81 -0
- package/dist/schemas/requests/models/runware/object-eraser.json +221 -0
- package/dist/schemas/requests/models/runware/open-age-detection.json +131 -0
- package/dist/schemas/requests/models/runware/ovi.json +313 -0
- package/dist/schemas/requests/models/runware/qwen2-5-vl-7b-age-detector.json +131 -0
- package/dist/schemas/requests/models/runware/real-esrgan.json +140 -0
- package/dist/schemas/requests/models/runware/rembg-v1-4.json +199 -0
- package/dist/schemas/requests/models/runware/stable-diffusion-latent-upscaler.json +184 -0
- package/dist/schemas/requests/models/runware/swinir.json +140 -0
- package/dist/schemas/requests/models/runware/twinflow-z-image-turbo.json +465 -0
- package/dist/schemas/requests/models/runware/vit-age-classifier.json +131 -0
- package/dist/schemas/requests/models/runway/index.json +1983 -0
- package/dist/schemas/requests/models/runway/runway-aleph.json +359 -0
- package/dist/schemas/requests/models/runway/runway-gen-4-5.json +394 -0
- package/dist/schemas/requests/models/runway/runway-gen-4-image-turbo.json +428 -0
- package/dist/schemas/requests/models/runway/runway-gen-4-image.json +425 -0
- package/dist/schemas/requests/models/runway/runway-gen-4-turbo.json +377 -0
- package/dist/schemas/requests/models/skywork/index.json +811 -0
- package/dist/schemas/requests/models/skywork/skywork-skyreels-v4.json +807 -0
- package/dist/schemas/requests/models/sourceful/index.json +3421 -0
- package/dist/schemas/requests/models/sourceful/sourceful-riverflow-1-1-mini.json +331 -0
- package/dist/schemas/requests/models/sourceful/sourceful-riverflow-1-1-pro.json +331 -0
- package/dist/schemas/requests/models/sourceful/sourceful-riverflow-1-1.json +331 -0
- package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-0-fast.json +454 -0
- package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-0-pro.json +564 -0
- package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-preview-fast.json +471 -0
- package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-preview-max.json +471 -0
- package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-preview-standard.json +471 -0
- package/dist/schemas/requests/models/stabilityai/index.json +1832 -0
- package/dist/schemas/requests/models/stabilityai/stabilityai-stable-diffusion-3.json +843 -0
- package/dist/schemas/requests/models/stabilityai/stabilityai-stable-diffusion-xl-v1-0-vae-fix.json +986 -0
- package/dist/schemas/requests/models/sync/index.json +1506 -0
- package/dist/schemas/requests/models/sync/sync-3.json +534 -0
- package/dist/schemas/requests/models/sync/sync-lipsync-2-pro.json +334 -0
- package/dist/schemas/requests/models/sync/sync-lipsync-2.json +334 -0
- package/dist/schemas/requests/models/sync/sync-react-1.json +303 -0
- package/dist/schemas/requests/models/tencent/index.json +1075 -0
- package/dist/schemas/requests/models/tencent/tencent-hunyuan-3d-3-1-pro.json +236 -0
- package/dist/schemas/requests/models/tencent/tencent-hunyuan-3d-3-1-rapid.json +260 -0
- package/dist/schemas/requests/models/tencent/tencent-hunyuanimage-3-0.json +577 -0
- package/dist/schemas/requests/models/topazlabs/index.json +146 -0
- package/dist/schemas/requests/models/topazlabs/topazlabs-starlight-precise-2-5.json +142 -0
- package/dist/schemas/requests/models/tripo/index.json +481 -0
- package/dist/schemas/requests/models/tripo/tripo-v3-1.json +477 -0
- package/dist/schemas/requests/models/veed/index.json +286 -0
- package/dist/schemas/requests/models/veed/veed-fabric-1-0.json +282 -0
- package/dist/schemas/requests/models/vidu/index.json +4290 -0
- package/dist/schemas/requests/models/vidu/vidu-1-5.json +531 -0
- package/dist/schemas/requests/models/vidu/vidu-2-0.json +472 -0
- package/dist/schemas/requests/models/vidu/vidu-q1-classic.json +316 -0
- package/dist/schemas/requests/models/vidu/vidu-q1-image.json +244 -0
- package/dist/schemas/requests/models/vidu/vidu-q1.json +459 -0
- package/dist/schemas/requests/models/vidu/vidu-q2-pro.json +591 -0
- package/dist/schemas/requests/models/vidu/vidu-q2-turbo.json +591 -0
- package/dist/schemas/requests/models/vidu/vidu-q3-turbo.json +537 -0
- package/dist/schemas/requests/models/vidu/vidu-q3.json +553 -0
- package/dist/schemas/requests/models/xai/index.json +2950 -0
- package/dist/schemas/requests/models/xai/xai-grok-imagine-image-pro.json +563 -0
- package/dist/schemas/requests/models/xai/xai-grok-imagine-image-quality.json +563 -0
- package/dist/schemas/requests/models/xai/xai-grok-imagine-image.json +419 -0
- package/dist/schemas/requests/models/xai/xai-grok-imagine-video.json +670 -0
- package/dist/schemas/requests/models/xai/xai-tts.json +735 -0
- package/dist/schemas/requests/models/zai/index.json +794 -0
- package/dist/schemas/requests/models/zai/zai-glm-4-7.json +231 -0
- package/dist/schemas/requests/models/zai/zai-glm-5-1.json +326 -0
- package/dist/schemas/requests/models/zai/zai-glm-image.json +235 -0
- package/dist/schemas/requests/types/3d.json +97 -0
- package/dist/schemas/requests/types/audio.json +676 -0
- package/dist/schemas/requests/types/caption-image.json +132 -0
- package/dist/schemas/requests/types/caption-video.json +120 -0
- package/dist/schemas/requests/types/caption.json +63 -0
- package/dist/schemas/requests/types/image.json +152 -0
- package/dist/schemas/requests/types/prompt-enhance.json +82 -0
- package/dist/schemas/requests/types/remove-background-image.json +132 -0
- package/dist/schemas/requests/types/remove-background-video.json +120 -0
- package/dist/schemas/requests/types/remove-background.json +63 -0
- package/dist/schemas/requests/types/text.json +126 -0
- package/dist/schemas/requests/types/training.json +43 -0
- package/dist/schemas/requests/types/upscale-image.json +132 -0
- package/dist/schemas/requests/types/upscale-video.json +120 -0
- package/dist/schemas/requests/types/upscale.json +63 -0
- package/dist/schemas/requests/types/vectorize.json +91 -0
- package/dist/schemas/requests/types/video.json +151 -0
- package/dist/schemas/requests/utilities/account-management.json +33 -0
- package/dist/schemas/requests/utilities/authentication.json +29 -0
- package/dist/schemas/requests/utilities/get-response.json +24 -0
- package/dist/schemas/requests/utilities/get-task-details.json +24 -0
- package/dist/schemas/requests/utilities/image-upload.json +39 -0
- package/dist/schemas/requests/utilities/model-search.json +357 -0
- package/dist/schemas/requests/utilities/model-upload.json +407 -0
- package/dist/schemas/requests/utilities/ping.json +21 -0
- package/dist/schemas/responses/errors/error.json +49 -0
- package/dist/schemas/responses/utilities/account-management.json +262 -0
- package/dist/schemas/responses/utilities/authentication.json +23 -0
- package/dist/schemas/responses/utilities/get-response.json +59 -0
- package/dist/schemas/responses/utilities/get-task-details.json +41 -0
- package/dist/schemas/responses/utilities/image-upload.json +29 -0
- package/dist/schemas/responses/utilities/model-search.json +111 -0
- package/dist/schemas/responses/utilities/model-upload.json +48 -0
- package/dist/schemas/responses/utilities/ping.json +15 -0
- package/package.json +16 -0
|
@@ -0,0 +1,1628 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
3
|
+
"oneOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"model": {
|
|
8
|
+
"title": "Model",
|
|
9
|
+
"description": "Identifier of the model to use for generation.",
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "prunaai:2@1"
|
|
12
|
+
},
|
|
13
|
+
"inputs": {
|
|
14
|
+
"title": "Inputs",
|
|
15
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"referenceImages": {
|
|
19
|
+
"title": "Reference Images",
|
|
20
|
+
"description": "List of reference images (UUID, URL, Data URI, or Base64).",
|
|
21
|
+
"type": "array",
|
|
22
|
+
"minItems": 1,
|
|
23
|
+
"items": {
|
|
24
|
+
"title": "Image",
|
|
25
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
26
|
+
"type": "string",
|
|
27
|
+
"anyOf": [
|
|
28
|
+
{
|
|
29
|
+
"format": "uuid"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"format": "uri"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"maxItems": 4
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"additionalProperties": false
|
|
46
|
+
},
|
|
47
|
+
"positivePrompt": {
|
|
48
|
+
"title": "Positive Prompt",
|
|
49
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
50
|
+
"type": "string",
|
|
51
|
+
"minLength": 1,
|
|
52
|
+
"maxLength": 2000
|
|
53
|
+
},
|
|
54
|
+
"width": {
|
|
55
|
+
"title": "Width",
|
|
56
|
+
"description": "Width of the generated media in pixels.",
|
|
57
|
+
"type": "integer"
|
|
58
|
+
},
|
|
59
|
+
"height": {
|
|
60
|
+
"title": "Height",
|
|
61
|
+
"description": "Height of the generated media in pixels.",
|
|
62
|
+
"type": "integer"
|
|
63
|
+
},
|
|
64
|
+
"providerSettings": {
|
|
65
|
+
"title": "Provider Settings",
|
|
66
|
+
"description": "Provider-specific configuration settings.",
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"prunaai": {
|
|
70
|
+
"title": "PrunaAI Settings",
|
|
71
|
+
"description": "Provider-specific settings for PrunaAI.",
|
|
72
|
+
"type": "object",
|
|
73
|
+
"properties": {
|
|
74
|
+
"turbo": {
|
|
75
|
+
"title": "Turbo",
|
|
76
|
+
"description": "Enable turbo mode for faster generation. May reduce subtle details in complex tasks.",
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"default": false
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"additionalProperties": false
|
|
85
|
+
},
|
|
86
|
+
"taskType": {
|
|
87
|
+
"title": "Task Type",
|
|
88
|
+
"description": "Identifier for the type of task being performed",
|
|
89
|
+
"type": "string",
|
|
90
|
+
"const": "imageInference"
|
|
91
|
+
},
|
|
92
|
+
"taskUUID": {
|
|
93
|
+
"title": "Task UUID",
|
|
94
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
95
|
+
"type": "string",
|
|
96
|
+
"format": "uuid"
|
|
97
|
+
},
|
|
98
|
+
"webhookURL": {
|
|
99
|
+
"title": "Webhook URL",
|
|
100
|
+
"description": "Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"format": "uri"
|
|
103
|
+
},
|
|
104
|
+
"includeCost": {
|
|
105
|
+
"title": "Include Cost",
|
|
106
|
+
"description": "Include task cost in the response.",
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"default": false
|
|
109
|
+
},
|
|
110
|
+
"numberResults": {
|
|
111
|
+
"title": "Number of Results",
|
|
112
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
113
|
+
"type": "integer",
|
|
114
|
+
"minimum": 1,
|
|
115
|
+
"default": 1,
|
|
116
|
+
"maximum": 20
|
|
117
|
+
},
|
|
118
|
+
"uploadEndpoint": {
|
|
119
|
+
"title": "Upload Endpoint",
|
|
120
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
121
|
+
"type": "string",
|
|
122
|
+
"format": "uri"
|
|
123
|
+
},
|
|
124
|
+
"ttl": {
|
|
125
|
+
"title": "TTL",
|
|
126
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
127
|
+
"type": "integer",
|
|
128
|
+
"minimum": 60
|
|
129
|
+
},
|
|
130
|
+
"outputType": {
|
|
131
|
+
"title": "Output Type",
|
|
132
|
+
"description": "Image output type.",
|
|
133
|
+
"type": "string",
|
|
134
|
+
"enum": [
|
|
135
|
+
"URL",
|
|
136
|
+
"base64Data",
|
|
137
|
+
"dataURI"
|
|
138
|
+
],
|
|
139
|
+
"default": "URL"
|
|
140
|
+
},
|
|
141
|
+
"outputFormat": {
|
|
142
|
+
"title": "Output Format",
|
|
143
|
+
"description": "File format for the generated image.",
|
|
144
|
+
"type": "string",
|
|
145
|
+
"enum": [
|
|
146
|
+
"JPG",
|
|
147
|
+
"PNG",
|
|
148
|
+
"WEBP"
|
|
149
|
+
],
|
|
150
|
+
"default": "JPG"
|
|
151
|
+
},
|
|
152
|
+
"outputQuality": {
|
|
153
|
+
"title": "Output Quality",
|
|
154
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
155
|
+
"type": "integer",
|
|
156
|
+
"minimum": 20,
|
|
157
|
+
"maximum": 99,
|
|
158
|
+
"default": 95
|
|
159
|
+
},
|
|
160
|
+
"deliveryMethod": {
|
|
161
|
+
"title": "Delivery Method",
|
|
162
|
+
"description": "Determines how the API delivers task results.",
|
|
163
|
+
"type": "string",
|
|
164
|
+
"oneOf": [
|
|
165
|
+
{
|
|
166
|
+
"const": "sync",
|
|
167
|
+
"description": "Returns complete results directly in the API response."
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"const": "async",
|
|
171
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"default": "sync"
|
|
175
|
+
},
|
|
176
|
+
"safety": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"title": "Safety Settings",
|
|
179
|
+
"description": "Content safety checking configuration for image generation.",
|
|
180
|
+
"properties": {
|
|
181
|
+
"checkContent": {
|
|
182
|
+
"title": "Check Content",
|
|
183
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
184
|
+
"type": "boolean",
|
|
185
|
+
"default": false
|
|
186
|
+
},
|
|
187
|
+
"mode": {
|
|
188
|
+
"description": "Safety checking mode for image generation.",
|
|
189
|
+
"type": "string",
|
|
190
|
+
"oneOf": [
|
|
191
|
+
{
|
|
192
|
+
"const": "none",
|
|
193
|
+
"title": "None",
|
|
194
|
+
"description": "Disables checking."
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"const": "fast",
|
|
198
|
+
"title": "Fast",
|
|
199
|
+
"description": "Performs a single check."
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"default": "none"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"additionalProperties": false
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"required": [
|
|
209
|
+
"positivePrompt",
|
|
210
|
+
"taskType",
|
|
211
|
+
"taskUUID",
|
|
212
|
+
"model"
|
|
213
|
+
],
|
|
214
|
+
"allOf": [
|
|
215
|
+
{
|
|
216
|
+
"dependentRequired": {
|
|
217
|
+
"width": [
|
|
218
|
+
"height"
|
|
219
|
+
],
|
|
220
|
+
"height": [
|
|
221
|
+
"width"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"oneOf": [
|
|
227
|
+
{
|
|
228
|
+
"title": "1K (1:1)",
|
|
229
|
+
"properties": {
|
|
230
|
+
"width": {
|
|
231
|
+
"const": 1024
|
|
232
|
+
},
|
|
233
|
+
"height": {
|
|
234
|
+
"const": 1024
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"title": "1K (4:3)",
|
|
240
|
+
"properties": {
|
|
241
|
+
"width": {
|
|
242
|
+
"const": 1184
|
|
243
|
+
},
|
|
244
|
+
"height": {
|
|
245
|
+
"const": 896
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"title": "1K (3:4)",
|
|
251
|
+
"properties": {
|
|
252
|
+
"width": {
|
|
253
|
+
"const": 896
|
|
254
|
+
},
|
|
255
|
+
"height": {
|
|
256
|
+
"const": 1184
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"title": "1K (16:9)",
|
|
262
|
+
"properties": {
|
|
263
|
+
"width": {
|
|
264
|
+
"const": 1376
|
|
265
|
+
},
|
|
266
|
+
"height": {
|
|
267
|
+
"const": 768
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"title": "1K (9:16)",
|
|
273
|
+
"properties": {
|
|
274
|
+
"width": {
|
|
275
|
+
"const": 768
|
|
276
|
+
},
|
|
277
|
+
"height": {
|
|
278
|
+
"const": 1376
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"title": "1K (3:2)",
|
|
284
|
+
"properties": {
|
|
285
|
+
"width": {
|
|
286
|
+
"const": 1248
|
|
287
|
+
},
|
|
288
|
+
"height": {
|
|
289
|
+
"const": 832
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"title": "1K (2:3)",
|
|
295
|
+
"properties": {
|
|
296
|
+
"width": {
|
|
297
|
+
"const": 832
|
|
298
|
+
},
|
|
299
|
+
"height": {
|
|
300
|
+
"const": 1248
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"if": {
|
|
308
|
+
"properties": {
|
|
309
|
+
"inputs": {
|
|
310
|
+
"properties": {
|
|
311
|
+
"referenceImages": {
|
|
312
|
+
"minItems": 1
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"required": [
|
|
316
|
+
"referenceImages"
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"required": [
|
|
321
|
+
"inputs"
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
"then": {
|
|
325
|
+
"not": {
|
|
326
|
+
"anyOf": [
|
|
327
|
+
{
|
|
328
|
+
"required": [
|
|
329
|
+
"width"
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"required": [
|
|
334
|
+
"height"
|
|
335
|
+
]
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"else": {
|
|
341
|
+
"required": [
|
|
342
|
+
"width",
|
|
343
|
+
"height"
|
|
344
|
+
]
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"additionalProperties": false
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"type": "object",
|
|
352
|
+
"properties": {
|
|
353
|
+
"model": {
|
|
354
|
+
"title": "Model",
|
|
355
|
+
"description": "Identifier of the model to use for generation.",
|
|
356
|
+
"type": "string",
|
|
357
|
+
"const": "prunaai:1@1"
|
|
358
|
+
},
|
|
359
|
+
"positivePrompt": {
|
|
360
|
+
"title": "Positive Prompt",
|
|
361
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
362
|
+
"type": "string",
|
|
363
|
+
"minLength": 1,
|
|
364
|
+
"maxLength": 2000
|
|
365
|
+
},
|
|
366
|
+
"width": {
|
|
367
|
+
"title": "Width",
|
|
368
|
+
"description": "Width of the generated media in pixels.",
|
|
369
|
+
"type": "integer",
|
|
370
|
+
"minimum": 512,
|
|
371
|
+
"maximum": 2048,
|
|
372
|
+
"multipleOf": 16
|
|
373
|
+
},
|
|
374
|
+
"height": {
|
|
375
|
+
"title": "Height",
|
|
376
|
+
"description": "Height of the generated media in pixels.",
|
|
377
|
+
"type": "integer",
|
|
378
|
+
"minimum": 512,
|
|
379
|
+
"maximum": 2048,
|
|
380
|
+
"multipleOf": 16
|
|
381
|
+
},
|
|
382
|
+
"taskType": {
|
|
383
|
+
"title": "Task Type",
|
|
384
|
+
"description": "Identifier for the type of task being performed",
|
|
385
|
+
"type": "string",
|
|
386
|
+
"const": "imageInference"
|
|
387
|
+
},
|
|
388
|
+
"taskUUID": {
|
|
389
|
+
"title": "Task UUID",
|
|
390
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
391
|
+
"type": "string",
|
|
392
|
+
"format": "uuid"
|
|
393
|
+
},
|
|
394
|
+
"webhookURL": {
|
|
395
|
+
"title": "Webhook URL",
|
|
396
|
+
"description": "Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.",
|
|
397
|
+
"type": "string",
|
|
398
|
+
"format": "uri"
|
|
399
|
+
},
|
|
400
|
+
"includeCost": {
|
|
401
|
+
"title": "Include Cost",
|
|
402
|
+
"description": "Include task cost in the response.",
|
|
403
|
+
"type": "boolean",
|
|
404
|
+
"default": false
|
|
405
|
+
},
|
|
406
|
+
"numberResults": {
|
|
407
|
+
"title": "Number of Results",
|
|
408
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
409
|
+
"type": "integer",
|
|
410
|
+
"minimum": 1,
|
|
411
|
+
"default": 1,
|
|
412
|
+
"maximum": 20
|
|
413
|
+
},
|
|
414
|
+
"uploadEndpoint": {
|
|
415
|
+
"title": "Upload Endpoint",
|
|
416
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
417
|
+
"type": "string",
|
|
418
|
+
"format": "uri"
|
|
419
|
+
},
|
|
420
|
+
"ttl": {
|
|
421
|
+
"title": "TTL",
|
|
422
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
423
|
+
"type": "integer",
|
|
424
|
+
"minimum": 60
|
|
425
|
+
},
|
|
426
|
+
"outputType": {
|
|
427
|
+
"title": "Output Type",
|
|
428
|
+
"description": "Image output type.",
|
|
429
|
+
"type": "string",
|
|
430
|
+
"enum": [
|
|
431
|
+
"URL",
|
|
432
|
+
"base64Data",
|
|
433
|
+
"dataURI"
|
|
434
|
+
],
|
|
435
|
+
"default": "URL"
|
|
436
|
+
},
|
|
437
|
+
"outputFormat": {
|
|
438
|
+
"title": "Output Format",
|
|
439
|
+
"description": "File format for the generated image.",
|
|
440
|
+
"type": "string",
|
|
441
|
+
"enum": [
|
|
442
|
+
"JPG",
|
|
443
|
+
"PNG",
|
|
444
|
+
"WEBP"
|
|
445
|
+
],
|
|
446
|
+
"default": "JPG"
|
|
447
|
+
},
|
|
448
|
+
"outputQuality": {
|
|
449
|
+
"title": "Output Quality",
|
|
450
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
451
|
+
"type": "integer",
|
|
452
|
+
"minimum": 20,
|
|
453
|
+
"maximum": 99,
|
|
454
|
+
"default": 95
|
|
455
|
+
},
|
|
456
|
+
"deliveryMethod": {
|
|
457
|
+
"title": "Delivery Method",
|
|
458
|
+
"description": "Determines how the API delivers task results.",
|
|
459
|
+
"type": "string",
|
|
460
|
+
"oneOf": [
|
|
461
|
+
{
|
|
462
|
+
"const": "sync",
|
|
463
|
+
"description": "Returns complete results directly in the API response."
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"const": "async",
|
|
467
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
"default": "sync"
|
|
471
|
+
},
|
|
472
|
+
"safety": {
|
|
473
|
+
"type": "object",
|
|
474
|
+
"title": "Safety Settings",
|
|
475
|
+
"description": "Content safety checking configuration for image generation.",
|
|
476
|
+
"properties": {
|
|
477
|
+
"checkContent": {
|
|
478
|
+
"title": "Check Content",
|
|
479
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
480
|
+
"type": "boolean",
|
|
481
|
+
"default": false
|
|
482
|
+
},
|
|
483
|
+
"mode": {
|
|
484
|
+
"description": "Safety checking mode for image generation.",
|
|
485
|
+
"type": "string",
|
|
486
|
+
"oneOf": [
|
|
487
|
+
{
|
|
488
|
+
"const": "none",
|
|
489
|
+
"title": "None",
|
|
490
|
+
"description": "Disables checking."
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"const": "fast",
|
|
494
|
+
"title": "Fast",
|
|
495
|
+
"description": "Performs a single check."
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
"default": "none"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"additionalProperties": false
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"required": [
|
|
505
|
+
"positivePrompt",
|
|
506
|
+
"taskType",
|
|
507
|
+
"taskUUID",
|
|
508
|
+
"model"
|
|
509
|
+
],
|
|
510
|
+
"allOf": [
|
|
511
|
+
{
|
|
512
|
+
"dependentRequired": {
|
|
513
|
+
"width": [
|
|
514
|
+
"height"
|
|
515
|
+
],
|
|
516
|
+
"height": [
|
|
517
|
+
"width"
|
|
518
|
+
]
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
"additionalProperties": false
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"type": "object",
|
|
526
|
+
"properties": {
|
|
527
|
+
"model": {
|
|
528
|
+
"title": "Model",
|
|
529
|
+
"description": "Identifier of the model to use for generation.",
|
|
530
|
+
"type": "string",
|
|
531
|
+
"const": "prunaai:p-image@upscale"
|
|
532
|
+
},
|
|
533
|
+
"settings": {
|
|
534
|
+
"title": "Settings",
|
|
535
|
+
"description": "Global inference settings.",
|
|
536
|
+
"type": "object",
|
|
537
|
+
"properties": {
|
|
538
|
+
"enhanceDetails": {
|
|
539
|
+
"type": "boolean",
|
|
540
|
+
"title": "Enhance Details",
|
|
541
|
+
"description": "Enhances fine textures and small details. May increase contrast and introduce minor deviations from the original.",
|
|
542
|
+
"default": false
|
|
543
|
+
},
|
|
544
|
+
"realism": {
|
|
545
|
+
"type": "boolean",
|
|
546
|
+
"title": "Realism",
|
|
547
|
+
"description": "Improves realism in the upscaled image. May deviate more from the original. Recommended for AI-generated images.",
|
|
548
|
+
"default": false
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
"additionalProperties": false
|
|
552
|
+
},
|
|
553
|
+
"targetMegapixels": {
|
|
554
|
+
"type": "integer",
|
|
555
|
+
"title": "Target Megapixels",
|
|
556
|
+
"description": "Target resolution in megapixels. Output is capped at 8 MP.",
|
|
557
|
+
"minimum": 1,
|
|
558
|
+
"maximum": 8
|
|
559
|
+
},
|
|
560
|
+
"taskType": {
|
|
561
|
+
"title": "Task Type",
|
|
562
|
+
"description": "Identifier for the type of task being performed",
|
|
563
|
+
"type": "string",
|
|
564
|
+
"const": "upscale"
|
|
565
|
+
},
|
|
566
|
+
"taskUUID": {
|
|
567
|
+
"title": "Task UUID",
|
|
568
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
569
|
+
"type": "string",
|
|
570
|
+
"format": "uuid"
|
|
571
|
+
},
|
|
572
|
+
"webhookURL": {
|
|
573
|
+
"title": "Webhook URL",
|
|
574
|
+
"description": "Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.",
|
|
575
|
+
"type": "string",
|
|
576
|
+
"format": "uri"
|
|
577
|
+
},
|
|
578
|
+
"includeCost": {
|
|
579
|
+
"title": "Include Cost",
|
|
580
|
+
"description": "Include task cost in the response.",
|
|
581
|
+
"type": "boolean",
|
|
582
|
+
"default": false
|
|
583
|
+
},
|
|
584
|
+
"uploadEndpoint": {
|
|
585
|
+
"title": "Upload Endpoint",
|
|
586
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
587
|
+
"type": "string",
|
|
588
|
+
"format": "uri"
|
|
589
|
+
},
|
|
590
|
+
"ttl": {
|
|
591
|
+
"title": "TTL",
|
|
592
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
593
|
+
"type": "integer",
|
|
594
|
+
"minimum": 60
|
|
595
|
+
},
|
|
596
|
+
"outputQuality": {
|
|
597
|
+
"title": "Output Quality",
|
|
598
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
599
|
+
"type": "integer",
|
|
600
|
+
"minimum": 20,
|
|
601
|
+
"maximum": 99,
|
|
602
|
+
"default": 95
|
|
603
|
+
},
|
|
604
|
+
"outputType": {
|
|
605
|
+
"title": "Output Type",
|
|
606
|
+
"description": "Image output type.",
|
|
607
|
+
"type": "string",
|
|
608
|
+
"enum": [
|
|
609
|
+
"URL",
|
|
610
|
+
"base64Data",
|
|
611
|
+
"dataURI"
|
|
612
|
+
],
|
|
613
|
+
"default": "URL"
|
|
614
|
+
},
|
|
615
|
+
"outputFormat": {
|
|
616
|
+
"title": "Output Format",
|
|
617
|
+
"description": "File format for the generated image.",
|
|
618
|
+
"type": "string",
|
|
619
|
+
"enum": [
|
|
620
|
+
"JPG",
|
|
621
|
+
"PNG",
|
|
622
|
+
"WEBP"
|
|
623
|
+
],
|
|
624
|
+
"default": "JPG"
|
|
625
|
+
},
|
|
626
|
+
"deliveryMethod": {
|
|
627
|
+
"title": "Delivery Method",
|
|
628
|
+
"description": "Determines how the API delivers task results.",
|
|
629
|
+
"type": "string",
|
|
630
|
+
"oneOf": [
|
|
631
|
+
{
|
|
632
|
+
"const": "sync",
|
|
633
|
+
"description": "Returns complete results directly in the API response."
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"const": "async",
|
|
637
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
638
|
+
}
|
|
639
|
+
],
|
|
640
|
+
"default": "sync"
|
|
641
|
+
},
|
|
642
|
+
"inputs": {
|
|
643
|
+
"title": "Inputs",
|
|
644
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
645
|
+
"type": "object",
|
|
646
|
+
"properties": {
|
|
647
|
+
"image": {
|
|
648
|
+
"title": "Image",
|
|
649
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
650
|
+
"type": "string",
|
|
651
|
+
"anyOf": [
|
|
652
|
+
{
|
|
653
|
+
"format": "uuid"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"format": "uri"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
663
|
+
}
|
|
664
|
+
]
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"required": [
|
|
668
|
+
"image"
|
|
669
|
+
],
|
|
670
|
+
"additionalProperties": false
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"additionalProperties": false,
|
|
674
|
+
"required": [
|
|
675
|
+
"taskType",
|
|
676
|
+
"taskUUID",
|
|
677
|
+
"model",
|
|
678
|
+
"inputs"
|
|
679
|
+
]
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"type": "object",
|
|
683
|
+
"properties": {
|
|
684
|
+
"model": {
|
|
685
|
+
"title": "Model",
|
|
686
|
+
"description": "Identifier of the model to use for generation.",
|
|
687
|
+
"type": "string",
|
|
688
|
+
"const": "prunaai:p-video@0"
|
|
689
|
+
},
|
|
690
|
+
"inputs": {
|
|
691
|
+
"title": "Inputs",
|
|
692
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
693
|
+
"type": "object",
|
|
694
|
+
"properties": {
|
|
695
|
+
"frameImages": {
|
|
696
|
+
"title": "Frame Images",
|
|
697
|
+
"description": "List of frame-specific image inputs. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object with an image and a target frame position.",
|
|
698
|
+
"type": "array",
|
|
699
|
+
"minItems": 1,
|
|
700
|
+
"items": {
|
|
701
|
+
"anyOf": [
|
|
702
|
+
{
|
|
703
|
+
"title": "Image",
|
|
704
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
705
|
+
"type": "string",
|
|
706
|
+
"anyOf": [
|
|
707
|
+
{
|
|
708
|
+
"format": "uuid"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"format": "uri"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
718
|
+
}
|
|
719
|
+
]
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"type": "object",
|
|
723
|
+
"properties": {
|
|
724
|
+
"image": {
|
|
725
|
+
"title": "Image",
|
|
726
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
727
|
+
"type": "string",
|
|
728
|
+
"anyOf": [
|
|
729
|
+
{
|
|
730
|
+
"format": "uuid"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"format": "uri"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
740
|
+
}
|
|
741
|
+
]
|
|
742
|
+
},
|
|
743
|
+
"frame": {
|
|
744
|
+
"title": "Frame",
|
|
745
|
+
"description": "Target frame position for the image. This model only supports the first frame.",
|
|
746
|
+
"oneOf": [
|
|
747
|
+
{
|
|
748
|
+
"const": "first",
|
|
749
|
+
"description": "First frame of the video."
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"const": 0,
|
|
753
|
+
"description": "Frame index 0 (first frame)."
|
|
754
|
+
}
|
|
755
|
+
]
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"required": [
|
|
759
|
+
"image"
|
|
760
|
+
],
|
|
761
|
+
"additionalProperties": false
|
|
762
|
+
}
|
|
763
|
+
]
|
|
764
|
+
},
|
|
765
|
+
"maxItems": 1
|
|
766
|
+
},
|
|
767
|
+
"audio": {
|
|
768
|
+
"title": "Audio",
|
|
769
|
+
"description": "Audio input (UUID or URL).",
|
|
770
|
+
"type": "string",
|
|
771
|
+
"anyOf": [
|
|
772
|
+
{
|
|
773
|
+
"format": "uuid"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"format": "uri"
|
|
777
|
+
}
|
|
778
|
+
]
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
"additionalProperties": false
|
|
782
|
+
},
|
|
783
|
+
"positivePrompt": {
|
|
784
|
+
"title": "Positive Prompt",
|
|
785
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
786
|
+
"type": "string",
|
|
787
|
+
"minLength": 1,
|
|
788
|
+
"maxLength": 2000
|
|
789
|
+
},
|
|
790
|
+
"width": {
|
|
791
|
+
"title": "Width",
|
|
792
|
+
"description": "Width of the generated media in pixels.",
|
|
793
|
+
"type": "integer"
|
|
794
|
+
},
|
|
795
|
+
"height": {
|
|
796
|
+
"title": "Height",
|
|
797
|
+
"description": "Height of the generated media in pixels.",
|
|
798
|
+
"type": "integer"
|
|
799
|
+
},
|
|
800
|
+
"resolution": {
|
|
801
|
+
"title": "Resolution",
|
|
802
|
+
"description": "Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.",
|
|
803
|
+
"type": "string",
|
|
804
|
+
"enum": [
|
|
805
|
+
"720p",
|
|
806
|
+
"1080p"
|
|
807
|
+
]
|
|
808
|
+
},
|
|
809
|
+
"duration": {
|
|
810
|
+
"title": "Duration",
|
|
811
|
+
"description": "Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).",
|
|
812
|
+
"type": "integer",
|
|
813
|
+
"default": 5,
|
|
814
|
+
"minimum": 1,
|
|
815
|
+
"maximum": 10
|
|
816
|
+
},
|
|
817
|
+
"fps": {
|
|
818
|
+
"title": "FPS",
|
|
819
|
+
"description": "Frames per second for video generation. Higher values create smoother motion but require more processing time.",
|
|
820
|
+
"type": "integer",
|
|
821
|
+
"enum": [
|
|
822
|
+
24,
|
|
823
|
+
48
|
|
824
|
+
],
|
|
825
|
+
"default": 24
|
|
826
|
+
},
|
|
827
|
+
"seed": {
|
|
828
|
+
"title": "Seed",
|
|
829
|
+
"description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
|
|
830
|
+
"type": "integer",
|
|
831
|
+
"minimum": 0,
|
|
832
|
+
"maximum": 9223372036854776000
|
|
833
|
+
},
|
|
834
|
+
"settings": {
|
|
835
|
+
"title": "Settings",
|
|
836
|
+
"description": "Global inference settings.",
|
|
837
|
+
"type": "object",
|
|
838
|
+
"properties": {
|
|
839
|
+
"audio": {
|
|
840
|
+
"title": "Generate Audio",
|
|
841
|
+
"description": "Include audio in the generated video output.",
|
|
842
|
+
"type": "boolean",
|
|
843
|
+
"default": true
|
|
844
|
+
},
|
|
845
|
+
"draft": {
|
|
846
|
+
"title": "Draft Mode",
|
|
847
|
+
"description": "Enable draft mode for lower-resolution preview generation.",
|
|
848
|
+
"type": "boolean",
|
|
849
|
+
"default": false
|
|
850
|
+
},
|
|
851
|
+
"promptUpsampling": {
|
|
852
|
+
"title": "Prompt Upsampling",
|
|
853
|
+
"description": "Automatically enhance the prompt for improved results.",
|
|
854
|
+
"type": "boolean",
|
|
855
|
+
"default": true
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
"additionalProperties": false
|
|
859
|
+
},
|
|
860
|
+
"taskType": {
|
|
861
|
+
"title": "Task Type",
|
|
862
|
+
"description": "Identifier for the type of task being performed",
|
|
863
|
+
"type": "string",
|
|
864
|
+
"const": "videoInference"
|
|
865
|
+
},
|
|
866
|
+
"taskUUID": {
|
|
867
|
+
"title": "Task UUID",
|
|
868
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
869
|
+
"type": "string",
|
|
870
|
+
"format": "uuid"
|
|
871
|
+
},
|
|
872
|
+
"webhookURL": {
|
|
873
|
+
"title": "Webhook URL",
|
|
874
|
+
"description": "Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.",
|
|
875
|
+
"type": "string",
|
|
876
|
+
"format": "uri"
|
|
877
|
+
},
|
|
878
|
+
"includeCost": {
|
|
879
|
+
"title": "Include Cost",
|
|
880
|
+
"description": "Include task cost in the response.",
|
|
881
|
+
"type": "boolean",
|
|
882
|
+
"default": false
|
|
883
|
+
},
|
|
884
|
+
"numberResults": {
|
|
885
|
+
"title": "Number of Results",
|
|
886
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
887
|
+
"type": "integer",
|
|
888
|
+
"minimum": 1,
|
|
889
|
+
"default": 1,
|
|
890
|
+
"maximum": 4
|
|
891
|
+
},
|
|
892
|
+
"uploadEndpoint": {
|
|
893
|
+
"title": "Upload Endpoint",
|
|
894
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
895
|
+
"type": "string",
|
|
896
|
+
"format": "uri"
|
|
897
|
+
},
|
|
898
|
+
"ttl": {
|
|
899
|
+
"title": "TTL",
|
|
900
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
901
|
+
"type": "integer",
|
|
902
|
+
"minimum": 60
|
|
903
|
+
},
|
|
904
|
+
"outputType": {
|
|
905
|
+
"title": "Output Type",
|
|
906
|
+
"description": "Video output type.",
|
|
907
|
+
"type": "string",
|
|
908
|
+
"enum": [
|
|
909
|
+
"URL"
|
|
910
|
+
],
|
|
911
|
+
"default": "URL"
|
|
912
|
+
},
|
|
913
|
+
"outputFormat": {
|
|
914
|
+
"title": "Output Format",
|
|
915
|
+
"description": "File format for the generated video.",
|
|
916
|
+
"type": "string",
|
|
917
|
+
"enum": [
|
|
918
|
+
"MP4",
|
|
919
|
+
"WEBM",
|
|
920
|
+
"MOV"
|
|
921
|
+
],
|
|
922
|
+
"default": "MP4"
|
|
923
|
+
},
|
|
924
|
+
"outputQuality": {
|
|
925
|
+
"title": "Output Quality",
|
|
926
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
927
|
+
"type": "integer",
|
|
928
|
+
"minimum": 20,
|
|
929
|
+
"maximum": 99,
|
|
930
|
+
"default": 95
|
|
931
|
+
},
|
|
932
|
+
"deliveryMethod": {
|
|
933
|
+
"title": "Delivery Method",
|
|
934
|
+
"description": "Determines how the API delivers task results.",
|
|
935
|
+
"type": "string",
|
|
936
|
+
"oneOf": [
|
|
937
|
+
{
|
|
938
|
+
"const": "async",
|
|
939
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
|
|
940
|
+
}
|
|
941
|
+
],
|
|
942
|
+
"default": "async"
|
|
943
|
+
},
|
|
944
|
+
"safety": {
|
|
945
|
+
"type": "object",
|
|
946
|
+
"title": "Safety Settings",
|
|
947
|
+
"description": "Content safety checking configuration for video generation.",
|
|
948
|
+
"properties": {
|
|
949
|
+
"checkContent": {
|
|
950
|
+
"title": "Check Content",
|
|
951
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
952
|
+
"type": "boolean",
|
|
953
|
+
"default": false
|
|
954
|
+
},
|
|
955
|
+
"mode": {
|
|
956
|
+
"description": "Safety checking mode for video generation.",
|
|
957
|
+
"type": "string",
|
|
958
|
+
"oneOf": [
|
|
959
|
+
{
|
|
960
|
+
"const": "none",
|
|
961
|
+
"title": "None",
|
|
962
|
+
"description": "Disables checking."
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"const": "fast",
|
|
966
|
+
"title": "Fast",
|
|
967
|
+
"description": "Checks key frames."
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"const": "full",
|
|
971
|
+
"title": "Full",
|
|
972
|
+
"description": "Checks all frames."
|
|
973
|
+
}
|
|
974
|
+
],
|
|
975
|
+
"default": "none"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"additionalProperties": false
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
"required": [
|
|
982
|
+
"positivePrompt",
|
|
983
|
+
"taskType",
|
|
984
|
+
"taskUUID",
|
|
985
|
+
"model"
|
|
986
|
+
],
|
|
987
|
+
"allOf": [
|
|
988
|
+
{
|
|
989
|
+
"dependentRequired": {
|
|
990
|
+
"width": [
|
|
991
|
+
"height"
|
|
992
|
+
],
|
|
993
|
+
"height": [
|
|
994
|
+
"width"
|
|
995
|
+
]
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"oneOf": [
|
|
1000
|
+
{
|
|
1001
|
+
"title": "720p (16:9)",
|
|
1002
|
+
"properties": {
|
|
1003
|
+
"width": {
|
|
1004
|
+
"const": 1280
|
|
1005
|
+
},
|
|
1006
|
+
"height": {
|
|
1007
|
+
"const": 720
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"title": "720p (9:16)",
|
|
1013
|
+
"properties": {
|
|
1014
|
+
"width": {
|
|
1015
|
+
"const": 720
|
|
1016
|
+
},
|
|
1017
|
+
"height": {
|
|
1018
|
+
"const": 1280
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"title": "720p (4:3)",
|
|
1024
|
+
"properties": {
|
|
1025
|
+
"width": {
|
|
1026
|
+
"const": 960
|
|
1027
|
+
},
|
|
1028
|
+
"height": {
|
|
1029
|
+
"const": 720
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"title": "720p (3:4)",
|
|
1035
|
+
"properties": {
|
|
1036
|
+
"width": {
|
|
1037
|
+
"const": 720
|
|
1038
|
+
},
|
|
1039
|
+
"height": {
|
|
1040
|
+
"const": 960
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"title": "720p (3:2)",
|
|
1046
|
+
"properties": {
|
|
1047
|
+
"width": {
|
|
1048
|
+
"const": 1080
|
|
1049
|
+
},
|
|
1050
|
+
"height": {
|
|
1051
|
+
"const": 720
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"title": "720p (2:3)",
|
|
1057
|
+
"properties": {
|
|
1058
|
+
"width": {
|
|
1059
|
+
"const": 720
|
|
1060
|
+
},
|
|
1061
|
+
"height": {
|
|
1062
|
+
"const": 1080
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"title": "720p (1:1)",
|
|
1068
|
+
"properties": {
|
|
1069
|
+
"width": {
|
|
1070
|
+
"const": 720
|
|
1071
|
+
},
|
|
1072
|
+
"height": {
|
|
1073
|
+
"const": 720
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"title": "1080p (16:9)",
|
|
1079
|
+
"properties": {
|
|
1080
|
+
"width": {
|
|
1081
|
+
"const": 1920
|
|
1082
|
+
},
|
|
1083
|
+
"height": {
|
|
1084
|
+
"const": 1080
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"title": "1080p (9:16)",
|
|
1090
|
+
"properties": {
|
|
1091
|
+
"width": {
|
|
1092
|
+
"const": 1080
|
|
1093
|
+
},
|
|
1094
|
+
"height": {
|
|
1095
|
+
"const": 1920
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"title": "1080p (4:3)",
|
|
1101
|
+
"properties": {
|
|
1102
|
+
"width": {
|
|
1103
|
+
"const": 1440
|
|
1104
|
+
},
|
|
1105
|
+
"height": {
|
|
1106
|
+
"const": 1080
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"title": "1080p (3:4)",
|
|
1112
|
+
"properties": {
|
|
1113
|
+
"width": {
|
|
1114
|
+
"const": 1080
|
|
1115
|
+
},
|
|
1116
|
+
"height": {
|
|
1117
|
+
"const": 1440
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"title": "1080p (3:2)",
|
|
1123
|
+
"properties": {
|
|
1124
|
+
"width": {
|
|
1125
|
+
"const": 1620
|
|
1126
|
+
},
|
|
1127
|
+
"height": {
|
|
1128
|
+
"const": 1080
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"title": "1080p (2:3)",
|
|
1134
|
+
"properties": {
|
|
1135
|
+
"width": {
|
|
1136
|
+
"const": 1080
|
|
1137
|
+
},
|
|
1138
|
+
"height": {
|
|
1139
|
+
"const": 1620
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"title": "1080p (1:1)",
|
|
1145
|
+
"properties": {
|
|
1146
|
+
"width": {
|
|
1147
|
+
"const": 1080
|
|
1148
|
+
},
|
|
1149
|
+
"height": {
|
|
1150
|
+
"const": 1080
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
]
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
"if": {
|
|
1158
|
+
"properties": {
|
|
1159
|
+
"inputs": {
|
|
1160
|
+
"properties": {
|
|
1161
|
+
"frameImages": {
|
|
1162
|
+
"minItems": 1
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
"required": [
|
|
1166
|
+
"frameImages"
|
|
1167
|
+
]
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
"required": [
|
|
1171
|
+
"inputs"
|
|
1172
|
+
]
|
|
1173
|
+
},
|
|
1174
|
+
"then": {
|
|
1175
|
+
"required": [
|
|
1176
|
+
"resolution"
|
|
1177
|
+
]
|
|
1178
|
+
},
|
|
1179
|
+
"else": {
|
|
1180
|
+
"required": [
|
|
1181
|
+
"width",
|
|
1182
|
+
"height"
|
|
1183
|
+
]
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"not": {
|
|
1188
|
+
"allOf": [
|
|
1189
|
+
{
|
|
1190
|
+
"required": [
|
|
1191
|
+
"resolution"
|
|
1192
|
+
]
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"anyOf": [
|
|
1196
|
+
{
|
|
1197
|
+
"required": [
|
|
1198
|
+
"width"
|
|
1199
|
+
]
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"required": [
|
|
1203
|
+
"height"
|
|
1204
|
+
]
|
|
1205
|
+
}
|
|
1206
|
+
]
|
|
1207
|
+
}
|
|
1208
|
+
]
|
|
1209
|
+
}
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"if": {
|
|
1213
|
+
"properties": {
|
|
1214
|
+
"inputs": {
|
|
1215
|
+
"required": [
|
|
1216
|
+
"audio"
|
|
1217
|
+
]
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
"required": [
|
|
1221
|
+
"inputs"
|
|
1222
|
+
]
|
|
1223
|
+
},
|
|
1224
|
+
"then": {
|
|
1225
|
+
"not": {
|
|
1226
|
+
"required": [
|
|
1227
|
+
"duration"
|
|
1228
|
+
]
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
],
|
|
1233
|
+
"additionalProperties": false
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"type": "object",
|
|
1237
|
+
"properties": {
|
|
1238
|
+
"model": {
|
|
1239
|
+
"title": "Model",
|
|
1240
|
+
"description": "Identifier of the model to use for generation.",
|
|
1241
|
+
"type": "string",
|
|
1242
|
+
"const": "prunaai:p-video@avatar"
|
|
1243
|
+
},
|
|
1244
|
+
"inputs": {
|
|
1245
|
+
"title": "Inputs",
|
|
1246
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
1247
|
+
"type": "object",
|
|
1248
|
+
"properties": {
|
|
1249
|
+
"frameImages": {
|
|
1250
|
+
"title": "Frame Images",
|
|
1251
|
+
"description": "List of frame-specific image inputs. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object with an image and a target frame position.",
|
|
1252
|
+
"type": "array",
|
|
1253
|
+
"minItems": 1,
|
|
1254
|
+
"items": {
|
|
1255
|
+
"anyOf": [
|
|
1256
|
+
{
|
|
1257
|
+
"title": "Image",
|
|
1258
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
1259
|
+
"type": "string",
|
|
1260
|
+
"anyOf": [
|
|
1261
|
+
{
|
|
1262
|
+
"format": "uuid"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"format": "uri"
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
1272
|
+
}
|
|
1273
|
+
]
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"type": "object",
|
|
1277
|
+
"properties": {
|
|
1278
|
+
"image": {
|
|
1279
|
+
"title": "Image",
|
|
1280
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
1281
|
+
"type": "string",
|
|
1282
|
+
"anyOf": [
|
|
1283
|
+
{
|
|
1284
|
+
"format": "uuid"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"format": "uri"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
1294
|
+
}
|
|
1295
|
+
]
|
|
1296
|
+
},
|
|
1297
|
+
"frame": {
|
|
1298
|
+
"title": "Frame",
|
|
1299
|
+
"description": "Target frame position for the image. This model only supports the first frame.",
|
|
1300
|
+
"oneOf": [
|
|
1301
|
+
{
|
|
1302
|
+
"const": "first",
|
|
1303
|
+
"description": "First frame of the video."
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"const": 0,
|
|
1307
|
+
"description": "Frame index 0 (first frame)."
|
|
1308
|
+
}
|
|
1309
|
+
]
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
"required": [
|
|
1313
|
+
"image"
|
|
1314
|
+
],
|
|
1315
|
+
"additionalProperties": false
|
|
1316
|
+
}
|
|
1317
|
+
]
|
|
1318
|
+
},
|
|
1319
|
+
"maxItems": 1
|
|
1320
|
+
},
|
|
1321
|
+
"audio": {
|
|
1322
|
+
"title": "Audio",
|
|
1323
|
+
"description": "Audio input (UUID or URL).",
|
|
1324
|
+
"type": "string",
|
|
1325
|
+
"anyOf": [
|
|
1326
|
+
{
|
|
1327
|
+
"format": "uuid"
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
"format": "uri"
|
|
1331
|
+
}
|
|
1332
|
+
]
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
"required": [
|
|
1336
|
+
"frameImages"
|
|
1337
|
+
],
|
|
1338
|
+
"additionalProperties": false
|
|
1339
|
+
},
|
|
1340
|
+
"positivePrompt": {
|
|
1341
|
+
"title": "Positive Prompt",
|
|
1342
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
1343
|
+
"type": "string"
|
|
1344
|
+
},
|
|
1345
|
+
"resolution": {
|
|
1346
|
+
"title": "Resolution",
|
|
1347
|
+
"description": "Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.",
|
|
1348
|
+
"type": "string",
|
|
1349
|
+
"enum": [
|
|
1350
|
+
"720p",
|
|
1351
|
+
"1080p"
|
|
1352
|
+
],
|
|
1353
|
+
"default": "720p"
|
|
1354
|
+
},
|
|
1355
|
+
"seed": {
|
|
1356
|
+
"title": "Seed",
|
|
1357
|
+
"description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
|
|
1358
|
+
"type": "integer",
|
|
1359
|
+
"minimum": 0,
|
|
1360
|
+
"maximum": 2147483647
|
|
1361
|
+
},
|
|
1362
|
+
"speech": {
|
|
1363
|
+
"title": "Speech",
|
|
1364
|
+
"description": "Settings for speech generation.",
|
|
1365
|
+
"type": "object",
|
|
1366
|
+
"properties": {
|
|
1367
|
+
"text": {
|
|
1368
|
+
"title": "Speech Text",
|
|
1369
|
+
"description": "Text to convert to speech.",
|
|
1370
|
+
"type": "string",
|
|
1371
|
+
"minLength": 1,
|
|
1372
|
+
"maxLength": 5000
|
|
1373
|
+
},
|
|
1374
|
+
"voice": {
|
|
1375
|
+
"title": "Voice",
|
|
1376
|
+
"description": "Voice identifier to use. Set to `auto` for automatic selection.",
|
|
1377
|
+
"type": "string",
|
|
1378
|
+
"default": "Zephyr (Female)",
|
|
1379
|
+
"enum": [
|
|
1380
|
+
"Zephyr (Female)",
|
|
1381
|
+
"Puck (Male)",
|
|
1382
|
+
"Charon (Male)",
|
|
1383
|
+
"Kore (Female)",
|
|
1384
|
+
"Fenrir (Male)",
|
|
1385
|
+
"Leda (Female)",
|
|
1386
|
+
"Orus (Male)",
|
|
1387
|
+
"Aoede (Female)",
|
|
1388
|
+
"Callirrhoe (Female)",
|
|
1389
|
+
"Autonoe (Female)",
|
|
1390
|
+
"Enceladus (Male)",
|
|
1391
|
+
"Iapetus (Male)",
|
|
1392
|
+
"Umbriel (Male)",
|
|
1393
|
+
"Algenib (Male)",
|
|
1394
|
+
"Despina (Female)",
|
|
1395
|
+
"Erinome (Female)",
|
|
1396
|
+
"Laomedeia (Female)",
|
|
1397
|
+
"Achernar (Female)",
|
|
1398
|
+
"Algieba (Male)",
|
|
1399
|
+
"Schedar (Male)",
|
|
1400
|
+
"Gacrux (Female)",
|
|
1401
|
+
"Pulcherrima (Female)",
|
|
1402
|
+
"Achird (Male)",
|
|
1403
|
+
"Zubenelgenubi (Male)",
|
|
1404
|
+
"Vindemiatrix (Female)",
|
|
1405
|
+
"Sadachbia (Male)",
|
|
1406
|
+
"Sadaltager (Male)",
|
|
1407
|
+
"Sulafat (Female)",
|
|
1408
|
+
"Alnilam (Male)",
|
|
1409
|
+
"Rasalgethi (Male)"
|
|
1410
|
+
]
|
|
1411
|
+
},
|
|
1412
|
+
"language": {
|
|
1413
|
+
"title": "Language",
|
|
1414
|
+
"description": "Language code for speech generation.",
|
|
1415
|
+
"type": "string",
|
|
1416
|
+
"minLength": 1,
|
|
1417
|
+
"enum": [
|
|
1418
|
+
"en",
|
|
1419
|
+
"en-US",
|
|
1420
|
+
"en-GB",
|
|
1421
|
+
"es",
|
|
1422
|
+
"es-ES",
|
|
1423
|
+
"fr",
|
|
1424
|
+
"fr-FR",
|
|
1425
|
+
"de",
|
|
1426
|
+
"de-DE",
|
|
1427
|
+
"it",
|
|
1428
|
+
"it-IT",
|
|
1429
|
+
"pt-BR",
|
|
1430
|
+
"ja",
|
|
1431
|
+
"ja-JP",
|
|
1432
|
+
"ko",
|
|
1433
|
+
"ko-KR",
|
|
1434
|
+
"hi",
|
|
1435
|
+
"hi-IN"
|
|
1436
|
+
],
|
|
1437
|
+
"default": "en-US"
|
|
1438
|
+
}
|
|
1439
|
+
},
|
|
1440
|
+
"additionalProperties": false
|
|
1441
|
+
},
|
|
1442
|
+
"settings": {
|
|
1443
|
+
"title": "Settings",
|
|
1444
|
+
"description": "Global inference settings.",
|
|
1445
|
+
"type": "object",
|
|
1446
|
+
"properties": {
|
|
1447
|
+
"promptUpsampling": {
|
|
1448
|
+
"title": "Prompt Upsampling",
|
|
1449
|
+
"description": "Automatically enhance the prompt for improved results.",
|
|
1450
|
+
"type": "boolean",
|
|
1451
|
+
"default": false
|
|
1452
|
+
},
|
|
1453
|
+
"safetyFilter": {
|
|
1454
|
+
"type": "boolean",
|
|
1455
|
+
"title": "Safety Filter",
|
|
1456
|
+
"description": "Content safety filtering on prompts and input image.",
|
|
1457
|
+
"default": true
|
|
1458
|
+
},
|
|
1459
|
+
"voicePrompt": {
|
|
1460
|
+
"type": "string",
|
|
1461
|
+
"title": "Voice Prompt",
|
|
1462
|
+
"description": "Speaking style, tone, pacing, or emotion instructions for delivery.",
|
|
1463
|
+
"default": "Say the following."
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
"additionalProperties": false
|
|
1467
|
+
},
|
|
1468
|
+
"taskType": {
|
|
1469
|
+
"title": "Task Type",
|
|
1470
|
+
"description": "Identifier for the type of task being performed",
|
|
1471
|
+
"type": "string",
|
|
1472
|
+
"const": "videoInference"
|
|
1473
|
+
},
|
|
1474
|
+
"taskUUID": {
|
|
1475
|
+
"title": "Task UUID",
|
|
1476
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
1477
|
+
"type": "string",
|
|
1478
|
+
"format": "uuid"
|
|
1479
|
+
},
|
|
1480
|
+
"webhookURL": {
|
|
1481
|
+
"title": "Webhook URL",
|
|
1482
|
+
"description": "Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.",
|
|
1483
|
+
"type": "string",
|
|
1484
|
+
"format": "uri"
|
|
1485
|
+
},
|
|
1486
|
+
"includeCost": {
|
|
1487
|
+
"title": "Include Cost",
|
|
1488
|
+
"description": "Include task cost in the response.",
|
|
1489
|
+
"type": "boolean",
|
|
1490
|
+
"default": false
|
|
1491
|
+
},
|
|
1492
|
+
"numberResults": {
|
|
1493
|
+
"title": "Number of Results",
|
|
1494
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
1495
|
+
"type": "integer",
|
|
1496
|
+
"minimum": 1,
|
|
1497
|
+
"default": 1,
|
|
1498
|
+
"maximum": 4
|
|
1499
|
+
},
|
|
1500
|
+
"uploadEndpoint": {
|
|
1501
|
+
"title": "Upload Endpoint",
|
|
1502
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
1503
|
+
"type": "string",
|
|
1504
|
+
"format": "uri"
|
|
1505
|
+
},
|
|
1506
|
+
"ttl": {
|
|
1507
|
+
"title": "TTL",
|
|
1508
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
1509
|
+
"type": "integer",
|
|
1510
|
+
"minimum": 60
|
|
1511
|
+
},
|
|
1512
|
+
"outputType": {
|
|
1513
|
+
"title": "Output Type",
|
|
1514
|
+
"description": "Video output type.",
|
|
1515
|
+
"type": "string",
|
|
1516
|
+
"enum": [
|
|
1517
|
+
"URL"
|
|
1518
|
+
],
|
|
1519
|
+
"default": "URL"
|
|
1520
|
+
},
|
|
1521
|
+
"outputFormat": {
|
|
1522
|
+
"title": "Output Format",
|
|
1523
|
+
"description": "File format for the generated video.",
|
|
1524
|
+
"type": "string",
|
|
1525
|
+
"enum": [
|
|
1526
|
+
"MP4",
|
|
1527
|
+
"WEBM",
|
|
1528
|
+
"MOV"
|
|
1529
|
+
],
|
|
1530
|
+
"default": "MP4"
|
|
1531
|
+
},
|
|
1532
|
+
"outputQuality": {
|
|
1533
|
+
"title": "Output Quality",
|
|
1534
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
1535
|
+
"type": "integer",
|
|
1536
|
+
"minimum": 20,
|
|
1537
|
+
"maximum": 99,
|
|
1538
|
+
"default": 95
|
|
1539
|
+
},
|
|
1540
|
+
"deliveryMethod": {
|
|
1541
|
+
"title": "Delivery Method",
|
|
1542
|
+
"description": "Determines how the API delivers task results.",
|
|
1543
|
+
"type": "string",
|
|
1544
|
+
"oneOf": [
|
|
1545
|
+
{
|
|
1546
|
+
"const": "async",
|
|
1547
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
|
|
1548
|
+
}
|
|
1549
|
+
],
|
|
1550
|
+
"default": "async"
|
|
1551
|
+
},
|
|
1552
|
+
"safety": {
|
|
1553
|
+
"type": "object",
|
|
1554
|
+
"title": "Safety Settings",
|
|
1555
|
+
"description": "Content safety checking configuration for video generation.",
|
|
1556
|
+
"properties": {
|
|
1557
|
+
"checkContent": {
|
|
1558
|
+
"title": "Check Content",
|
|
1559
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
1560
|
+
"type": "boolean",
|
|
1561
|
+
"default": false
|
|
1562
|
+
},
|
|
1563
|
+
"mode": {
|
|
1564
|
+
"description": "Safety checking mode for video generation.",
|
|
1565
|
+
"type": "string",
|
|
1566
|
+
"oneOf": [
|
|
1567
|
+
{
|
|
1568
|
+
"const": "none",
|
|
1569
|
+
"title": "None",
|
|
1570
|
+
"description": "Disables checking."
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"const": "fast",
|
|
1574
|
+
"title": "Fast",
|
|
1575
|
+
"description": "Checks key frames."
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"const": "full",
|
|
1579
|
+
"title": "Full",
|
|
1580
|
+
"description": "Checks all frames."
|
|
1581
|
+
}
|
|
1582
|
+
],
|
|
1583
|
+
"default": "none"
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"additionalProperties": false
|
|
1587
|
+
}
|
|
1588
|
+
},
|
|
1589
|
+
"required": [
|
|
1590
|
+
"inputs",
|
|
1591
|
+
"taskType",
|
|
1592
|
+
"taskUUID",
|
|
1593
|
+
"model"
|
|
1594
|
+
],
|
|
1595
|
+
"allOf": [
|
|
1596
|
+
{
|
|
1597
|
+
"oneOf": [
|
|
1598
|
+
{
|
|
1599
|
+
"properties": {
|
|
1600
|
+
"inputs": {
|
|
1601
|
+
"required": [
|
|
1602
|
+
"audio"
|
|
1603
|
+
]
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
"required": [
|
|
1607
|
+
"inputs"
|
|
1608
|
+
]
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
"properties": {
|
|
1612
|
+
"speech": {
|
|
1613
|
+
"required": [
|
|
1614
|
+
"text"
|
|
1615
|
+
]
|
|
1616
|
+
}
|
|
1617
|
+
},
|
|
1618
|
+
"required": [
|
|
1619
|
+
"speech"
|
|
1620
|
+
]
|
|
1621
|
+
}
|
|
1622
|
+
]
|
|
1623
|
+
}
|
|
1624
|
+
],
|
|
1625
|
+
"additionalProperties": false
|
|
1626
|
+
}
|
|
1627
|
+
]
|
|
1628
|
+
}
|