@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.
Files changed (401) hide show
  1. package/dist/response-map.json +1902 -0
  2. package/dist/schemas/requests/architectures/exactly-illustrative.json +252 -0
  3. package/dist/schemas/requests/architectures/flux-1-dev.json +1103 -0
  4. package/dist/schemas/requests/architectures/flux-1-kontext-dev.json +855 -0
  5. package/dist/schemas/requests/architectures/flux-1-schnell.json +911 -0
  6. package/dist/schemas/requests/architectures/illustrious.json +893 -0
  7. package/dist/schemas/requests/architectures/noobai.json +893 -0
  8. package/dist/schemas/requests/architectures/pony.json +893 -0
  9. package/dist/schemas/requests/architectures/sd-1-5-distilled.json +893 -0
  10. package/dist/schemas/requests/architectures/sd-1-5-hyper.json +893 -0
  11. package/dist/schemas/requests/architectures/sd-1-5-lcm.json +893 -0
  12. package/dist/schemas/requests/architectures/sd-1-5.json +893 -0
  13. package/dist/schemas/requests/architectures/sd-2-1.json +893 -0
  14. package/dist/schemas/requests/architectures/sd3.json +847 -0
  15. package/dist/schemas/requests/architectures/sdxl-distilled.json +893 -0
  16. package/dist/schemas/requests/architectures/sdxl-hyper.json +893 -0
  17. package/dist/schemas/requests/architectures/sdxl-lcm.json +893 -0
  18. package/dist/schemas/requests/architectures/sdxl-lightning.json +893 -0
  19. package/dist/schemas/requests/architectures/sdxl-turbo.json +893 -0
  20. package/dist/schemas/requests/architectures/sdxl.json +990 -0
  21. package/dist/schemas/requests/architectures/z-image-turbo.json +730 -0
  22. package/dist/schemas/requests/architectures/z-image.json +730 -0
  23. package/dist/schemas/requests/models/alibaba/alibaba-happyhorse-1-0.json +709 -0
  24. package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-2-0-pro.json +257 -0
  25. package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-2-0.json +257 -0
  26. package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-2512.json +740 -0
  27. package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-edit-plus.json +571 -0
  28. package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-edit.json +572 -0
  29. package/dist/schemas/requests/models/alibaba/alibaba-qwen-image-layered.json +571 -0
  30. package/dist/schemas/requests/models/alibaba/alibaba-qwen-image.json +744 -0
  31. package/dist/schemas/requests/models/alibaba/alibaba-qwen2-5-vl-3b-instruct.json +136 -0
  32. package/dist/schemas/requests/models/alibaba/alibaba-qwen2-5-vl-7b-instruct.json +136 -0
  33. package/dist/schemas/requests/models/alibaba/alibaba-qwen3-5-27b.json +281 -0
  34. package/dist/schemas/requests/models/alibaba/alibaba-qwen3-5-397b.json +281 -0
  35. package/dist/schemas/requests/models/alibaba/alibaba-qwen3-tts-1-7b-base.json +815 -0
  36. package/dist/schemas/requests/models/alibaba/alibaba-qwen3-tts-1-7b-customvoice.json +759 -0
  37. package/dist/schemas/requests/models/alibaba/alibaba-qwen3-tts-1-7b-voicedesign.json +749 -0
  38. package/dist/schemas/requests/models/alibaba/alibaba-wan2-2-a14b-turbo.json +829 -0
  39. package/dist/schemas/requests/models/alibaba/alibaba-wan2-2-a14b.json +829 -0
  40. package/dist/schemas/requests/models/alibaba/alibaba-wan2-2-animate.json +848 -0
  41. package/dist/schemas/requests/models/alibaba/alibaba-wan2-5-preview-image.json +191 -0
  42. package/dist/schemas/requests/models/alibaba/alibaba-wan2-5-preview.json +568 -0
  43. package/dist/schemas/requests/models/alibaba/alibaba-wan2-6-flash.json +587 -0
  44. package/dist/schemas/requests/models/alibaba/alibaba-wan2-6-image.json +238 -0
  45. package/dist/schemas/requests/models/alibaba/alibaba-wan2-6.json +640 -0
  46. package/dist/schemas/requests/models/alibaba/alibaba-wan2-7-image-pro.json +364 -0
  47. package/dist/schemas/requests/models/alibaba/alibaba-wan2-7-image.json +340 -0
  48. package/dist/schemas/requests/models/alibaba/alibaba-wan2-7.json +685 -0
  49. package/dist/schemas/requests/models/alibaba/alibaba-z-image-turbo.json +730 -0
  50. package/dist/schemas/requests/models/alibaba/alibaba-z-image.json +730 -0
  51. package/dist/schemas/requests/models/alibaba/index.json +15134 -0
  52. package/dist/schemas/requests/models/anthropic/anthropic-claude-haiku-4-5.json +370 -0
  53. package/dist/schemas/requests/models/anthropic/anthropic-claude-opus-4-7.json +373 -0
  54. package/dist/schemas/requests/models/anthropic/anthropic-claude-sonnet-4-6.json +372 -0
  55. package/dist/schemas/requests/models/anthropic/index.json +1117 -0
  56. package/dist/schemas/requests/models/bfl/bfl-flux-1-1-pro-ultra.json +317 -0
  57. package/dist/schemas/requests/models/bfl/bfl-flux-1-1-pro.json +214 -0
  58. package/dist/schemas/requests/models/bfl/bfl-flux-1-dev.json +1103 -0
  59. package/dist/schemas/requests/models/bfl/bfl-flux-1-expand-pro.json +266 -0
  60. package/dist/schemas/requests/models/bfl/bfl-flux-1-fill-pro.json +252 -0
  61. package/dist/schemas/requests/models/bfl/bfl-flux-1-kontext-dev.json +855 -0
  62. package/dist/schemas/requests/models/bfl/bfl-flux-1-kontext-max.json +345 -0
  63. package/dist/schemas/requests/models/bfl/bfl-flux-1-kontext-pro.json +345 -0
  64. package/dist/schemas/requests/models/bfl/bfl-flux-1-schnell.json +911 -0
  65. package/dist/schemas/requests/models/bfl/bfl-flux-2-dev.json +569 -0
  66. package/dist/schemas/requests/models/bfl/bfl-flux-2-flex.json +264 -0
  67. package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-4b-base.json +570 -0
  68. package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-4b.json +570 -0
  69. package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-9b-base.json +570 -0
  70. package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-9b-kv.json +570 -0
  71. package/dist/schemas/requests/models/bfl/bfl-flux-2-klein-9b.json +570 -0
  72. package/dist/schemas/requests/models/bfl/bfl-flux-2-max.json +248 -0
  73. package/dist/schemas/requests/models/bfl/bfl-flux-2-pro.json +248 -0
  74. package/dist/schemas/requests/models/bfl/index.json +8774 -0
  75. package/dist/schemas/requests/models/bria/bria-3-2.json +569 -0
  76. package/dist/schemas/requests/models/bria/bria-fibo-edit-tools.json +401 -0
  77. package/dist/schemas/requests/models/bria/bria-fibo-edit.json +253 -0
  78. package/dist/schemas/requests/models/bria/bria-fibo-lite.json +350 -0
  79. package/dist/schemas/requests/models/bria/bria-fibo.json +358 -0
  80. package/dist/schemas/requests/models/bria/bria-image-increase-resolution.json +163 -0
  81. package/dist/schemas/requests/models/bria/bria-image-replace-background.json +264 -0
  82. package/dist/schemas/requests/models/bria/bria-rmbg-v2-0.json +153 -0
  83. package/dist/schemas/requests/models/bria/bria-video-background-removal.json +153 -0
  84. package/dist/schemas/requests/models/bria/bria-video-eraser.json +361 -0
  85. package/dist/schemas/requests/models/bria/bria-video-increase-resolution.json +129 -0
  86. package/dist/schemas/requests/models/bria/index.json +3148 -0
  87. package/dist/schemas/requests/models/bytedance/bytedance-omnihuman-1-5.json +231 -0
  88. package/dist/schemas/requests/models/bytedance/bytedance-omnihuman-1.json +191 -0
  89. package/dist/schemas/requests/models/bytedance/bytedance-seedance-1-0-pro-fast.json +513 -0
  90. package/dist/schemas/requests/models/bytedance/bytedance-seedance-1-0-pro.json +521 -0
  91. package/dist/schemas/requests/models/bytedance/bytedance-seedance-1-5-pro.json +683 -0
  92. package/dist/schemas/requests/models/bytedance/bytedance-seedance-2-0-fast.json +634 -0
  93. package/dist/schemas/requests/models/bytedance/bytedance-seedance-2-0.json +701 -0
  94. package/dist/schemas/requests/models/bytedance/bytedance-seedream-4-0.json +424 -0
  95. package/dist/schemas/requests/models/bytedance/bytedance-seedream-4-5.json +321 -0
  96. package/dist/schemas/requests/models/bytedance/bytedance-seedream-5-0-lite.json +426 -0
  97. package/dist/schemas/requests/models/bytedance/bytedance-video-upscaler.json +119 -0
  98. package/dist/schemas/requests/models/bytedance/index.json +4758 -0
  99. package/dist/schemas/requests/models/creatify/creatify-aurora-v1-fast.json +199 -0
  100. package/dist/schemas/requests/models/creatify/creatify-aurora-v1.json +199 -0
  101. package/dist/schemas/requests/models/creatify/index.json +401 -0
  102. package/dist/schemas/requests/models/elevenlabs/elevenlabs-flash-v2-5.json +833 -0
  103. package/dist/schemas/requests/models/elevenlabs/elevenlabs-flash-v2.json +802 -0
  104. package/dist/schemas/requests/models/elevenlabs/elevenlabs-monolingual-v1.json +802 -0
  105. package/dist/schemas/requests/models/elevenlabs/elevenlabs-multilingual-v1.json +810 -0
  106. package/dist/schemas/requests/models/elevenlabs/elevenlabs-multilingual-v2.json +830 -0
  107. package/dist/schemas/requests/models/elevenlabs/elevenlabs-music-v1.json +877 -0
  108. package/dist/schemas/requests/models/elevenlabs/elevenlabs-turbo-v2-5.json +833 -0
  109. package/dist/schemas/requests/models/elevenlabs/elevenlabs-turbo-v2.json +802 -0
  110. package/dist/schemas/requests/models/elevenlabs/elevenlabs-v3.json +875 -0
  111. package/dist/schemas/requests/models/elevenlabs/index.json +7460 -0
  112. package/dist/schemas/requests/models/exactly/exactly-illustrative-training.json +112 -0
  113. package/dist/schemas/requests/models/exactly/exactly-photo-bright-pulse.json +553 -0
  114. package/dist/schemas/requests/models/exactly/exactly-photo-distant-reality.json +553 -0
  115. package/dist/schemas/requests/models/exactly/exactly-photo-extreme-contrast.json +553 -0
  116. package/dist/schemas/requests/models/exactly/exactly-photo-grain-film-look.json +553 -0
  117. package/dist/schemas/requests/models/exactly/exactly-photo-journey.json +553 -0
  118. package/dist/schemas/requests/models/exactly/exactly-photo-warm-light.json +553 -0
  119. package/dist/schemas/requests/models/exactly/index.json +3428 -0
  120. package/dist/schemas/requests/models/google/google-gemini-3-1-flash-lite.json +400 -0
  121. package/dist/schemas/requests/models/google/google-gemini-3-1-flash-tts.json +1384 -0
  122. package/dist/schemas/requests/models/google/google-gemini-3-1-pro.json +398 -0
  123. package/dist/schemas/requests/models/google/google-gemini-3-flash.json +400 -0
  124. package/dist/schemas/requests/models/google/google-imagen-3-fast.json +230 -0
  125. package/dist/schemas/requests/models/google/google-imagen-3.json +230 -0
  126. package/dist/schemas/requests/models/google/google-imagen-4-fast.json +230 -0
  127. package/dist/schemas/requests/models/google/google-imagen-4-preview.json +230 -0
  128. package/dist/schemas/requests/models/google/google-imagen-4-ultra.json +230 -0
  129. package/dist/schemas/requests/models/google/google-nano-banana-2.json +983 -0
  130. package/dist/schemas/requests/models/google/google-nano-banana-pro.json +703 -0
  131. package/dist/schemas/requests/models/google/google-nano-banana.json +373 -0
  132. package/dist/schemas/requests/models/google/google-veo-2.json +428 -0
  133. package/dist/schemas/requests/models/google/google-veo-3-1-fast.json +568 -0
  134. package/dist/schemas/requests/models/google/google-veo-3-1-lite.json +509 -0
  135. package/dist/schemas/requests/models/google/google-veo-3-1.json +783 -0
  136. package/dist/schemas/requests/models/google/google-veo-3-fast.json +411 -0
  137. package/dist/schemas/requests/models/google/google-veo-3.json +454 -0
  138. package/dist/schemas/requests/models/google/index.json +8876 -0
  139. package/dist/schemas/requests/models/heygen/heygen-avatar-iv.json +3066 -0
  140. package/dist/schemas/requests/models/heygen/heygen-video-agent.json +1522 -0
  141. package/dist/schemas/requests/models/heygen/index.json +4591 -0
  142. package/dist/schemas/requests/models/hyper3d/hyper3d-rodin-gen-2.json +355 -0
  143. package/dist/schemas/requests/models/hyper3d/index.json +359 -0
  144. package/dist/schemas/requests/models/ideogram/ideogram-1-0-remix.json +473 -0
  145. package/dist/schemas/requests/models/ideogram/ideogram-1-0.json +427 -0
  146. package/dist/schemas/requests/models/ideogram/ideogram-2-0-edit.json +322 -0
  147. package/dist/schemas/requests/models/ideogram/ideogram-2-0-reframe.json +1138 -0
  148. package/dist/schemas/requests/models/ideogram/ideogram-2-0-remix.json +1219 -0
  149. package/dist/schemas/requests/models/ideogram/ideogram-2-0.json +1173 -0
  150. package/dist/schemas/requests/models/ideogram/ideogram-2a-remix.json +1148 -0
  151. package/dist/schemas/requests/models/ideogram/ideogram-2a.json +1102 -0
  152. package/dist/schemas/requests/models/ideogram/ideogram-3-0-edit.json +538 -0
  153. package/dist/schemas/requests/models/ideogram/ideogram-3-0-reframe.json +1204 -0
  154. package/dist/schemas/requests/models/ideogram/ideogram-3-0-remix.json +1325 -0
  155. package/dist/schemas/requests/models/ideogram/ideogram-3-0-replace-background.json +427 -0
  156. package/dist/schemas/requests/models/ideogram/ideogram-3-0.json +1225 -0
  157. package/dist/schemas/requests/models/ideogram/index.json +11713 -0
  158. package/dist/schemas/requests/models/imagineart/imagineart-1-5-pro.json +283 -0
  159. package/dist/schemas/requests/models/imagineart/imagineart-1-5.json +272 -0
  160. package/dist/schemas/requests/models/imagineart/imagineart-2-0.json +486 -0
  161. package/dist/schemas/requests/models/imagineart/index.json +1043 -0
  162. package/dist/schemas/requests/models/inworld/index.json +3062 -0
  163. package/dist/schemas/requests/models/inworld/inworld-tts-1-5-max.json +807 -0
  164. package/dist/schemas/requests/models/inworld/inworld-tts-1-5-mini.json +807 -0
  165. package/dist/schemas/requests/models/inworld/inworld-tts-2.json +1446 -0
  166. package/dist/schemas/requests/models/klingai/index.json +11714 -0
  167. package/dist/schemas/requests/models/klingai/klingai-1-0-pro.json +319 -0
  168. package/dist/schemas/requests/models/klingai/klingai-1-0-standard.json +319 -0
  169. package/dist/schemas/requests/models/klingai/klingai-1-5-pro.json +308 -0
  170. package/dist/schemas/requests/models/klingai/klingai-1-5-standard.json +296 -0
  171. package/dist/schemas/requests/models/klingai/klingai-1-6-pro.json +304 -0
  172. package/dist/schemas/requests/models/klingai/klingai-1-6-standard.json +311 -0
  173. package/dist/schemas/requests/models/klingai/klingai-2-0-master.json +319 -0
  174. package/dist/schemas/requests/models/klingai/klingai-2-1-master.json +311 -0
  175. package/dist/schemas/requests/models/klingai/klingai-2-1-pro.json +320 -0
  176. package/dist/schemas/requests/models/klingai/klingai-2-1-standard.json +300 -0
  177. package/dist/schemas/requests/models/klingai/klingai-2-5-turbo-pro.json +319 -0
  178. package/dist/schemas/requests/models/klingai/klingai-2-5-turbo-standard.json +251 -0
  179. package/dist/schemas/requests/models/klingai/klingai-avatar-2-0-pro.json +189 -0
  180. package/dist/schemas/requests/models/klingai/klingai-avatar-2-0-standard.json +189 -0
  181. package/dist/schemas/requests/models/klingai/klingai-image-3-0.json +443 -0
  182. package/dist/schemas/requests/models/klingai/klingai-image-o1.json +444 -0
  183. package/dist/schemas/requests/models/klingai/klingai-image-o3.json +473 -0
  184. package/dist/schemas/requests/models/klingai/klingai-lip-sync.json +210 -0
  185. package/dist/schemas/requests/models/klingai/klingai-video-2-6-pro.json +493 -0
  186. package/dist/schemas/requests/models/klingai/klingai-video-2-6-standard.json +326 -0
  187. package/dist/schemas/requests/models/klingai/klingai-video-3-0-4k.json +551 -0
  188. package/dist/schemas/requests/models/klingai/klingai-video-3-0-pro.json +765 -0
  189. package/dist/schemas/requests/models/klingai/klingai-video-3-0-standard.json +765 -0
  190. package/dist/schemas/requests/models/klingai/klingai-video-o1-pro.json +534 -0
  191. package/dist/schemas/requests/models/klingai/klingai-video-o1-standard.json +528 -0
  192. package/dist/schemas/requests/models/klingai/klingai-video-o3-4k.json +512 -0
  193. package/dist/schemas/requests/models/klingai/klingai-video-o3-pro.json +819 -0
  194. package/dist/schemas/requests/models/klingai/klingai-video-o3-standard.json +819 -0
  195. package/dist/schemas/requests/models/lightricks/index.json +2356 -0
  196. package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-3-fast.json +438 -0
  197. package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-3.json +517 -0
  198. package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-fast.json +328 -0
  199. package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-pro.json +482 -0
  200. package/dist/schemas/requests/models/lightricks/lightricks-ltx-2-retake.json +289 -0
  201. package/dist/schemas/requests/models/lightricks/lightricks-ltx-2.json +303 -0
  202. package/dist/schemas/requests/models/luma/index.json +1049 -0
  203. package/dist/schemas/requests/models/luma/luma-uni-1-max.json +523 -0
  204. package/dist/schemas/requests/models/luma/luma-uni-1.json +523 -0
  205. package/dist/schemas/requests/models/memories/index.json +241 -0
  206. package/dist/schemas/requests/models/memories/memories-video-age-detection.json +119 -0
  207. package/dist/schemas/requests/models/memories/memories-video-captioning.json +119 -0
  208. package/dist/schemas/requests/models/meshy/index.json +583 -0
  209. package/dist/schemas/requests/models/meshy/meshy-6.json +579 -0
  210. package/dist/schemas/requests/models/meta/index.json +298 -0
  211. package/dist/schemas/requests/models/meta/meta-llava-1-6-mistral-7b.json +136 -0
  212. package/dist/schemas/requests/models/meta/meta-sam-3d-objects.json +159 -0
  213. package/dist/schemas/requests/models/microsoft/index.json +326 -0
  214. package/dist/schemas/requests/models/microsoft/microsoft-trellis-2.json +322 -0
  215. package/dist/schemas/requests/models/minimax/index.json +5629 -0
  216. package/dist/schemas/requests/models/minimax/minimax-01-director.json +296 -0
  217. package/dist/schemas/requests/models/minimax/minimax-01-live.json +296 -0
  218. package/dist/schemas/requests/models/minimax/minimax-01.json +322 -0
  219. package/dist/schemas/requests/models/minimax/minimax-hailuo-02.json +345 -0
  220. package/dist/schemas/requests/models/minimax/minimax-hailuo-2-3-fast.json +383 -0
  221. package/dist/schemas/requests/models/minimax/minimax-hailuo-2-3.json +362 -0
  222. package/dist/schemas/requests/models/minimax/minimax-m2-5.json +349 -0
  223. package/dist/schemas/requests/models/minimax/minimax-m2-7-highspeed.json +291 -0
  224. package/dist/schemas/requests/models/minimax/minimax-m2-7.json +291 -0
  225. package/dist/schemas/requests/models/minimax/minimax-music-2-6.json +858 -0
  226. package/dist/schemas/requests/models/minimax/minimax-music-cover.json +730 -0
  227. package/dist/schemas/requests/models/minimax/minimax-speech-2-8.json +1113 -0
  228. package/dist/schemas/requests/models/mirelo/index.json +813 -0
  229. package/dist/schemas/requests/models/mirelo/mirelo-sfx-1-5.json +809 -0
  230. package/dist/schemas/requests/models/moonshotai/index.json +415 -0
  231. package/dist/schemas/requests/models/moonshotai/moonshotai-kimi-k2-6.json +411 -0
  232. package/dist/schemas/requests/models/openai/index.json +4198 -0
  233. package/dist/schemas/requests/models/openai/openai-clip-vit-l-14.json +136 -0
  234. package/dist/schemas/requests/models/openai/openai-dalle-2.json +214 -0
  235. package/dist/schemas/requests/models/openai/openai-dalle-3.json +252 -0
  236. package/dist/schemas/requests/models/openai/openai-gpt-5-4-mini.json +331 -0
  237. package/dist/schemas/requests/models/openai/openai-gpt-5-4-nano.json +331 -0
  238. package/dist/schemas/requests/models/openai/openai-gpt-5-4-pro.json +331 -0
  239. package/dist/schemas/requests/models/openai/openai-gpt-5-4.json +331 -0
  240. package/dist/schemas/requests/models/openai/openai-gpt-5-5.json +318 -0
  241. package/dist/schemas/requests/models/openai/openai-gpt-image-1-5.json +318 -0
  242. package/dist/schemas/requests/models/openai/openai-gpt-image-1-mini.json +318 -0
  243. package/dist/schemas/requests/models/openai/openai-gpt-image-1.json +318 -0
  244. package/dist/schemas/requests/models/openai/openai-gpt-image-2.json +267 -0
  245. package/dist/schemas/requests/models/openai/openai-sora-2-pro.json +382 -0
  246. package/dist/schemas/requests/models/openai/openai-sora-2.json +360 -0
  247. package/dist/schemas/requests/models/picsart/index.json +125 -0
  248. package/dist/schemas/requests/models/picsart/picsart-image-vectorizer.json +121 -0
  249. package/dist/schemas/requests/models/pixverse/index.json +7029 -0
  250. package/dist/schemas/requests/models/pixverse/pixverse-lipsync.json +222 -0
  251. package/dist/schemas/requests/models/pixverse/pixverse-modify.json +253 -0
  252. package/dist/schemas/requests/models/pixverse/pixverse-v3-5.json +911 -0
  253. package/dist/schemas/requests/models/pixverse/pixverse-v4-5.json +1040 -0
  254. package/dist/schemas/requests/models/pixverse/pixverse-v4.json +1040 -0
  255. package/dist/schemas/requests/models/pixverse/pixverse-v5-5.json +732 -0
  256. package/dist/schemas/requests/models/pixverse/pixverse-v5-6.json +726 -0
  257. package/dist/schemas/requests/models/pixverse/pixverse-v5-fast.json +573 -0
  258. package/dist/schemas/requests/models/pixverse/pixverse-v5.json +711 -0
  259. package/dist/schemas/requests/models/pixverse/pixverse-v6.json +826 -0
  260. package/dist/schemas/requests/models/prunaai/index.json +1628 -0
  261. package/dist/schemas/requests/models/prunaai/prunaai-p-image-edit.json +347 -0
  262. package/dist/schemas/requests/models/prunaai/prunaai-p-image-upscale.json +158 -0
  263. package/dist/schemas/requests/models/prunaai/prunaai-p-image.json +175 -0
  264. package/dist/schemas/requests/models/prunaai/prunaai-p-video-avatar.json +393 -0
  265. package/dist/schemas/requests/models/prunaai/prunaai-p-video.json +555 -0
  266. package/dist/schemas/requests/models/recraft/index.json +1583 -0
  267. package/dist/schemas/requests/models/recraft/recraft-v4-pro-vector.json +335 -0
  268. package/dist/schemas/requests/models/recraft/recraft-v4-pro.json +396 -0
  269. package/dist/schemas/requests/models/recraft/recraft-v4-vector.json +335 -0
  270. package/dist/schemas/requests/models/recraft/recraft-v4.json +396 -0
  271. package/dist/schemas/requests/models/recraft/recraft-vectorize.json +121 -0
  272. package/dist/schemas/requests/models/rundiffusion/index.json +3849 -0
  273. package/dist/schemas/requests/models/rundiffusion/rundiffusion-juggernaut-base-flux.json +1103 -0
  274. package/dist/schemas/requests/models/rundiffusion/rundiffusion-juggernaut-lightning-flux.json +911 -0
  275. package/dist/schemas/requests/models/rundiffusion/rundiffusion-juggernaut-pro-flux.json +1103 -0
  276. package/dist/schemas/requests/models/rundiffusion/rundiffusion-juggernaut-z.json +731 -0
  277. package/dist/schemas/requests/models/runware/ace-step-v1-5-base.json +1005 -0
  278. package/dist/schemas/requests/models/runware/ace-step-v1-5-turbo.json +1005 -0
  279. package/dist/schemas/requests/models/runware/birefnet-dis.json +131 -0
  280. package/dist/schemas/requests/models/runware/birefnet-general-resolution-512x512-fp16.json +131 -0
  281. package/dist/schemas/requests/models/runware/birefnet-general.json +131 -0
  282. package/dist/schemas/requests/models/runware/birefnet-hrsod-dhu.json +131 -0
  283. package/dist/schemas/requests/models/runware/birefnet-massive-tr-dis5k-tr-tes.json +131 -0
  284. package/dist/schemas/requests/models/runware/birefnet-matting.json +131 -0
  285. package/dist/schemas/requests/models/runware/birefnet-portrait.json +131 -0
  286. package/dist/schemas/requests/models/runware/birefnet-v1-base-cod.json +131 -0
  287. package/dist/schemas/requests/models/runware/birefnet-v1-base.json +131 -0
  288. package/dist/schemas/requests/models/runware/bria-rmbg-v2-0-open.json +131 -0
  289. package/dist/schemas/requests/models/runware/ccsr.json +187 -0
  290. package/dist/schemas/requests/models/runware/clarity.json +277 -0
  291. package/dist/schemas/requests/models/runware/dia-1-6b.json +742 -0
  292. package/dist/schemas/requests/models/runware/dia2-2b.json +809 -0
  293. package/dist/schemas/requests/models/runware/flux-1-dev-srpo.json +1103 -0
  294. package/dist/schemas/requests/models/runware/flux-krea.json +1103 -0
  295. package/dist/schemas/requests/models/runware/hidream-i1-dev.json +448 -0
  296. package/dist/schemas/requests/models/runware/hidream-i1-fast.json +448 -0
  297. package/dist/schemas/requests/models/runware/hidream-i1-full.json +448 -0
  298. package/dist/schemas/requests/models/runware/index.json +11773 -0
  299. package/dist/schemas/requests/models/runware/kandinsky-5-0-image-lite.json +469 -0
  300. package/dist/schemas/requests/models/runware/kandinsky-5-0-lite.json +312 -0
  301. package/dist/schemas/requests/models/runware/llama-3-1-8b-prompt-enhancer.json +81 -0
  302. package/dist/schemas/requests/models/runware/object-eraser.json +221 -0
  303. package/dist/schemas/requests/models/runware/open-age-detection.json +131 -0
  304. package/dist/schemas/requests/models/runware/ovi.json +313 -0
  305. package/dist/schemas/requests/models/runware/qwen2-5-vl-7b-age-detector.json +131 -0
  306. package/dist/schemas/requests/models/runware/real-esrgan.json +140 -0
  307. package/dist/schemas/requests/models/runware/rembg-v1-4.json +199 -0
  308. package/dist/schemas/requests/models/runware/stable-diffusion-latent-upscaler.json +184 -0
  309. package/dist/schemas/requests/models/runware/swinir.json +140 -0
  310. package/dist/schemas/requests/models/runware/twinflow-z-image-turbo.json +465 -0
  311. package/dist/schemas/requests/models/runware/vit-age-classifier.json +131 -0
  312. package/dist/schemas/requests/models/runway/index.json +1983 -0
  313. package/dist/schemas/requests/models/runway/runway-aleph.json +359 -0
  314. package/dist/schemas/requests/models/runway/runway-gen-4-5.json +394 -0
  315. package/dist/schemas/requests/models/runway/runway-gen-4-image-turbo.json +428 -0
  316. package/dist/schemas/requests/models/runway/runway-gen-4-image.json +425 -0
  317. package/dist/schemas/requests/models/runway/runway-gen-4-turbo.json +377 -0
  318. package/dist/schemas/requests/models/skywork/index.json +811 -0
  319. package/dist/schemas/requests/models/skywork/skywork-skyreels-v4.json +807 -0
  320. package/dist/schemas/requests/models/sourceful/index.json +3421 -0
  321. package/dist/schemas/requests/models/sourceful/sourceful-riverflow-1-1-mini.json +331 -0
  322. package/dist/schemas/requests/models/sourceful/sourceful-riverflow-1-1-pro.json +331 -0
  323. package/dist/schemas/requests/models/sourceful/sourceful-riverflow-1-1.json +331 -0
  324. package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-0-fast.json +454 -0
  325. package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-0-pro.json +564 -0
  326. package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-preview-fast.json +471 -0
  327. package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-preview-max.json +471 -0
  328. package/dist/schemas/requests/models/sourceful/sourceful-riverflow-2-preview-standard.json +471 -0
  329. package/dist/schemas/requests/models/stabilityai/index.json +1832 -0
  330. package/dist/schemas/requests/models/stabilityai/stabilityai-stable-diffusion-3.json +843 -0
  331. package/dist/schemas/requests/models/stabilityai/stabilityai-stable-diffusion-xl-v1-0-vae-fix.json +986 -0
  332. package/dist/schemas/requests/models/sync/index.json +1506 -0
  333. package/dist/schemas/requests/models/sync/sync-3.json +534 -0
  334. package/dist/schemas/requests/models/sync/sync-lipsync-2-pro.json +334 -0
  335. package/dist/schemas/requests/models/sync/sync-lipsync-2.json +334 -0
  336. package/dist/schemas/requests/models/sync/sync-react-1.json +303 -0
  337. package/dist/schemas/requests/models/tencent/index.json +1075 -0
  338. package/dist/schemas/requests/models/tencent/tencent-hunyuan-3d-3-1-pro.json +236 -0
  339. package/dist/schemas/requests/models/tencent/tencent-hunyuan-3d-3-1-rapid.json +260 -0
  340. package/dist/schemas/requests/models/tencent/tencent-hunyuanimage-3-0.json +577 -0
  341. package/dist/schemas/requests/models/topazlabs/index.json +146 -0
  342. package/dist/schemas/requests/models/topazlabs/topazlabs-starlight-precise-2-5.json +142 -0
  343. package/dist/schemas/requests/models/tripo/index.json +481 -0
  344. package/dist/schemas/requests/models/tripo/tripo-v3-1.json +477 -0
  345. package/dist/schemas/requests/models/veed/index.json +286 -0
  346. package/dist/schemas/requests/models/veed/veed-fabric-1-0.json +282 -0
  347. package/dist/schemas/requests/models/vidu/index.json +4290 -0
  348. package/dist/schemas/requests/models/vidu/vidu-1-5.json +531 -0
  349. package/dist/schemas/requests/models/vidu/vidu-2-0.json +472 -0
  350. package/dist/schemas/requests/models/vidu/vidu-q1-classic.json +316 -0
  351. package/dist/schemas/requests/models/vidu/vidu-q1-image.json +244 -0
  352. package/dist/schemas/requests/models/vidu/vidu-q1.json +459 -0
  353. package/dist/schemas/requests/models/vidu/vidu-q2-pro.json +591 -0
  354. package/dist/schemas/requests/models/vidu/vidu-q2-turbo.json +591 -0
  355. package/dist/schemas/requests/models/vidu/vidu-q3-turbo.json +537 -0
  356. package/dist/schemas/requests/models/vidu/vidu-q3.json +553 -0
  357. package/dist/schemas/requests/models/xai/index.json +2950 -0
  358. package/dist/schemas/requests/models/xai/xai-grok-imagine-image-pro.json +563 -0
  359. package/dist/schemas/requests/models/xai/xai-grok-imagine-image-quality.json +563 -0
  360. package/dist/schemas/requests/models/xai/xai-grok-imagine-image.json +419 -0
  361. package/dist/schemas/requests/models/xai/xai-grok-imagine-video.json +670 -0
  362. package/dist/schemas/requests/models/xai/xai-tts.json +735 -0
  363. package/dist/schemas/requests/models/zai/index.json +794 -0
  364. package/dist/schemas/requests/models/zai/zai-glm-4-7.json +231 -0
  365. package/dist/schemas/requests/models/zai/zai-glm-5-1.json +326 -0
  366. package/dist/schemas/requests/models/zai/zai-glm-image.json +235 -0
  367. package/dist/schemas/requests/types/3d.json +97 -0
  368. package/dist/schemas/requests/types/audio.json +676 -0
  369. package/dist/schemas/requests/types/caption-image.json +132 -0
  370. package/dist/schemas/requests/types/caption-video.json +120 -0
  371. package/dist/schemas/requests/types/caption.json +63 -0
  372. package/dist/schemas/requests/types/image.json +152 -0
  373. package/dist/schemas/requests/types/prompt-enhance.json +82 -0
  374. package/dist/schemas/requests/types/remove-background-image.json +132 -0
  375. package/dist/schemas/requests/types/remove-background-video.json +120 -0
  376. package/dist/schemas/requests/types/remove-background.json +63 -0
  377. package/dist/schemas/requests/types/text.json +126 -0
  378. package/dist/schemas/requests/types/training.json +43 -0
  379. package/dist/schemas/requests/types/upscale-image.json +132 -0
  380. package/dist/schemas/requests/types/upscale-video.json +120 -0
  381. package/dist/schemas/requests/types/upscale.json +63 -0
  382. package/dist/schemas/requests/types/vectorize.json +91 -0
  383. package/dist/schemas/requests/types/video.json +151 -0
  384. package/dist/schemas/requests/utilities/account-management.json +33 -0
  385. package/dist/schemas/requests/utilities/authentication.json +29 -0
  386. package/dist/schemas/requests/utilities/get-response.json +24 -0
  387. package/dist/schemas/requests/utilities/get-task-details.json +24 -0
  388. package/dist/schemas/requests/utilities/image-upload.json +39 -0
  389. package/dist/schemas/requests/utilities/model-search.json +357 -0
  390. package/dist/schemas/requests/utilities/model-upload.json +407 -0
  391. package/dist/schemas/requests/utilities/ping.json +21 -0
  392. package/dist/schemas/responses/errors/error.json +49 -0
  393. package/dist/schemas/responses/utilities/account-management.json +262 -0
  394. package/dist/schemas/responses/utilities/authentication.json +23 -0
  395. package/dist/schemas/responses/utilities/get-response.json +59 -0
  396. package/dist/schemas/responses/utilities/get-task-details.json +41 -0
  397. package/dist/schemas/responses/utilities/image-upload.json +29 -0
  398. package/dist/schemas/responses/utilities/model-search.json +111 -0
  399. package/dist/schemas/responses/utilities/model-upload.json +48 -0
  400. package/dist/schemas/responses/utilities/ping.json +15 -0
  401. package/package.json +16 -0
