@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,3148 @@
|
|
|
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": "bria:10@1"
|
|
12
|
+
},
|
|
13
|
+
"positivePrompt": {
|
|
14
|
+
"title": "Positive Prompt",
|
|
15
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 2,
|
|
18
|
+
"maxLength": 3000
|
|
19
|
+
},
|
|
20
|
+
"negativePrompt": {
|
|
21
|
+
"title": "Negative Prompt",
|
|
22
|
+
"description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 2,
|
|
25
|
+
"maxLength": 3000
|
|
26
|
+
},
|
|
27
|
+
"width": {
|
|
28
|
+
"title": "Width",
|
|
29
|
+
"description": "Width of the generated media in pixels.",
|
|
30
|
+
"type": "integer"
|
|
31
|
+
},
|
|
32
|
+
"height": {
|
|
33
|
+
"title": "Height",
|
|
34
|
+
"description": "Height of the generated media in pixels.",
|
|
35
|
+
"type": "integer"
|
|
36
|
+
},
|
|
37
|
+
"seed": {
|
|
38
|
+
"title": "Seed",
|
|
39
|
+
"description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
|
|
40
|
+
"type": "integer",
|
|
41
|
+
"minimum": 0,
|
|
42
|
+
"maximum": 9223372036854776000
|
|
43
|
+
},
|
|
44
|
+
"steps": {
|
|
45
|
+
"title": "Steps",
|
|
46
|
+
"description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
|
|
47
|
+
"type": "integer",
|
|
48
|
+
"minimum": 20,
|
|
49
|
+
"default": 20,
|
|
50
|
+
"maximum": 50
|
|
51
|
+
},
|
|
52
|
+
"controlNet": {
|
|
53
|
+
"title": "ControlNet",
|
|
54
|
+
"description": "Configuration for identifying and applying ControlNet models.",
|
|
55
|
+
"type": "array",
|
|
56
|
+
"minItems": 1,
|
|
57
|
+
"items": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"model": {
|
|
61
|
+
"title": "ControlNet Model",
|
|
62
|
+
"description": "ControlNet model identifier.",
|
|
63
|
+
"type": "string",
|
|
64
|
+
"pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
|
|
65
|
+
},
|
|
66
|
+
"weight": {
|
|
67
|
+
"title": "ControlNet Weight",
|
|
68
|
+
"description": "Strength of the ControlNet influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the guide image.",
|
|
69
|
+
"type": "number",
|
|
70
|
+
"multipleOf": 0.01,
|
|
71
|
+
"minimum": -4,
|
|
72
|
+
"maximum": 4,
|
|
73
|
+
"default": 1
|
|
74
|
+
},
|
|
75
|
+
"guideImage": {
|
|
76
|
+
"title": "Guide Image",
|
|
77
|
+
"description": "Reference image for ControlNet guidance (UUID, URL, Data URI, or Base64).",
|
|
78
|
+
"type": "string",
|
|
79
|
+
"anyOf": [
|
|
80
|
+
{
|
|
81
|
+
"format": "uuid"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"format": "uri"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"controlMode": {
|
|
95
|
+
"title": "Control Mode",
|
|
96
|
+
"description": "ControlNet guidance mode.",
|
|
97
|
+
"type": "string",
|
|
98
|
+
"default": "balanced",
|
|
99
|
+
"oneOf": [
|
|
100
|
+
{
|
|
101
|
+
"const": "balanced",
|
|
102
|
+
"description": "Equal weight between ControlNet and prompt."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"const": "controlnet",
|
|
106
|
+
"description": "Prioritize ControlNet guidance."
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"const": "prompt",
|
|
110
|
+
"description": "Prioritize prompt guidance."
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"endStep": {
|
|
115
|
+
"title": "ControlNet End Step",
|
|
116
|
+
"description": "Absolute step number to end ControlNet influence. Must be greater than `startStep` and less than or equal to `steps`.",
|
|
117
|
+
"type": "integer",
|
|
118
|
+
"minimum": 1
|
|
119
|
+
},
|
|
120
|
+
"endStepPercentage": {
|
|
121
|
+
"title": "End Step Percentage",
|
|
122
|
+
"description": "Percentage of steps to end ControlNet influence. Must be greater than `startStepPercentage`.",
|
|
123
|
+
"type": "integer",
|
|
124
|
+
"minimum": 1,
|
|
125
|
+
"maximum": 100
|
|
126
|
+
},
|
|
127
|
+
"startStep": {
|
|
128
|
+
"title": "Start Step",
|
|
129
|
+
"description": "Absolute step number to start ControlNet influence. Must be less than `endStep`.",
|
|
130
|
+
"type": "integer",
|
|
131
|
+
"minimum": 0
|
|
132
|
+
},
|
|
133
|
+
"startStepPercentage": {
|
|
134
|
+
"title": "Start Step Percentage",
|
|
135
|
+
"description": "Percentage of steps to start ControlNet influence. Must be less than `endStepPercentage`.",
|
|
136
|
+
"type": "integer",
|
|
137
|
+
"minimum": 0,
|
|
138
|
+
"maximum": 99
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": [
|
|
142
|
+
"model",
|
|
143
|
+
"guideImage"
|
|
144
|
+
],
|
|
145
|
+
"allOf": [
|
|
146
|
+
{
|
|
147
|
+
"not": {
|
|
148
|
+
"required": [
|
|
149
|
+
"startStep",
|
|
150
|
+
"startStepPercentage"
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"not": {
|
|
156
|
+
"required": [
|
|
157
|
+
"endStep",
|
|
158
|
+
"endStepPercentage"
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"additionalProperties": false
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"ipAdapters": {
|
|
167
|
+
"title": "IP Adapters",
|
|
168
|
+
"description": "Configuration for IP-Adapter image-prompted generation.",
|
|
169
|
+
"type": "array",
|
|
170
|
+
"minItems": 1,
|
|
171
|
+
"items": {
|
|
172
|
+
"type": "object",
|
|
173
|
+
"properties": {
|
|
174
|
+
"model": {
|
|
175
|
+
"title": "IP-Adapter Model",
|
|
176
|
+
"description": "IP-Adapter model identifier.",
|
|
177
|
+
"type": "string",
|
|
178
|
+
"pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
|
|
179
|
+
},
|
|
180
|
+
"weight": {
|
|
181
|
+
"title": "IP-Adapter Weight",
|
|
182
|
+
"description": "Strength of the IP-Adapter influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the reference.",
|
|
183
|
+
"type": "number",
|
|
184
|
+
"multipleOf": 0.01,
|
|
185
|
+
"minimum": -4,
|
|
186
|
+
"maximum": 4,
|
|
187
|
+
"default": 1
|
|
188
|
+
},
|
|
189
|
+
"guideImages": {
|
|
190
|
+
"title": "Guide Images",
|
|
191
|
+
"description": "Images to guide the IP-Adapter (UUID, URL, Data URI, or Base64).",
|
|
192
|
+
"type": "array",
|
|
193
|
+
"minItems": 1,
|
|
194
|
+
"items": {
|
|
195
|
+
"title": "Image",
|
|
196
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"anyOf": [
|
|
199
|
+
{
|
|
200
|
+
"format": "uuid"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"format": "uri"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"combineMethod": {
|
|
215
|
+
"title": "Combine Method",
|
|
216
|
+
"description": "Controls how multiple reference images are combined.",
|
|
217
|
+
"type": "string",
|
|
218
|
+
"enum": [
|
|
219
|
+
"concat",
|
|
220
|
+
"add",
|
|
221
|
+
"subtract",
|
|
222
|
+
"average",
|
|
223
|
+
"norm_average"
|
|
224
|
+
],
|
|
225
|
+
"default": "concat"
|
|
226
|
+
},
|
|
227
|
+
"embedScaling": {
|
|
228
|
+
"title": "Embed Scaling",
|
|
229
|
+
"description": "Determines which embedding components are used and their strength.",
|
|
230
|
+
"type": "string",
|
|
231
|
+
"enum": [
|
|
232
|
+
"only_v",
|
|
233
|
+
"kv",
|
|
234
|
+
"kv_penalty_c",
|
|
235
|
+
"k_mean_v_penalty_c"
|
|
236
|
+
],
|
|
237
|
+
"default": "kv"
|
|
238
|
+
},
|
|
239
|
+
"weightType": {
|
|
240
|
+
"title": "Weight Type",
|
|
241
|
+
"description": "Shapes how influence evolves during generation.",
|
|
242
|
+
"type": "string",
|
|
243
|
+
"enum": [
|
|
244
|
+
"normal",
|
|
245
|
+
"ease_in",
|
|
246
|
+
"ease_out",
|
|
247
|
+
"ease_in_out",
|
|
248
|
+
"weak_input",
|
|
249
|
+
"weak_output",
|
|
250
|
+
"weak_middle",
|
|
251
|
+
"strong_middle",
|
|
252
|
+
"style_transfer",
|
|
253
|
+
"composition",
|
|
254
|
+
"strong_style_transfer",
|
|
255
|
+
"style_and_composition",
|
|
256
|
+
"strong_style_and_composition"
|
|
257
|
+
],
|
|
258
|
+
"default": "normal"
|
|
259
|
+
},
|
|
260
|
+
"weightComposition": {
|
|
261
|
+
"title": "Weight Composition",
|
|
262
|
+
"description": "Controls composition/layout influence specifically.",
|
|
263
|
+
"type": "number",
|
|
264
|
+
"multipleOf": 0.01,
|
|
265
|
+
"minimum": 0,
|
|
266
|
+
"maximum": 1
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"required": [
|
|
270
|
+
"model",
|
|
271
|
+
"guideImages"
|
|
272
|
+
],
|
|
273
|
+
"additionalProperties": false
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"providerSettings": {
|
|
277
|
+
"title": "Provider Settings",
|
|
278
|
+
"description": "Provider-specific configuration settings.",
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"bria": {
|
|
282
|
+
"title": "Bria Settings",
|
|
283
|
+
"description": "Provider-specific settings for Bria.",
|
|
284
|
+
"type": "object",
|
|
285
|
+
"properties": {
|
|
286
|
+
"contentModeration": {
|
|
287
|
+
"title": "Content Moderation",
|
|
288
|
+
"description": "Apply content moderation to inputs and outputs.",
|
|
289
|
+
"type": "boolean",
|
|
290
|
+
"default": true
|
|
291
|
+
},
|
|
292
|
+
"enhanceImage": {
|
|
293
|
+
"title": "Enhance Image",
|
|
294
|
+
"description": "Generate images with richer details and sharper textures.",
|
|
295
|
+
"type": "boolean",
|
|
296
|
+
"default": false
|
|
297
|
+
},
|
|
298
|
+
"ipSignal": {
|
|
299
|
+
"title": "IP Signal",
|
|
300
|
+
"description": "Flag potential IP-related content in prompt or output.",
|
|
301
|
+
"type": "boolean",
|
|
302
|
+
"default": false
|
|
303
|
+
},
|
|
304
|
+
"medium": {
|
|
305
|
+
"title": "Medium",
|
|
306
|
+
"description": "Artistic medium.",
|
|
307
|
+
"type": "string",
|
|
308
|
+
"enum": [
|
|
309
|
+
"photography",
|
|
310
|
+
"art"
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
"promptEnhancement": {
|
|
314
|
+
"title": "Prompt Enhancement",
|
|
315
|
+
"description": "Expand prompt with descriptive variations.",
|
|
316
|
+
"type": "boolean",
|
|
317
|
+
"default": false
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"additionalProperties": false
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"additionalProperties": false
|
|
324
|
+
},
|
|
325
|
+
"taskType": {
|
|
326
|
+
"title": "Task Type",
|
|
327
|
+
"description": "Identifier for the type of task being performed",
|
|
328
|
+
"type": "string",
|
|
329
|
+
"const": "imageInference"
|
|
330
|
+
},
|
|
331
|
+
"taskUUID": {
|
|
332
|
+
"title": "Task UUID",
|
|
333
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
334
|
+
"type": "string",
|
|
335
|
+
"format": "uuid"
|
|
336
|
+
},
|
|
337
|
+
"webhookURL": {
|
|
338
|
+
"title": "Webhook URL",
|
|
339
|
+
"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.",
|
|
340
|
+
"type": "string",
|
|
341
|
+
"format": "uri"
|
|
342
|
+
},
|
|
343
|
+
"includeCost": {
|
|
344
|
+
"title": "Include Cost",
|
|
345
|
+
"description": "Include task cost in the response.",
|
|
346
|
+
"type": "boolean",
|
|
347
|
+
"default": false
|
|
348
|
+
},
|
|
349
|
+
"numberResults": {
|
|
350
|
+
"title": "Number of Results",
|
|
351
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
352
|
+
"type": "integer",
|
|
353
|
+
"minimum": 1,
|
|
354
|
+
"default": 1,
|
|
355
|
+
"maximum": 20
|
|
356
|
+
},
|
|
357
|
+
"uploadEndpoint": {
|
|
358
|
+
"title": "Upload Endpoint",
|
|
359
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
360
|
+
"type": "string",
|
|
361
|
+
"format": "uri"
|
|
362
|
+
},
|
|
363
|
+
"ttl": {
|
|
364
|
+
"title": "TTL",
|
|
365
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
366
|
+
"type": "integer",
|
|
367
|
+
"minimum": 60
|
|
368
|
+
},
|
|
369
|
+
"outputType": {
|
|
370
|
+
"title": "Output Type",
|
|
371
|
+
"description": "Image output type.",
|
|
372
|
+
"type": "string",
|
|
373
|
+
"enum": [
|
|
374
|
+
"URL",
|
|
375
|
+
"base64Data",
|
|
376
|
+
"dataURI"
|
|
377
|
+
],
|
|
378
|
+
"default": "URL"
|
|
379
|
+
},
|
|
380
|
+
"outputFormat": {
|
|
381
|
+
"title": "Output Format",
|
|
382
|
+
"description": "File format for the generated image.",
|
|
383
|
+
"type": "string",
|
|
384
|
+
"enum": [
|
|
385
|
+
"JPG",
|
|
386
|
+
"PNG",
|
|
387
|
+
"WEBP"
|
|
388
|
+
],
|
|
389
|
+
"default": "JPG"
|
|
390
|
+
},
|
|
391
|
+
"outputQuality": {
|
|
392
|
+
"title": "Output Quality",
|
|
393
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
394
|
+
"type": "integer",
|
|
395
|
+
"minimum": 20,
|
|
396
|
+
"maximum": 99,
|
|
397
|
+
"default": 95
|
|
398
|
+
},
|
|
399
|
+
"deliveryMethod": {
|
|
400
|
+
"title": "Delivery Method",
|
|
401
|
+
"description": "Determines how the API delivers task results.",
|
|
402
|
+
"type": "string",
|
|
403
|
+
"oneOf": [
|
|
404
|
+
{
|
|
405
|
+
"const": "sync",
|
|
406
|
+
"description": "Returns complete results directly in the API response."
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"const": "async",
|
|
410
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"default": "sync"
|
|
414
|
+
},
|
|
415
|
+
"safety": {
|
|
416
|
+
"type": "object",
|
|
417
|
+
"title": "Safety Settings",
|
|
418
|
+
"description": "Content safety checking configuration for image generation.",
|
|
419
|
+
"properties": {
|
|
420
|
+
"checkContent": {
|
|
421
|
+
"title": "Check Content",
|
|
422
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
423
|
+
"type": "boolean",
|
|
424
|
+
"default": false
|
|
425
|
+
},
|
|
426
|
+
"mode": {
|
|
427
|
+
"description": "Safety checking mode for image generation.",
|
|
428
|
+
"type": "string",
|
|
429
|
+
"oneOf": [
|
|
430
|
+
{
|
|
431
|
+
"const": "none",
|
|
432
|
+
"title": "None",
|
|
433
|
+
"description": "Disables checking."
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"const": "fast",
|
|
437
|
+
"title": "Fast",
|
|
438
|
+
"description": "Performs a single check."
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"default": "none"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"additionalProperties": false
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"required": [
|
|
448
|
+
"positivePrompt",
|
|
449
|
+
"width",
|
|
450
|
+
"height",
|
|
451
|
+
"taskType",
|
|
452
|
+
"taskUUID",
|
|
453
|
+
"model"
|
|
454
|
+
],
|
|
455
|
+
"allOf": [
|
|
456
|
+
{
|
|
457
|
+
"dependentRequired": {
|
|
458
|
+
"width": [
|
|
459
|
+
"height"
|
|
460
|
+
],
|
|
461
|
+
"height": [
|
|
462
|
+
"width"
|
|
463
|
+
]
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"oneOf": [
|
|
468
|
+
{
|
|
469
|
+
"title": "1K (1:1)",
|
|
470
|
+
"properties": {
|
|
471
|
+
"width": {
|
|
472
|
+
"const": 1024
|
|
473
|
+
},
|
|
474
|
+
"height": {
|
|
475
|
+
"const": 1024
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"title": "1K (2:3)",
|
|
481
|
+
"properties": {
|
|
482
|
+
"width": {
|
|
483
|
+
"const": 832
|
|
484
|
+
},
|
|
485
|
+
"height": {
|
|
486
|
+
"const": 1216
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"title": "1K (3:2)",
|
|
492
|
+
"properties": {
|
|
493
|
+
"width": {
|
|
494
|
+
"const": 1216
|
|
495
|
+
},
|
|
496
|
+
"height": {
|
|
497
|
+
"const": 832
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"title": "1K (7:9)",
|
|
503
|
+
"properties": {
|
|
504
|
+
"width": {
|
|
505
|
+
"const": 896
|
|
506
|
+
},
|
|
507
|
+
"height": {
|
|
508
|
+
"const": 1152
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"title": "1K (9:7)",
|
|
514
|
+
"properties": {
|
|
515
|
+
"width": {
|
|
516
|
+
"const": 1152
|
|
517
|
+
},
|
|
518
|
+
"height": {
|
|
519
|
+
"const": 896
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"title": "1K (14:17)",
|
|
525
|
+
"properties": {
|
|
526
|
+
"width": {
|
|
527
|
+
"const": 896
|
|
528
|
+
},
|
|
529
|
+
"height": {
|
|
530
|
+
"const": 1088
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"title": "1K (17:14)",
|
|
536
|
+
"properties": {
|
|
537
|
+
"width": {
|
|
538
|
+
"const": 1088
|
|
539
|
+
},
|
|
540
|
+
"height": {
|
|
541
|
+
"const": 896
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"title": "1K (4:7)",
|
|
547
|
+
"properties": {
|
|
548
|
+
"width": {
|
|
549
|
+
"const": 768
|
|
550
|
+
},
|
|
551
|
+
"height": {
|
|
552
|
+
"const": 1344
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"title": "1K (7:4)",
|
|
558
|
+
"properties": {
|
|
559
|
+
"width": {
|
|
560
|
+
"const": 1344
|
|
561
|
+
},
|
|
562
|
+
"height": {
|
|
563
|
+
"const": 768
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
]
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"additionalProperties": false
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"type": "object",
|
|
574
|
+
"properties": {
|
|
575
|
+
"model": {
|
|
576
|
+
"title": "Model",
|
|
577
|
+
"description": "Identifier of the model to use for generation.",
|
|
578
|
+
"type": "string",
|
|
579
|
+
"const": "bria:21@1"
|
|
580
|
+
},
|
|
581
|
+
"inputs": {
|
|
582
|
+
"title": "Inputs",
|
|
583
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
584
|
+
"type": "object",
|
|
585
|
+
"properties": {
|
|
586
|
+
"image": {
|
|
587
|
+
"title": "Image",
|
|
588
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
589
|
+
"type": "string",
|
|
590
|
+
"anyOf": [
|
|
591
|
+
{
|
|
592
|
+
"format": "uuid"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"format": "uri"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
602
|
+
}
|
|
603
|
+
]
|
|
604
|
+
},
|
|
605
|
+
"mask": {
|
|
606
|
+
"title": "Mask Image",
|
|
607
|
+
"description": "Image used to specify which areas of the seed image should be edited (UUID, URL, Data URI, or Base64).",
|
|
608
|
+
"type": "string",
|
|
609
|
+
"anyOf": [
|
|
610
|
+
{
|
|
611
|
+
"format": "uuid"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"format": "uri"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
621
|
+
}
|
|
622
|
+
]
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
"required": [
|
|
626
|
+
"image"
|
|
627
|
+
],
|
|
628
|
+
"additionalProperties": false
|
|
629
|
+
},
|
|
630
|
+
"positivePrompt": {
|
|
631
|
+
"title": "Positive Prompt",
|
|
632
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
633
|
+
"type": "string",
|
|
634
|
+
"minLength": 2,
|
|
635
|
+
"maxLength": 3000
|
|
636
|
+
},
|
|
637
|
+
"negativePrompt": {
|
|
638
|
+
"title": "Negative Prompt",
|
|
639
|
+
"description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
|
|
640
|
+
"type": "string",
|
|
641
|
+
"minLength": 2,
|
|
642
|
+
"maxLength": 3000
|
|
643
|
+
},
|
|
644
|
+
"seed": {
|
|
645
|
+
"title": "Seed",
|
|
646
|
+
"description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
|
|
647
|
+
"type": "integer",
|
|
648
|
+
"minimum": 0,
|
|
649
|
+
"maximum": 9223372036854776000
|
|
650
|
+
},
|
|
651
|
+
"steps": {
|
|
652
|
+
"title": "Steps",
|
|
653
|
+
"description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
|
|
654
|
+
"type": "integer",
|
|
655
|
+
"minimum": 20,
|
|
656
|
+
"default": 50,
|
|
657
|
+
"maximum": 50
|
|
658
|
+
},
|
|
659
|
+
"CFGScale": {
|
|
660
|
+
"title": "CFG Scale",
|
|
661
|
+
"description": "Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.",
|
|
662
|
+
"type": "number",
|
|
663
|
+
"multipleOf": 0.01,
|
|
664
|
+
"minimum": 0,
|
|
665
|
+
"enum": [
|
|
666
|
+
3,
|
|
667
|
+
4,
|
|
668
|
+
5
|
|
669
|
+
],
|
|
670
|
+
"default": 5
|
|
671
|
+
},
|
|
672
|
+
"providerSettings": {
|
|
673
|
+
"title": "Provider Settings",
|
|
674
|
+
"description": "Provider-specific configuration settings.",
|
|
675
|
+
"type": "object",
|
|
676
|
+
"properties": {
|
|
677
|
+
"bria": {
|
|
678
|
+
"title": "Bria Settings",
|
|
679
|
+
"description": "Provider-specific settings for Bria.",
|
|
680
|
+
"type": "object",
|
|
681
|
+
"properties": {
|
|
682
|
+
"ipSignal": {
|
|
683
|
+
"title": "IP Signal",
|
|
684
|
+
"description": "Flag potential IP-related content in prompt or output.",
|
|
685
|
+
"type": "boolean",
|
|
686
|
+
"default": false
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
"additionalProperties": false
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"additionalProperties": false
|
|
693
|
+
},
|
|
694
|
+
"taskType": {
|
|
695
|
+
"title": "Task Type",
|
|
696
|
+
"description": "Identifier for the type of task being performed",
|
|
697
|
+
"type": "string",
|
|
698
|
+
"const": "imageInference"
|
|
699
|
+
},
|
|
700
|
+
"taskUUID": {
|
|
701
|
+
"title": "Task UUID",
|
|
702
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
703
|
+
"type": "string",
|
|
704
|
+
"format": "uuid"
|
|
705
|
+
},
|
|
706
|
+
"webhookURL": {
|
|
707
|
+
"title": "Webhook URL",
|
|
708
|
+
"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.",
|
|
709
|
+
"type": "string",
|
|
710
|
+
"format": "uri"
|
|
711
|
+
},
|
|
712
|
+
"includeCost": {
|
|
713
|
+
"title": "Include Cost",
|
|
714
|
+
"description": "Include task cost in the response.",
|
|
715
|
+
"type": "boolean",
|
|
716
|
+
"default": false
|
|
717
|
+
},
|
|
718
|
+
"numberResults": {
|
|
719
|
+
"title": "Number of Results",
|
|
720
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
721
|
+
"type": "integer",
|
|
722
|
+
"minimum": 1,
|
|
723
|
+
"default": 1,
|
|
724
|
+
"maximum": 20
|
|
725
|
+
},
|
|
726
|
+
"uploadEndpoint": {
|
|
727
|
+
"title": "Upload Endpoint",
|
|
728
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
729
|
+
"type": "string",
|
|
730
|
+
"format": "uri"
|
|
731
|
+
},
|
|
732
|
+
"ttl": {
|
|
733
|
+
"title": "TTL",
|
|
734
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
735
|
+
"type": "integer",
|
|
736
|
+
"minimum": 60
|
|
737
|
+
},
|
|
738
|
+
"outputType": {
|
|
739
|
+
"title": "Output Type",
|
|
740
|
+
"description": "Image output type.",
|
|
741
|
+
"type": "string",
|
|
742
|
+
"enum": [
|
|
743
|
+
"URL",
|
|
744
|
+
"base64Data",
|
|
745
|
+
"dataURI"
|
|
746
|
+
],
|
|
747
|
+
"default": "URL"
|
|
748
|
+
},
|
|
749
|
+
"outputFormat": {
|
|
750
|
+
"title": "Output Format",
|
|
751
|
+
"description": "File format for the generated image.",
|
|
752
|
+
"type": "string",
|
|
753
|
+
"enum": [
|
|
754
|
+
"JPG",
|
|
755
|
+
"PNG",
|
|
756
|
+
"WEBP"
|
|
757
|
+
],
|
|
758
|
+
"default": "JPG"
|
|
759
|
+
},
|
|
760
|
+
"outputQuality": {
|
|
761
|
+
"title": "Output Quality",
|
|
762
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
763
|
+
"type": "integer",
|
|
764
|
+
"minimum": 20,
|
|
765
|
+
"maximum": 99,
|
|
766
|
+
"default": 95
|
|
767
|
+
},
|
|
768
|
+
"deliveryMethod": {
|
|
769
|
+
"title": "Delivery Method",
|
|
770
|
+
"description": "Determines how the API delivers task results.",
|
|
771
|
+
"type": "string",
|
|
772
|
+
"oneOf": [
|
|
773
|
+
{
|
|
774
|
+
"const": "sync",
|
|
775
|
+
"description": "Returns complete results directly in the API response."
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
"const": "async",
|
|
779
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
780
|
+
}
|
|
781
|
+
],
|
|
782
|
+
"default": "sync"
|
|
783
|
+
},
|
|
784
|
+
"safety": {
|
|
785
|
+
"type": "object",
|
|
786
|
+
"title": "Safety Settings",
|
|
787
|
+
"description": "Content safety checking configuration for image generation.",
|
|
788
|
+
"properties": {
|
|
789
|
+
"checkContent": {
|
|
790
|
+
"title": "Check Content",
|
|
791
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
792
|
+
"type": "boolean",
|
|
793
|
+
"default": false
|
|
794
|
+
},
|
|
795
|
+
"mode": {
|
|
796
|
+
"description": "Safety checking mode for image generation.",
|
|
797
|
+
"type": "string",
|
|
798
|
+
"oneOf": [
|
|
799
|
+
{
|
|
800
|
+
"const": "none",
|
|
801
|
+
"title": "None",
|
|
802
|
+
"description": "Disables checking."
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"const": "fast",
|
|
806
|
+
"title": "Fast",
|
|
807
|
+
"description": "Performs a single check."
|
|
808
|
+
}
|
|
809
|
+
],
|
|
810
|
+
"default": "none"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"additionalProperties": false
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
"required": [
|
|
817
|
+
"inputs",
|
|
818
|
+
"taskType",
|
|
819
|
+
"taskUUID",
|
|
820
|
+
"model"
|
|
821
|
+
],
|
|
822
|
+
"additionalProperties": false
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"type": "object",
|
|
826
|
+
"properties": {
|
|
827
|
+
"model": {
|
|
828
|
+
"title": "Model",
|
|
829
|
+
"description": "Identifier of the model to use for generation.",
|
|
830
|
+
"type": "string",
|
|
831
|
+
"const": "bria:21@2"
|
|
832
|
+
},
|
|
833
|
+
"inputs": {
|
|
834
|
+
"title": "Inputs",
|
|
835
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
836
|
+
"type": "object",
|
|
837
|
+
"properties": {
|
|
838
|
+
"image": {
|
|
839
|
+
"title": "Image",
|
|
840
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
841
|
+
"type": "string",
|
|
842
|
+
"anyOf": [
|
|
843
|
+
{
|
|
844
|
+
"format": "uuid"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"format": "uri"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
854
|
+
}
|
|
855
|
+
]
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
"required": [
|
|
859
|
+
"image"
|
|
860
|
+
],
|
|
861
|
+
"additionalProperties": false
|
|
862
|
+
},
|
|
863
|
+
"positivePrompt": {
|
|
864
|
+
"title": "Positive Prompt",
|
|
865
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
866
|
+
"type": "string",
|
|
867
|
+
"minLength": 1,
|
|
868
|
+
"maxLength": 10000
|
|
869
|
+
},
|
|
870
|
+
"providerSettings": {
|
|
871
|
+
"title": "Provider Settings",
|
|
872
|
+
"description": "Provider-specific configuration settings.",
|
|
873
|
+
"type": "object",
|
|
874
|
+
"properties": {
|
|
875
|
+
"bria": {
|
|
876
|
+
"title": "Bria Settings",
|
|
877
|
+
"description": "Provider-specific settings for Bria.",
|
|
878
|
+
"type": "object",
|
|
879
|
+
"properties": {
|
|
880
|
+
"color": {
|
|
881
|
+
"title": "Color Style",
|
|
882
|
+
"description": "Color style for the colorize operation.",
|
|
883
|
+
"type": "string",
|
|
884
|
+
"enum": [
|
|
885
|
+
"contemporary color",
|
|
886
|
+
"vivid color",
|
|
887
|
+
"black and white colors",
|
|
888
|
+
"sepia vintage"
|
|
889
|
+
]
|
|
890
|
+
},
|
|
891
|
+
"edit": {
|
|
892
|
+
"title": "Edit Operation",
|
|
893
|
+
"description": "The specific editing workflow to apply.",
|
|
894
|
+
"type": "string",
|
|
895
|
+
"enum": [
|
|
896
|
+
"colorize",
|
|
897
|
+
"relight",
|
|
898
|
+
"restore",
|
|
899
|
+
"blend",
|
|
900
|
+
"reseason",
|
|
901
|
+
"sketch_to_image"
|
|
902
|
+
]
|
|
903
|
+
},
|
|
904
|
+
"lightDirection": {
|
|
905
|
+
"title": "Light Direction",
|
|
906
|
+
"description": "Direction of the light for the relight operation.",
|
|
907
|
+
"type": "string",
|
|
908
|
+
"enum": [
|
|
909
|
+
"front",
|
|
910
|
+
"side",
|
|
911
|
+
"bottom",
|
|
912
|
+
"top-down"
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
"lightType": {
|
|
916
|
+
"title": "Light Type",
|
|
917
|
+
"description": "Type of lightning to apply in the relight operation.",
|
|
918
|
+
"type": "string",
|
|
919
|
+
"enum": [
|
|
920
|
+
"midday",
|
|
921
|
+
"blue hour light",
|
|
922
|
+
"low-angle sunlight",
|
|
923
|
+
"sunrise light",
|
|
924
|
+
"spotlight on subject",
|
|
925
|
+
"keep background settings",
|
|
926
|
+
"overcast light",
|
|
927
|
+
"soft overcast daylight lighting",
|
|
928
|
+
"cloud-filtered lighting",
|
|
929
|
+
"fog-diffused lighting",
|
|
930
|
+
"moonlight lighting",
|
|
931
|
+
"starlight lighting nighttime",
|
|
932
|
+
"soft bokeh lighting",
|
|
933
|
+
"harsh studio lighting keep background setting"
|
|
934
|
+
]
|
|
935
|
+
},
|
|
936
|
+
"season": {
|
|
937
|
+
"title": "Season",
|
|
938
|
+
"description": "Target season for the reseason operation.",
|
|
939
|
+
"type": "string",
|
|
940
|
+
"enum": [
|
|
941
|
+
"spring",
|
|
942
|
+
"summer",
|
|
943
|
+
"autumn",
|
|
944
|
+
"winter"
|
|
945
|
+
]
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
"required": [
|
|
949
|
+
"edit"
|
|
950
|
+
],
|
|
951
|
+
"additionalProperties": false
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"additionalProperties": false
|
|
955
|
+
},
|
|
956
|
+
"taskType": {
|
|
957
|
+
"title": "Task Type",
|
|
958
|
+
"description": "Identifier for the type of task being performed",
|
|
959
|
+
"type": "string",
|
|
960
|
+
"const": "imageInference"
|
|
961
|
+
},
|
|
962
|
+
"taskUUID": {
|
|
963
|
+
"title": "Task UUID",
|
|
964
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
965
|
+
"type": "string",
|
|
966
|
+
"format": "uuid"
|
|
967
|
+
},
|
|
968
|
+
"webhookURL": {
|
|
969
|
+
"title": "Webhook URL",
|
|
970
|
+
"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.",
|
|
971
|
+
"type": "string",
|
|
972
|
+
"format": "uri"
|
|
973
|
+
},
|
|
974
|
+
"includeCost": {
|
|
975
|
+
"title": "Include Cost",
|
|
976
|
+
"description": "Include task cost in the response.",
|
|
977
|
+
"type": "boolean",
|
|
978
|
+
"default": false
|
|
979
|
+
},
|
|
980
|
+
"numberResults": {
|
|
981
|
+
"title": "Number of Results",
|
|
982
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
983
|
+
"type": "integer",
|
|
984
|
+
"minimum": 1,
|
|
985
|
+
"default": 1,
|
|
986
|
+
"maximum": 20
|
|
987
|
+
},
|
|
988
|
+
"uploadEndpoint": {
|
|
989
|
+
"title": "Upload Endpoint",
|
|
990
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
991
|
+
"type": "string",
|
|
992
|
+
"format": "uri"
|
|
993
|
+
},
|
|
994
|
+
"ttl": {
|
|
995
|
+
"title": "TTL",
|
|
996
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
997
|
+
"type": "integer",
|
|
998
|
+
"minimum": 60
|
|
999
|
+
},
|
|
1000
|
+
"outputType": {
|
|
1001
|
+
"title": "Output Type",
|
|
1002
|
+
"description": "Image output type.",
|
|
1003
|
+
"type": "string",
|
|
1004
|
+
"enum": [
|
|
1005
|
+
"URL",
|
|
1006
|
+
"base64Data",
|
|
1007
|
+
"dataURI"
|
|
1008
|
+
],
|
|
1009
|
+
"default": "URL"
|
|
1010
|
+
},
|
|
1011
|
+
"outputFormat": {
|
|
1012
|
+
"title": "Output Format",
|
|
1013
|
+
"description": "File format for the generated image.",
|
|
1014
|
+
"type": "string",
|
|
1015
|
+
"enum": [
|
|
1016
|
+
"JPG",
|
|
1017
|
+
"PNG",
|
|
1018
|
+
"WEBP"
|
|
1019
|
+
],
|
|
1020
|
+
"default": "JPG"
|
|
1021
|
+
},
|
|
1022
|
+
"outputQuality": {
|
|
1023
|
+
"title": "Output Quality",
|
|
1024
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
1025
|
+
"type": "integer",
|
|
1026
|
+
"minimum": 20,
|
|
1027
|
+
"maximum": 99,
|
|
1028
|
+
"default": 95
|
|
1029
|
+
},
|
|
1030
|
+
"deliveryMethod": {
|
|
1031
|
+
"title": "Delivery Method",
|
|
1032
|
+
"description": "Determines how the API delivers task results.",
|
|
1033
|
+
"type": "string",
|
|
1034
|
+
"oneOf": [
|
|
1035
|
+
{
|
|
1036
|
+
"const": "sync",
|
|
1037
|
+
"description": "Returns complete results directly in the API response."
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"const": "async",
|
|
1041
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
1042
|
+
}
|
|
1043
|
+
],
|
|
1044
|
+
"default": "sync"
|
|
1045
|
+
},
|
|
1046
|
+
"safety": {
|
|
1047
|
+
"type": "object",
|
|
1048
|
+
"title": "Safety Settings",
|
|
1049
|
+
"description": "Content safety checking configuration for image generation.",
|
|
1050
|
+
"properties": {
|
|
1051
|
+
"checkContent": {
|
|
1052
|
+
"title": "Check Content",
|
|
1053
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
1054
|
+
"type": "boolean",
|
|
1055
|
+
"default": false
|
|
1056
|
+
},
|
|
1057
|
+
"mode": {
|
|
1058
|
+
"description": "Safety checking mode for image generation.",
|
|
1059
|
+
"type": "string",
|
|
1060
|
+
"oneOf": [
|
|
1061
|
+
{
|
|
1062
|
+
"const": "none",
|
|
1063
|
+
"title": "None",
|
|
1064
|
+
"description": "Disables checking."
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"const": "fast",
|
|
1068
|
+
"title": "Fast",
|
|
1069
|
+
"description": "Performs a single check."
|
|
1070
|
+
}
|
|
1071
|
+
],
|
|
1072
|
+
"default": "none"
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"additionalProperties": false
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
"required": [
|
|
1079
|
+
"inputs",
|
|
1080
|
+
"taskType",
|
|
1081
|
+
"taskUUID",
|
|
1082
|
+
"model"
|
|
1083
|
+
],
|
|
1084
|
+
"allOf": [
|
|
1085
|
+
{
|
|
1086
|
+
"if": {
|
|
1087
|
+
"properties": {
|
|
1088
|
+
"providerSettings": {
|
|
1089
|
+
"properties": {
|
|
1090
|
+
"bria": {
|
|
1091
|
+
"properties": {
|
|
1092
|
+
"edit": {
|
|
1093
|
+
"const": "colorize"
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
"required": [
|
|
1099
|
+
"bria"
|
|
1100
|
+
]
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
"required": [
|
|
1104
|
+
"providerSettings"
|
|
1105
|
+
]
|
|
1106
|
+
},
|
|
1107
|
+
"then": {
|
|
1108
|
+
"properties": {
|
|
1109
|
+
"providerSettings": {
|
|
1110
|
+
"properties": {
|
|
1111
|
+
"bria": {
|
|
1112
|
+
"required": [
|
|
1113
|
+
"color"
|
|
1114
|
+
]
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"if": {
|
|
1123
|
+
"properties": {
|
|
1124
|
+
"providerSettings": {
|
|
1125
|
+
"properties": {
|
|
1126
|
+
"bria": {
|
|
1127
|
+
"properties": {
|
|
1128
|
+
"edit": {
|
|
1129
|
+
"const": "relight"
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
"required": [
|
|
1135
|
+
"bria"
|
|
1136
|
+
]
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
"required": [
|
|
1140
|
+
"providerSettings"
|
|
1141
|
+
]
|
|
1142
|
+
},
|
|
1143
|
+
"then": {
|
|
1144
|
+
"properties": {
|
|
1145
|
+
"providerSettings": {
|
|
1146
|
+
"properties": {
|
|
1147
|
+
"bria": {
|
|
1148
|
+
"required": [
|
|
1149
|
+
"lightType"
|
|
1150
|
+
]
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"if": {
|
|
1159
|
+
"properties": {
|
|
1160
|
+
"providerSettings": {
|
|
1161
|
+
"properties": {
|
|
1162
|
+
"bria": {
|
|
1163
|
+
"properties": {
|
|
1164
|
+
"edit": {
|
|
1165
|
+
"const": "blend"
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
"required": [
|
|
1171
|
+
"bria"
|
|
1172
|
+
]
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"required": [
|
|
1176
|
+
"providerSettings"
|
|
1177
|
+
]
|
|
1178
|
+
},
|
|
1179
|
+
"then": {
|
|
1180
|
+
"required": [
|
|
1181
|
+
"positivePrompt"
|
|
1182
|
+
]
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"if": {
|
|
1187
|
+
"properties": {
|
|
1188
|
+
"providerSettings": {
|
|
1189
|
+
"properties": {
|
|
1190
|
+
"bria": {
|
|
1191
|
+
"properties": {
|
|
1192
|
+
"edit": {
|
|
1193
|
+
"const": "reseason"
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
"required": [
|
|
1199
|
+
"bria"
|
|
1200
|
+
]
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
"required": [
|
|
1204
|
+
"providerSettings"
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
"then": {
|
|
1208
|
+
"properties": {
|
|
1209
|
+
"providerSettings": {
|
|
1210
|
+
"properties": {
|
|
1211
|
+
"bria": {
|
|
1212
|
+
"required": [
|
|
1213
|
+
"season"
|
|
1214
|
+
]
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
],
|
|
1222
|
+
"additionalProperties": false
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"type": "object",
|
|
1226
|
+
"properties": {
|
|
1227
|
+
"model": {
|
|
1228
|
+
"title": "Model",
|
|
1229
|
+
"description": "Identifier of the model to use for generation.",
|
|
1230
|
+
"type": "string",
|
|
1231
|
+
"const": "bria:20@3"
|
|
1232
|
+
},
|
|
1233
|
+
"inputs": {
|
|
1234
|
+
"title": "Inputs",
|
|
1235
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
1236
|
+
"type": "object",
|
|
1237
|
+
"properties": {
|
|
1238
|
+
"image": {
|
|
1239
|
+
"title": "Image",
|
|
1240
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
1241
|
+
"type": "string",
|
|
1242
|
+
"anyOf": [
|
|
1243
|
+
{
|
|
1244
|
+
"format": "uuid"
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"format": "uri"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
1254
|
+
}
|
|
1255
|
+
]
|
|
1256
|
+
}
|
|
1257
|
+
},
|
|
1258
|
+
"additionalProperties": false
|
|
1259
|
+
},
|
|
1260
|
+
"positivePrompt": {
|
|
1261
|
+
"title": "Positive Prompt",
|
|
1262
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
1263
|
+
"type": "string",
|
|
1264
|
+
"minLength": 2,
|
|
1265
|
+
"maxLength": 3000
|
|
1266
|
+
},
|
|
1267
|
+
"negativePrompt": {
|
|
1268
|
+
"title": "Negative Prompt",
|
|
1269
|
+
"description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
|
|
1270
|
+
"type": "string",
|
|
1271
|
+
"minLength": 2,
|
|
1272
|
+
"maxLength": 3000
|
|
1273
|
+
},
|
|
1274
|
+
"width": {
|
|
1275
|
+
"title": "Width",
|
|
1276
|
+
"description": "Width of the generated media in pixels.",
|
|
1277
|
+
"type": "integer"
|
|
1278
|
+
},
|
|
1279
|
+
"height": {
|
|
1280
|
+
"title": "Height",
|
|
1281
|
+
"description": "Height of the generated media in pixels.",
|
|
1282
|
+
"type": "integer"
|
|
1283
|
+
},
|
|
1284
|
+
"seed": {
|
|
1285
|
+
"title": "Seed",
|
|
1286
|
+
"description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
|
|
1287
|
+
"type": "integer",
|
|
1288
|
+
"minimum": 0,
|
|
1289
|
+
"maximum": 9223372036854776000
|
|
1290
|
+
},
|
|
1291
|
+
"CFGScale": {
|
|
1292
|
+
"title": "CFG Scale",
|
|
1293
|
+
"description": "Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.",
|
|
1294
|
+
"type": "number",
|
|
1295
|
+
"multipleOf": 0.01,
|
|
1296
|
+
"minimum": 0,
|
|
1297
|
+
"enum": [
|
|
1298
|
+
3,
|
|
1299
|
+
4,
|
|
1300
|
+
5
|
|
1301
|
+
],
|
|
1302
|
+
"default": 5
|
|
1303
|
+
},
|
|
1304
|
+
"providerSettings": {
|
|
1305
|
+
"title": "Provider Settings",
|
|
1306
|
+
"description": "Provider-specific configuration settings.",
|
|
1307
|
+
"type": "object",
|
|
1308
|
+
"properties": {
|
|
1309
|
+
"bria": {
|
|
1310
|
+
"title": "Bria Settings",
|
|
1311
|
+
"description": "Provider-specific settings for Bria.",
|
|
1312
|
+
"type": "object",
|
|
1313
|
+
"properties": {
|
|
1314
|
+
"ipSignal": {
|
|
1315
|
+
"title": "IP Signal",
|
|
1316
|
+
"description": "Flag potential IP-related content in prompt or output.",
|
|
1317
|
+
"type": "boolean",
|
|
1318
|
+
"default": false
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
"additionalProperties": false
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
"additionalProperties": false
|
|
1325
|
+
},
|
|
1326
|
+
"taskType": {
|
|
1327
|
+
"title": "Task Type",
|
|
1328
|
+
"description": "Identifier for the type of task being performed",
|
|
1329
|
+
"type": "string",
|
|
1330
|
+
"const": "imageInference"
|
|
1331
|
+
},
|
|
1332
|
+
"taskUUID": {
|
|
1333
|
+
"title": "Task UUID",
|
|
1334
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
1335
|
+
"type": "string",
|
|
1336
|
+
"format": "uuid"
|
|
1337
|
+
},
|
|
1338
|
+
"webhookURL": {
|
|
1339
|
+
"title": "Webhook URL",
|
|
1340
|
+
"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.",
|
|
1341
|
+
"type": "string",
|
|
1342
|
+
"format": "uri"
|
|
1343
|
+
},
|
|
1344
|
+
"includeCost": {
|
|
1345
|
+
"title": "Include Cost",
|
|
1346
|
+
"description": "Include task cost in the response.",
|
|
1347
|
+
"type": "boolean",
|
|
1348
|
+
"default": false
|
|
1349
|
+
},
|
|
1350
|
+
"numberResults": {
|
|
1351
|
+
"title": "Number of Results",
|
|
1352
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
1353
|
+
"type": "integer",
|
|
1354
|
+
"minimum": 1,
|
|
1355
|
+
"default": 1,
|
|
1356
|
+
"maximum": 20
|
|
1357
|
+
},
|
|
1358
|
+
"uploadEndpoint": {
|
|
1359
|
+
"title": "Upload Endpoint",
|
|
1360
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
1361
|
+
"type": "string",
|
|
1362
|
+
"format": "uri"
|
|
1363
|
+
},
|
|
1364
|
+
"ttl": {
|
|
1365
|
+
"title": "TTL",
|
|
1366
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
1367
|
+
"type": "integer",
|
|
1368
|
+
"minimum": 60
|
|
1369
|
+
},
|
|
1370
|
+
"outputType": {
|
|
1371
|
+
"title": "Output Type",
|
|
1372
|
+
"description": "Image output type.",
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"enum": [
|
|
1375
|
+
"URL",
|
|
1376
|
+
"base64Data",
|
|
1377
|
+
"dataURI"
|
|
1378
|
+
],
|
|
1379
|
+
"default": "URL"
|
|
1380
|
+
},
|
|
1381
|
+
"outputFormat": {
|
|
1382
|
+
"title": "Output Format",
|
|
1383
|
+
"description": "File format for the generated image.",
|
|
1384
|
+
"type": "string",
|
|
1385
|
+
"enum": [
|
|
1386
|
+
"JPG",
|
|
1387
|
+
"PNG",
|
|
1388
|
+
"WEBP"
|
|
1389
|
+
],
|
|
1390
|
+
"default": "JPG"
|
|
1391
|
+
},
|
|
1392
|
+
"outputQuality": {
|
|
1393
|
+
"title": "Output Quality",
|
|
1394
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
1395
|
+
"type": "integer",
|
|
1396
|
+
"minimum": 20,
|
|
1397
|
+
"maximum": 99,
|
|
1398
|
+
"default": 95
|
|
1399
|
+
},
|
|
1400
|
+
"deliveryMethod": {
|
|
1401
|
+
"title": "Delivery Method",
|
|
1402
|
+
"description": "Determines how the API delivers task results.",
|
|
1403
|
+
"type": "string",
|
|
1404
|
+
"oneOf": [
|
|
1405
|
+
{
|
|
1406
|
+
"const": "sync",
|
|
1407
|
+
"description": "Returns complete results directly in the API response."
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"const": "async",
|
|
1411
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
1412
|
+
}
|
|
1413
|
+
],
|
|
1414
|
+
"default": "sync"
|
|
1415
|
+
},
|
|
1416
|
+
"safety": {
|
|
1417
|
+
"type": "object",
|
|
1418
|
+
"title": "Safety Settings",
|
|
1419
|
+
"description": "Content safety checking configuration for image generation.",
|
|
1420
|
+
"properties": {
|
|
1421
|
+
"checkContent": {
|
|
1422
|
+
"title": "Check Content",
|
|
1423
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
1424
|
+
"type": "boolean",
|
|
1425
|
+
"default": false
|
|
1426
|
+
},
|
|
1427
|
+
"mode": {
|
|
1428
|
+
"description": "Safety checking mode for image generation.",
|
|
1429
|
+
"type": "string",
|
|
1430
|
+
"oneOf": [
|
|
1431
|
+
{
|
|
1432
|
+
"const": "none",
|
|
1433
|
+
"title": "None",
|
|
1434
|
+
"description": "Disables checking."
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"const": "fast",
|
|
1438
|
+
"title": "Fast",
|
|
1439
|
+
"description": "Performs a single check."
|
|
1440
|
+
}
|
|
1441
|
+
],
|
|
1442
|
+
"default": "none"
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1445
|
+
"additionalProperties": false
|
|
1446
|
+
}
|
|
1447
|
+
},
|
|
1448
|
+
"required": [
|
|
1449
|
+
"positivePrompt",
|
|
1450
|
+
"width",
|
|
1451
|
+
"height",
|
|
1452
|
+
"taskType",
|
|
1453
|
+
"taskUUID",
|
|
1454
|
+
"model"
|
|
1455
|
+
],
|
|
1456
|
+
"allOf": [
|
|
1457
|
+
{
|
|
1458
|
+
"dependentRequired": {
|
|
1459
|
+
"width": [
|
|
1460
|
+
"height"
|
|
1461
|
+
],
|
|
1462
|
+
"height": [
|
|
1463
|
+
"width"
|
|
1464
|
+
]
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"oneOf": [
|
|
1469
|
+
{
|
|
1470
|
+
"title": "1K (1:1)",
|
|
1471
|
+
"properties": {
|
|
1472
|
+
"width": {
|
|
1473
|
+
"const": 1024
|
|
1474
|
+
},
|
|
1475
|
+
"height": {
|
|
1476
|
+
"const": 1024
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"title": "1K (2:3)",
|
|
1482
|
+
"properties": {
|
|
1483
|
+
"width": {
|
|
1484
|
+
"const": 832
|
|
1485
|
+
},
|
|
1486
|
+
"height": {
|
|
1487
|
+
"const": 1216
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"title": "1K (3:2)",
|
|
1493
|
+
"properties": {
|
|
1494
|
+
"width": {
|
|
1495
|
+
"const": 1216
|
|
1496
|
+
},
|
|
1497
|
+
"height": {
|
|
1498
|
+
"const": 832
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"title": "1K (7:9)",
|
|
1504
|
+
"properties": {
|
|
1505
|
+
"width": {
|
|
1506
|
+
"const": 896
|
|
1507
|
+
},
|
|
1508
|
+
"height": {
|
|
1509
|
+
"const": 1152
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"title": "1K (9:7)",
|
|
1515
|
+
"properties": {
|
|
1516
|
+
"width": {
|
|
1517
|
+
"const": 1152
|
|
1518
|
+
},
|
|
1519
|
+
"height": {
|
|
1520
|
+
"const": 896
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"title": "1K (14:17)",
|
|
1526
|
+
"properties": {
|
|
1527
|
+
"width": {
|
|
1528
|
+
"const": 896
|
|
1529
|
+
},
|
|
1530
|
+
"height": {
|
|
1531
|
+
"const": 1088
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"title": "1K (17:14)",
|
|
1537
|
+
"properties": {
|
|
1538
|
+
"width": {
|
|
1539
|
+
"const": 1088
|
|
1540
|
+
},
|
|
1541
|
+
"height": {
|
|
1542
|
+
"const": 896
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"title": "1K (4:7)",
|
|
1548
|
+
"properties": {
|
|
1549
|
+
"width": {
|
|
1550
|
+
"const": 768
|
|
1551
|
+
},
|
|
1552
|
+
"height": {
|
|
1553
|
+
"const": 1344
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
"title": "1K (7:4)",
|
|
1559
|
+
"properties": {
|
|
1560
|
+
"width": {
|
|
1561
|
+
"const": 1344
|
|
1562
|
+
},
|
|
1563
|
+
"height": {
|
|
1564
|
+
"const": 768
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
]
|
|
1569
|
+
}
|
|
1570
|
+
],
|
|
1571
|
+
"additionalProperties": false
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"type": "object",
|
|
1575
|
+
"properties": {
|
|
1576
|
+
"model": {
|
|
1577
|
+
"title": "Model",
|
|
1578
|
+
"description": "Identifier of the model to use for generation.",
|
|
1579
|
+
"type": "string",
|
|
1580
|
+
"const": "bria:20@1"
|
|
1581
|
+
},
|
|
1582
|
+
"inputs": {
|
|
1583
|
+
"title": "Inputs",
|
|
1584
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
1585
|
+
"type": "object",
|
|
1586
|
+
"properties": {
|
|
1587
|
+
"image": {
|
|
1588
|
+
"title": "Image",
|
|
1589
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
1590
|
+
"type": "string",
|
|
1591
|
+
"anyOf": [
|
|
1592
|
+
{
|
|
1593
|
+
"format": "uuid"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"format": "uri"
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
1603
|
+
}
|
|
1604
|
+
]
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
"additionalProperties": false
|
|
1608
|
+
},
|
|
1609
|
+
"positivePrompt": {
|
|
1610
|
+
"title": "Positive Prompt",
|
|
1611
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
1612
|
+
"type": "string",
|
|
1613
|
+
"minLength": 2,
|
|
1614
|
+
"maxLength": 3000
|
|
1615
|
+
},
|
|
1616
|
+
"negativePrompt": {
|
|
1617
|
+
"title": "Negative Prompt",
|
|
1618
|
+
"description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
|
|
1619
|
+
"type": "string",
|
|
1620
|
+
"minLength": 2,
|
|
1621
|
+
"maxLength": 3000
|
|
1622
|
+
},
|
|
1623
|
+
"width": {
|
|
1624
|
+
"title": "Width",
|
|
1625
|
+
"description": "Width of the generated media in pixels.",
|
|
1626
|
+
"type": "integer"
|
|
1627
|
+
},
|
|
1628
|
+
"height": {
|
|
1629
|
+
"title": "Height",
|
|
1630
|
+
"description": "Height of the generated media in pixels.",
|
|
1631
|
+
"type": "integer"
|
|
1632
|
+
},
|
|
1633
|
+
"seed": {
|
|
1634
|
+
"title": "Seed",
|
|
1635
|
+
"description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
|
|
1636
|
+
"type": "integer",
|
|
1637
|
+
"minimum": 0,
|
|
1638
|
+
"maximum": 9223372036854776000
|
|
1639
|
+
},
|
|
1640
|
+
"steps": {
|
|
1641
|
+
"title": "Steps",
|
|
1642
|
+
"description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
|
|
1643
|
+
"type": "integer",
|
|
1644
|
+
"minimum": 20,
|
|
1645
|
+
"default": 50,
|
|
1646
|
+
"maximum": 50
|
|
1647
|
+
},
|
|
1648
|
+
"CFGScale": {
|
|
1649
|
+
"title": "CFG Scale",
|
|
1650
|
+
"description": "Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.",
|
|
1651
|
+
"type": "number",
|
|
1652
|
+
"multipleOf": 0.01,
|
|
1653
|
+
"minimum": 0,
|
|
1654
|
+
"enum": [
|
|
1655
|
+
3,
|
|
1656
|
+
4,
|
|
1657
|
+
5
|
|
1658
|
+
],
|
|
1659
|
+
"default": 5
|
|
1660
|
+
},
|
|
1661
|
+
"providerSettings": {
|
|
1662
|
+
"title": "Provider Settings",
|
|
1663
|
+
"description": "Provider-specific configuration settings.",
|
|
1664
|
+
"type": "object",
|
|
1665
|
+
"properties": {
|
|
1666
|
+
"bria": {
|
|
1667
|
+
"title": "Bria Settings",
|
|
1668
|
+
"description": "Provider-specific settings for Bria.",
|
|
1669
|
+
"type": "object",
|
|
1670
|
+
"properties": {
|
|
1671
|
+
"ipSignal": {
|
|
1672
|
+
"title": "IP Signal",
|
|
1673
|
+
"description": "Flag potential IP-related content in prompt or output.",
|
|
1674
|
+
"type": "boolean",
|
|
1675
|
+
"default": false
|
|
1676
|
+
}
|
|
1677
|
+
},
|
|
1678
|
+
"additionalProperties": false
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
"additionalProperties": false
|
|
1682
|
+
},
|
|
1683
|
+
"taskType": {
|
|
1684
|
+
"title": "Task Type",
|
|
1685
|
+
"description": "Identifier for the type of task being performed",
|
|
1686
|
+
"type": "string",
|
|
1687
|
+
"const": "imageInference"
|
|
1688
|
+
},
|
|
1689
|
+
"taskUUID": {
|
|
1690
|
+
"title": "Task UUID",
|
|
1691
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
1692
|
+
"type": "string",
|
|
1693
|
+
"format": "uuid"
|
|
1694
|
+
},
|
|
1695
|
+
"webhookURL": {
|
|
1696
|
+
"title": "Webhook URL",
|
|
1697
|
+
"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.",
|
|
1698
|
+
"type": "string",
|
|
1699
|
+
"format": "uri"
|
|
1700
|
+
},
|
|
1701
|
+
"includeCost": {
|
|
1702
|
+
"title": "Include Cost",
|
|
1703
|
+
"description": "Include task cost in the response.",
|
|
1704
|
+
"type": "boolean",
|
|
1705
|
+
"default": false
|
|
1706
|
+
},
|
|
1707
|
+
"numberResults": {
|
|
1708
|
+
"title": "Number of Results",
|
|
1709
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
1710
|
+
"type": "integer",
|
|
1711
|
+
"minimum": 1,
|
|
1712
|
+
"default": 1,
|
|
1713
|
+
"maximum": 20
|
|
1714
|
+
},
|
|
1715
|
+
"uploadEndpoint": {
|
|
1716
|
+
"title": "Upload Endpoint",
|
|
1717
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
1718
|
+
"type": "string",
|
|
1719
|
+
"format": "uri"
|
|
1720
|
+
},
|
|
1721
|
+
"ttl": {
|
|
1722
|
+
"title": "TTL",
|
|
1723
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
1724
|
+
"type": "integer",
|
|
1725
|
+
"minimum": 60
|
|
1726
|
+
},
|
|
1727
|
+
"outputType": {
|
|
1728
|
+
"title": "Output Type",
|
|
1729
|
+
"description": "Image output type.",
|
|
1730
|
+
"type": "string",
|
|
1731
|
+
"enum": [
|
|
1732
|
+
"URL",
|
|
1733
|
+
"base64Data",
|
|
1734
|
+
"dataURI"
|
|
1735
|
+
],
|
|
1736
|
+
"default": "URL"
|
|
1737
|
+
},
|
|
1738
|
+
"outputFormat": {
|
|
1739
|
+
"title": "Output Format",
|
|
1740
|
+
"description": "File format for the generated image.",
|
|
1741
|
+
"type": "string",
|
|
1742
|
+
"enum": [
|
|
1743
|
+
"JPG",
|
|
1744
|
+
"PNG",
|
|
1745
|
+
"WEBP"
|
|
1746
|
+
],
|
|
1747
|
+
"default": "JPG"
|
|
1748
|
+
},
|
|
1749
|
+
"outputQuality": {
|
|
1750
|
+
"title": "Output Quality",
|
|
1751
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
1752
|
+
"type": "integer",
|
|
1753
|
+
"minimum": 20,
|
|
1754
|
+
"maximum": 99,
|
|
1755
|
+
"default": 95
|
|
1756
|
+
},
|
|
1757
|
+
"deliveryMethod": {
|
|
1758
|
+
"title": "Delivery Method",
|
|
1759
|
+
"description": "Determines how the API delivers task results.",
|
|
1760
|
+
"type": "string",
|
|
1761
|
+
"oneOf": [
|
|
1762
|
+
{
|
|
1763
|
+
"const": "sync",
|
|
1764
|
+
"description": "Returns complete results directly in the API response."
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"const": "async",
|
|
1768
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
1769
|
+
}
|
|
1770
|
+
],
|
|
1771
|
+
"default": "sync"
|
|
1772
|
+
},
|
|
1773
|
+
"safety": {
|
|
1774
|
+
"type": "object",
|
|
1775
|
+
"title": "Safety Settings",
|
|
1776
|
+
"description": "Content safety checking configuration for image generation.",
|
|
1777
|
+
"properties": {
|
|
1778
|
+
"checkContent": {
|
|
1779
|
+
"title": "Check Content",
|
|
1780
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
1781
|
+
"type": "boolean",
|
|
1782
|
+
"default": false
|
|
1783
|
+
},
|
|
1784
|
+
"mode": {
|
|
1785
|
+
"description": "Safety checking mode for image generation.",
|
|
1786
|
+
"type": "string",
|
|
1787
|
+
"oneOf": [
|
|
1788
|
+
{
|
|
1789
|
+
"const": "none",
|
|
1790
|
+
"title": "None",
|
|
1791
|
+
"description": "Disables checking."
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"const": "fast",
|
|
1795
|
+
"title": "Fast",
|
|
1796
|
+
"description": "Performs a single check."
|
|
1797
|
+
}
|
|
1798
|
+
],
|
|
1799
|
+
"default": "none"
|
|
1800
|
+
}
|
|
1801
|
+
},
|
|
1802
|
+
"additionalProperties": false
|
|
1803
|
+
}
|
|
1804
|
+
},
|
|
1805
|
+
"required": [
|
|
1806
|
+
"positivePrompt",
|
|
1807
|
+
"width",
|
|
1808
|
+
"height",
|
|
1809
|
+
"taskType",
|
|
1810
|
+
"taskUUID",
|
|
1811
|
+
"model"
|
|
1812
|
+
],
|
|
1813
|
+
"allOf": [
|
|
1814
|
+
{
|
|
1815
|
+
"dependentRequired": {
|
|
1816
|
+
"width": [
|
|
1817
|
+
"height"
|
|
1818
|
+
],
|
|
1819
|
+
"height": [
|
|
1820
|
+
"width"
|
|
1821
|
+
]
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"oneOf": [
|
|
1826
|
+
{
|
|
1827
|
+
"title": "1K (1:1)",
|
|
1828
|
+
"properties": {
|
|
1829
|
+
"width": {
|
|
1830
|
+
"const": 1024
|
|
1831
|
+
},
|
|
1832
|
+
"height": {
|
|
1833
|
+
"const": 1024
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"title": "1K (2:3)",
|
|
1839
|
+
"properties": {
|
|
1840
|
+
"width": {
|
|
1841
|
+
"const": 832
|
|
1842
|
+
},
|
|
1843
|
+
"height": {
|
|
1844
|
+
"const": 1216
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"title": "1K (3:2)",
|
|
1850
|
+
"properties": {
|
|
1851
|
+
"width": {
|
|
1852
|
+
"const": 1216
|
|
1853
|
+
},
|
|
1854
|
+
"height": {
|
|
1855
|
+
"const": 832
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"title": "1K (7:9)",
|
|
1861
|
+
"properties": {
|
|
1862
|
+
"width": {
|
|
1863
|
+
"const": 896
|
|
1864
|
+
},
|
|
1865
|
+
"height": {
|
|
1866
|
+
"const": 1152
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"title": "1K (9:7)",
|
|
1872
|
+
"properties": {
|
|
1873
|
+
"width": {
|
|
1874
|
+
"const": 1152
|
|
1875
|
+
},
|
|
1876
|
+
"height": {
|
|
1877
|
+
"const": 896
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"title": "1K (14:17)",
|
|
1883
|
+
"properties": {
|
|
1884
|
+
"width": {
|
|
1885
|
+
"const": 896
|
|
1886
|
+
},
|
|
1887
|
+
"height": {
|
|
1888
|
+
"const": 1088
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"title": "1K (17:14)",
|
|
1894
|
+
"properties": {
|
|
1895
|
+
"width": {
|
|
1896
|
+
"const": 1088
|
|
1897
|
+
},
|
|
1898
|
+
"height": {
|
|
1899
|
+
"const": 896
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"title": "1K (4:7)",
|
|
1905
|
+
"properties": {
|
|
1906
|
+
"width": {
|
|
1907
|
+
"const": 768
|
|
1908
|
+
},
|
|
1909
|
+
"height": {
|
|
1910
|
+
"const": 1344
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"title": "1K (7:4)",
|
|
1916
|
+
"properties": {
|
|
1917
|
+
"width": {
|
|
1918
|
+
"const": 1344
|
|
1919
|
+
},
|
|
1920
|
+
"height": {
|
|
1921
|
+
"const": 768
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
]
|
|
1926
|
+
}
|
|
1927
|
+
],
|
|
1928
|
+
"additionalProperties": false
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"type": "object",
|
|
1932
|
+
"properties": {
|
|
1933
|
+
"model": {
|
|
1934
|
+
"title": "Model",
|
|
1935
|
+
"description": "Identifier of the model to use for generation.",
|
|
1936
|
+
"type": "string",
|
|
1937
|
+
"const": "bria:52@1"
|
|
1938
|
+
},
|
|
1939
|
+
"upscaleFactor": {
|
|
1940
|
+
"title": "Upscale Factor",
|
|
1941
|
+
"description": "Factor by which to upscale the generated image. A value of 2 doubles width and height.",
|
|
1942
|
+
"type": "integer",
|
|
1943
|
+
"enum": [
|
|
1944
|
+
2,
|
|
1945
|
+
4
|
|
1946
|
+
],
|
|
1947
|
+
"default": 2
|
|
1948
|
+
},
|
|
1949
|
+
"providerSettings": {
|
|
1950
|
+
"title": "Provider Settings",
|
|
1951
|
+
"description": "Provider-specific configuration settings.",
|
|
1952
|
+
"type": "object",
|
|
1953
|
+
"properties": {
|
|
1954
|
+
"bria": {
|
|
1955
|
+
"title": "Bria Settings",
|
|
1956
|
+
"description": "Provider-specific settings for Bria.",
|
|
1957
|
+
"type": "object",
|
|
1958
|
+
"properties": {
|
|
1959
|
+
"preserveAlpha": {
|
|
1960
|
+
"title": "Preserve Alpha",
|
|
1961
|
+
"description": "Enable alpha channel preservation in output. Only affects images that already contain an alpha channel.",
|
|
1962
|
+
"type": "boolean",
|
|
1963
|
+
"default": false
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
"additionalProperties": false
|
|
1967
|
+
}
|
|
1968
|
+
},
|
|
1969
|
+
"additionalProperties": false
|
|
1970
|
+
},
|
|
1971
|
+
"taskType": {
|
|
1972
|
+
"title": "Task Type",
|
|
1973
|
+
"description": "Identifier for the type of task being performed",
|
|
1974
|
+
"type": "string",
|
|
1975
|
+
"const": "upscale"
|
|
1976
|
+
},
|
|
1977
|
+
"taskUUID": {
|
|
1978
|
+
"title": "Task UUID",
|
|
1979
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
1980
|
+
"type": "string",
|
|
1981
|
+
"format": "uuid"
|
|
1982
|
+
},
|
|
1983
|
+
"webhookURL": {
|
|
1984
|
+
"title": "Webhook URL",
|
|
1985
|
+
"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.",
|
|
1986
|
+
"type": "string",
|
|
1987
|
+
"format": "uri"
|
|
1988
|
+
},
|
|
1989
|
+
"includeCost": {
|
|
1990
|
+
"title": "Include Cost",
|
|
1991
|
+
"description": "Include task cost in the response.",
|
|
1992
|
+
"type": "boolean",
|
|
1993
|
+
"default": false
|
|
1994
|
+
},
|
|
1995
|
+
"uploadEndpoint": {
|
|
1996
|
+
"title": "Upload Endpoint",
|
|
1997
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
1998
|
+
"type": "string",
|
|
1999
|
+
"format": "uri"
|
|
2000
|
+
},
|
|
2001
|
+
"ttl": {
|
|
2002
|
+
"title": "TTL",
|
|
2003
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
2004
|
+
"type": "integer",
|
|
2005
|
+
"minimum": 60
|
|
2006
|
+
},
|
|
2007
|
+
"outputQuality": {
|
|
2008
|
+
"title": "Output Quality",
|
|
2009
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
2010
|
+
"type": "integer",
|
|
2011
|
+
"minimum": 20,
|
|
2012
|
+
"maximum": 99,
|
|
2013
|
+
"default": 95
|
|
2014
|
+
},
|
|
2015
|
+
"outputType": {
|
|
2016
|
+
"title": "Output Type",
|
|
2017
|
+
"description": "Image output type.",
|
|
2018
|
+
"type": "string",
|
|
2019
|
+
"enum": [
|
|
2020
|
+
"URL",
|
|
2021
|
+
"base64Data",
|
|
2022
|
+
"dataURI"
|
|
2023
|
+
],
|
|
2024
|
+
"default": "URL"
|
|
2025
|
+
},
|
|
2026
|
+
"outputFormat": {
|
|
2027
|
+
"title": "Output Format",
|
|
2028
|
+
"description": "File format for the generated image.",
|
|
2029
|
+
"type": "string",
|
|
2030
|
+
"enum": [
|
|
2031
|
+
"JPG",
|
|
2032
|
+
"PNG",
|
|
2033
|
+
"WEBP"
|
|
2034
|
+
],
|
|
2035
|
+
"default": "JPG"
|
|
2036
|
+
},
|
|
2037
|
+
"deliveryMethod": {
|
|
2038
|
+
"title": "Delivery Method",
|
|
2039
|
+
"description": "Determines how the API delivers task results.",
|
|
2040
|
+
"type": "string",
|
|
2041
|
+
"oneOf": [
|
|
2042
|
+
{
|
|
2043
|
+
"const": "sync",
|
|
2044
|
+
"description": "Returns complete results directly in the API response."
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"const": "async",
|
|
2048
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
2049
|
+
}
|
|
2050
|
+
],
|
|
2051
|
+
"default": "sync"
|
|
2052
|
+
},
|
|
2053
|
+
"inputs": {
|
|
2054
|
+
"title": "Inputs",
|
|
2055
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
2056
|
+
"type": "object",
|
|
2057
|
+
"properties": {
|
|
2058
|
+
"image": {
|
|
2059
|
+
"title": "Image",
|
|
2060
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
2061
|
+
"type": "string",
|
|
2062
|
+
"anyOf": [
|
|
2063
|
+
{
|
|
2064
|
+
"format": "uuid"
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"format": "uri"
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
2074
|
+
}
|
|
2075
|
+
]
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
"required": [
|
|
2079
|
+
"image"
|
|
2080
|
+
],
|
|
2081
|
+
"additionalProperties": false
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2084
|
+
"additionalProperties": false,
|
|
2085
|
+
"required": [
|
|
2086
|
+
"taskType",
|
|
2087
|
+
"taskUUID",
|
|
2088
|
+
"model",
|
|
2089
|
+
"inputs"
|
|
2090
|
+
]
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"type": "object",
|
|
2094
|
+
"properties": {
|
|
2095
|
+
"model": {
|
|
2096
|
+
"title": "Model",
|
|
2097
|
+
"description": "Identifier of the model to use for generation.",
|
|
2098
|
+
"type": "string",
|
|
2099
|
+
"const": "bria:11@1"
|
|
2100
|
+
},
|
|
2101
|
+
"inputs": {
|
|
2102
|
+
"title": "Inputs",
|
|
2103
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
2104
|
+
"type": "object",
|
|
2105
|
+
"properties": {
|
|
2106
|
+
"image": {
|
|
2107
|
+
"title": "Image",
|
|
2108
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
2109
|
+
"type": "string",
|
|
2110
|
+
"anyOf": [
|
|
2111
|
+
{
|
|
2112
|
+
"format": "uuid"
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
"format": "uri"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
2122
|
+
}
|
|
2123
|
+
]
|
|
2124
|
+
},
|
|
2125
|
+
"referenceImages": {
|
|
2126
|
+
"title": "Reference Images",
|
|
2127
|
+
"description": "List of reference images (UUID, URL, Data URI, or Base64).",
|
|
2128
|
+
"type": "array",
|
|
2129
|
+
"minItems": 1,
|
|
2130
|
+
"items": {
|
|
2131
|
+
"title": "Image",
|
|
2132
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
2133
|
+
"type": "string",
|
|
2134
|
+
"anyOf": [
|
|
2135
|
+
{
|
|
2136
|
+
"format": "uuid"
|
|
2137
|
+
},
|
|
2138
|
+
{
|
|
2139
|
+
"format": "uri"
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
2143
|
+
},
|
|
2144
|
+
{
|
|
2145
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
2146
|
+
}
|
|
2147
|
+
]
|
|
2148
|
+
},
|
|
2149
|
+
"maxItems": 4
|
|
2150
|
+
}
|
|
2151
|
+
},
|
|
2152
|
+
"required": [
|
|
2153
|
+
"image"
|
|
2154
|
+
],
|
|
2155
|
+
"additionalProperties": false
|
|
2156
|
+
},
|
|
2157
|
+
"positivePrompt": {
|
|
2158
|
+
"title": "Positive Prompt",
|
|
2159
|
+
"description": "Text prompt describing elements to include in the generated output.",
|
|
2160
|
+
"type": "string"
|
|
2161
|
+
},
|
|
2162
|
+
"negativePrompt": {
|
|
2163
|
+
"title": "Negative Prompt",
|
|
2164
|
+
"description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
|
|
2165
|
+
"type": "string"
|
|
2166
|
+
},
|
|
2167
|
+
"seed": {
|
|
2168
|
+
"title": "Seed",
|
|
2169
|
+
"description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
|
|
2170
|
+
"type": "integer",
|
|
2171
|
+
"minimum": 0,
|
|
2172
|
+
"maximum": 9223372036854776000
|
|
2173
|
+
},
|
|
2174
|
+
"providerSettings": {
|
|
2175
|
+
"title": "Provider Settings",
|
|
2176
|
+
"description": "Provider-specific configuration settings.",
|
|
2177
|
+
"type": "object",
|
|
2178
|
+
"properties": {
|
|
2179
|
+
"bria": {
|
|
2180
|
+
"title": "Bria Settings",
|
|
2181
|
+
"description": "Provider-specific settings for Bria.",
|
|
2182
|
+
"type": "object",
|
|
2183
|
+
"properties": {
|
|
2184
|
+
"enhanceReferenceImages": {
|
|
2185
|
+
"title": "Enhance Reference Images",
|
|
2186
|
+
"description": "Apply additional enhancement to reference images.",
|
|
2187
|
+
"type": "boolean",
|
|
2188
|
+
"default": true
|
|
2189
|
+
},
|
|
2190
|
+
"forceBackgroundDetection": {
|
|
2191
|
+
"title": "Force Background Detection",
|
|
2192
|
+
"description": "Force background detection even with existing alpha channel.",
|
|
2193
|
+
"type": "boolean",
|
|
2194
|
+
"default": false
|
|
2195
|
+
},
|
|
2196
|
+
"mode": {
|
|
2197
|
+
"title": "Mode",
|
|
2198
|
+
"description": "Background generation behavior controlling quality, prompt adherence and speed.",
|
|
2199
|
+
"type": "string",
|
|
2200
|
+
"enum": [
|
|
2201
|
+
"base",
|
|
2202
|
+
"high_control",
|
|
2203
|
+
"fast"
|
|
2204
|
+
],
|
|
2205
|
+
"default": "base"
|
|
2206
|
+
},
|
|
2207
|
+
"originalQuality": {
|
|
2208
|
+
"title": "Original Quality",
|
|
2209
|
+
"description": "Retain original image resolution. When disabled, output is scaled to 1MP while preserving the original aspect ratio.",
|
|
2210
|
+
"type": "boolean",
|
|
2211
|
+
"default": true
|
|
2212
|
+
},
|
|
2213
|
+
"refinePrompt": {
|
|
2214
|
+
"title": "Refine Prompt",
|
|
2215
|
+
"description": "Automatically refine and optimize prompt.",
|
|
2216
|
+
"type": "boolean",
|
|
2217
|
+
"default": true
|
|
2218
|
+
}
|
|
2219
|
+
},
|
|
2220
|
+
"additionalProperties": false
|
|
2221
|
+
}
|
|
2222
|
+
},
|
|
2223
|
+
"additionalProperties": false
|
|
2224
|
+
},
|
|
2225
|
+
"taskType": {
|
|
2226
|
+
"title": "Task Type",
|
|
2227
|
+
"description": "Identifier for the type of task being performed",
|
|
2228
|
+
"type": "string",
|
|
2229
|
+
"const": "imageInference"
|
|
2230
|
+
},
|
|
2231
|
+
"taskUUID": {
|
|
2232
|
+
"title": "Task UUID",
|
|
2233
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
2234
|
+
"type": "string",
|
|
2235
|
+
"format": "uuid"
|
|
2236
|
+
},
|
|
2237
|
+
"webhookURL": {
|
|
2238
|
+
"title": "Webhook URL",
|
|
2239
|
+
"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.",
|
|
2240
|
+
"type": "string",
|
|
2241
|
+
"format": "uri"
|
|
2242
|
+
},
|
|
2243
|
+
"includeCost": {
|
|
2244
|
+
"title": "Include Cost",
|
|
2245
|
+
"description": "Include task cost in the response.",
|
|
2246
|
+
"type": "boolean",
|
|
2247
|
+
"default": false
|
|
2248
|
+
},
|
|
2249
|
+
"numberResults": {
|
|
2250
|
+
"title": "Number of Results",
|
|
2251
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
2252
|
+
"type": "integer",
|
|
2253
|
+
"minimum": 1,
|
|
2254
|
+
"default": 1,
|
|
2255
|
+
"maximum": 20
|
|
2256
|
+
},
|
|
2257
|
+
"uploadEndpoint": {
|
|
2258
|
+
"title": "Upload Endpoint",
|
|
2259
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
2260
|
+
"type": "string",
|
|
2261
|
+
"format": "uri"
|
|
2262
|
+
},
|
|
2263
|
+
"ttl": {
|
|
2264
|
+
"title": "TTL",
|
|
2265
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
2266
|
+
"type": "integer",
|
|
2267
|
+
"minimum": 60
|
|
2268
|
+
},
|
|
2269
|
+
"outputType": {
|
|
2270
|
+
"title": "Output Type",
|
|
2271
|
+
"description": "Image output type.",
|
|
2272
|
+
"type": "string",
|
|
2273
|
+
"enum": [
|
|
2274
|
+
"URL",
|
|
2275
|
+
"base64Data",
|
|
2276
|
+
"dataURI"
|
|
2277
|
+
],
|
|
2278
|
+
"default": "URL"
|
|
2279
|
+
},
|
|
2280
|
+
"outputFormat": {
|
|
2281
|
+
"title": "Output Format",
|
|
2282
|
+
"description": "File format for the generated image.",
|
|
2283
|
+
"type": "string",
|
|
2284
|
+
"enum": [
|
|
2285
|
+
"JPG",
|
|
2286
|
+
"PNG",
|
|
2287
|
+
"WEBP"
|
|
2288
|
+
],
|
|
2289
|
+
"default": "JPG"
|
|
2290
|
+
},
|
|
2291
|
+
"outputQuality": {
|
|
2292
|
+
"title": "Output Quality",
|
|
2293
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
2294
|
+
"type": "integer",
|
|
2295
|
+
"minimum": 20,
|
|
2296
|
+
"maximum": 99,
|
|
2297
|
+
"default": 95
|
|
2298
|
+
},
|
|
2299
|
+
"deliveryMethod": {
|
|
2300
|
+
"title": "Delivery Method",
|
|
2301
|
+
"description": "Determines how the API delivers task results.",
|
|
2302
|
+
"type": "string",
|
|
2303
|
+
"oneOf": [
|
|
2304
|
+
{
|
|
2305
|
+
"const": "sync",
|
|
2306
|
+
"description": "Returns complete results directly in the API response."
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"const": "async",
|
|
2310
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
2311
|
+
}
|
|
2312
|
+
],
|
|
2313
|
+
"default": "sync"
|
|
2314
|
+
},
|
|
2315
|
+
"safety": {
|
|
2316
|
+
"type": "object",
|
|
2317
|
+
"title": "Safety Settings",
|
|
2318
|
+
"description": "Content safety checking configuration for image generation.",
|
|
2319
|
+
"properties": {
|
|
2320
|
+
"checkContent": {
|
|
2321
|
+
"title": "Check Content",
|
|
2322
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
2323
|
+
"type": "boolean",
|
|
2324
|
+
"default": false
|
|
2325
|
+
},
|
|
2326
|
+
"mode": {
|
|
2327
|
+
"description": "Safety checking mode for image generation.",
|
|
2328
|
+
"type": "string",
|
|
2329
|
+
"oneOf": [
|
|
2330
|
+
{
|
|
2331
|
+
"const": "none",
|
|
2332
|
+
"title": "None",
|
|
2333
|
+
"description": "Disables checking."
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
"const": "fast",
|
|
2337
|
+
"title": "Fast",
|
|
2338
|
+
"description": "Performs a single check."
|
|
2339
|
+
}
|
|
2340
|
+
],
|
|
2341
|
+
"default": "none"
|
|
2342
|
+
}
|
|
2343
|
+
},
|
|
2344
|
+
"additionalProperties": false
|
|
2345
|
+
}
|
|
2346
|
+
},
|
|
2347
|
+
"required": [
|
|
2348
|
+
"inputs",
|
|
2349
|
+
"taskType",
|
|
2350
|
+
"taskUUID",
|
|
2351
|
+
"model"
|
|
2352
|
+
],
|
|
2353
|
+
"additionalProperties": false
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
"type": "object",
|
|
2357
|
+
"properties": {
|
|
2358
|
+
"model": {
|
|
2359
|
+
"title": "Model",
|
|
2360
|
+
"description": "Identifier of the model to use for generation.",
|
|
2361
|
+
"type": "string",
|
|
2362
|
+
"const": "bria:2@1"
|
|
2363
|
+
},
|
|
2364
|
+
"providerSettings": {
|
|
2365
|
+
"title": "Provider Settings",
|
|
2366
|
+
"description": "Provider-specific configuration settings.",
|
|
2367
|
+
"type": "object",
|
|
2368
|
+
"properties": {
|
|
2369
|
+
"bria": {
|
|
2370
|
+
"title": "Bria Settings",
|
|
2371
|
+
"description": "Provider-specific settings for Bria.",
|
|
2372
|
+
"type": "object",
|
|
2373
|
+
"properties": {
|
|
2374
|
+
"preserveAlpha": {
|
|
2375
|
+
"title": "Preserve Alpha",
|
|
2376
|
+
"description": "Enable alpha channel preservation in output. Only affects images that already contain an alpha channel.",
|
|
2377
|
+
"type": "boolean",
|
|
2378
|
+
"default": false
|
|
2379
|
+
}
|
|
2380
|
+
},
|
|
2381
|
+
"additionalProperties": false
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
"additionalProperties": false
|
|
2385
|
+
},
|
|
2386
|
+
"taskType": {
|
|
2387
|
+
"title": "Task Type",
|
|
2388
|
+
"description": "Identifier for the type of task being performed",
|
|
2389
|
+
"type": "string",
|
|
2390
|
+
"const": "removeBackground"
|
|
2391
|
+
},
|
|
2392
|
+
"taskUUID": {
|
|
2393
|
+
"title": "Task UUID",
|
|
2394
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
2395
|
+
"type": "string",
|
|
2396
|
+
"format": "uuid"
|
|
2397
|
+
},
|
|
2398
|
+
"webhookURL": {
|
|
2399
|
+
"title": "Webhook URL",
|
|
2400
|
+
"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.",
|
|
2401
|
+
"type": "string",
|
|
2402
|
+
"format": "uri"
|
|
2403
|
+
},
|
|
2404
|
+
"includeCost": {
|
|
2405
|
+
"title": "Include Cost",
|
|
2406
|
+
"description": "Include task cost in the response.",
|
|
2407
|
+
"type": "boolean",
|
|
2408
|
+
"default": false
|
|
2409
|
+
},
|
|
2410
|
+
"uploadEndpoint": {
|
|
2411
|
+
"title": "Upload Endpoint",
|
|
2412
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
2413
|
+
"type": "string",
|
|
2414
|
+
"format": "uri"
|
|
2415
|
+
},
|
|
2416
|
+
"ttl": {
|
|
2417
|
+
"title": "TTL",
|
|
2418
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
2419
|
+
"type": "integer",
|
|
2420
|
+
"minimum": 60
|
|
2421
|
+
},
|
|
2422
|
+
"outputQuality": {
|
|
2423
|
+
"title": "Output Quality",
|
|
2424
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
2425
|
+
"type": "integer",
|
|
2426
|
+
"minimum": 20,
|
|
2427
|
+
"maximum": 99,
|
|
2428
|
+
"default": 95
|
|
2429
|
+
},
|
|
2430
|
+
"outputType": {
|
|
2431
|
+
"title": "Output Type",
|
|
2432
|
+
"description": "Image output type.",
|
|
2433
|
+
"type": "string",
|
|
2434
|
+
"enum": [
|
|
2435
|
+
"URL",
|
|
2436
|
+
"base64Data",
|
|
2437
|
+
"dataURI"
|
|
2438
|
+
],
|
|
2439
|
+
"default": "URL"
|
|
2440
|
+
},
|
|
2441
|
+
"outputFormat": {
|
|
2442
|
+
"title": "Output Format",
|
|
2443
|
+
"description": "File format for the generated image.",
|
|
2444
|
+
"type": "string",
|
|
2445
|
+
"enum": [
|
|
2446
|
+
"JPG",
|
|
2447
|
+
"PNG",
|
|
2448
|
+
"WEBP"
|
|
2449
|
+
],
|
|
2450
|
+
"default": "JPG"
|
|
2451
|
+
},
|
|
2452
|
+
"deliveryMethod": {
|
|
2453
|
+
"title": "Delivery Method",
|
|
2454
|
+
"description": "Determines how the API delivers task results.",
|
|
2455
|
+
"type": "string",
|
|
2456
|
+
"oneOf": [
|
|
2457
|
+
{
|
|
2458
|
+
"const": "sync",
|
|
2459
|
+
"description": "Returns complete results directly in the API response."
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
"const": "async",
|
|
2463
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
|
|
2464
|
+
}
|
|
2465
|
+
],
|
|
2466
|
+
"default": "sync"
|
|
2467
|
+
},
|
|
2468
|
+
"inputs": {
|
|
2469
|
+
"title": "Inputs",
|
|
2470
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
2471
|
+
"type": "object",
|
|
2472
|
+
"properties": {
|
|
2473
|
+
"image": {
|
|
2474
|
+
"title": "Image",
|
|
2475
|
+
"description": "Image input (UUID, URL, Data URI, or Base64).",
|
|
2476
|
+
"type": "string",
|
|
2477
|
+
"anyOf": [
|
|
2478
|
+
{
|
|
2479
|
+
"format": "uuid"
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"format": "uri"
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
"pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
|
|
2486
|
+
},
|
|
2487
|
+
{
|
|
2488
|
+
"pattern": "^[a-zA-Z0-9+/=]+$"
|
|
2489
|
+
}
|
|
2490
|
+
]
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
"required": [
|
|
2494
|
+
"image"
|
|
2495
|
+
],
|
|
2496
|
+
"additionalProperties": false
|
|
2497
|
+
}
|
|
2498
|
+
},
|
|
2499
|
+
"additionalProperties": false,
|
|
2500
|
+
"required": [
|
|
2501
|
+
"taskType",
|
|
2502
|
+
"taskUUID",
|
|
2503
|
+
"model",
|
|
2504
|
+
"inputs"
|
|
2505
|
+
]
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"type": "object",
|
|
2509
|
+
"properties": {
|
|
2510
|
+
"model": {
|
|
2511
|
+
"title": "Model",
|
|
2512
|
+
"description": "Identifier of the model to use for generation.",
|
|
2513
|
+
"type": "string",
|
|
2514
|
+
"const": "bria:51@1"
|
|
2515
|
+
},
|
|
2516
|
+
"providerSettings": {
|
|
2517
|
+
"title": "Provider Settings",
|
|
2518
|
+
"description": "Provider-specific configuration settings.",
|
|
2519
|
+
"type": "object",
|
|
2520
|
+
"properties": {
|
|
2521
|
+
"bria": {
|
|
2522
|
+
"title": "Bria Settings",
|
|
2523
|
+
"description": "Provider-specific settings for Bria.",
|
|
2524
|
+
"type": "object",
|
|
2525
|
+
"properties": {
|
|
2526
|
+
"rgba": {
|
|
2527
|
+
"title": "RGBA",
|
|
2528
|
+
"description": "Background color as `[red, green, blue, alpha]` array.",
|
|
2529
|
+
"type": "array",
|
|
2530
|
+
"default": [
|
|
2531
|
+
255,
|
|
2532
|
+
255,
|
|
2533
|
+
255,
|
|
2534
|
+
0
|
|
2535
|
+
],
|
|
2536
|
+
"minItems": 4,
|
|
2537
|
+
"maxItems": 4,
|
|
2538
|
+
"items": {
|
|
2539
|
+
"type": "integer",
|
|
2540
|
+
"minimum": 0,
|
|
2541
|
+
"maximum": 255
|
|
2542
|
+
}
|
|
2543
|
+
}
|
|
2544
|
+
},
|
|
2545
|
+
"additionalProperties": false
|
|
2546
|
+
}
|
|
2547
|
+
},
|
|
2548
|
+
"additionalProperties": false
|
|
2549
|
+
},
|
|
2550
|
+
"taskType": {
|
|
2551
|
+
"title": "Task Type",
|
|
2552
|
+
"description": "Identifier for the type of task being performed",
|
|
2553
|
+
"type": "string",
|
|
2554
|
+
"const": "removeBackground"
|
|
2555
|
+
},
|
|
2556
|
+
"taskUUID": {
|
|
2557
|
+
"title": "Task UUID",
|
|
2558
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
2559
|
+
"type": "string",
|
|
2560
|
+
"format": "uuid"
|
|
2561
|
+
},
|
|
2562
|
+
"webhookURL": {
|
|
2563
|
+
"title": "Webhook URL",
|
|
2564
|
+
"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.",
|
|
2565
|
+
"type": "string",
|
|
2566
|
+
"format": "uri"
|
|
2567
|
+
},
|
|
2568
|
+
"includeCost": {
|
|
2569
|
+
"title": "Include Cost",
|
|
2570
|
+
"description": "Include task cost in the response.",
|
|
2571
|
+
"type": "boolean",
|
|
2572
|
+
"default": false
|
|
2573
|
+
},
|
|
2574
|
+
"uploadEndpoint": {
|
|
2575
|
+
"title": "Upload Endpoint",
|
|
2576
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
2577
|
+
"type": "string",
|
|
2578
|
+
"format": "uri"
|
|
2579
|
+
},
|
|
2580
|
+
"ttl": {
|
|
2581
|
+
"title": "TTL",
|
|
2582
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
2583
|
+
"type": "integer",
|
|
2584
|
+
"minimum": 60
|
|
2585
|
+
},
|
|
2586
|
+
"outputQuality": {
|
|
2587
|
+
"title": "Output Quality",
|
|
2588
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
2589
|
+
"type": "integer",
|
|
2590
|
+
"minimum": 20,
|
|
2591
|
+
"maximum": 99,
|
|
2592
|
+
"default": 95
|
|
2593
|
+
},
|
|
2594
|
+
"outputType": {
|
|
2595
|
+
"title": "Output Type",
|
|
2596
|
+
"description": "Video output type.",
|
|
2597
|
+
"type": "string",
|
|
2598
|
+
"enum": [
|
|
2599
|
+
"URL"
|
|
2600
|
+
],
|
|
2601
|
+
"default": "URL"
|
|
2602
|
+
},
|
|
2603
|
+
"outputFormat": {
|
|
2604
|
+
"title": "Output Format",
|
|
2605
|
+
"description": "File format for the generated video.",
|
|
2606
|
+
"type": "string",
|
|
2607
|
+
"enum": [
|
|
2608
|
+
"MP4",
|
|
2609
|
+
"WEBM",
|
|
2610
|
+
"MOV"
|
|
2611
|
+
],
|
|
2612
|
+
"default": "MP4"
|
|
2613
|
+
},
|
|
2614
|
+
"deliveryMethod": {
|
|
2615
|
+
"title": "Delivery Method",
|
|
2616
|
+
"description": "Determines how the API delivers task results.",
|
|
2617
|
+
"type": "string",
|
|
2618
|
+
"oneOf": [
|
|
2619
|
+
{
|
|
2620
|
+
"const": "async",
|
|
2621
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
|
|
2622
|
+
}
|
|
2623
|
+
],
|
|
2624
|
+
"default": "async"
|
|
2625
|
+
},
|
|
2626
|
+
"inputs": {
|
|
2627
|
+
"title": "Inputs",
|
|
2628
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
2629
|
+
"type": "object",
|
|
2630
|
+
"properties": {
|
|
2631
|
+
"video": {
|
|
2632
|
+
"title": "Video",
|
|
2633
|
+
"description": "Video input (UUID or URL).",
|
|
2634
|
+
"type": "string",
|
|
2635
|
+
"anyOf": [
|
|
2636
|
+
{
|
|
2637
|
+
"format": "uuid"
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
"format": "uri"
|
|
2641
|
+
}
|
|
2642
|
+
]
|
|
2643
|
+
}
|
|
2644
|
+
},
|
|
2645
|
+
"required": [
|
|
2646
|
+
"video"
|
|
2647
|
+
],
|
|
2648
|
+
"additionalProperties": false
|
|
2649
|
+
}
|
|
2650
|
+
},
|
|
2651
|
+
"additionalProperties": false,
|
|
2652
|
+
"required": [
|
|
2653
|
+
"taskType",
|
|
2654
|
+
"taskUUID",
|
|
2655
|
+
"model",
|
|
2656
|
+
"inputs"
|
|
2657
|
+
]
|
|
2658
|
+
},
|
|
2659
|
+
{
|
|
2660
|
+
"type": "object",
|
|
2661
|
+
"properties": {
|
|
2662
|
+
"model": {
|
|
2663
|
+
"title": "Model",
|
|
2664
|
+
"description": "Identifier of the model to use for generation.",
|
|
2665
|
+
"type": "string",
|
|
2666
|
+
"const": "bria:60@1"
|
|
2667
|
+
},
|
|
2668
|
+
"inputs": {
|
|
2669
|
+
"title": "Inputs",
|
|
2670
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
2671
|
+
"type": "object",
|
|
2672
|
+
"properties": {
|
|
2673
|
+
"video": {
|
|
2674
|
+
"title": "Video",
|
|
2675
|
+
"description": "Video input (UUID or URL).",
|
|
2676
|
+
"type": "string",
|
|
2677
|
+
"anyOf": [
|
|
2678
|
+
{
|
|
2679
|
+
"format": "uuid"
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"format": "uri"
|
|
2683
|
+
}
|
|
2684
|
+
]
|
|
2685
|
+
},
|
|
2686
|
+
"mask": {
|
|
2687
|
+
"title": "Video",
|
|
2688
|
+
"description": "Mask video specifying areas to erase (UUID or URL).",
|
|
2689
|
+
"type": "string",
|
|
2690
|
+
"anyOf": [
|
|
2691
|
+
{
|
|
2692
|
+
"format": "uuid"
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
"format": "uri"
|
|
2696
|
+
}
|
|
2697
|
+
]
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
"required": [
|
|
2701
|
+
"video"
|
|
2702
|
+
],
|
|
2703
|
+
"additionalProperties": false
|
|
2704
|
+
},
|
|
2705
|
+
"providerSettings": {
|
|
2706
|
+
"title": "Provider Settings",
|
|
2707
|
+
"description": "Provider-specific configuration settings.",
|
|
2708
|
+
"type": "object",
|
|
2709
|
+
"properties": {
|
|
2710
|
+
"bria": {
|
|
2711
|
+
"title": "Bria Settings",
|
|
2712
|
+
"description": "Provider-specific settings for Bria.",
|
|
2713
|
+
"type": "object",
|
|
2714
|
+
"properties": {
|
|
2715
|
+
"autoTrim": {
|
|
2716
|
+
"title": "Auto Trim",
|
|
2717
|
+
"description": "Automatically trim videos exceeding 5 seconds.",
|
|
2718
|
+
"type": "boolean",
|
|
2719
|
+
"default": false
|
|
2720
|
+
},
|
|
2721
|
+
"mask": {
|
|
2722
|
+
"title": "Mask",
|
|
2723
|
+
"description": "Masking configuration for object removal.",
|
|
2724
|
+
"type": "object",
|
|
2725
|
+
"properties": {
|
|
2726
|
+
"foreground": {
|
|
2727
|
+
"title": "Foreground",
|
|
2728
|
+
"description": "Enable automatic foreground object detection.",
|
|
2729
|
+
"type": "boolean"
|
|
2730
|
+
},
|
|
2731
|
+
"prompt": {
|
|
2732
|
+
"title": "Prompt",
|
|
2733
|
+
"description": "Text description of object to remove.",
|
|
2734
|
+
"type": "string"
|
|
2735
|
+
},
|
|
2736
|
+
"frameIndex": {
|
|
2737
|
+
"title": "Frame Index",
|
|
2738
|
+
"description": "Frame number for key points.",
|
|
2739
|
+
"type": "integer",
|
|
2740
|
+
"minimum": 0
|
|
2741
|
+
},
|
|
2742
|
+
"keyPoints": {
|
|
2743
|
+
"title": "Key Points",
|
|
2744
|
+
"description": "Array of coordinate objects defining mask hints.",
|
|
2745
|
+
"type": "array",
|
|
2746
|
+
"items": {
|
|
2747
|
+
"title": "Key Point",
|
|
2748
|
+
"description": "Coordinate object defining a mask hint.",
|
|
2749
|
+
"type": "object",
|
|
2750
|
+
"properties": {
|
|
2751
|
+
"x": {
|
|
2752
|
+
"title": "X",
|
|
2753
|
+
"description": "Horizontal pixel coordinate.",
|
|
2754
|
+
"type": "integer"
|
|
2755
|
+
},
|
|
2756
|
+
"y": {
|
|
2757
|
+
"title": "Y",
|
|
2758
|
+
"description": "Vertical pixel coordinate.",
|
|
2759
|
+
"type": "integer"
|
|
2760
|
+
},
|
|
2761
|
+
"type": {
|
|
2762
|
+
"title": "Type",
|
|
2763
|
+
"description": "Whether this point includes or excludes the area from the mask.",
|
|
2764
|
+
"type": "string",
|
|
2765
|
+
"enum": [
|
|
2766
|
+
"positive",
|
|
2767
|
+
"negative"
|
|
2768
|
+
]
|
|
2769
|
+
}
|
|
2770
|
+
},
|
|
2771
|
+
"required": [
|
|
2772
|
+
"x",
|
|
2773
|
+
"y",
|
|
2774
|
+
"type"
|
|
2775
|
+
],
|
|
2776
|
+
"additionalProperties": false
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
},
|
|
2780
|
+
"additionalProperties": false
|
|
2781
|
+
},
|
|
2782
|
+
"preserveAudio": {
|
|
2783
|
+
"title": "Preserve Audio",
|
|
2784
|
+
"description": "Preserve original audio track.",
|
|
2785
|
+
"type": "boolean",
|
|
2786
|
+
"default": true
|
|
2787
|
+
}
|
|
2788
|
+
},
|
|
2789
|
+
"additionalProperties": false
|
|
2790
|
+
}
|
|
2791
|
+
},
|
|
2792
|
+
"additionalProperties": false
|
|
2793
|
+
},
|
|
2794
|
+
"taskType": {
|
|
2795
|
+
"title": "Task Type",
|
|
2796
|
+
"description": "Identifier for the type of task being performed",
|
|
2797
|
+
"type": "string",
|
|
2798
|
+
"const": "videoInference"
|
|
2799
|
+
},
|
|
2800
|
+
"taskUUID": {
|
|
2801
|
+
"title": "Task UUID",
|
|
2802
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
2803
|
+
"type": "string",
|
|
2804
|
+
"format": "uuid"
|
|
2805
|
+
},
|
|
2806
|
+
"webhookURL": {
|
|
2807
|
+
"title": "Webhook URL",
|
|
2808
|
+
"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.",
|
|
2809
|
+
"type": "string",
|
|
2810
|
+
"format": "uri"
|
|
2811
|
+
},
|
|
2812
|
+
"includeCost": {
|
|
2813
|
+
"title": "Include Cost",
|
|
2814
|
+
"description": "Include task cost in the response.",
|
|
2815
|
+
"type": "boolean",
|
|
2816
|
+
"default": false
|
|
2817
|
+
},
|
|
2818
|
+
"numberResults": {
|
|
2819
|
+
"title": "Number of Results",
|
|
2820
|
+
"description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
|
|
2821
|
+
"type": "integer",
|
|
2822
|
+
"minimum": 1,
|
|
2823
|
+
"default": 1,
|
|
2824
|
+
"maximum": 4
|
|
2825
|
+
},
|
|
2826
|
+
"uploadEndpoint": {
|
|
2827
|
+
"title": "Upload Endpoint",
|
|
2828
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
2829
|
+
"type": "string",
|
|
2830
|
+
"format": "uri"
|
|
2831
|
+
},
|
|
2832
|
+
"ttl": {
|
|
2833
|
+
"title": "TTL",
|
|
2834
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
2835
|
+
"type": "integer",
|
|
2836
|
+
"minimum": 60
|
|
2837
|
+
},
|
|
2838
|
+
"outputType": {
|
|
2839
|
+
"title": "Output Type",
|
|
2840
|
+
"description": "Video output type.",
|
|
2841
|
+
"type": "string",
|
|
2842
|
+
"enum": [
|
|
2843
|
+
"URL"
|
|
2844
|
+
],
|
|
2845
|
+
"default": "URL"
|
|
2846
|
+
},
|
|
2847
|
+
"outputFormat": {
|
|
2848
|
+
"title": "Output Format",
|
|
2849
|
+
"description": "File format for the generated video.",
|
|
2850
|
+
"type": "string",
|
|
2851
|
+
"enum": [
|
|
2852
|
+
"MP4",
|
|
2853
|
+
"WEBM",
|
|
2854
|
+
"MOV"
|
|
2855
|
+
],
|
|
2856
|
+
"default": "MP4"
|
|
2857
|
+
},
|
|
2858
|
+
"outputQuality": {
|
|
2859
|
+
"title": "Output Quality",
|
|
2860
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
2861
|
+
"type": "integer",
|
|
2862
|
+
"minimum": 20,
|
|
2863
|
+
"maximum": 99,
|
|
2864
|
+
"default": 95
|
|
2865
|
+
},
|
|
2866
|
+
"deliveryMethod": {
|
|
2867
|
+
"title": "Delivery Method",
|
|
2868
|
+
"description": "Determines how the API delivers task results.",
|
|
2869
|
+
"type": "string",
|
|
2870
|
+
"oneOf": [
|
|
2871
|
+
{
|
|
2872
|
+
"const": "async",
|
|
2873
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
|
|
2874
|
+
}
|
|
2875
|
+
],
|
|
2876
|
+
"default": "async"
|
|
2877
|
+
},
|
|
2878
|
+
"safety": {
|
|
2879
|
+
"type": "object",
|
|
2880
|
+
"title": "Safety Settings",
|
|
2881
|
+
"description": "Content safety checking configuration for video generation.",
|
|
2882
|
+
"properties": {
|
|
2883
|
+
"checkContent": {
|
|
2884
|
+
"title": "Check Content",
|
|
2885
|
+
"description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
|
|
2886
|
+
"type": "boolean",
|
|
2887
|
+
"default": false
|
|
2888
|
+
},
|
|
2889
|
+
"mode": {
|
|
2890
|
+
"description": "Safety checking mode for video generation.",
|
|
2891
|
+
"type": "string",
|
|
2892
|
+
"oneOf": [
|
|
2893
|
+
{
|
|
2894
|
+
"const": "none",
|
|
2895
|
+
"title": "None",
|
|
2896
|
+
"description": "Disables checking."
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"const": "fast",
|
|
2900
|
+
"title": "Fast",
|
|
2901
|
+
"description": "Checks key frames."
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"const": "full",
|
|
2905
|
+
"title": "Full",
|
|
2906
|
+
"description": "Checks all frames."
|
|
2907
|
+
}
|
|
2908
|
+
],
|
|
2909
|
+
"default": "none"
|
|
2910
|
+
}
|
|
2911
|
+
},
|
|
2912
|
+
"additionalProperties": false
|
|
2913
|
+
}
|
|
2914
|
+
},
|
|
2915
|
+
"required": [
|
|
2916
|
+
"inputs",
|
|
2917
|
+
"taskType",
|
|
2918
|
+
"taskUUID",
|
|
2919
|
+
"model"
|
|
2920
|
+
],
|
|
2921
|
+
"allOf": [
|
|
2922
|
+
{
|
|
2923
|
+
"oneOf": [
|
|
2924
|
+
{
|
|
2925
|
+
"properties": {
|
|
2926
|
+
"inputs": {
|
|
2927
|
+
"required": [
|
|
2928
|
+
"mask"
|
|
2929
|
+
]
|
|
2930
|
+
}
|
|
2931
|
+
},
|
|
2932
|
+
"required": [
|
|
2933
|
+
"inputs"
|
|
2934
|
+
]
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"properties": {
|
|
2938
|
+
"providerSettings": {
|
|
2939
|
+
"properties": {
|
|
2940
|
+
"bria": {
|
|
2941
|
+
"properties": {
|
|
2942
|
+
"mask": {
|
|
2943
|
+
"required": [
|
|
2944
|
+
"foreground"
|
|
2945
|
+
]
|
|
2946
|
+
}
|
|
2947
|
+
},
|
|
2948
|
+
"required": [
|
|
2949
|
+
"mask"
|
|
2950
|
+
]
|
|
2951
|
+
}
|
|
2952
|
+
},
|
|
2953
|
+
"required": [
|
|
2954
|
+
"bria"
|
|
2955
|
+
]
|
|
2956
|
+
}
|
|
2957
|
+
},
|
|
2958
|
+
"required": [
|
|
2959
|
+
"providerSettings"
|
|
2960
|
+
]
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"properties": {
|
|
2964
|
+
"providerSettings": {
|
|
2965
|
+
"properties": {
|
|
2966
|
+
"bria": {
|
|
2967
|
+
"properties": {
|
|
2968
|
+
"mask": {
|
|
2969
|
+
"required": [
|
|
2970
|
+
"prompt"
|
|
2971
|
+
]
|
|
2972
|
+
}
|
|
2973
|
+
},
|
|
2974
|
+
"required": [
|
|
2975
|
+
"mask"
|
|
2976
|
+
]
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
"required": [
|
|
2980
|
+
"bria"
|
|
2981
|
+
]
|
|
2982
|
+
}
|
|
2983
|
+
},
|
|
2984
|
+
"required": [
|
|
2985
|
+
"providerSettings"
|
|
2986
|
+
]
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"properties": {
|
|
2990
|
+
"providerSettings": {
|
|
2991
|
+
"properties": {
|
|
2992
|
+
"bria": {
|
|
2993
|
+
"properties": {
|
|
2994
|
+
"mask": {
|
|
2995
|
+
"required": [
|
|
2996
|
+
"keyPoints"
|
|
2997
|
+
]
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
"required": [
|
|
3001
|
+
"mask"
|
|
3002
|
+
]
|
|
3003
|
+
}
|
|
3004
|
+
},
|
|
3005
|
+
"required": [
|
|
3006
|
+
"bria"
|
|
3007
|
+
]
|
|
3008
|
+
}
|
|
3009
|
+
},
|
|
3010
|
+
"required": [
|
|
3011
|
+
"providerSettings"
|
|
3012
|
+
]
|
|
3013
|
+
}
|
|
3014
|
+
]
|
|
3015
|
+
}
|
|
3016
|
+
],
|
|
3017
|
+
"additionalProperties": false
|
|
3018
|
+
},
|
|
3019
|
+
{
|
|
3020
|
+
"type": "object",
|
|
3021
|
+
"properties": {
|
|
3022
|
+
"model": {
|
|
3023
|
+
"title": "Model",
|
|
3024
|
+
"description": "Identifier of the model to use for generation.",
|
|
3025
|
+
"type": "string",
|
|
3026
|
+
"const": "bria:50@1"
|
|
3027
|
+
},
|
|
3028
|
+
"upscaleFactor": {
|
|
3029
|
+
"title": "Upscale Factor",
|
|
3030
|
+
"description": "Factor by which to upscale the generated image. A value of 2 doubles width and height.",
|
|
3031
|
+
"type": "integer",
|
|
3032
|
+
"enum": [
|
|
3033
|
+
2,
|
|
3034
|
+
4
|
|
3035
|
+
],
|
|
3036
|
+
"default": 2
|
|
3037
|
+
},
|
|
3038
|
+
"taskType": {
|
|
3039
|
+
"title": "Task Type",
|
|
3040
|
+
"description": "Identifier for the type of task being performed",
|
|
3041
|
+
"type": "string",
|
|
3042
|
+
"const": "upscale"
|
|
3043
|
+
},
|
|
3044
|
+
"taskUUID": {
|
|
3045
|
+
"title": "Task UUID",
|
|
3046
|
+
"description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
|
|
3047
|
+
"type": "string",
|
|
3048
|
+
"format": "uuid"
|
|
3049
|
+
},
|
|
3050
|
+
"webhookURL": {
|
|
3051
|
+
"title": "Webhook URL",
|
|
3052
|
+
"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.",
|
|
3053
|
+
"type": "string",
|
|
3054
|
+
"format": "uri"
|
|
3055
|
+
},
|
|
3056
|
+
"includeCost": {
|
|
3057
|
+
"title": "Include Cost",
|
|
3058
|
+
"description": "Include task cost in the response.",
|
|
3059
|
+
"type": "boolean",
|
|
3060
|
+
"default": false
|
|
3061
|
+
},
|
|
3062
|
+
"uploadEndpoint": {
|
|
3063
|
+
"title": "Upload Endpoint",
|
|
3064
|
+
"description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
|
|
3065
|
+
"type": "string",
|
|
3066
|
+
"format": "uri"
|
|
3067
|
+
},
|
|
3068
|
+
"ttl": {
|
|
3069
|
+
"title": "TTL",
|
|
3070
|
+
"description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
|
|
3071
|
+
"type": "integer",
|
|
3072
|
+
"minimum": 60
|
|
3073
|
+
},
|
|
3074
|
+
"outputQuality": {
|
|
3075
|
+
"title": "Output Quality",
|
|
3076
|
+
"description": "Compression quality of the output. Higher values preserve quality but increase file size.",
|
|
3077
|
+
"type": "integer",
|
|
3078
|
+
"minimum": 20,
|
|
3079
|
+
"maximum": 99,
|
|
3080
|
+
"default": 95
|
|
3081
|
+
},
|
|
3082
|
+
"outputType": {
|
|
3083
|
+
"title": "Output Type",
|
|
3084
|
+
"description": "Video output type.",
|
|
3085
|
+
"type": "string",
|
|
3086
|
+
"enum": [
|
|
3087
|
+
"URL"
|
|
3088
|
+
],
|
|
3089
|
+
"default": "URL"
|
|
3090
|
+
},
|
|
3091
|
+
"outputFormat": {
|
|
3092
|
+
"title": "Output Format",
|
|
3093
|
+
"description": "File format for the generated video.",
|
|
3094
|
+
"type": "string",
|
|
3095
|
+
"enum": [
|
|
3096
|
+
"MP4",
|
|
3097
|
+
"WEBM",
|
|
3098
|
+
"MOV"
|
|
3099
|
+
],
|
|
3100
|
+
"default": "MP4"
|
|
3101
|
+
},
|
|
3102
|
+
"deliveryMethod": {
|
|
3103
|
+
"title": "Delivery Method",
|
|
3104
|
+
"description": "Determines how the API delivers task results.",
|
|
3105
|
+
"type": "string",
|
|
3106
|
+
"oneOf": [
|
|
3107
|
+
{
|
|
3108
|
+
"const": "async",
|
|
3109
|
+
"description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
|
|
3110
|
+
}
|
|
3111
|
+
],
|
|
3112
|
+
"default": "async"
|
|
3113
|
+
},
|
|
3114
|
+
"inputs": {
|
|
3115
|
+
"title": "Inputs",
|
|
3116
|
+
"description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
|
|
3117
|
+
"type": "object",
|
|
3118
|
+
"properties": {
|
|
3119
|
+
"video": {
|
|
3120
|
+
"title": "Video",
|
|
3121
|
+
"description": "Video input (UUID or URL).",
|
|
3122
|
+
"type": "string",
|
|
3123
|
+
"anyOf": [
|
|
3124
|
+
{
|
|
3125
|
+
"format": "uuid"
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"format": "uri"
|
|
3129
|
+
}
|
|
3130
|
+
]
|
|
3131
|
+
}
|
|
3132
|
+
},
|
|
3133
|
+
"required": [
|
|
3134
|
+
"video"
|
|
3135
|
+
],
|
|
3136
|
+
"additionalProperties": false
|
|
3137
|
+
}
|
|
3138
|
+
},
|
|
3139
|
+
"additionalProperties": false,
|
|
3140
|
+
"required": [
|
|
3141
|
+
"taskType",
|
|
3142
|
+
"taskUUID",
|
|
3143
|
+
"model",
|
|
3144
|
+
"inputs"
|
|
3145
|
+
]
|
|
3146
|
+
}
|
|
3147
|
+
]
|
|
3148
|
+
}
|