@@ -0,0 +1,4758 @@
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": "bytedance:5@2"
12
+ },
13
+ "inputs": {
14
+ "title": "Inputs",
15
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
16
+ "type": "object",
17
+ "properties": {
18
+ "image": {
19
+ "title": "Image",
20
+ "description": "The source portrait image to be animated (UUID, URL, Data URI, or Base64).",
21
+ "type": "string",
22
+ "anyOf": [
23
+ {
24
+ "format": "uuid"
25
+ },
26
+ {
27
+ "format": "uri"
28
+ },
29
+ {
30
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
31
+ },
32
+ {
33
+ "pattern": "^[a-zA-Z0-9+/=]+$"
34
+ }
35
+ ]
36
+ },
37
+ "audio": {
38
+ "title": "Audio",
39
+ "description": "The audio file used to drive the animation (UUID or URL).",
40
+ "type": "string",
41
+ "anyOf": [
42
+ {
43
+ "format": "uuid"
44
+ },
45
+ {
46
+ "format": "uri"
47
+ }
48
+ ]
49
+ },
50
+ "mask": {
51
+ "title": "Mask Image",
52
+ "description": "Optional mask image to isolate the specific region (e.g., the face) for animation (UUID, URL, Data URI, or Base64).",
53
+ "type": "string",
54
+ "anyOf": [
55
+ {
56
+ "format": "uuid"
57
+ },
58
+ {
59
+ "format": "uri"
60
+ },
61
+ {
62
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
63
+ },
64
+ {
65
+ "pattern": "^[a-zA-Z0-9+/=]+$"
66
+ }
67
+ ]
68
+ }
69
+ },
70
+ "required": [
71
+ "image",
72
+ "audio"
73
+ ],
74
+ "additionalProperties": false
75
+ },
76
+ "seed": {
77
+ "title": "Seed",
78
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
79
+ "type": "integer",
80
+ "minimum": 0,
81
+ "maximum": 9223372036854776000
82
+ },
83
+ "providerSettings": {
84
+ "title": "Provider Settings",
85
+ "description": "Provider-specific configuration settings.",
86
+ "type": "object",
87
+ "properties": {
88
+ "bytedance": {
89
+ "title": "ByteDance Settings",
90
+ "description": "Provider-specific settings for Bytedance models.",
91
+ "type": "object",
92
+ "properties": {
93
+ "fastMode": {
94
+ "title": "Fast Mode",
95
+ "description": "Enable accelerated generation by optimizing the processing pipeline.",
96
+ "type": "boolean",
97
+ "default": false
98
+ }
99
+ },
100
+ "additionalProperties": false
101
+ }
102
+ },
103
+ "additionalProperties": false
104
+ },
105
+ "taskType": {
106
+ "title": "Task Type",
107
+ "description": "Identifier for the type of task being performed",
108
+ "type": "string",
109
+ "const": "videoInference"
110
+ },
111
+ "taskUUID": {
112
+ "title": "Task UUID",
113
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
114
+ "type": "string",
115
+ "format": "uuid"
116
+ },
117
+ "webhookURL": {
118
+ "title": "Webhook URL",
119
+ "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.",
120
+ "type": "string",
121
+ "format": "uri"
122
+ },
123
+ "includeCost": {
124
+ "title": "Include Cost",
125
+ "description": "Include task cost in the response.",
126
+ "type": "boolean",
127
+ "default": false
128
+ },
129
+ "numberResults": {
130
+ "title": "Number of Results",
131
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
132
+ "type": "integer",
133
+ "minimum": 1,
134
+ "default": 1,
135
+ "maximum": 4
136
+ },
137
+ "uploadEndpoint": {
138
+ "title": "Upload Endpoint",
139
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
140
+ "type": "string",
141
+ "format": "uri"
142
+ },
143
+ "ttl": {
144
+ "title": "TTL",
145
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
146
+ "type": "integer",
147
+ "minimum": 60
148
+ },
149
+ "outputType": {
150
+ "title": "Output Type",
151
+ "description": "Video output type.",
152
+ "type": "string",
153
+ "enum": [
154
+ "URL"
155
+ ],
156
+ "default": "URL"
157
+ },
158
+ "outputFormat": {
159
+ "title": "Output Format",
160
+ "description": "File format for the generated video.",
161
+ "type": "string",
162
+ "enum": [
163
+ "MP4",
164
+ "WEBM",
165
+ "MOV"
166
+ ],
167
+ "default": "MP4"
168
+ },
169
+ "outputQuality": {
170
+ "title": "Output Quality",
171
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
172
+ "type": "integer",
173
+ "minimum": 20,
174
+ "maximum": 99,
175
+ "default": 95
176
+ },
177
+ "deliveryMethod": {
178
+ "title": "Delivery Method",
179
+ "description": "Determines how the API delivers task results.",
180
+ "type": "string",
181
+ "oneOf": [
182
+ {
183
+ "const": "async",
184
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
185
+ }
186
+ ],
187
+ "default": "async"
188
+ },
189
+ "safety": {
190
+ "type": "object",
191
+ "title": "Safety Settings",
192
+ "description": "Content safety checking configuration for video generation.",
193
+ "properties": {
194
+ "checkContent": {
195
+ "title": "Check Content",
196
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
197
+ "type": "boolean",
198
+ "default": false
199
+ },
200
+ "mode": {
201
+ "description": "Safety checking mode for video generation.",
202
+ "type": "string",
203
+ "oneOf": [
204
+ {
205
+ "const": "none",
206
+ "title": "None",
207
+ "description": "Disables checking."
208
+ },
209
+ {
210
+ "const": "fast",
211
+ "title": "Fast",
212
+ "description": "Checks key frames."
213
+ },
214
+ {
215
+ "const": "full",
216
+ "title": "Full",
217
+ "description": "Checks all frames."
218
+ }
219
+ ],
220
+ "default": "none"
221
+ }
222
+ },
223
+ "additionalProperties": false
224
+ }
225
+ },
226
+ "required": [
227
+ "inputs",
228
+ "taskType",
229
+ "taskUUID",
230
+ "model"
231
+ ],
232
+ "additionalProperties": false
233
+ },
234
+ {
235
+ "type": "object",
236
+ "properties": {
237
+ "model": {
238
+ "title": "Model",
239
+ "description": "Identifier of the model to use for generation.",
240
+ "type": "string",
241
+ "const": "bytedance:5@1"
242
+ },
243
+ "inputs": {
244
+ "title": "Inputs",
245
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
246
+ "type": "object",
247
+ "properties": {
248
+ "referenceImages": {
249
+ "title": "Reference Images",
250
+ "description": "The source portrait image to be animated (UUID, URL, Data URI, or Base64).",
251
+ "type": "array",
252
+ "minItems": 1,
253
+ "items": {
254
+ "title": "Image",
255
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
256
+ "type": "string",
257
+ "anyOf": [
258
+ {
259
+ "format": "uuid"
260
+ },
261
+ {
262
+ "format": "uri"
263
+ },
264
+ {
265
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
266
+ },
267
+ {
268
+ "pattern": "^[a-zA-Z0-9+/=]+$"
269
+ }
270
+ ]
271
+ },
272
+ "maxItems": 1
273
+ },
274
+ "audio": {
275
+ "title": "Audio",
276
+ "description": "The audio file used to drive the animation (UUID or URL).",
277
+ "type": "string",
278
+ "anyOf": [
279
+ {
280
+ "format": "uuid"
281
+ },
282
+ {
283
+ "format": "uri"
284
+ }
285
+ ],
286
+ "maxItems": 1
287
+ }
288
+ },
289
+ "required": [
290
+ "referenceImages",
291
+ "audio"
292
+ ],
293
+ "additionalProperties": false
294
+ },
295
+ "taskType": {
296
+ "title": "Task Type",
297
+ "description": "Identifier for the type of task being performed",
298
+ "type": "string",
299
+ "const": "videoInference"
300
+ },
301
+ "taskUUID": {
302
+ "title": "Task UUID",
303
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
304
+ "type": "string",
305
+ "format": "uuid"
306
+ },
307
+ "webhookURL": {
308
+ "title": "Webhook URL",
309
+ "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.",
310
+ "type": "string",
311
+ "format": "uri"
312
+ },
313
+ "includeCost": {
314
+ "title": "Include Cost",
315
+ "description": "Include task cost in the response.",
316
+ "type": "boolean",
317
+ "default": false
318
+ },
319
+ "numberResults": {
320
+ "title": "Number of Results",
321
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
322
+ "type": "integer",
323
+ "minimum": 1,
324
+ "default": 1,
325
+ "maximum": 4
326
+ },
327
+ "uploadEndpoint": {
328
+ "title": "Upload Endpoint",
329
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
330
+ "type": "string",
331
+ "format": "uri"
332
+ },
333
+ "ttl": {
334
+ "title": "TTL",
335
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
336
+ "type": "integer",
337
+ "minimum": 60
338
+ },
339
+ "outputType": {
340
+ "title": "Output Type",
341
+ "description": "Video output type.",
342
+ "type": "string",
343
+ "enum": [
344
+ "URL"
345
+ ],
346
+ "default": "URL"
347
+ },
348
+ "outputFormat": {
349
+ "title": "Output Format",
350
+ "description": "File format for the generated video.",
351
+ "type": "string",
352
+ "enum": [
353
+ "MP4",
354
+ "WEBM",
355
+ "MOV"
356
+ ],
357
+ "default": "MP4"
358
+ },
359
+ "outputQuality": {
360
+ "title": "Output Quality",
361
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
362
+ "type": "integer",
363
+ "minimum": 20,
364
+ "maximum": 99,
365
+ "default": 95
366
+ },
367
+ "deliveryMethod": {
368
+ "title": "Delivery Method",
369
+ "description": "Determines how the API delivers task results.",
370
+ "type": "string",
371
+ "oneOf": [
372
+ {
373
+ "const": "async",
374
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
375
+ }
376
+ ],
377
+ "default": "async"
378
+ },
379
+ "safety": {
380
+ "type": "object",
381
+ "title": "Safety Settings",
382
+ "description": "Content safety checking configuration for video generation.",
383
+ "properties": {
384
+ "checkContent": {
385
+ "title": "Check Content",
386
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
387
+ "type": "boolean",
388
+ "default": false
389
+ },
390
+ "mode": {
391
+ "description": "Safety checking mode for video generation.",
392
+ "type": "string",
393
+ "oneOf": [
394
+ {
395
+ "const": "none",
396
+ "title": "None",
397
+ "description": "Disables checking."
398
+ },
399
+ {
400
+ "const": "fast",
401
+ "title": "Fast",
402
+ "description": "Checks key frames."
403
+ },
404
+ {
405
+ "const": "full",
406
+ "title": "Full",
407
+ "description": "Checks all frames."
408
+ }
409
+ ],
410
+ "default": "none"
411
+ }
412
+ },
413
+ "additionalProperties": false
414
+ }
415
+ },
416
+ "required": [
417
+ "inputs",
418
+ "taskType",
419
+ "taskUUID",
420
+ "model"
421
+ ],
422
+ "additionalProperties": false
423
+ },
424
+ {
425
+ "type": "object",
426
+ "properties": {
427
+ "model": {
428
+ "title": "Model",
429
+ "description": "Identifier of the model to use for generation.",
430
+ "type": "string",
431
+ "const": "bytedance:2@2"
432
+ },
433
+ "inputs": {
434
+ "title": "Inputs",
435
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
436
+ "type": "object",
437
+ "properties": {
438
+ "frameImages": {
439
+ "title": "Frame Images",
440
+ "description": "List of frame-specific image inputs. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object with an image and a target frame position.",
441
+ "type": "array",
442
+ "minItems": 1,
443
+ "items": {
444
+ "anyOf": [
445
+ {
446
+ "title": "Image",
447
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
448
+ "type": "string",
449
+ "anyOf": [
450
+ {
451
+ "format": "uuid"
452
+ },
453
+ {
454
+ "format": "uri"
455
+ },
456
+ {
457
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
458
+ },
459
+ {
460
+ "pattern": "^[a-zA-Z0-9+/=]+$"
461
+ }
462
+ ]
463
+ },
464
+ {
465
+ "type": "object",
466
+ "properties": {
467
+ "image": {
468
+ "title": "Image",
469
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
470
+ "type": "string",
471
+ "anyOf": [
472
+ {
473
+ "format": "uuid"
474
+ },
475
+ {
476
+ "format": "uri"
477
+ },
478
+ {
479
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
480
+ },
481
+ {
482
+ "pattern": "^[a-zA-Z0-9+/=]+$"
483
+ }
484
+ ]
485
+ },
486
+ "frame": {
487
+ "title": "Frame",
488
+ "description": "Target frame position for the image. This model only supports the first frame.",
489
+ "oneOf": [
490
+ {
491
+ "const": "first",
492
+ "description": "First frame of the video."
493
+ },
494
+ {
495
+ "const": 0,
496
+ "description": "Frame index 0 (first frame)."
497
+ }
498
+ ]
499
+ }
500
+ },
501
+ "required": [
502
+ "image"
503
+ ],
504
+ "additionalProperties": false
505
+ }
506
+ ]
507
+ },
508
+ "maxItems": 1
509
+ }
510
+ },
511
+ "additionalProperties": false
512
+ },
513
+ "positivePrompt": {
514
+ "title": "Positive Prompt",
515
+ "description": "Text prompt describing elements to include in the generated output.",
516
+ "type": "string",
517
+ "minLength": 2,
518
+ "maxLength": 3000
519
+ },
520
+ "width": {
521
+ "title": "Width",
522
+ "description": "Width of the generated media in pixels.",
523
+ "type": "integer"
524
+ },
525
+ "height": {
526
+ "title": "Height",
527
+ "description": "Height of the generated media in pixels.",
528
+ "type": "integer"
529
+ },
530
+ "resolution": {
531
+ "title": "Resolution",
532
+ "description": "Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.",
533
+ "type": "string",
534
+ "enum": [
535
+ "480p",
536
+ "1080p"
537
+ ]
538
+ },
539
+ "duration": {
540
+ "title": "Duration",
541
+ "description": "Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).",
542
+ "type": "number",
543
+ "default": 5,
544
+ "minimum": 1.2,
545
+ "maximum": 12
546
+ },
547
+ "seed": {
548
+ "title": "Seed",
549
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
550
+ "type": "integer",
551
+ "minimum": 0,
552
+ "maximum": 9223372036854776000
553
+ },
554
+ "providerSettings": {
555
+ "title": "Provider Settings",
556
+ "description": "Provider-specific configuration settings.",
557
+ "type": "object",
558
+ "properties": {
559
+ "bytedance": {
560
+ "title": "ByteDance Settings",
561
+ "description": "Provider-specific settings for Bytedance models.",
562
+ "type": "object",
563
+ "properties": {
564
+ "cameraFixed": {
565
+ "title": "Camera Fixed",
566
+ "description": "Fix the camera position and angle, preventing any panning, tilting, or zooming effects.",
567
+ "type": "boolean",
568
+ "default": false
569
+ }
570
+ },
571
+ "additionalProperties": false
572
+ }
573
+ },
574
+ "additionalProperties": false
575
+ },
576
+ "taskType": {
577
+ "title": "Task Type",
578
+ "description": "Identifier for the type of task being performed",
579
+ "type": "string",
580
+ "const": "videoInference"
581
+ },
582
+ "taskUUID": {
583
+ "title": "Task UUID",
584
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
585
+ "type": "string",
586
+ "format": "uuid"
587
+ },
588
+ "webhookURL": {
589
+ "title": "Webhook URL",
590
+ "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.",
591
+ "type": "string",
592
+ "format": "uri"
593
+ },
594
+ "includeCost": {
595
+ "title": "Include Cost",
596
+ "description": "Include task cost in the response.",
597
+ "type": "boolean",
598
+ "default": false
599
+ },
600
+ "numberResults": {
601
+ "title": "Number of Results",
602
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
603
+ "type": "integer",
604
+ "minimum": 1,
605
+ "default": 1,
606
+ "maximum": 4
607
+ },
608
+ "uploadEndpoint": {
609
+ "title": "Upload Endpoint",
610
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
611
+ "type": "string",
612
+ "format": "uri"
613
+ },
614
+ "ttl": {
615
+ "title": "TTL",
616
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
617
+ "type": "integer",
618
+ "minimum": 60
619
+ },
620
+ "outputType": {
621
+ "title": "Output Type",
622
+ "description": "Video output type.",
623
+ "type": "string",
624
+ "enum": [
625
+ "URL"
626
+ ],
627
+ "default": "URL"
628
+ },
629
+ "outputFormat": {
630
+ "title": "Output Format",
631
+ "description": "File format for the generated video.",
632
+ "type": "string",
633
+ "enum": [
634
+ "MP4",
635
+ "WEBM",
636
+ "MOV"
637
+ ],
638
+ "default": "MP4"
639
+ },
640
+ "outputQuality": {
641
+ "title": "Output Quality",
642
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
643
+ "type": "integer",
644
+ "minimum": 20,
645
+ "maximum": 99,
646
+ "default": 95
647
+ },
648
+ "deliveryMethod": {
649
+ "title": "Delivery Method",
650
+ "description": "Determines how the API delivers task results.",
651
+ "type": "string",
652
+ "oneOf": [
653
+ {
654
+ "const": "async",
655
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
656
+ }
657
+ ],
658
+ "default": "async"
659
+ },
660
+ "safety": {
661
+ "type": "object",
662
+ "title": "Safety Settings",
663
+ "description": "Content safety checking configuration for video generation.",
664
+ "properties": {
665
+ "checkContent": {
666
+ "title": "Check Content",
667
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
668
+ "type": "boolean",
669
+ "default": false
670
+ },
671
+ "mode": {
672
+ "description": "Safety checking mode for video generation.",
673
+ "type": "string",
674
+ "oneOf": [
675
+ {
676
+ "const": "none",
677
+ "title": "None",
678
+ "description": "Disables checking."
679
+ },
680
+ {
681
+ "const": "fast",
682
+ "title": "Fast",
683
+ "description": "Checks key frames."
684
+ },
685
+ {
686
+ "const": "full",
687
+ "title": "Full",
688
+ "description": "Checks all frames."
689
+ }
690
+ ],
691
+ "default": "none"
692
+ }
693
+ },
694
+ "additionalProperties": false
695
+ }
696
+ },
697
+ "required": [
698
+ "positivePrompt",
699
+ "taskType",
700
+ "taskUUID",
701
+ "model"
702
+ ],
703
+ "allOf": [
704
+ {
705
+ "dependentRequired": {
706
+ "width": [
707
+ "height"
708
+ ],
709
+ "height": [
710
+ "width"
711
+ ]
712
+ }
713
+ },
714
+ {
715
+ "oneOf": [
716
+ {
717
+ "title": "480p (16:9)",
718
+ "properties": {
719
+ "width": {
720
+ "const": 864
721
+ },
722
+ "height": {
723
+ "const": 480
724
+ }
725
+ }
726
+ },
727
+ {
728
+ "title": "480p (4:3)",
729
+ "properties": {
730
+ "width": {
731
+ "const": 736
732
+ },
733
+ "height": {
734
+ "const": 544
735
+ }
736
+ }
737
+ },
738
+ {
739
+ "title": "480p (1:1)",
740
+ "properties": {
741
+ "width": {
742
+ "const": 640
743
+ },
744
+ "height": {
745
+ "const": 640
746
+ }
747
+ }
748
+ },
749
+ {
750
+ "title": "480p (3:4)",
751
+ "properties": {
752
+ "width": {
753
+ "const": 544
754
+ },
755
+ "height": {
756
+ "const": 736
757
+ }
758
+ }
759
+ },
760
+ {
761
+ "title": "480p (9:16)",
762
+ "properties": {
763
+ "width": {
764
+ "const": 480
765
+ },
766
+ "height": {
767
+ "const": 864
768
+ }
769
+ }
770
+ },
771
+ {
772
+ "title": "480p (9:21)",
773
+ "properties": {
774
+ "width": {
775
+ "const": 416
776
+ },
777
+ "height": {
778
+ "const": 960
779
+ }
780
+ }
781
+ },
782
+ {
783
+ "title": "480p (21:9)",
784
+ "properties": {
785
+ "width": {
786
+ "const": 960
787
+ },
788
+ "height": {
789
+ "const": 416
790
+ }
791
+ }
792
+ },
793
+ {
794
+ "title": "1080p (16:9)",
795
+ "properties": {
796
+ "width": {
797
+ "const": 1920
798
+ },
799
+ "height": {
800
+ "const": 1088
801
+ }
802
+ }
803
+ },
804
+ {
805
+ "title": "1080p (4:3)",
806
+ "properties": {
807
+ "width": {
808
+ "const": 1664
809
+ },
810
+ "height": {
811
+ "const": 1248
812
+ }
813
+ }
814
+ },
815
+ {
816
+ "title": "1080p (1:1)",
817
+ "properties": {
818
+ "width": {
819
+ "const": 1440
820
+ },
821
+ "height": {
822
+ "const": 1440
823
+ }
824
+ }
825
+ },
826
+ {
827
+ "title": "1080p (3:4)",
828
+ "properties": {
829
+ "width": {
830
+ "const": 1248
831
+ },
832
+ "height": {
833
+ "const": 1664
834
+ }
835
+ }
836
+ },
837
+ {
838
+ "title": "1080p (9:16)",
839
+ "properties": {
840
+ "width": {
841
+ "const": 1088
842
+ },
843
+ "height": {
844
+ "const": 1920
845
+ }
846
+ }
847
+ },
848
+ {
849
+ "title": "1080p (9:21)",
850
+ "properties": {
851
+ "width": {
852
+ "const": 928
853
+ },
854
+ "height": {
855
+ "const": 2176
856
+ }
857
+ }
858
+ },
859
+ {
860
+ "title": "1080p (21:9)",
861
+ "properties": {
862
+ "width": {
863
+ "const": 2176
864
+ },
865
+ "height": {
866
+ "const": 928
867
+ }
868
+ }
869
+ }
870
+ ]
871
+ },
872
+ {
873
+ "if": {
874
+ "not": {
875
+ "properties": {
876
+ "inputs": {
877
+ "properties": {
878
+ "frameImages": {
879
+ "minItems": 1
880
+ }
881
+ },
882
+ "required": [
883
+ "frameImages"
884
+ ]
885
+ }
886
+ },
887
+ "required": [
888
+ "inputs"
889
+ ]
890
+ }
891
+ },
892
+ "then": {
893
+ "anyOf": [
894
+ {
895
+ "required": [
896
+ "width",
897
+ "height"
898
+ ]
899
+ },
900
+ {
901
+ "required": [
902
+ "resolution"
903
+ ]
904
+ }
905
+ ]
906
+ }
907
+ },
908
+ {
909
+ "not": {
910
+ "allOf": [
911
+ {
912
+ "required": [
913
+ "resolution"
914
+ ]
915
+ },
916
+ {
917
+ "anyOf": [
918
+ {
919
+ "required": [
920
+ "width"
921
+ ]
922
+ },
923
+ {
924
+ "required": [
925
+ "height"
926
+ ]
927
+ }
928
+ ]
929
+ }
930
+ ]
931
+ }
932
+ }
933
+ ],
934
+ "additionalProperties": false
935
+ },
936
+ {
937
+ "type": "object",
938
+ "properties": {
939
+ "model": {
940
+ "title": "Model",
941
+ "description": "Identifier of the model to use for generation.",
942
+ "type": "string",
943
+ "const": "bytedance:2@1"
944
+ },
945
+ "inputs": {
946
+ "title": "Inputs",
947
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
948
+ "type": "object",
949
+ "properties": {
950
+ "frameImages": {
951
+ "title": "Frame Images",
952
+ "description": "List of frame-specific image inputs. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object with an image and a target frame position.",
953
+ "type": "array",
954
+ "minItems": 1,
955
+ "items": {
956
+ "anyOf": [
957
+ {
958
+ "title": "Image",
959
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
960
+ "type": "string",
961
+ "anyOf": [
962
+ {
963
+ "format": "uuid"
964
+ },
965
+ {
966
+ "format": "uri"
967
+ },
968
+ {
969
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
970
+ },
971
+ {
972
+ "pattern": "^[a-zA-Z0-9+/=]+$"
973
+ }
974
+ ]
975
+ },
976
+ {
977
+ "type": "object",
978
+ "properties": {
979
+ "image": {
980
+ "title": "Image",
981
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
982
+ "type": "string",
983
+ "anyOf": [
984
+ {
985
+ "format": "uuid"
986
+ },
987
+ {
988
+ "format": "uri"
989
+ },
990
+ {
991
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
992
+ },
993
+ {
994
+ "pattern": "^[a-zA-Z0-9+/=]+$"
995
+ }
996
+ ]
997
+ },
998
+ "frame": {
999
+ "title": "Frame",
1000
+ "description": "Target frame position for the image. Supports first and last frame.",
1001
+ "oneOf": [
1002
+ {
1003
+ "const": "first",
1004
+ "description": "First frame of the video."
1005
+ },
1006
+ {
1007
+ "const": "last",
1008
+ "description": "Last frame of the video."
1009
+ },
1010
+ {
1011
+ "const": 0,
1012
+ "description": "Frame index 0 (first frame)."
1013
+ },
1014
+ {
1015
+ "const": -1,
1016
+ "description": "Frame index -1 (last frame)."
1017
+ }
1018
+ ]
1019
+ }
1020
+ },
1021
+ "required": [
1022
+ "image"
1023
+ ],
1024
+ "additionalProperties": false
1025
+ }
1026
+ ]
1027
+ },
1028
+ "maxItems": 2
1029
+ }
1030
+ },
1031
+ "additionalProperties": false
1032
+ },
1033
+ "positivePrompt": {
1034
+ "title": "Positive Prompt",
1035
+ "description": "Text prompt describing elements to include in the generated output.",
1036
+ "type": "string",
1037
+ "minLength": 2,
1038
+ "maxLength": 3000
1039
+ },
1040
+ "width": {
1041
+ "title": "Width",
1042
+ "description": "Width of the generated media in pixels.",
1043
+ "type": "integer"
1044
+ },
1045
+ "height": {
1046
+ "title": "Height",
1047
+ "description": "Height of the generated media in pixels.",
1048
+ "type": "integer"
1049
+ },
1050
+ "resolution": {
1051
+ "title": "Resolution",
1052
+ "description": "Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.",
1053
+ "type": "string",
1054
+ "enum": [
1055
+ "480p",
1056
+ "1080p"
1057
+ ]
1058
+ },
1059
+ "duration": {
1060
+ "title": "Duration",
1061
+ "description": "Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).",
1062
+ "type": "number",
1063
+ "default": 5,
1064
+ "minimum": 1.2,
1065
+ "maximum": 12
1066
+ },
1067
+ "seed": {
1068
+ "title": "Seed",
1069
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
1070
+ "type": "integer",
1071
+ "minimum": 0,
1072
+ "maximum": 9223372036854776000
1073
+ },
1074
+ "providerSettings": {
1075
+ "title": "Provider Settings",
1076
+ "description": "Provider-specific configuration settings.",
1077
+ "type": "object",
1078
+ "properties": {
1079
+ "bytedance": {
1080
+ "title": "ByteDance Settings",
1081
+ "description": "Provider-specific settings for Bytedance models.",
1082
+ "type": "object",
1083
+ "properties": {
1084
+ "cameraFixed": {
1085
+ "title": "Camera Fixed",
1086
+ "description": "Fix the camera position and angle, preventing any panning, tilting, or zooming effects.",
1087
+ "type": "boolean",
1088
+ "default": false
1089
+ }
1090
+ },
1091
+ "additionalProperties": false
1092
+ }
1093
+ },
1094
+ "additionalProperties": false
1095
+ },
1096
+ "taskType": {
1097
+ "title": "Task Type",
1098
+ "description": "Identifier for the type of task being performed",
1099
+ "type": "string",
1100
+ "const": "videoInference"
1101
+ },
1102
+ "taskUUID": {
1103
+ "title": "Task UUID",
1104
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
1105
+ "type": "string",
1106
+ "format": "uuid"
1107
+ },
1108
+ "webhookURL": {
1109
+ "title": "Webhook URL",
1110
+ "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.",
1111
+ "type": "string",
1112
+ "format": "uri"
1113
+ },
1114
+ "includeCost": {
1115
+ "title": "Include Cost",
1116
+ "description": "Include task cost in the response.",
1117
+ "type": "boolean",
1118
+ "default": false
1119
+ },
1120
+ "numberResults": {
1121
+ "title": "Number of Results",
1122
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
1123
+ "type": "integer",
1124
+ "minimum": 1,
1125
+ "default": 1,
1126
+ "maximum": 4
1127
+ },
1128
+ "uploadEndpoint": {
1129
+ "title": "Upload Endpoint",
1130
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
1131
+ "type": "string",
1132
+ "format": "uri"
1133
+ },
1134
+ "ttl": {
1135
+ "title": "TTL",
1136
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
1137
+ "type": "integer",
1138
+ "minimum": 60
1139
+ },
1140
+ "outputType": {
1141
+ "title": "Output Type",
1142
+ "description": "Video output type.",
1143
+ "type": "string",
1144
+ "enum": [
1145
+ "URL"
1146
+ ],
1147
+ "default": "URL"
1148
+ },
1149
+ "outputFormat": {
1150
+ "title": "Output Format",
1151
+ "description": "File format for the generated video.",
1152
+ "type": "string",
1153
+ "enum": [
1154
+ "MP4",
1155
+ "WEBM",
1156
+ "MOV"
1157
+ ],
1158
+ "default": "MP4"
1159
+ },
1160
+ "outputQuality": {
1161
+ "title": "Output Quality",
1162
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
1163
+ "type": "integer",
1164
+ "minimum": 20,
1165
+ "maximum": 99,
1166
+ "default": 95
1167
+ },
1168
+ "deliveryMethod": {
1169
+ "title": "Delivery Method",
1170
+ "description": "Determines how the API delivers task results.",
1171
+ "type": "string",
1172
+ "oneOf": [
1173
+ {
1174
+ "const": "async",
1175
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
1176
+ }
1177
+ ],
1178
+ "default": "async"
1179
+ },
1180
+ "safety": {
1181
+ "type": "object",
1182
+ "title": "Safety Settings",
1183
+ "description": "Content safety checking configuration for video generation.",
1184
+ "properties": {
1185
+ "checkContent": {
1186
+ "title": "Check Content",
1187
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
1188
+ "type": "boolean",
1189
+ "default": false
1190
+ },
1191
+ "mode": {
1192
+ "description": "Safety checking mode for video generation.",
1193
+ "type": "string",
1194
+ "oneOf": [
1195
+ {
1196
+ "const": "none",
1197
+ "title": "None",
1198
+ "description": "Disables checking."
1199
+ },
1200
+ {
1201
+ "const": "fast",
1202
+ "title": "Fast",
1203
+ "description": "Checks key frames."
1204
+ },
1205
+ {
1206
+ "const": "full",
1207
+ "title": "Full",
1208
+ "description": "Checks all frames."
1209
+ }
1210
+ ],
1211
+ "default": "none"
1212
+ }
1213
+ },
1214
+ "additionalProperties": false
1215
+ }
1216
+ },
1217
+ "required": [
1218
+ "positivePrompt",
1219
+ "taskType",
1220
+ "taskUUID",
1221
+ "model"
1222
+ ],
1223
+ "allOf": [
1224
+ {
1225
+ "dependentRequired": {
1226
+ "width": [
1227
+ "height"
1228
+ ],
1229
+ "height": [
1230
+ "width"
1231
+ ]
1232
+ }
1233
+ },
1234
+ {
1235
+ "oneOf": [
1236
+ {
1237
+ "title": "480p (16:9)",
1238
+ "properties": {
1239
+ "width": {
1240
+ "const": 864
1241
+ },
1242
+ "height": {
1243
+ "const": 480
1244
+ }
1245
+ }
1246
+ },
1247
+ {
1248
+ "title": "480p (4:3)",
1249
+ "properties": {
1250
+ "width": {
1251
+ "const": 736
1252
+ },
1253
+ "height": {
1254
+ "const": 544
1255
+ }
1256
+ }
1257
+ },
1258
+ {
1259
+ "title": "480p (1:1)",
1260
+ "properties": {
1261
+ "width": {
1262
+ "const": 640
1263
+ },
1264
+ "height": {
1265
+ "const": 640
1266
+ }
1267
+ }
1268
+ },
1269
+ {
1270
+ "title": "480p (3:4)",
1271
+ "properties": {
1272
+ "width": {
1273
+ "const": 544
1274
+ },
1275
+ "height": {
1276
+ "const": 736
1277
+ }
1278
+ }
1279
+ },
1280
+ {
1281
+ "title": "480p (9:16)",
1282
+ "properties": {
1283
+ "width": {
1284
+ "const": 480
1285
+ },
1286
+ "height": {
1287
+ "const": 864
1288
+ }
1289
+ }
1290
+ },
1291
+ {
1292
+ "title": "480p (9:21)",
1293
+ "properties": {
1294
+ "width": {
1295
+ "const": 416
1296
+ },
1297
+ "height": {
1298
+ "const": 960
1299
+ }
1300
+ }
1301
+ },
1302
+ {
1303
+ "title": "480p (21:9)",
1304
+ "properties": {
1305
+ "width": {
1306
+ "const": 960
1307
+ },
1308
+ "height": {
1309
+ "const": 416
1310
+ }
1311
+ }
1312
+ },
1313
+ {
1314
+ "title": "1080p (16:9)",
1315
+ "properties": {
1316
+ "width": {
1317
+ "const": 1920
1318
+ },
1319
+ "height": {
1320
+ "const": 1088
1321
+ }
1322
+ }
1323
+ },
1324
+ {
1325
+ "title": "1080p (4:3)",
1326
+ "properties": {
1327
+ "width": {
1328
+ "const": 1664
1329
+ },
1330
+ "height": {
1331
+ "const": 1248
1332
+ }
1333
+ }
1334
+ },
1335
+ {
1336
+ "title": "1080p (1:1)",
1337
+ "properties": {
1338
+ "width": {
1339
+ "const": 1440
1340
+ },
1341
+ "height": {
1342
+ "const": 1440
1343
+ }
1344
+ }
1345
+ },
1346
+ {
1347
+ "title": "1080p (3:4)",
1348
+ "properties": {
1349
+ "width": {
1350
+ "const": 1248
1351
+ },
1352
+ "height": {
1353
+ "const": 1664
1354
+ }
1355
+ }
1356
+ },
1357
+ {
1358
+ "title": "1080p (9:16)",
1359
+ "properties": {
1360
+ "width": {
1361
+ "const": 1088
1362
+ },
1363
+ "height": {
1364
+ "const": 1920
1365
+ }
1366
+ }
1367
+ },
1368
+ {
1369
+ "title": "1080p (9:21)",
1370
+ "properties": {
1371
+ "width": {
1372
+ "const": 928
1373
+ },
1374
+ "height": {
1375
+ "const": 2176
1376
+ }
1377
+ }
1378
+ },
1379
+ {
1380
+ "title": "1080p (21:9)",
1381
+ "properties": {
1382
+ "width": {
1383
+ "const": 2176
1384
+ },
1385
+ "height": {
1386
+ "const": 928
1387
+ }
1388
+ }
1389
+ }
1390
+ ]
1391
+ },
1392
+ {
1393
+ "if": {
1394
+ "not": {
1395
+ "properties": {
1396
+ "inputs": {
1397
+ "properties": {
1398
+ "frameImages": {
1399
+ "minItems": 1
1400
+ }
1401
+ },
1402
+ "required": [
1403
+ "frameImages"
1404
+ ]
1405
+ }
1406
+ },
1407
+ "required": [
1408
+ "inputs"
1409
+ ]
1410
+ }
1411
+ },
1412
+ "then": {
1413
+ "anyOf": [
1414
+ {
1415
+ "required": [
1416
+ "width",
1417
+ "height"
1418
+ ]
1419
+ },
1420
+ {
1421
+ "required": [
1422
+ "resolution"
1423
+ ]
1424
+ }
1425
+ ]
1426
+ }
1427
+ },
1428
+ {
1429
+ "not": {
1430
+ "allOf": [
1431
+ {
1432
+ "required": [
1433
+ "resolution"
1434
+ ]
1435
+ },
1436
+ {
1437
+ "anyOf": [
1438
+ {
1439
+ "required": [
1440
+ "width"
1441
+ ]
1442
+ },
1443
+ {
1444
+ "required": [
1445
+ "height"
1446
+ ]
1447
+ }
1448
+ ]
1449
+ }
1450
+ ]
1451
+ }
1452
+ }
1453
+ ],
1454
+ "additionalProperties": false
1455
+ },
1456
+ {
1457
+ "type": "object",
1458
+ "properties": {
1459
+ "model": {
1460
+ "title": "Model",
1461
+ "description": "Identifier of the model to use for generation.",
1462
+ "type": "string",
1463
+ "const": "bytedance:seedance@1.5-pro"
1464
+ },
1465
+ "inputs": {
1466
+ "title": "Inputs",
1467
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
1468
+ "type": "object",
1469
+ "properties": {
1470
+ "frameImages": {
1471
+ "title": "Frame Images",
1472
+ "description": "List of frame-specific image inputs. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object with an image and a target frame position.",
1473
+ "type": "array",
1474
+ "minItems": 1,
1475
+ "items": {
1476
+ "anyOf": [
1477
+ {
1478
+ "title": "Image",
1479
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
1480
+ "type": "string",
1481
+ "anyOf": [
1482
+ {
1483
+ "format": "uuid"
1484
+ },
1485
+ {
1486
+ "format": "uri"
1487
+ },
1488
+ {
1489
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
1490
+ },
1491
+ {
1492
+ "pattern": "^[a-zA-Z0-9+/=]+$"
1493
+ }
1494
+ ]
1495
+ },
1496
+ {
1497
+ "type": "object",
1498
+ "properties": {
1499
+ "image": {
1500
+ "title": "Image",
1501
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
1502
+ "type": "string",
1503
+ "anyOf": [
1504
+ {
1505
+ "format": "uuid"
1506
+ },
1507
+ {
1508
+ "format": "uri"
1509
+ },
1510
+ {
1511
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
1512
+ },
1513
+ {
1514
+ "pattern": "^[a-zA-Z0-9+/=]+$"
1515
+ }
1516
+ ]
1517
+ },
1518
+ "frame": {
1519
+ "title": "Frame",
1520
+ "description": "Target frame position for the image. Supports first and last frame.",
1521
+ "oneOf": [
1522
+ {
1523
+ "const": "first",
1524
+ "description": "First frame of the video."
1525
+ },
1526
+ {
1527
+ "const": "last",
1528
+ "description": "Last frame of the video."
1529
+ },
1530
+ {
1531
+ "const": 0,
1532
+ "description": "Frame index 0 (first frame)."
1533
+ },
1534
+ {
1535
+ "const": -1,
1536
+ "description": "Frame index -1 (last frame)."
1537
+ }
1538
+ ]
1539
+ }
1540
+ },
1541
+ "required": [
1542
+ "image"
1543
+ ],
1544
+ "additionalProperties": false
1545
+ }
1546
+ ]
1547
+ },
1548
+ "maxItems": 2
1549
+ },
1550
+ "draftId": {
1551
+ "type": "string",
1552
+ "title": "Draft ID",
1553
+ "description": "Draft ID from a previous draft mode generation. Provide this to produce full quality output from an approved 480p draft preview."
1554
+ }
1555
+ },
1556
+ "additionalProperties": false
1557
+ },
1558
+ "positivePrompt": {
1559
+ "title": "Positive Prompt",
1560
+ "description": "Text prompt describing elements to include in the generated output.",
1561
+ "type": "string",
1562
+ "minLength": 2,
1563
+ "maxLength": 3000
1564
+ },
1565
+ "width": {
1566
+ "title": "Width",
1567
+ "description": "Width of the generated media in pixels.",
1568
+ "type": "integer"
1569
+ },
1570
+ "height": {
1571
+ "title": "Height",
1572
+ "description": "Height of the generated media in pixels.",
1573
+ "type": "integer"
1574
+ },
1575
+ "resolution": {
1576
+ "title": "Resolution",
1577
+ "description": "Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.",
1578
+ "type": "string",
1579
+ "enum": [
1580
+ "480p",
1581
+ "720p",
1582
+ "1080p"
1583
+ ]
1584
+ },
1585
+ "duration": {
1586
+ "title": "Duration",
1587
+ "description": "Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).",
1588
+ "type": "number",
1589
+ "oneOf": [
1590
+ {
1591
+ "type": "number",
1592
+ "default": 5,
1593
+ "minimum": 4,
1594
+ "maximum": 12
1595
+ },
1596
+ {
1597
+ "const": "auto"
1598
+ }
1599
+ ]
1600
+ },
1601
+ "seed": {
1602
+ "title": "Seed",
1603
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
1604
+ "type": "integer",
1605
+ "minimum": 0,
1606
+ "maximum": 9223372036854776000
1607
+ },
1608
+ "providerSettings": {
1609
+ "title": "Provider Settings",
1610
+ "description": "Provider-specific configuration settings.",
1611
+ "type": "object",
1612
+ "properties": {
1613
+ "bytedance": {
1614
+ "title": "ByteDance Settings",
1615
+ "description": "Provider-specific settings for Bytedance models.",
1616
+ "type": "object",
1617
+ "properties": {
1618
+ "audio": {
1619
+ "title": "Audio",
1620
+ "description": "Generate synchronized audio. Affects pricing.",
1621
+ "type": "boolean",
1622
+ "default": true
1623
+ },
1624
+ "cameraFixed": {
1625
+ "title": "Camera Fixed",
1626
+ "description": "Fix the camera position and angle, preventing any panning, tilting, or zooming effects.",
1627
+ "type": "boolean",
1628
+ "default": false
1629
+ },
1630
+ "draft": {
1631
+ "title": "Draft Mode",
1632
+ "description": "Enable draft mode for rapid iteration. Generates a fast 480p preview. Use the returned draft ID with draftId to produce full quality output from an approved draft.",
1633
+ "type": "boolean",
1634
+ "default": false
1635
+ }
1636
+ },
1637
+ "additionalProperties": false
1638
+ }
1639
+ },
1640
+ "additionalProperties": false
1641
+ },
1642
+ "taskType": {
1643
+ "title": "Task Type",
1644
+ "description": "Identifier for the type of task being performed",
1645
+ "type": "string",
1646
+ "const": "videoInference"
1647
+ },
1648
+ "taskUUID": {
1649
+ "title": "Task UUID",
1650
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
1651
+ "type": "string",
1652
+ "format": "uuid"
1653
+ },
1654
+ "webhookURL": {
1655
+ "title": "Webhook URL",
1656
+ "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.",
1657
+ "type": "string",
1658
+ "format": "uri"
1659
+ },
1660
+ "includeCost": {
1661
+ "title": "Include Cost",
1662
+ "description": "Include task cost in the response.",
1663
+ "type": "boolean",
1664
+ "default": false
1665
+ },
1666
+ "numberResults": {
1667
+ "title": "Number of Results",
1668
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
1669
+ "type": "integer",
1670
+ "minimum": 1,
1671
+ "default": 1,
1672
+ "maximum": 4
1673
+ },
1674
+ "uploadEndpoint": {
1675
+ "title": "Upload Endpoint",
1676
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
1677
+ "type": "string",
1678
+ "format": "uri"
1679
+ },
1680
+ "ttl": {
1681
+ "title": "TTL",
1682
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
1683
+ "type": "integer",
1684
+ "minimum": 60
1685
+ },
1686
+ "outputType": {
1687
+ "title": "Output Type",
1688
+ "description": "Video output type.",
1689
+ "type": "string",
1690
+ "enum": [
1691
+ "URL"
1692
+ ],
1693
+ "default": "URL"
1694
+ },
1695
+ "outputFormat": {
1696
+ "title": "Output Format",
1697
+ "description": "File format for the generated video.",
1698
+ "type": "string",
1699
+ "enum": [
1700
+ "MP4",
1701
+ "WEBM",
1702
+ "MOV"
1703
+ ],
1704
+ "default": "MP4"
1705
+ },
1706
+ "outputQuality": {
1707
+ "title": "Output Quality",
1708
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
1709
+ "type": "integer",
1710
+ "minimum": 20,
1711
+ "maximum": 99,
1712
+ "default": 95
1713
+ },
1714
+ "deliveryMethod": {
1715
+ "title": "Delivery Method",
1716
+ "description": "Determines how the API delivers task results.",
1717
+ "type": "string",
1718
+ "oneOf": [
1719
+ {
1720
+ "const": "async",
1721
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
1722
+ }
1723
+ ],
1724
+ "default": "async"
1725
+ },
1726
+ "safety": {
1727
+ "type": "object",
1728
+ "title": "Safety Settings",
1729
+ "description": "Content safety checking configuration for video generation.",
1730
+ "properties": {
1731
+ "checkContent": {
1732
+ "title": "Check Content",
1733
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
1734
+ "type": "boolean",
1735
+ "default": false
1736
+ },
1737
+ "mode": {
1738
+ "description": "Safety checking mode for video generation.",
1739
+ "type": "string",
1740
+ "oneOf": [
1741
+ {
1742
+ "const": "none",
1743
+ "title": "None",
1744
+ "description": "Disables checking."
1745
+ },
1746
+ {
1747
+ "const": "fast",
1748
+ "title": "Fast",
1749
+ "description": "Checks key frames."
1750
+ },
1751
+ {
1752
+ "const": "full",
1753
+ "title": "Full",
1754
+ "description": "Checks all frames."
1755
+ }
1756
+ ],
1757
+ "default": "none"
1758
+ }
1759
+ },
1760
+ "additionalProperties": false
1761
+ }
1762
+ },
1763
+ "required": [
1764
+ "positivePrompt",
1765
+ "taskType",
1766
+ "taskUUID",
1767
+ "model"
1768
+ ],
1769
+ "allOf": [
1770
+ {
1771
+ "dependentRequired": {
1772
+ "width": [
1773
+ "height"
1774
+ ],
1775
+ "height": [
1776
+ "width"
1777
+ ]
1778
+ }
1779
+ },
1780
+ {
1781
+ "oneOf": [
1782
+ {
1783
+ "title": "480p (16:9)",
1784
+ "properties": {
1785
+ "width": {
1786
+ "const": 864
1787
+ },
1788
+ "height": {
1789
+ "const": 496
1790
+ }
1791
+ }
1792
+ },
1793
+ {
1794
+ "title": "480p (4:3)",
1795
+ "properties": {
1796
+ "width": {
1797
+ "const": 752
1798
+ },
1799
+ "height": {
1800
+ "const": 560
1801
+ }
1802
+ }
1803
+ },
1804
+ {
1805
+ "title": "480p (1:1)",
1806
+ "properties": {
1807
+ "width": {
1808
+ "const": 640
1809
+ },
1810
+ "height": {
1811
+ "const": 640
1812
+ }
1813
+ }
1814
+ },
1815
+ {
1816
+ "title": "480p (3:4)",
1817
+ "properties": {
1818
+ "width": {
1819
+ "const": 560
1820
+ },
1821
+ "height": {
1822
+ "const": 752
1823
+ }
1824
+ }
1825
+ },
1826
+ {
1827
+ "title": "480p (9:16)",
1828
+ "properties": {
1829
+ "width": {
1830
+ "const": 496
1831
+ },
1832
+ "height": {
1833
+ "const": 864
1834
+ }
1835
+ }
1836
+ },
1837
+ {
1838
+ "title": "480p (21:9)",
1839
+ "properties": {
1840
+ "width": {
1841
+ "const": 992
1842
+ },
1843
+ "height": {
1844
+ "const": 432
1845
+ }
1846
+ }
1847
+ },
1848
+ {
1849
+ "title": "720p (16:9)",
1850
+ "properties": {
1851
+ "width": {
1852
+ "const": 1280
1853
+ },
1854
+ "height": {
1855
+ "const": 720
1856
+ }
1857
+ }
1858
+ },
1859
+ {
1860
+ "title": "720p (4:3)",
1861
+ "properties": {
1862
+ "width": {
1863
+ "const": 1112
1864
+ },
1865
+ "height": {
1866
+ "const": 834
1867
+ }
1868
+ }
1869
+ },
1870
+ {
1871
+ "title": "720p (1:1)",
1872
+ "properties": {
1873
+ "width": {
1874
+ "const": 960
1875
+ },
1876
+ "height": {
1877
+ "const": 960
1878
+ }
1879
+ }
1880
+ },
1881
+ {
1882
+ "title": "720p (3:4)",
1883
+ "properties": {
1884
+ "width": {
1885
+ "const": 834
1886
+ },
1887
+ "height": {
1888
+ "const": 1112
1889
+ }
1890
+ }
1891
+ },
1892
+ {
1893
+ "title": "720p (9:16)",
1894
+ "properties": {
1895
+ "width": {
1896
+ "const": 720
1897
+ },
1898
+ "height": {
1899
+ "const": 1280
1900
+ }
1901
+ }
1902
+ },
1903
+ {
1904
+ "title": "720p (21:9)",
1905
+ "properties": {
1906
+ "width": {
1907
+ "const": 1470
1908
+ },
1909
+ "height": {
1910
+ "const": 630
1911
+ }
1912
+ }
1913
+ },
1914
+ {
1915
+ "title": "1080p (16:9)",
1916
+ "properties": {
1917
+ "width": {
1918
+ "const": 1920
1919
+ },
1920
+ "height": {
1921
+ "const": 1080
1922
+ }
1923
+ }
1924
+ },
1925
+ {
1926
+ "title": "1080p (4:3)",
1927
+ "properties": {
1928
+ "width": {
1929
+ "const": 1664
1930
+ },
1931
+ "height": {
1932
+ "const": 1248
1933
+ }
1934
+ }
1935
+ },
1936
+ {
1937
+ "title": "1080p (1:1)",
1938
+ "properties": {
1939
+ "width": {
1940
+ "const": 1440
1941
+ },
1942
+ "height": {
1943
+ "const": 1440
1944
+ }
1945
+ }
1946
+ },
1947
+ {
1948
+ "title": "1080p (3:4)",
1949
+ "properties": {
1950
+ "width": {
1951
+ "const": 1248
1952
+ },
1953
+ "height": {
1954
+ "const": 1664
1955
+ }
1956
+ }
1957
+ },
1958
+ {
1959
+ "title": "1080p (9:16)",
1960
+ "properties": {
1961
+ "width": {
1962
+ "const": 1080
1963
+ },
1964
+ "height": {
1965
+ "const": 1920
1966
+ }
1967
+ }
1968
+ },
1969
+ {
1970
+ "title": "1080p (21:9)",
1971
+ "properties": {
1972
+ "width": {
1973
+ "const": 2205
1974
+ },
1975
+ "height": {
1976
+ "const": 945
1977
+ }
1978
+ }
1979
+ }
1980
+ ]
1981
+ },
1982
+ {
1983
+ "if": {
1984
+ "not": {
1985
+ "properties": {
1986
+ "inputs": {
1987
+ "properties": {
1988
+ "frameImages": {
1989
+ "minItems": 1
1990
+ }
1991
+ },
1992
+ "required": [
1993
+ "frameImages"
1994
+ ]
1995
+ }
1996
+ },
1997
+ "required": [
1998
+ "inputs"
1999
+ ]
2000
+ }
2001
+ },
2002
+ "then": {
2003
+ "anyOf": [
2004
+ {
2005
+ "required": [
2006
+ "width",
2007
+ "height"
2008
+ ]
2009
+ },
2010
+ {
2011
+ "required": [
2012
+ "resolution"
2013
+ ]
2014
+ }
2015
+ ]
2016
+ }
2017
+ },
2018
+ {
2019
+ "not": {
2020
+ "allOf": [
2021
+ {
2022
+ "required": [
2023
+ "resolution"
2024
+ ]
2025
+ },
2026
+ {
2027
+ "anyOf": [
2028
+ {
2029
+ "required": [
2030
+ "width"
2031
+ ]
2032
+ },
2033
+ {
2034
+ "required": [
2035
+ "height"
2036
+ ]
2037
+ }
2038
+ ]
2039
+ }
2040
+ ]
2041
+ }
2042
+ },
2043
+ {
2044
+ "if": {
2045
+ "properties": {
2046
+ "providerSettings": {
2047
+ "properties": {
2048
+ "bytedance": {
2049
+ "properties": {
2050
+ "draft": {
2051
+ "const": true
2052
+ }
2053
+ },
2054
+ "required": [
2055
+ "draft"
2056
+ ]
2057
+ }
2058
+ }
2059
+ }
2060
+ },
2061
+ "required": [
2062
+ "providerSettings"
2063
+ ]
2064
+ },
2065
+ "then": {
2066
+ "properties": {
2067
+ "resolution": {
2068
+ "const": "480p"
2069
+ }
2070
+ },
2071
+ "oneOf": [
2072
+ {
2073
+ "properties": {
2074
+ "width": {
2075
+ "const": 864
2076
+ },
2077
+ "height": {
2078
+ "const": 496
2079
+ }
2080
+ }
2081
+ },
2082
+ {
2083
+ "properties": {
2084
+ "width": {
2085
+ "const": 752
2086
+ },
2087
+ "height": {
2088
+ "const": 560
2089
+ }
2090
+ }
2091
+ },
2092
+ {
2093
+ "properties": {
2094
+ "width": {
2095
+ "const": 640
2096
+ },
2097
+ "height": {
2098
+ "const": 640
2099
+ }
2100
+ }
2101
+ },
2102
+ {
2103
+ "properties": {
2104
+ "width": {
2105
+ "const": 560
2106
+ },
2107
+ "height": {
2108
+ "const": 752
2109
+ }
2110
+ }
2111
+ },
2112
+ {
2113
+ "properties": {
2114
+ "width": {
2115
+ "const": 496
2116
+ },
2117
+ "height": {
2118
+ "const": 864
2119
+ }
2120
+ }
2121
+ },
2122
+ {
2123
+ "properties": {
2124
+ "width": {
2125
+ "const": 992
2126
+ },
2127
+ "height": {
2128
+ "const": 432
2129
+ }
2130
+ }
2131
+ }
2132
+ ]
2133
+ }
2134
+ }
2135
+ ],
2136
+ "additionalProperties": false
2137
+ },
2138
+ {
2139
+ "type": "object",
2140
+ "properties": {
2141
+ "model": {
2142
+ "title": "Model",
2143
+ "description": "Identifier of the model to use for generation.",
2144
+ "type": "string",
2145
+ "const": "bytedance:seedance@2.0"
2146
+ },
2147
+ "inputs": {
2148
+ "title": "Inputs",
2149
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
2150
+ "type": "object",
2151
+ "properties": {
2152
+ "referenceImages": {
2153
+ "title": "Reference Images",
2154
+ "description": "List of reference images (UUID, URL, Data URI, or Base64).",
2155
+ "type": "array",
2156
+ "minItems": 1,
2157
+ "items": {
2158
+ "title": "Image",
2159
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2160
+ "type": "string",
2161
+ "anyOf": [
2162
+ {
2163
+ "format": "uuid"
2164
+ },
2165
+ {
2166
+ "format": "uri"
2167
+ },
2168
+ {
2169
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2170
+ },
2171
+ {
2172
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2173
+ }
2174
+ ]
2175
+ },
2176
+ "maxItems": 9
2177
+ },
2178
+ "frameImages": {
2179
+ "title": "Frame Images",
2180
+ "description": "List of frame-specific image inputs. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object with an image and a target frame position.",
2181
+ "type": "array",
2182
+ "minItems": 1,
2183
+ "items": {
2184
+ "anyOf": [
2185
+ {
2186
+ "title": "Image",
2187
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2188
+ "type": "string",
2189
+ "anyOf": [
2190
+ {
2191
+ "format": "uuid"
2192
+ },
2193
+ {
2194
+ "format": "uri"
2195
+ },
2196
+ {
2197
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2198
+ },
2199
+ {
2200
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2201
+ }
2202
+ ]
2203
+ },
2204
+ {
2205
+ "type": "object",
2206
+ "properties": {
2207
+ "image": {
2208
+ "title": "Image",
2209
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2210
+ "type": "string",
2211
+ "anyOf": [
2212
+ {
2213
+ "format": "uuid"
2214
+ },
2215
+ {
2216
+ "format": "uri"
2217
+ },
2218
+ {
2219
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2220
+ },
2221
+ {
2222
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2223
+ }
2224
+ ]
2225
+ },
2226
+ "frame": {
2227
+ "title": "Frame",
2228
+ "description": "Target frame position for the image. Supports first and last frame.",
2229
+ "oneOf": [
2230
+ {
2231
+ "const": "first",
2232
+ "description": "First frame of the video."
2233
+ },
2234
+ {
2235
+ "const": "last",
2236
+ "description": "Last frame of the video."
2237
+ },
2238
+ {
2239
+ "const": 0,
2240
+ "description": "Frame index 0 (first frame)."
2241
+ },
2242
+ {
2243
+ "const": -1,
2244
+ "description": "Frame index -1 (last frame)."
2245
+ }
2246
+ ]
2247
+ }
2248
+ },
2249
+ "required": [
2250
+ "image"
2251
+ ],
2252
+ "additionalProperties": false
2253
+ }
2254
+ ]
2255
+ },
2256
+ "maxItems": 2
2257
+ },
2258
+ "referenceVideos": {
2259
+ "title": "Reference Videos",
2260
+ "description": "List of reference videos (UUID, URL).",
2261
+ "type": "array",
2262
+ "minItems": 1,
2263
+ "items": {
2264
+ "title": "Video",
2265
+ "description": "Video input (UUID or URL).",
2266
+ "type": "string",
2267
+ "anyOf": [
2268
+ {
2269
+ "format": "uuid"
2270
+ },
2271
+ {
2272
+ "format": "uri"
2273
+ }
2274
+ ]
2275
+ },
2276
+ "maxItems": 3
2277
+ },
2278
+ "referenceAudios": {
2279
+ "title": "Reference Audios",
2280
+ "description": "List of reference audios (UUID, URL).",
2281
+ "type": "array",
2282
+ "minItems": 1,
2283
+ "items": {
2284
+ "title": "Audio",
2285
+ "description": "Audio input (UUID or URL).",
2286
+ "type": "string",
2287
+ "anyOf": [
2288
+ {
2289
+ "format": "uuid"
2290
+ },
2291
+ {
2292
+ "format": "uri"
2293
+ }
2294
+ ]
2295
+ },
2296
+ "maxItems": 3
2297
+ }
2298
+ },
2299
+ "additionalProperties": false
2300
+ },
2301
+ "positivePrompt": {
2302
+ "title": "Positive Prompt",
2303
+ "description": "Text prompt describing elements to include in the generated output.",
2304
+ "type": "string",
2305
+ "minLength": 2,
2306
+ "maxLength": 3000
2307
+ },
2308
+ "width": {
2309
+ "title": "Width",
2310
+ "description": "Width of the generated media in pixels.",
2311
+ "type": "integer"
2312
+ },
2313
+ "height": {
2314
+ "title": "Height",
2315
+ "description": "Height of the generated media in pixels.",
2316
+ "type": "integer"
2317
+ },
2318
+ "resolution": {
2319
+ "title": "Resolution",
2320
+ "description": "Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.",
2321
+ "type": "string",
2322
+ "enum": [
2323
+ "480p",
2324
+ "720p",
2325
+ "1080p"
2326
+ ],
2327
+ "default": "720p"
2328
+ },
2329
+ "duration": {
2330
+ "title": "Duration",
2331
+ "description": "Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).",
2332
+ "type": "number",
2333
+ "oneOf": [
2334
+ {
2335
+ "type": "integer",
2336
+ "minimum": 4,
2337
+ "maximum": 15
2338
+ },
2339
+ {
2340
+ "const": "auto"
2341
+ }
2342
+ ]
2343
+ },
2344
+ "settings": {
2345
+ "title": "Settings",
2346
+ "description": "Global inference settings.",
2347
+ "type": "object",
2348
+ "properties": {
2349
+ "audio": {
2350
+ "title": "Audio",
2351
+ "description": "Generate synchronized audio.",
2352
+ "type": "boolean",
2353
+ "default": true
2354
+ }
2355
+ },
2356
+ "additionalProperties": false
2357
+ },
2358
+ "taskType": {
2359
+ "title": "Task Type",
2360
+ "description": "Identifier for the type of task being performed",
2361
+ "type": "string",
2362
+ "const": "videoInference"
2363
+ },
2364
+ "taskUUID": {
2365
+ "title": "Task UUID",
2366
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
2367
+ "type": "string",
2368
+ "format": "uuid"
2369
+ },
2370
+ "webhookURL": {
2371
+ "title": "Webhook URL",
2372
+ "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.",
2373
+ "type": "string",
2374
+ "format": "uri"
2375
+ },
2376
+ "includeCost": {
2377
+ "title": "Include Cost",
2378
+ "description": "Include task cost in the response.",
2379
+ "type": "boolean",
2380
+ "default": false
2381
+ },
2382
+ "numberResults": {
2383
+ "title": "Number of Results",
2384
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
2385
+ "type": "integer",
2386
+ "minimum": 1,
2387
+ "default": 1,
2388
+ "maximum": 4
2389
+ },
2390
+ "uploadEndpoint": {
2391
+ "title": "Upload Endpoint",
2392
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
2393
+ "type": "string",
2394
+ "format": "uri"
2395
+ },
2396
+ "ttl": {
2397
+ "title": "TTL",
2398
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
2399
+ "type": "integer",
2400
+ "minimum": 60
2401
+ },
2402
+ "outputType": {
2403
+ "title": "Output Type",
2404
+ "description": "Video output type.",
2405
+ "type": "string",
2406
+ "enum": [
2407
+ "URL"
2408
+ ],
2409
+ "default": "URL"
2410
+ },
2411
+ "outputFormat": {
2412
+ "title": "Output Format",
2413
+ "description": "File format for the generated video.",
2414
+ "type": "string",
2415
+ "enum": [
2416
+ "MP4",
2417
+ "WEBM",
2418
+ "MOV"
2419
+ ],
2420
+ "default": "MP4"
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
+ "deliveryMethod": {
2431
+ "title": "Delivery Method",
2432
+ "description": "Determines how the API delivers task results.",
2433
+ "type": "string",
2434
+ "oneOf": [
2435
+ {
2436
+ "const": "async",
2437
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
2438
+ }
2439
+ ],
2440
+ "default": "async"
2441
+ },
2442
+ "safety": {
2443
+ "type": "object",
2444
+ "title": "Safety Settings",
2445
+ "description": "Content safety checking configuration for video generation.",
2446
+ "properties": {
2447
+ "checkContent": {
2448
+ "title": "Check Content",
2449
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
2450
+ "type": "boolean",
2451
+ "default": false
2452
+ },
2453
+ "mode": {
2454
+ "description": "Safety checking mode for video generation.",
2455
+ "type": "string",
2456
+ "oneOf": [
2457
+ {
2458
+ "const": "none",
2459
+ "title": "None",
2460
+ "description": "Disables checking."
2461
+ },
2462
+ {
2463
+ "const": "fast",
2464
+ "title": "Fast",
2465
+ "description": "Checks key frames."
2466
+ },
2467
+ {
2468
+ "const": "full",
2469
+ "title": "Full",
2470
+ "description": "Checks all frames."
2471
+ }
2472
+ ],
2473
+ "default": "none"
2474
+ }
2475
+ },
2476
+ "additionalProperties": false
2477
+ }
2478
+ },
2479
+ "required": [
2480
+ "positivePrompt",
2481
+ "taskType",
2482
+ "taskUUID",
2483
+ "model"
2484
+ ],
2485
+ "allOf": [
2486
+ {
2487
+ "dependentRequired": {
2488
+ "width": [
2489
+ "height"
2490
+ ],
2491
+ "height": [
2492
+ "width"
2493
+ ]
2494
+ }
2495
+ },
2496
+ {
2497
+ "oneOf": [
2498
+ {
2499
+ "title": "480p (16:9)",
2500
+ "properties": {
2501
+ "width": {
2502
+ "const": 864
2503
+ },
2504
+ "height": {
2505
+ "const": 496
2506
+ }
2507
+ }
2508
+ },
2509
+ {
2510
+ "title": "480p (4:3)",
2511
+ "properties": {
2512
+ "width": {
2513
+ "const": 752
2514
+ },
2515
+ "height": {
2516
+ "const": 560
2517
+ }
2518
+ }
2519
+ },
2520
+ {
2521
+ "title": "480p (1:1)",
2522
+ "properties": {
2523
+ "width": {
2524
+ "const": 640
2525
+ },
2526
+ "height": {
2527
+ "const": 640
2528
+ }
2529
+ }
2530
+ },
2531
+ {
2532
+ "title": "480p (3:4)",
2533
+ "properties": {
2534
+ "width": {
2535
+ "const": 560
2536
+ },
2537
+ "height": {
2538
+ "const": 752
2539
+ }
2540
+ }
2541
+ },
2542
+ {
2543
+ "title": "480p (9:16)",
2544
+ "properties": {
2545
+ "width": {
2546
+ "const": 496
2547
+ },
2548
+ "height": {
2549
+ "const": 864
2550
+ }
2551
+ }
2552
+ },
2553
+ {
2554
+ "title": "480p (21:9)",
2555
+ "properties": {
2556
+ "width": {
2557
+ "const": 992
2558
+ },
2559
+ "height": {
2560
+ "const": 432
2561
+ }
2562
+ }
2563
+ },
2564
+ {
2565
+ "title": "720p (16:9)",
2566
+ "properties": {
2567
+ "width": {
2568
+ "const": 1280
2569
+ },
2570
+ "height": {
2571
+ "const": 720
2572
+ }
2573
+ }
2574
+ },
2575
+ {
2576
+ "title": "720p (4:3)",
2577
+ "properties": {
2578
+ "width": {
2579
+ "const": 1112
2580
+ },
2581
+ "height": {
2582
+ "const": 834
2583
+ }
2584
+ }
2585
+ },
2586
+ {
2587
+ "title": "720p (1:1)",
2588
+ "properties": {
2589
+ "width": {
2590
+ "const": 960
2591
+ },
2592
+ "height": {
2593
+ "const": 960
2594
+ }
2595
+ }
2596
+ },
2597
+ {
2598
+ "title": "720p (3:4)",
2599
+ "properties": {
2600
+ "width": {
2601
+ "const": 834
2602
+ },
2603
+ "height": {
2604
+ "const": 1112
2605
+ }
2606
+ }
2607
+ },
2608
+ {
2609
+ "title": "720p (9:16)",
2610
+ "properties": {
2611
+ "width": {
2612
+ "const": 720
2613
+ },
2614
+ "height": {
2615
+ "const": 1280
2616
+ }
2617
+ }
2618
+ },
2619
+ {
2620
+ "title": "720p (21:9)",
2621
+ "properties": {
2622
+ "width": {
2623
+ "const": 1470
2624
+ },
2625
+ "height": {
2626
+ "const": 630
2627
+ }
2628
+ }
2629
+ },
2630
+ {
2631
+ "title": "1080p (16:9)",
2632
+ "properties": {
2633
+ "width": {
2634
+ "const": 1920
2635
+ },
2636
+ "height": {
2637
+ "const": 1080
2638
+ }
2639
+ }
2640
+ },
2641
+ {
2642
+ "title": "1080p (4:3)",
2643
+ "properties": {
2644
+ "width": {
2645
+ "const": 1664
2646
+ },
2647
+ "height": {
2648
+ "const": 1248
2649
+ }
2650
+ }
2651
+ },
2652
+ {
2653
+ "title": "1080p (1:1)",
2654
+ "properties": {
2655
+ "width": {
2656
+ "const": 1440
2657
+ },
2658
+ "height": {
2659
+ "const": 1440
2660
+ }
2661
+ }
2662
+ },
2663
+ {
2664
+ "title": "1080p (3:4)",
2665
+ "properties": {
2666
+ "width": {
2667
+ "const": 1248
2668
+ },
2669
+ "height": {
2670
+ "const": 1664
2671
+ }
2672
+ }
2673
+ },
2674
+ {
2675
+ "title": "1080p (9:16)",
2676
+ "properties": {
2677
+ "width": {
2678
+ "const": 1080
2679
+ },
2680
+ "height": {
2681
+ "const": 1920
2682
+ }
2683
+ }
2684
+ },
2685
+ {
2686
+ "title": "1080p (21:9)",
2687
+ "properties": {
2688
+ "width": {
2689
+ "const": 2206
2690
+ },
2691
+ "height": {
2692
+ "const": 946
2693
+ }
2694
+ }
2695
+ }
2696
+ ]
2697
+ },
2698
+ {
2699
+ "if": {
2700
+ "not": {
2701
+ "properties": {
2702
+ "inputs": {
2703
+ "properties": {
2704
+ "frameImages": {
2705
+ "minItems": 1
2706
+ }
2707
+ },
2708
+ "required": [
2709
+ "frameImages"
2710
+ ]
2711
+ }
2712
+ },
2713
+ "required": [
2714
+ "inputs"
2715
+ ]
2716
+ }
2717
+ },
2718
+ "then": {
2719
+ "anyOf": [
2720
+ {
2721
+ "required": [
2722
+ "width",
2723
+ "height"
2724
+ ]
2725
+ },
2726
+ {
2727
+ "required": [
2728
+ "resolution"
2729
+ ]
2730
+ }
2731
+ ]
2732
+ }
2733
+ },
2734
+ {
2735
+ "not": {
2736
+ "allOf": [
2737
+ {
2738
+ "required": [
2739
+ "resolution"
2740
+ ]
2741
+ },
2742
+ {
2743
+ "anyOf": [
2744
+ {
2745
+ "required": [
2746
+ "width"
2747
+ ]
2748
+ },
2749
+ {
2750
+ "required": [
2751
+ "height"
2752
+ ]
2753
+ }
2754
+ ]
2755
+ }
2756
+ ]
2757
+ }
2758
+ },
2759
+ {
2760
+ "not": {
2761
+ "allOf": [
2762
+ {
2763
+ "properties": {
2764
+ "inputs": {
2765
+ "required": [
2766
+ "frameImages"
2767
+ ]
2768
+ }
2769
+ },
2770
+ "required": [
2771
+ "inputs"
2772
+ ]
2773
+ },
2774
+ {
2775
+ "properties": {
2776
+ "inputs": {
2777
+ "anyOf": [
2778
+ {
2779
+ "required": [
2780
+ "referenceImages"
2781
+ ]
2782
+ },
2783
+ {
2784
+ "required": [
2785
+ "referenceVideos"
2786
+ ]
2787
+ },
2788
+ {
2789
+ "required": [
2790
+ "referenceAudios"
2791
+ ]
2792
+ }
2793
+ ]
2794
+ }
2795
+ },
2796
+ "required": [
2797
+ "inputs"
2798
+ ]
2799
+ }
2800
+ ]
2801
+ }
2802
+ },
2803
+ {
2804
+ "if": {
2805
+ "properties": {
2806
+ "inputs": {
2807
+ "required": [
2808
+ "referenceAudios"
2809
+ ]
2810
+ }
2811
+ },
2812
+ "required": [
2813
+ "inputs"
2814
+ ]
2815
+ },
2816
+ "then": {
2817
+ "properties": {
2818
+ "inputs": {
2819
+ "anyOf": [
2820
+ {
2821
+ "required": [
2822
+ "referenceImages"
2823
+ ]
2824
+ },
2825
+ {
2826
+ "required": [
2827
+ "referenceVideos"
2828
+ ]
2829
+ }
2830
+ ]
2831
+ }
2832
+ }
2833
+ }
2834
+ }
2835
+ ],
2836
+ "additionalProperties": false
2837
+ },
2838
+ {
2839
+ "type": "object",
2840
+ "properties": {
2841
+ "model": {
2842
+ "title": "Model",
2843
+ "description": "Identifier of the model to use for generation.",
2844
+ "type": "string",
2845
+ "const": "bytedance:seedance@2.0-fast"
2846
+ },
2847
+ "inputs": {
2848
+ "title": "Inputs",
2849
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
2850
+ "type": "object",
2851
+ "properties": {
2852
+ "referenceImages": {
2853
+ "title": "Reference Images",
2854
+ "description": "List of reference images (UUID, URL, Data URI, or Base64).",
2855
+ "type": "array",
2856
+ "minItems": 1,
2857
+ "items": {
2858
+ "title": "Image",
2859
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2860
+ "type": "string",
2861
+ "anyOf": [
2862
+ {
2863
+ "format": "uuid"
2864
+ },
2865
+ {
2866
+ "format": "uri"
2867
+ },
2868
+ {
2869
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2870
+ },
2871
+ {
2872
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2873
+ }
2874
+ ]
2875
+ },
2876
+ "maxItems": 9
2877
+ },
2878
+ "frameImages": {
2879
+ "title": "Frame Images",
2880
+ "description": "List of frame-specific image inputs. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object with an image and a target frame position.",
2881
+ "type": "array",
2882
+ "minItems": 1,
2883
+ "items": {
2884
+ "anyOf": [
2885
+ {
2886
+ "title": "Image",
2887
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2888
+ "type": "string",
2889
+ "anyOf": [
2890
+ {
2891
+ "format": "uuid"
2892
+ },
2893
+ {
2894
+ "format": "uri"
2895
+ },
2896
+ {
2897
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2898
+ },
2899
+ {
2900
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2901
+ }
2902
+ ]
2903
+ },
2904
+ {
2905
+ "type": "object",
2906
+ "properties": {
2907
+ "image": {
2908
+ "title": "Image",
2909
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2910
+ "type": "string",
2911
+ "anyOf": [
2912
+ {
2913
+ "format": "uuid"
2914
+ },
2915
+ {
2916
+ "format": "uri"
2917
+ },
2918
+ {
2919
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2920
+ },
2921
+ {
2922
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2923
+ }
2924
+ ]
2925
+ },
2926
+ "frame": {
2927
+ "title": "Frame",
2928
+ "description": "Target frame position for the image. Supports first and last frame.",
2929
+ "oneOf": [
2930
+ {
2931
+ "const": "first",
2932
+ "description": "First frame of the video."
2933
+ },
2934
+ {
2935
+ "const": "last",
2936
+ "description": "Last frame of the video."
2937
+ },
2938
+ {
2939
+ "const": 0,
2940
+ "description": "Frame index 0 (first frame)."
2941
+ },
2942
+ {
2943
+ "const": -1,
2944
+ "description": "Frame index -1 (last frame)."
2945
+ }
2946
+ ]
2947
+ }
2948
+ },
2949
+ "required": [
2950
+ "image"
2951
+ ],
2952
+ "additionalProperties": false
2953
+ }
2954
+ ]
2955
+ },
2956
+ "maxItems": 2
2957
+ },
2958
+ "referenceVideos": {
2959
+ "title": "Reference Videos",
2960
+ "description": "List of reference videos (UUID, URL).",
2961
+ "type": "array",
2962
+ "minItems": 1,
2963
+ "items": {
2964
+ "title": "Video",
2965
+ "description": "Video input (UUID or URL).",
2966
+ "type": "string",
2967
+ "anyOf": [
2968
+ {
2969
+ "format": "uuid"
2970
+ },
2971
+ {
2972
+ "format": "uri"
2973
+ }
2974
+ ]
2975
+ },
2976
+ "maxItems": 3
2977
+ },
2978
+ "referenceAudios": {
2979
+ "title": "Reference Audios",
2980
+ "description": "List of reference audios (UUID, URL).",
2981
+ "type": "array",
2982
+ "minItems": 1,
2983
+ "items": {
2984
+ "title": "Audio",
2985
+ "description": "Audio input (UUID or URL).",
2986
+ "type": "string",
2987
+ "anyOf": [
2988
+ {
2989
+ "format": "uuid"
2990
+ },
2991
+ {
2992
+ "format": "uri"
2993
+ }
2994
+ ]
2995
+ },
2996
+ "maxItems": 3
2997
+ }
2998
+ },
2999
+ "additionalProperties": false
3000
+ },
3001
+ "positivePrompt": {
3002
+ "title": "Positive Prompt",
3003
+ "description": "Text prompt describing elements to include in the generated output.",
3004
+ "type": "string",
3005
+ "minLength": 2,
3006
+ "maxLength": 3000
3007
+ },
3008
+ "width": {
3009
+ "title": "Width",
3010
+ "description": "Width of the generated media in pixels.",
3011
+ "type": "integer"
3012
+ },
3013
+ "height": {
3014
+ "title": "Height",
3015
+ "description": "Height of the generated media in pixels.",
3016
+ "type": "integer"
3017
+ },
3018
+ "resolution": {
3019
+ "title": "Resolution",
3020
+ "description": "Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.",
3021
+ "type": "string",
3022
+ "enum": [
3023
+ "480p",
3024
+ "720p"
3025
+ ],
3026
+ "default": "720p"
3027
+ },
3028
+ "duration": {
3029
+ "title": "Duration",
3030
+ "description": "Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).",
3031
+ "type": "number",
3032
+ "oneOf": [
3033
+ {
3034
+ "type": "integer",
3035
+ "minimum": 4,
3036
+ "maximum": 15
3037
+ },
3038
+ {
3039
+ "const": "auto"
3040
+ }
3041
+ ]
3042
+ },
3043
+ "settings": {
3044
+ "title": "Settings",
3045
+ "description": "Global inference settings.",
3046
+ "type": "object",
3047
+ "properties": {
3048
+ "audio": {
3049
+ "title": "Audio",
3050
+ "description": "Generate synchronized audio.",
3051
+ "type": "boolean",
3052
+ "default": true
3053
+ }
3054
+ },
3055
+ "additionalProperties": false
3056
+ },
3057
+ "taskType": {
3058
+ "title": "Task Type",
3059
+ "description": "Identifier for the type of task being performed",
3060
+ "type": "string",
3061
+ "const": "videoInference"
3062
+ },
3063
+ "taskUUID": {
3064
+ "title": "Task UUID",
3065
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
3066
+ "type": "string",
3067
+ "format": "uuid"
3068
+ },
3069
+ "webhookURL": {
3070
+ "title": "Webhook URL",
3071
+ "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.",
3072
+ "type": "string",
3073
+ "format": "uri"
3074
+ },
3075
+ "includeCost": {
3076
+ "title": "Include Cost",
3077
+ "description": "Include task cost in the response.",
3078
+ "type": "boolean",
3079
+ "default": false
3080
+ },
3081
+ "numberResults": {
3082
+ "title": "Number of Results",
3083
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
3084
+ "type": "integer",
3085
+ "minimum": 1,
3086
+ "default": 1,
3087
+ "maximum": 4
3088
+ },
3089
+ "uploadEndpoint": {
3090
+ "title": "Upload Endpoint",
3091
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
3092
+ "type": "string",
3093
+ "format": "uri"
3094
+ },
3095
+ "ttl": {
3096
+ "title": "TTL",
3097
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
3098
+ "type": "integer",
3099
+ "minimum": 60
3100
+ },
3101
+ "outputType": {
3102
+ "title": "Output Type",
3103
+ "description": "Video output type.",
3104
+ "type": "string",
3105
+ "enum": [
3106
+ "URL"
3107
+ ],
3108
+ "default": "URL"
3109
+ },
3110
+ "outputFormat": {
3111
+ "title": "Output Format",
3112
+ "description": "File format for the generated video.",
3113
+ "type": "string",
3114
+ "enum": [
3115
+ "MP4",
3116
+ "WEBM",
3117
+ "MOV"
3118
+ ],
3119
+ "default": "MP4"
3120
+ },
3121
+ "outputQuality": {
3122
+ "title": "Output Quality",
3123
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
3124
+ "type": "integer",
3125
+ "minimum": 20,
3126
+ "maximum": 99,
3127
+ "default": 95
3128
+ },
3129
+ "deliveryMethod": {
3130
+ "title": "Delivery Method",
3131
+ "description": "Determines how the API delivers task results.",
3132
+ "type": "string",
3133
+ "oneOf": [
3134
+ {
3135
+ "const": "async",
3136
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
3137
+ }
3138
+ ],
3139
+ "default": "async"
3140
+ },
3141
+ "safety": {
3142
+ "type": "object",
3143
+ "title": "Safety Settings",
3144
+ "description": "Content safety checking configuration for video generation.",
3145
+ "properties": {
3146
+ "checkContent": {
3147
+ "title": "Check Content",
3148
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
3149
+ "type": "boolean",
3150
+ "default": false
3151
+ },
3152
+ "mode": {
3153
+ "description": "Safety checking mode for video generation.",
3154
+ "type": "string",
3155
+ "oneOf": [
3156
+ {
3157
+ "const": "none",
3158
+ "title": "None",
3159
+ "description": "Disables checking."
3160
+ },
3161
+ {
3162
+ "const": "fast",
3163
+ "title": "Fast",
3164
+ "description": "Checks key frames."
3165
+ },
3166
+ {
3167
+ "const": "full",
3168
+ "title": "Full",
3169
+ "description": "Checks all frames."
3170
+ }
3171
+ ],
3172
+ "default": "none"
3173
+ }
3174
+ },
3175
+ "additionalProperties": false
3176
+ }
3177
+ },
3178
+ "required": [
3179
+ "positivePrompt",
3180
+ "taskType",
3181
+ "taskUUID",
3182
+ "model"
3183
+ ],
3184
+ "allOf": [
3185
+ {
3186
+ "dependentRequired": {
3187
+ "width": [
3188
+ "height"
3189
+ ],
3190
+ "height": [
3191
+ "width"
3192
+ ]
3193
+ }
3194
+ },
3195
+ {
3196
+ "oneOf": [
3197
+ {
3198
+ "title": "480p (16:9)",
3199
+ "properties": {
3200
+ "width": {
3201
+ "const": 864
3202
+ },
3203
+ "height": {
3204
+ "const": 496
3205
+ }
3206
+ }
3207
+ },
3208
+ {
3209
+ "title": "480p (4:3)",
3210
+ "properties": {
3211
+ "width": {
3212
+ "const": 752
3213
+ },
3214
+ "height": {
3215
+ "const": 560
3216
+ }
3217
+ }
3218
+ },
3219
+ {
3220
+ "title": "480p (1:1)",
3221
+ "properties": {
3222
+ "width": {
3223
+ "const": 640
3224
+ },
3225
+ "height": {
3226
+ "const": 640
3227
+ }
3228
+ }
3229
+ },
3230
+ {
3231
+ "title": "480p (3:4)",
3232
+ "properties": {
3233
+ "width": {
3234
+ "const": 560
3235
+ },
3236
+ "height": {
3237
+ "const": 752
3238
+ }
3239
+ }
3240
+ },
3241
+ {
3242
+ "title": "480p (9:16)",
3243
+ "properties": {
3244
+ "width": {
3245
+ "const": 496
3246
+ },
3247
+ "height": {
3248
+ "const": 864
3249
+ }
3250
+ }
3251
+ },
3252
+ {
3253
+ "title": "480p (21:9)",
3254
+ "properties": {
3255
+ "width": {
3256
+ "const": 992
3257
+ },
3258
+ "height": {
3259
+ "const": 432
3260
+ }
3261
+ }
3262
+ },
3263
+ {
3264
+ "title": "720p (16:9)",
3265
+ "properties": {
3266
+ "width": {
3267
+ "const": 1280
3268
+ },
3269
+ "height": {
3270
+ "const": 720
3271
+ }
3272
+ }
3273
+ },
3274
+ {
3275
+ "title": "720p (4:3)",
3276
+ "properties": {
3277
+ "width": {
3278
+ "const": 1112
3279
+ },
3280
+ "height": {
3281
+ "const": 834
3282
+ }
3283
+ }
3284
+ },
3285
+ {
3286
+ "title": "720p (1:1)",
3287
+ "properties": {
3288
+ "width": {
3289
+ "const": 960
3290
+ },
3291
+ "height": {
3292
+ "const": 960
3293
+ }
3294
+ }
3295
+ },
3296
+ {
3297
+ "title": "720p (3:4)",
3298
+ "properties": {
3299
+ "width": {
3300
+ "const": 834
3301
+ },
3302
+ "height": {
3303
+ "const": 1112
3304
+ }
3305
+ }
3306
+ },
3307
+ {
3308
+ "title": "720p (9:16)",
3309
+ "properties": {
3310
+ "width": {
3311
+ "const": 720
3312
+ },
3313
+ "height": {
3314
+ "const": 1280
3315
+ }
3316
+ }
3317
+ },
3318
+ {
3319
+ "title": "720p (21:9)",
3320
+ "properties": {
3321
+ "width": {
3322
+ "const": 1470
3323
+ },
3324
+ "height": {
3325
+ "const": 630
3326
+ }
3327
+ }
3328
+ }
3329
+ ]
3330
+ },
3331
+ {
3332
+ "if": {
3333
+ "not": {
3334
+ "properties": {
3335
+ "inputs": {
3336
+ "properties": {
3337
+ "frameImages": {
3338
+ "minItems": 1
3339
+ }
3340
+ },
3341
+ "required": [
3342
+ "frameImages"
3343
+ ]
3344
+ }
3345
+ },
3346
+ "required": [
3347
+ "inputs"
3348
+ ]
3349
+ }
3350
+ },
3351
+ "then": {
3352
+ "anyOf": [
3353
+ {
3354
+ "required": [
3355
+ "width",
3356
+ "height"
3357
+ ]
3358
+ },
3359
+ {
3360
+ "required": [
3361
+ "resolution"
3362
+ ]
3363
+ }
3364
+ ]
3365
+ }
3366
+ },
3367
+ {
3368
+ "not": {
3369
+ "allOf": [
3370
+ {
3371
+ "required": [
3372
+ "resolution"
3373
+ ]
3374
+ },
3375
+ {
3376
+ "anyOf": [
3377
+ {
3378
+ "required": [
3379
+ "width"
3380
+ ]
3381
+ },
3382
+ {
3383
+ "required": [
3384
+ "height"
3385
+ ]
3386
+ }
3387
+ ]
3388
+ }
3389
+ ]
3390
+ }
3391
+ },
3392
+ {
3393
+ "not": {
3394
+ "allOf": [
3395
+ {
3396
+ "properties": {
3397
+ "inputs": {
3398
+ "required": [
3399
+ "frameImages"
3400
+ ]
3401
+ }
3402
+ },
3403
+ "required": [
3404
+ "inputs"
3405
+ ]
3406
+ },
3407
+ {
3408
+ "properties": {
3409
+ "inputs": {
3410
+ "anyOf": [
3411
+ {
3412
+ "required": [
3413
+ "referenceImages"
3414
+ ]
3415
+ },
3416
+ {
3417
+ "required": [
3418
+ "referenceVideos"
3419
+ ]
3420
+ },
3421
+ {
3422
+ "required": [
3423
+ "referenceAudios"
3424
+ ]
3425
+ }
3426
+ ]
3427
+ }
3428
+ },
3429
+ "required": [
3430
+ "inputs"
3431
+ ]
3432
+ }
3433
+ ]
3434
+ }
3435
+ },
3436
+ {
3437
+ "if": {
3438
+ "properties": {
3439
+ "inputs": {
3440
+ "required": [
3441
+ "referenceAudios"
3442
+ ]
3443
+ }
3444
+ },
3445
+ "required": [
3446
+ "inputs"
3447
+ ]
3448
+ },
3449
+ "then": {
3450
+ "properties": {
3451
+ "inputs": {
3452
+ "anyOf": [
3453
+ {
3454
+ "required": [
3455
+ "referenceImages"
3456
+ ]
3457
+ },
3458
+ {
3459
+ "required": [
3460
+ "referenceVideos"
3461
+ ]
3462
+ }
3463
+ ]
3464
+ }
3465
+ }
3466
+ }
3467
+ }
3468
+ ],
3469
+ "additionalProperties": false
3470
+ },
3471
+ {
3472
+ "type": "object",
3473
+ "properties": {
3474
+ "model": {
3475
+ "title": "Model",
3476
+ "description": "Identifier of the model to use for generation.",
3477
+ "type": "string",
3478
+ "const": "bytedance:5@0"
3479
+ },
3480
+ "inputs": {
3481
+ "title": "Inputs",
3482
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
3483
+ "type": "object",
3484
+ "properties": {
3485
+ "referenceImages": {
3486
+ "title": "Reference Images",
3487
+ "description": "List of reference images (UUID, URL, Data URI, or Base64).",
3488
+ "type": "array",
3489
+ "minItems": 1,
3490
+ "items": {
3491
+ "title": "Image",
3492
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
3493
+ "type": "string",
3494
+ "anyOf": [
3495
+ {
3496
+ "format": "uuid"
3497
+ },
3498
+ {
3499
+ "format": "uri"
3500
+ },
3501
+ {
3502
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
3503
+ },
3504
+ {
3505
+ "pattern": "^[a-zA-Z0-9+/=]+$"
3506
+ }
3507
+ ]
3508
+ },
3509
+ "maxItems": 14
3510
+ }
3511
+ },
3512
+ "additionalProperties": false
3513
+ },
3514
+ "positivePrompt": {
3515
+ "title": "Positive Prompt",
3516
+ "description": "Text prompt describing elements to include in the generated output.",
3517
+ "type": "string",
3518
+ "minLength": 1,
3519
+ "maxLength": 2000
3520
+ },
3521
+ "width": {
3522
+ "title": "Width",
3523
+ "description": "Width of the generated media in pixels.",
3524
+ "type": "integer"
3525
+ },
3526
+ "height": {
3527
+ "title": "Height",
3528
+ "description": "Height of the generated media in pixels.",
3529
+ "type": "integer"
3530
+ },
3531
+ "seed": {
3532
+ "title": "Seed",
3533
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
3534
+ "type": "integer",
3535
+ "minimum": 0,
3536
+ "maximum": 9223372036854776000
3537
+ },
3538
+ "providerSettings": {
3539
+ "title": "Provider Settings",
3540
+ "description": "Provider-specific configuration settings.",
3541
+ "type": "object",
3542
+ "properties": {
3543
+ "bytedance": {
3544
+ "title": "ByteDance Settings",
3545
+ "description": "Provider-specific settings for Bytedance models.",
3546
+ "type": "object",
3547
+ "properties": {
3548
+ "maxSequentialImages": {
3549
+ "title": "Max Sequential Images",
3550
+ "description": "Maximum number of sequential images to generate. Combined total of reference images plus sequential images cannot exceed 15. The model may generate fewer images than requested depending on prompt complexity.",
3551
+ "type": "integer",
3552
+ "minimum": 1,
3553
+ "maximum": 15
3554
+ }
3555
+ },
3556
+ "additionalProperties": false
3557
+ }
3558
+ },
3559
+ "additionalProperties": false
3560
+ },
3561
+ "taskType": {
3562
+ "title": "Task Type",
3563
+ "description": "Identifier for the type of task being performed",
3564
+ "type": "string",
3565
+ "const": "imageInference"
3566
+ },
3567
+ "taskUUID": {
3568
+ "title": "Task UUID",
3569
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
3570
+ "type": "string",
3571
+ "format": "uuid"
3572
+ },
3573
+ "webhookURL": {
3574
+ "title": "Webhook URL",
3575
+ "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.",
3576
+ "type": "string",
3577
+ "format": "uri"
3578
+ },
3579
+ "includeCost": {
3580
+ "title": "Include Cost",
3581
+ "description": "Include task cost in the response.",
3582
+ "type": "boolean",
3583
+ "default": false
3584
+ },
3585
+ "numberResults": {
3586
+ "title": "Number of Results",
3587
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
3588
+ "type": "integer",
3589
+ "minimum": 1,
3590
+ "default": 1,
3591
+ "maximum": 20
3592
+ },
3593
+ "uploadEndpoint": {
3594
+ "title": "Upload Endpoint",
3595
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
3596
+ "type": "string",
3597
+ "format": "uri"
3598
+ },
3599
+ "ttl": {
3600
+ "title": "TTL",
3601
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
3602
+ "type": "integer",
3603
+ "minimum": 60
3604
+ },
3605
+ "outputType": {
3606
+ "title": "Output Type",
3607
+ "description": "Image output type.",
3608
+ "type": "string",
3609
+ "enum": [
3610
+ "URL",
3611
+ "base64Data",
3612
+ "dataURI"
3613
+ ],
3614
+ "default": "URL"
3615
+ },
3616
+ "outputFormat": {
3617
+ "title": "Output Format",
3618
+ "description": "File format for the generated image.",
3619
+ "type": "string",
3620
+ "enum": [
3621
+ "JPG",
3622
+ "PNG",
3623
+ "WEBP"
3624
+ ],
3625
+ "default": "JPG"
3626
+ },
3627
+ "outputQuality": {
3628
+ "title": "Output Quality",
3629
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
3630
+ "type": "integer",
3631
+ "minimum": 20,
3632
+ "maximum": 99,
3633
+ "default": 95
3634
+ },
3635
+ "deliveryMethod": {
3636
+ "title": "Delivery Method",
3637
+ "description": "Determines how the API delivers task results.",
3638
+ "type": "string",
3639
+ "oneOf": [
3640
+ {
3641
+ "const": "sync",
3642
+ "description": "Returns complete results directly in the API response."
3643
+ },
3644
+ {
3645
+ "const": "async",
3646
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
3647
+ }
3648
+ ],
3649
+ "default": "sync"
3650
+ },
3651
+ "safety": {
3652
+ "type": "object",
3653
+ "title": "Safety Settings",
3654
+ "description": "Content safety checking configuration for image generation.",
3655
+ "properties": {
3656
+ "checkContent": {
3657
+ "title": "Check Content",
3658
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
3659
+ "type": "boolean",
3660
+ "default": false
3661
+ },
3662
+ "mode": {
3663
+ "description": "Safety checking mode for image generation.",
3664
+ "type": "string",
3665
+ "oneOf": [
3666
+ {
3667
+ "const": "none",
3668
+ "title": "None",
3669
+ "description": "Disables checking."
3670
+ },
3671
+ {
3672
+ "const": "fast",
3673
+ "title": "Fast",
3674
+ "description": "Performs a single check."
3675
+ }
3676
+ ],
3677
+ "default": "none"
3678
+ }
3679
+ },
3680
+ "additionalProperties": false
3681
+ }
3682
+ },
3683
+ "required": [
3684
+ "positivePrompt",
3685
+ "taskType",
3686
+ "taskUUID",
3687
+ "model"
3688
+ ],
3689
+ "allOf": [
3690
+ {
3691
+ "dependentRequired": {
3692
+ "width": [
3693
+ "height"
3694
+ ],
3695
+ "height": [
3696
+ "width"
3697
+ ]
3698
+ }
3699
+ },
3700
+ {
3701
+ "oneOf": [
3702
+ {
3703
+ "title": "1K (1:1)",
3704
+ "properties": {
3705
+ "width": {
3706
+ "const": 1024
3707
+ },
3708
+ "height": {
3709
+ "const": 1024
3710
+ }
3711
+ }
3712
+ },
3713
+ {
3714
+ "title": "2K (1:1)",
3715
+ "properties": {
3716
+ "width": {
3717
+ "const": 2048
3718
+ },
3719
+ "height": {
3720
+ "const": 2048
3721
+ }
3722
+ }
3723
+ },
3724
+ {
3725
+ "title": "2K (4:3)",
3726
+ "properties": {
3727
+ "width": {
3728
+ "const": 2304
3729
+ },
3730
+ "height": {
3731
+ "const": 1728
3732
+ }
3733
+ }
3734
+ },
3735
+ {
3736
+ "title": "2K (3:4)",
3737
+ "properties": {
3738
+ "width": {
3739
+ "const": 1728
3740
+ },
3741
+ "height": {
3742
+ "const": 2304
3743
+ }
3744
+ }
3745
+ },
3746
+ {
3747
+ "title": "2K (16:9)",
3748
+ "properties": {
3749
+ "width": {
3750
+ "const": 2560
3751
+ },
3752
+ "height": {
3753
+ "const": 1440
3754
+ }
3755
+ }
3756
+ },
3757
+ {
3758
+ "title": "2K (9:16)",
3759
+ "properties": {
3760
+ "width": {
3761
+ "const": 1440
3762
+ },
3763
+ "height": {
3764
+ "const": 2560
3765
+ }
3766
+ }
3767
+ },
3768
+ {
3769
+ "title": "2K (3:2)",
3770
+ "properties": {
3771
+ "width": {
3772
+ "const": 2496
3773
+ },
3774
+ "height": {
3775
+ "const": 1664
3776
+ }
3777
+ }
3778
+ },
3779
+ {
3780
+ "title": "2K (2:3)",
3781
+ "properties": {
3782
+ "width": {
3783
+ "const": 1664
3784
+ },
3785
+ "height": {
3786
+ "const": 2496
3787
+ }
3788
+ }
3789
+ },
3790
+ {
3791
+ "title": "2K (21:9)",
3792
+ "properties": {
3793
+ "width": {
3794
+ "const": 3024
3795
+ },
3796
+ "height": {
3797
+ "const": 1296
3798
+ }
3799
+ }
3800
+ },
3801
+ {
3802
+ "title": "4K (1:1)",
3803
+ "properties": {
3804
+ "width": {
3805
+ "const": 4096
3806
+ },
3807
+ "height": {
3808
+ "const": 4096
3809
+ }
3810
+ }
3811
+ },
3812
+ {
3813
+ "title": "4K (4:3)",
3814
+ "properties": {
3815
+ "width": {
3816
+ "const": 4608
3817
+ },
3818
+ "height": {
3819
+ "const": 3456
3820
+ }
3821
+ }
3822
+ },
3823
+ {
3824
+ "title": "4K (3:4)",
3825
+ "properties": {
3826
+ "width": {
3827
+ "const": 3456
3828
+ },
3829
+ "height": {
3830
+ "const": 4608
3831
+ }
3832
+ }
3833
+ },
3834
+ {
3835
+ "title": "4K (16:9)",
3836
+ "properties": {
3837
+ "width": {
3838
+ "const": 5120
3839
+ },
3840
+ "height": {
3841
+ "const": 2880
3842
+ }
3843
+ }
3844
+ },
3845
+ {
3846
+ "title": "4K (9:16)",
3847
+ "properties": {
3848
+ "width": {
3849
+ "const": 2880
3850
+ },
3851
+ "height": {
3852
+ "const": 5120
3853
+ }
3854
+ }
3855
+ },
3856
+ {
3857
+ "title": "4K (3:2)",
3858
+ "properties": {
3859
+ "width": {
3860
+ "const": 4992
3861
+ },
3862
+ "height": {
3863
+ "const": 3328
3864
+ }
3865
+ }
3866
+ },
3867
+ {
3868
+ "title": "4K (2:3)",
3869
+ "properties": {
3870
+ "width": {
3871
+ "const": 3328
3872
+ },
3873
+ "height": {
3874
+ "const": 4992
3875
+ }
3876
+ }
3877
+ },
3878
+ {
3879
+ "title": "4K (21:9)",
3880
+ "properties": {
3881
+ "width": {
3882
+ "const": 6048
3883
+ },
3884
+ "height": {
3885
+ "const": 2592
3886
+ }
3887
+ }
3888
+ }
3889
+ ]
3890
+ }
3891
+ ],
3892
+ "additionalProperties": false
3893
+ },
3894
+ {
3895
+ "type": "object",
3896
+ "properties": {
3897
+ "model": {
3898
+ "title": "Model",
3899
+ "description": "Identifier of the model to use for generation.",
3900
+ "type": "string",
3901
+ "const": "bytedance:seedream@4.5"
3902
+ },
3903
+ "inputs": {
3904
+ "title": "Inputs",
3905
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
3906
+ "type": "object",
3907
+ "properties": {
3908
+ "referenceImages": {
3909
+ "title": "Reference Images",
3910
+ "description": "List of reference images (UUID, URL, Data URI, or Base64).",
3911
+ "type": "array",
3912
+ "minItems": 1,
3913
+ "items": {
3914
+ "title": "Image",
3915
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
3916
+ "type": "string",
3917
+ "anyOf": [
3918
+ {
3919
+ "format": "uuid"
3920
+ },
3921
+ {
3922
+ "format": "uri"
3923
+ },
3924
+ {
3925
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
3926
+ },
3927
+ {
3928
+ "pattern": "^[a-zA-Z0-9+/=]+$"
3929
+ }
3930
+ ]
3931
+ },
3932
+ "maxItems": 14
3933
+ }
3934
+ },
3935
+ "additionalProperties": false
3936
+ },
3937
+ "positivePrompt": {
3938
+ "title": "Positive Prompt",
3939
+ "description": "Text prompt describing elements to include in the generated output.",
3940
+ "type": "string",
3941
+ "minLength": 1,
3942
+ "maxLength": 2000
3943
+ },
3944
+ "width": {
3945
+ "title": "Width",
3946
+ "description": "Width of the generated media in pixels.",
3947
+ "type": "integer"
3948
+ },
3949
+ "height": {
3950
+ "title": "Height",
3951
+ "description": "Height of the generated media in pixels.",
3952
+ "type": "integer"
3953
+ },
3954
+ "resolution": {
3955
+ "title": "Resolution",
3956
+ "description": "Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.",
3957
+ "type": "string",
3958
+ "enum": [
3959
+ "2K",
3960
+ "4K"
3961
+ ]
3962
+ },
3963
+ "seed": {
3964
+ "title": "Seed",
3965
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
3966
+ "type": "integer",
3967
+ "minimum": 0,
3968
+ "maximum": 9223372036854776000
3969
+ },
3970
+ "providerSettings": {
3971
+ "title": "Provider Settings",
3972
+ "description": "Provider-specific configuration settings.",
3973
+ "type": "object",
3974
+ "properties": {
3975
+ "bytedance": {
3976
+ "title": "ByteDance Settings",
3977
+ "description": "Provider-specific settings for Bytedance models.",
3978
+ "type": "object",
3979
+ "properties": {
3980
+ "maxSequentialImages": {
3981
+ "title": "Max Sequential Images",
3982
+ "description": "Maximum number of sequential images to generate. Combined total of reference images plus sequential images cannot exceed 15. The model may generate fewer images than requested depending on prompt complexity.",
3983
+ "type": "integer",
3984
+ "minimum": 1,
3985
+ "maximum": 15
3986
+ },
3987
+ "optimizePromptMode": {
3988
+ "title": "Optimize Prompt Mode",
3989
+ "description": "Prompt optimization mode.",
3990
+ "type": "string",
3991
+ "oneOf": [
3992
+ {
3993
+ "const": "standard",
3994
+ "title": "Standard",
3995
+ "description": "Higher quality."
3996
+ },
3997
+ {
3998
+ "const": "fast",
3999
+ "title": "Fast",
4000
+ "description": "Faster generation."
4001
+ }
4002
+ ],
4003
+ "default": "standard"
4004
+ }
4005
+ },
4006
+ "additionalProperties": false
4007
+ }
4008
+ },
4009
+ "additionalProperties": false
4010
+ },
4011
+ "taskType": {
4012
+ "title": "Task Type",
4013
+ "description": "Identifier for the type of task being performed",
4014
+ "type": "string",
4015
+ "const": "imageInference"
4016
+ },
4017
+ "taskUUID": {
4018
+ "title": "Task UUID",
4019
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
4020
+ "type": "string",
4021
+ "format": "uuid"
4022
+ },
4023
+ "webhookURL": {
4024
+ "title": "Webhook URL",
4025
+ "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.",
4026
+ "type": "string",
4027
+ "format": "uri"
4028
+ },
4029
+ "includeCost": {
4030
+ "title": "Include Cost",
4031
+ "description": "Include task cost in the response.",
4032
+ "type": "boolean",
4033
+ "default": false
4034
+ },
4035
+ "numberResults": {
4036
+ "title": "Number of Results",
4037
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
4038
+ "type": "integer",
4039
+ "minimum": 1,
4040
+ "default": 1,
4041
+ "maximum": 20
4042
+ },
4043
+ "uploadEndpoint": {
4044
+ "title": "Upload Endpoint",
4045
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
4046
+ "type": "string",
4047
+ "format": "uri"
4048
+ },
4049
+ "ttl": {
4050
+ "title": "TTL",
4051
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
4052
+ "type": "integer",
4053
+ "minimum": 60
4054
+ },
4055
+ "outputType": {
4056
+ "title": "Output Type",
4057
+ "description": "Image output type.",
4058
+ "type": "string",
4059
+ "enum": [
4060
+ "URL",
4061
+ "base64Data",
4062
+ "dataURI"
4063
+ ],
4064
+ "default": "URL"
4065
+ },
4066
+ "outputFormat": {
4067
+ "title": "Output Format",
4068
+ "description": "File format for the generated image.",
4069
+ "type": "string",
4070
+ "enum": [
4071
+ "JPG",
4072
+ "PNG",
4073
+ "WEBP"
4074
+ ],
4075
+ "default": "JPG"
4076
+ },
4077
+ "outputQuality": {
4078
+ "title": "Output Quality",
4079
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
4080
+ "type": "integer",
4081
+ "minimum": 20,
4082
+ "maximum": 99,
4083
+ "default": 95
4084
+ },
4085
+ "deliveryMethod": {
4086
+ "title": "Delivery Method",
4087
+ "description": "Determines how the API delivers task results.",
4088
+ "type": "string",
4089
+ "oneOf": [
4090
+ {
4091
+ "const": "sync",
4092
+ "description": "Returns complete results directly in the API response."
4093
+ },
4094
+ {
4095
+ "const": "async",
4096
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
4097
+ }
4098
+ ],
4099
+ "default": "sync"
4100
+ },
4101
+ "safety": {
4102
+ "type": "object",
4103
+ "title": "Safety Settings",
4104
+ "description": "Content safety checking configuration for image generation.",
4105
+ "properties": {
4106
+ "checkContent": {
4107
+ "title": "Check Content",
4108
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
4109
+ "type": "boolean",
4110
+ "default": false
4111
+ },
4112
+ "mode": {
4113
+ "description": "Safety checking mode for image generation.",
4114
+ "type": "string",
4115
+ "oneOf": [
4116
+ {
4117
+ "const": "none",
4118
+ "title": "None",
4119
+ "description": "Disables checking."
4120
+ },
4121
+ {
4122
+ "const": "fast",
4123
+ "title": "Fast",
4124
+ "description": "Performs a single check."
4125
+ }
4126
+ ],
4127
+ "default": "none"
4128
+ }
4129
+ },
4130
+ "additionalProperties": false
4131
+ }
4132
+ },
4133
+ "required": [
4134
+ "positivePrompt",
4135
+ "taskType",
4136
+ "taskUUID",
4137
+ "model"
4138
+ ],
4139
+ "allOf": [
4140
+ {
4141
+ "dependentRequired": {
4142
+ "width": [
4143
+ "height"
4144
+ ],
4145
+ "height": [
4146
+ "width"
4147
+ ]
4148
+ }
4149
+ },
4150
+ {
4151
+ "if": {
4152
+ "not": {
4153
+ "properties": {
4154
+ "inputs": {
4155
+ "properties": {
4156
+ "referenceImages": {
4157
+ "minItems": 1
4158
+ }
4159
+ },
4160
+ "required": [
4161
+ "referenceImages"
4162
+ ]
4163
+ }
4164
+ },
4165
+ "required": [
4166
+ "inputs"
4167
+ ]
4168
+ }
4169
+ },
4170
+ "then": {
4171
+ "anyOf": [
4172
+ {
4173
+ "required": [
4174
+ "width",
4175
+ "height"
4176
+ ]
4177
+ },
4178
+ {
4179
+ "required": [
4180
+ "resolution"
4181
+ ]
4182
+ }
4183
+ ]
4184
+ }
4185
+ },
4186
+ {
4187
+ "not": {
4188
+ "allOf": [
4189
+ {
4190
+ "required": [
4191
+ "resolution"
4192
+ ]
4193
+ },
4194
+ {
4195
+ "anyOf": [
4196
+ {
4197
+ "required": [
4198
+ "width"
4199
+ ]
4200
+ },
4201
+ {
4202
+ "required": [
4203
+ "height"
4204
+ ]
4205
+ }
4206
+ ]
4207
+ }
4208
+ ]
4209
+ }
4210
+ }
4211
+ ],
4212
+ "additionalProperties": false
4213
+ },
4214
+ {
4215
+ "type": "object",
4216
+ "properties": {
4217
+ "model": {
4218
+ "title": "Model",
4219
+ "description": "Identifier of the model to use for generation.",
4220
+ "type": "string",
4221
+ "const": "bytedance:seedream@5.0-lite"
4222
+ },
4223
+ "inputs": {
4224
+ "title": "Inputs",
4225
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
4226
+ "type": "object",
4227
+ "properties": {
4228
+ "referenceImages": {
4229
+ "title": "Reference Images",
4230
+ "description": "List of reference images (UUID, URL, Data URI, or Base64).",
4231
+ "type": "array",
4232
+ "minItems": 1,
4233
+ "items": {
4234
+ "title": "Image",
4235
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
4236
+ "type": "string",
4237
+ "anyOf": [
4238
+ {
4239
+ "format": "uuid"
4240
+ },
4241
+ {
4242
+ "format": "uri"
4243
+ },
4244
+ {
4245
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
4246
+ },
4247
+ {
4248
+ "pattern": "^[a-zA-Z0-9+/=]+$"
4249
+ }
4250
+ ]
4251
+ },
4252
+ "maxItems": 14
4253
+ }
4254
+ },
4255
+ "additionalProperties": false
4256
+ },
4257
+ "positivePrompt": {
4258
+ "title": "Positive Prompt",
4259
+ "description": "Text prompt describing elements to include in the generated output.",
4260
+ "type": "string",
4261
+ "minLength": 1,
4262
+ "maxLength": 2000
4263
+ },
4264
+ "width": {
4265
+ "title": "Width",
4266
+ "description": "Width of the generated media in pixels.",
4267
+ "type": "integer"
4268
+ },
4269
+ "height": {
4270
+ "title": "Height",
4271
+ "description": "Height of the generated media in pixels.",
4272
+ "type": "integer"
4273
+ },
4274
+ "providerSettings": {
4275
+ "title": "Provider Settings",
4276
+ "description": "Provider-specific configuration settings.",
4277
+ "type": "object",
4278
+ "properties": {
4279
+ "bytedance": {
4280
+ "title": "ByteDance Settings",
4281
+ "description": "Provider-specific settings for Bytedance models.",
4282
+ "type": "object",
4283
+ "properties": {
4284
+ "maxSequentialImages": {
4285
+ "title": "Max Sequential Images",
4286
+ "description": "Maximum number of sequential images to generate. Combined total of reference images plus sequential images cannot exceed 15. The model may generate fewer images than requested depending on prompt complexity.",
4287
+ "type": "integer",
4288
+ "minimum": 1,
4289
+ "maximum": 15
4290
+ },
4291
+ "optimizePromptMode": {
4292
+ "title": "Optimize Prompt Mode",
4293
+ "description": "Prompt optimization mode.",
4294
+ "type": "string",
4295
+ "oneOf": [
4296
+ {
4297
+ "const": "standard",
4298
+ "title": "Standard",
4299
+ "description": "Higher quality."
4300
+ },
4301
+ {
4302
+ "const": "fast",
4303
+ "title": "Fast",
4304
+ "description": "Faster generation."
4305
+ }
4306
+ ],
4307
+ "default": "standard"
4308
+ }
4309
+ },
4310
+ "additionalProperties": false
4311
+ }
4312
+ },
4313
+ "additionalProperties": false
4314
+ },
4315
+ "taskType": {
4316
+ "title": "Task Type",
4317
+ "description": "Identifier for the type of task being performed",
4318
+ "type": "string",
4319
+ "const": "imageInference"
4320
+ },
4321
+ "taskUUID": {
4322
+ "title": "Task UUID",
4323
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
4324
+ "type": "string",
4325
+ "format": "uuid"
4326
+ },
4327
+ "webhookURL": {
4328
+ "title": "Webhook URL",
4329
+ "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.",
4330
+ "type": "string",
4331
+ "format": "uri"
4332
+ },
4333
+ "includeCost": {
4334
+ "title": "Include Cost",
4335
+ "description": "Include task cost in the response.",
4336
+ "type": "boolean",
4337
+ "default": false
4338
+ },
4339
+ "numberResults": {
4340
+ "title": "Number of Results",
4341
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
4342
+ "type": "integer",
4343
+ "minimum": 1,
4344
+ "default": 1,
4345
+ "maximum": 20
4346
+ },
4347
+ "uploadEndpoint": {
4348
+ "title": "Upload Endpoint",
4349
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
4350
+ "type": "string",
4351
+ "format": "uri"
4352
+ },
4353
+ "ttl": {
4354
+ "title": "TTL",
4355
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
4356
+ "type": "integer",
4357
+ "minimum": 60
4358
+ },
4359
+ "outputType": {
4360
+ "title": "Output Type",
4361
+ "description": "Image output type.",
4362
+ "type": "string",
4363
+ "enum": [
4364
+ "URL",
4365
+ "base64Data",
4366
+ "dataURI"
4367
+ ],
4368
+ "default": "URL"
4369
+ },
4370
+ "outputFormat": {
4371
+ "title": "Output Format",
4372
+ "description": "File format for the generated image.",
4373
+ "type": "string",
4374
+ "enum": [
4375
+ "JPG",
4376
+ "PNG",
4377
+ "WEBP"
4378
+ ],
4379
+ "default": "JPG"
4380
+ },
4381
+ "outputQuality": {
4382
+ "title": "Output Quality",
4383
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
4384
+ "type": "integer",
4385
+ "minimum": 20,
4386
+ "maximum": 99,
4387
+ "default": 95
4388
+ },
4389
+ "deliveryMethod": {
4390
+ "title": "Delivery Method",
4391
+ "description": "Determines how the API delivers task results.",
4392
+ "type": "string",
4393
+ "oneOf": [
4394
+ {
4395
+ "const": "sync",
4396
+ "description": "Returns complete results directly in the API response."
4397
+ },
4398
+ {
4399
+ "const": "async",
4400
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
4401
+ }
4402
+ ],
4403
+ "default": "sync"
4404
+ },
4405
+ "safety": {
4406
+ "type": "object",
4407
+ "title": "Safety Settings",
4408
+ "description": "Content safety checking configuration for image generation.",
4409
+ "properties": {
4410
+ "checkContent": {
4411
+ "title": "Check Content",
4412
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
4413
+ "type": "boolean",
4414
+ "default": false
4415
+ },
4416
+ "mode": {
4417
+ "description": "Safety checking mode for image generation.",
4418
+ "type": "string",
4419
+ "oneOf": [
4420
+ {
4421
+ "const": "none",
4422
+ "title": "None",
4423
+ "description": "Disables checking."
4424
+ },
4425
+ {
4426
+ "const": "fast",
4427
+ "title": "Fast",
4428
+ "description": "Performs a single check."
4429
+ }
4430
+ ],
4431
+ "default": "none"
4432
+ }
4433
+ },
4434
+ "additionalProperties": false
4435
+ }
4436
+ },
4437
+ "required": [
4438
+ "positivePrompt",
4439
+ "width",
4440
+ "height",
4441
+ "taskType",
4442
+ "taskUUID",
4443
+ "model"
4444
+ ],
4445
+ "allOf": [
4446
+ {
4447
+ "dependentRequired": {
4448
+ "width": [
4449
+ "height"
4450
+ ],
4451
+ "height": [
4452
+ "width"
4453
+ ]
4454
+ }
4455
+ },
4456
+ {
4457
+ "oneOf": [
4458
+ {
4459
+ "title": "2K (1:1)",
4460
+ "properties": {
4461
+ "width": {
4462
+ "const": 2048
4463
+ },
4464
+ "height": {
4465
+ "const": 2048
4466
+ }
4467
+ }
4468
+ },
4469
+ {
4470
+ "title": "2K (4:3)",
4471
+ "properties": {
4472
+ "width": {
4473
+ "const": 2304
4474
+ },
4475
+ "height": {
4476
+ "const": 1728
4477
+ }
4478
+ }
4479
+ },
4480
+ {
4481
+ "title": "2K (3:4)",
4482
+ "properties": {
4483
+ "width": {
4484
+ "const": 1728
4485
+ },
4486
+ "height": {
4487
+ "const": 2304
4488
+ }
4489
+ }
4490
+ },
4491
+ {
4492
+ "title": "2K (16:9)",
4493
+ "properties": {
4494
+ "width": {
4495
+ "const": 2848
4496
+ },
4497
+ "height": {
4498
+ "const": 1600
4499
+ }
4500
+ }
4501
+ },
4502
+ {
4503
+ "title": "2K (9:16)",
4504
+ "properties": {
4505
+ "width": {
4506
+ "const": 1600
4507
+ },
4508
+ "height": {
4509
+ "const": 2848
4510
+ }
4511
+ }
4512
+ },
4513
+ {
4514
+ "title": "2K (3:2)",
4515
+ "properties": {
4516
+ "width": {
4517
+ "const": 2496
4518
+ },
4519
+ "height": {
4520
+ "const": 1664
4521
+ }
4522
+ }
4523
+ },
4524
+ {
4525
+ "title": "2K (2:3)",
4526
+ "properties": {
4527
+ "width": {
4528
+ "const": 1664
4529
+ },
4530
+ "height": {
4531
+ "const": 2496
4532
+ }
4533
+ }
4534
+ },
4535
+ {
4536
+ "title": "2K (21:9)",
4537
+ "properties": {
4538
+ "width": {
4539
+ "const": 3136
4540
+ },
4541
+ "height": {
4542
+ "const": 1344
4543
+ }
4544
+ }
4545
+ },
4546
+ {
4547
+ "title": "3K (1:1)",
4548
+ "properties": {
4549
+ "width": {
4550
+ "const": 3072
4551
+ },
4552
+ "height": {
4553
+ "const": 3072
4554
+ }
4555
+ }
4556
+ },
4557
+ {
4558
+ "title": "3K (4:3)",
4559
+ "properties": {
4560
+ "width": {
4561
+ "const": 3456
4562
+ },
4563
+ "height": {
4564
+ "const": 2592
4565
+ }
4566
+ }
4567
+ },
4568
+ {
4569
+ "title": "3K (3:4)",
4570
+ "properties": {
4571
+ "width": {
4572
+ "const": 2592
4573
+ },
4574
+ "height": {
4575
+ "const": 3456
4576
+ }
4577
+ }
4578
+ },
4579
+ {
4580
+ "title": "3K (16:9)",
4581
+ "properties": {
4582
+ "width": {
4583
+ "const": 4096
4584
+ },
4585
+ "height": {
4586
+ "const": 2304
4587
+ }
4588
+ }
4589
+ },
4590
+ {
4591
+ "title": "3K (9:16)",
4592
+ "properties": {
4593
+ "width": {
4594
+ "const": 2304
4595
+ },
4596
+ "height": {
4597
+ "const": 4096
4598
+ }
4599
+ }
4600
+ },
4601
+ {
4602
+ "title": "3K (3:2)",
4603
+ "properties": {
4604
+ "width": {
4605
+ "const": 2496
4606
+ },
4607
+ "height": {
4608
+ "const": 3744
4609
+ }
4610
+ }
4611
+ },
4612
+ {
4613
+ "title": "3K (2:3)",
4614
+ "properties": {
4615
+ "width": {
4616
+ "const": 3744
4617
+ },
4618
+ "height": {
4619
+ "const": 2496
4620
+ }
4621
+ }
4622
+ },
4623
+ {
4624
+ "title": "3K (21:9)",
4625
+ "properties": {
4626
+ "width": {
4627
+ "const": 4704
4628
+ },
4629
+ "height": {
4630
+ "const": 2016
4631
+ }
4632
+ }
4633
+ }
4634
+ ]
4635
+ }
4636
+ ],
4637
+ "additionalProperties": false
4638
+ },
4639
+ {
4640
+ "type": "object",
4641
+ "properties": {
4642
+ "model": {
4643
+ "title": "Model",
4644
+ "description": "Identifier of the model to use for generation.",
4645
+ "type": "string",
4646
+ "const": "bytedance:50@1"
4647
+ },
4648
+ "inputs": {
4649
+ "title": "Inputs",
4650
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
4651
+ "type": "object",
4652
+ "properties": {
4653
+ "video": {
4654
+ "title": "Video",
4655
+ "description": "Video input (UUID or URL).",
4656
+ "type": "string",
4657
+ "anyOf": [
4658
+ {
4659
+ "format": "uuid"
4660
+ },
4661
+ {
4662
+ "format": "uri"
4663
+ }
4664
+ ]
4665
+ }
4666
+ },
4667
+ "required": [
4668
+ "video"
4669
+ ],
4670
+ "additionalProperties": false
4671
+ },
4672
+ "taskType": {
4673
+ "title": "Task Type",
4674
+ "description": "Identifier for the type of task being performed",
4675
+ "type": "string",
4676
+ "const": "upscale"
4677
+ },
4678
+ "taskUUID": {
4679
+ "title": "Task UUID",
4680
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
4681
+ "type": "string",
4682
+ "format": "uuid"
4683
+ },
4684
+ "webhookURL": {
4685
+ "title": "Webhook URL",
4686
+ "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.",
4687
+ "type": "string",
4688
+ "format": "uri"
4689
+ },
4690
+ "includeCost": {
4691
+ "title": "Include Cost",
4692
+ "description": "Include task cost in the response.",
4693
+ "type": "boolean",
4694
+ "default": false
4695
+ },
4696
+ "uploadEndpoint": {
4697
+ "title": "Upload Endpoint",
4698
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
4699
+ "type": "string",
4700
+ "format": "uri"
4701
+ },
4702
+ "ttl": {
4703
+ "title": "TTL",
4704
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
4705
+ "type": "integer",
4706
+ "minimum": 60
4707
+ },
4708
+ "outputQuality": {
4709
+ "title": "Output Quality",
4710
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
4711
+ "type": "integer",
4712
+ "minimum": 20,
4713
+ "maximum": 99,
4714
+ "default": 95
4715
+ },
4716
+ "outputType": {
4717
+ "title": "Output Type",
4718
+ "description": "Video output type.",
4719
+ "type": "string",
4720
+ "enum": [
4721
+ "URL"
4722
+ ],
4723
+ "default": "URL"
4724
+ },
4725
+ "outputFormat": {
4726
+ "title": "Output Format",
4727
+ "description": "File format for the generated video.",
4728
+ "type": "string",
4729
+ "enum": [
4730
+ "MP4",
4731
+ "WEBM",
4732
+ "MOV"
4733
+ ],
4734
+ "default": "MP4"
4735
+ },
4736
+ "deliveryMethod": {
4737
+ "title": "Delivery Method",
4738
+ "description": "Determines how the API delivers task results.",
4739
+ "type": "string",
4740
+ "oneOf": [
4741
+ {
4742
+ "const": "async",
4743
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation."
4744
+ }
4745
+ ],
4746
+ "default": "async"
4747
+ }
4748
+ },
4749
+ "required": [
4750
+ "inputs",
4751
+ "taskType",
4752
+ "taskUUID",
4753
+ "model"
4754
+ ],
4755
+ "additionalProperties": false
4756
+ }
4757
+ ]
4758
+ }