@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,1583 @@
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": "recraft:v4@0"
12
+ },
13
+ "positivePrompt": {
14
+ "title": "Positive Prompt",
15
+ "description": "Text prompt describing elements to include in the generated output.",
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "maxLength": 10000
19
+ },
20
+ "width": {
21
+ "title": "Width",
22
+ "description": "Width of the generated media in pixels.",
23
+ "type": "integer"
24
+ },
25
+ "height": {
26
+ "title": "Height",
27
+ "description": "Height of the generated media in pixels.",
28
+ "type": "integer"
29
+ },
30
+ "providerSettings": {
31
+ "title": "Provider Settings",
32
+ "description": "Provider-specific configuration settings.",
33
+ "type": "object",
34
+ "properties": {
35
+ "recraft": {
36
+ "title": "Recraft Settings",
37
+ "description": "Provider-specific settings for Recraft.",
38
+ "type": "object",
39
+ "properties": {
40
+ "backgroundColor": {
41
+ "title": "Background Color",
42
+ "description": "Background color used for the generation.",
43
+ "type": "object",
44
+ "properties": {
45
+ "rgb": {
46
+ "title": "RGB",
47
+ "description": "Color as `[red, green, blue]` array.",
48
+ "type": "array",
49
+ "minItems": 3,
50
+ "maxItems": 3,
51
+ "items": {
52
+ "type": "integer",
53
+ "minimum": 0,
54
+ "maximum": 255
55
+ }
56
+ }
57
+ },
58
+ "required": [
59
+ "rgb"
60
+ ],
61
+ "additionalProperties": false
62
+ },
63
+ "colors": {
64
+ "title": "Colors",
65
+ "description": "An array of colors defining the color palette to use in the generation.",
66
+ "type": "array",
67
+ "items": {
68
+ "title": "Recraft Color",
69
+ "description": "RGB color representation.",
70
+ "type": "object",
71
+ "properties": {
72
+ "rgb": {
73
+ "title": "RGB",
74
+ "description": "Color as `[red, green, blue]` array.",
75
+ "type": "array",
76
+ "minItems": 3,
77
+ "maxItems": 3,
78
+ "items": {
79
+ "type": "integer",
80
+ "minimum": 0,
81
+ "maximum": 255
82
+ }
83
+ }
84
+ },
85
+ "required": [
86
+ "rgb"
87
+ ],
88
+ "additionalProperties": false
89
+ }
90
+ }
91
+ },
92
+ "additionalProperties": false
93
+ }
94
+ },
95
+ "additionalProperties": false
96
+ },
97
+ "taskType": {
98
+ "title": "Task Type",
99
+ "description": "Identifier for the type of task being performed",
100
+ "type": "string",
101
+ "const": "imageInference"
102
+ },
103
+ "taskUUID": {
104
+ "title": "Task UUID",
105
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
106
+ "type": "string",
107
+ "format": "uuid"
108
+ },
109
+ "webhookURL": {
110
+ "title": "Webhook URL",
111
+ "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.",
112
+ "type": "string",
113
+ "format": "uri"
114
+ },
115
+ "includeCost": {
116
+ "title": "Include Cost",
117
+ "description": "Include task cost in the response.",
118
+ "type": "boolean",
119
+ "default": false
120
+ },
121
+ "numberResults": {
122
+ "title": "Number of Results",
123
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
124
+ "type": "integer",
125
+ "minimum": 1,
126
+ "default": 1,
127
+ "maximum": 20
128
+ },
129
+ "uploadEndpoint": {
130
+ "title": "Upload Endpoint",
131
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
132
+ "type": "string",
133
+ "format": "uri"
134
+ },
135
+ "ttl": {
136
+ "title": "TTL",
137
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
138
+ "type": "integer",
139
+ "minimum": 60
140
+ },
141
+ "outputType": {
142
+ "title": "Output Type",
143
+ "description": "Image output type.",
144
+ "type": "string",
145
+ "enum": [
146
+ "URL",
147
+ "base64Data",
148
+ "dataURI"
149
+ ],
150
+ "default": "URL"
151
+ },
152
+ "outputFormat": {
153
+ "title": "Output Format",
154
+ "description": "File format for the generated image.",
155
+ "type": "string",
156
+ "enum": [
157
+ "JPG",
158
+ "PNG",
159
+ "WEBP"
160
+ ],
161
+ "default": "JPG"
162
+ },
163
+ "outputQuality": {
164
+ "title": "Output Quality",
165
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
166
+ "type": "integer",
167
+ "minimum": 20,
168
+ "maximum": 99,
169
+ "default": 95
170
+ },
171
+ "deliveryMethod": {
172
+ "title": "Delivery Method",
173
+ "description": "Determines how the API delivers task results.",
174
+ "type": "string",
175
+ "oneOf": [
176
+ {
177
+ "const": "sync",
178
+ "description": "Returns complete results directly in the API response."
179
+ },
180
+ {
181
+ "const": "async",
182
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
183
+ }
184
+ ],
185
+ "default": "sync"
186
+ },
187
+ "safety": {
188
+ "type": "object",
189
+ "title": "Safety Settings",
190
+ "description": "Content safety checking configuration for image generation.",
191
+ "properties": {
192
+ "checkContent": {
193
+ "title": "Check Content",
194
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
195
+ "type": "boolean",
196
+ "default": false
197
+ },
198
+ "mode": {
199
+ "description": "Safety checking mode for image generation.",
200
+ "type": "string",
201
+ "oneOf": [
202
+ {
203
+ "const": "none",
204
+ "title": "None",
205
+ "description": "Disables checking."
206
+ },
207
+ {
208
+ "const": "fast",
209
+ "title": "Fast",
210
+ "description": "Performs a single check."
211
+ }
212
+ ],
213
+ "default": "none"
214
+ }
215
+ },
216
+ "additionalProperties": false
217
+ }
218
+ },
219
+ "required": [
220
+ "positivePrompt",
221
+ "width",
222
+ "height",
223
+ "taskType",
224
+ "taskUUID",
225
+ "model"
226
+ ],
227
+ "allOf": [
228
+ {
229
+ "dependentRequired": {
230
+ "width": [
231
+ "height"
232
+ ],
233
+ "height": [
234
+ "width"
235
+ ]
236
+ }
237
+ },
238
+ {
239
+ "oneOf": [
240
+ {
241
+ "title": "1K (1:1)",
242
+ "properties": {
243
+ "width": {
244
+ "const": 1024
245
+ },
246
+ "height": {
247
+ "const": 1024
248
+ }
249
+ }
250
+ },
251
+ {
252
+ "title": "1K (2:1)",
253
+ "properties": {
254
+ "width": {
255
+ "const": 1536
256
+ },
257
+ "height": {
258
+ "const": 768
259
+ }
260
+ }
261
+ },
262
+ {
263
+ "title": "1K (1:2)",
264
+ "properties": {
265
+ "width": {
266
+ "const": 768
267
+ },
268
+ "height": {
269
+ "const": 1536
270
+ }
271
+ }
272
+ },
273
+ {
274
+ "title": "1K (3:2)",
275
+ "properties": {
276
+ "width": {
277
+ "const": 1280
278
+ },
279
+ "height": {
280
+ "const": 832
281
+ }
282
+ }
283
+ },
284
+ {
285
+ "title": "1K (2:3)",
286
+ "properties": {
287
+ "width": {
288
+ "const": 832
289
+ },
290
+ "height": {
291
+ "const": 1280
292
+ }
293
+ }
294
+ },
295
+ {
296
+ "title": "1K (4:3)",
297
+ "properties": {
298
+ "width": {
299
+ "const": 1216
300
+ },
301
+ "height": {
302
+ "const": 896
303
+ }
304
+ }
305
+ },
306
+ {
307
+ "title": "1K (3:4)",
308
+ "properties": {
309
+ "width": {
310
+ "const": 896
311
+ },
312
+ "height": {
313
+ "const": 1216
314
+ }
315
+ }
316
+ },
317
+ {
318
+ "title": "1K (5:4)",
319
+ "properties": {
320
+ "width": {
321
+ "const": 1152
322
+ },
323
+ "height": {
324
+ "const": 896
325
+ }
326
+ }
327
+ },
328
+ {
329
+ "title": "1K (4:5)",
330
+ "properties": {
331
+ "width": {
332
+ "const": 896
333
+ },
334
+ "height": {
335
+ "const": 1152
336
+ }
337
+ }
338
+ },
339
+ {
340
+ "title": "1K (6:10)",
341
+ "properties": {
342
+ "width": {
343
+ "const": 832
344
+ },
345
+ "height": {
346
+ "const": 1344
347
+ }
348
+ }
349
+ },
350
+ {
351
+ "title": "1K (14:10)",
352
+ "properties": {
353
+ "width": {
354
+ "const": 1280
355
+ },
356
+ "height": {
357
+ "const": 896
358
+ }
359
+ }
360
+ },
361
+ {
362
+ "title": "1K (10:14)",
363
+ "properties": {
364
+ "width": {
365
+ "const": 896
366
+ },
367
+ "height": {
368
+ "const": 1280
369
+ }
370
+ }
371
+ },
372
+ {
373
+ "title": "1K (16:9)",
374
+ "properties": {
375
+ "width": {
376
+ "const": 1344
377
+ },
378
+ "height": {
379
+ "const": 768
380
+ }
381
+ }
382
+ },
383
+ {
384
+ "title": "1K (9:16)",
385
+ "properties": {
386
+ "width": {
387
+ "const": 768
388
+ },
389
+ "height": {
390
+ "const": 1344
391
+ }
392
+ }
393
+ }
394
+ ]
395
+ }
396
+ ],
397
+ "additionalProperties": false
398
+ },
399
+ {
400
+ "type": "object",
401
+ "properties": {
402
+ "model": {
403
+ "title": "Model",
404
+ "description": "Identifier of the model to use for generation.",
405
+ "type": "string",
406
+ "const": "recraft:v4-pro@0"
407
+ },
408
+ "positivePrompt": {
409
+ "title": "Positive Prompt",
410
+ "description": "Text prompt describing elements to include in the generated output.",
411
+ "type": "string",
412
+ "minLength": 1,
413
+ "maxLength": 10000
414
+ },
415
+ "width": {
416
+ "title": "Width",
417
+ "description": "Width of the generated media in pixels.",
418
+ "type": "integer"
419
+ },
420
+ "height": {
421
+ "title": "Height",
422
+ "description": "Height of the generated media in pixels.",
423
+ "type": "integer"
424
+ },
425
+ "providerSettings": {
426
+ "title": "Provider Settings",
427
+ "description": "Provider-specific configuration settings.",
428
+ "type": "object",
429
+ "properties": {
430
+ "recraft": {
431
+ "title": "Recraft Settings",
432
+ "description": "Provider-specific settings for Recraft.",
433
+ "type": "object",
434
+ "properties": {
435
+ "backgroundColor": {
436
+ "title": "Background Color",
437
+ "description": "Background color used for the generation.",
438
+ "type": "object",
439
+ "properties": {
440
+ "rgb": {
441
+ "title": "RGB",
442
+ "description": "Color as `[red, green, blue]` array.",
443
+ "type": "array",
444
+ "minItems": 3,
445
+ "maxItems": 3,
446
+ "items": {
447
+ "type": "integer",
448
+ "minimum": 0,
449
+ "maximum": 255
450
+ }
451
+ }
452
+ },
453
+ "required": [
454
+ "rgb"
455
+ ],
456
+ "additionalProperties": false
457
+ },
458
+ "colors": {
459
+ "title": "Colors",
460
+ "description": "An array of colors defining the color palette to use in the generation.",
461
+ "type": "array",
462
+ "items": {
463
+ "title": "Recraft Color",
464
+ "description": "RGB color representation.",
465
+ "type": "object",
466
+ "properties": {
467
+ "rgb": {
468
+ "title": "RGB",
469
+ "description": "Color as `[red, green, blue]` array.",
470
+ "type": "array",
471
+ "minItems": 3,
472
+ "maxItems": 3,
473
+ "items": {
474
+ "type": "integer",
475
+ "minimum": 0,
476
+ "maximum": 255
477
+ }
478
+ }
479
+ },
480
+ "required": [
481
+ "rgb"
482
+ ],
483
+ "additionalProperties": false
484
+ }
485
+ }
486
+ },
487
+ "additionalProperties": false
488
+ }
489
+ },
490
+ "additionalProperties": false
491
+ },
492
+ "taskType": {
493
+ "title": "Task Type",
494
+ "description": "Identifier for the type of task being performed",
495
+ "type": "string",
496
+ "const": "imageInference"
497
+ },
498
+ "taskUUID": {
499
+ "title": "Task UUID",
500
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
501
+ "type": "string",
502
+ "format": "uuid"
503
+ },
504
+ "webhookURL": {
505
+ "title": "Webhook URL",
506
+ "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.",
507
+ "type": "string",
508
+ "format": "uri"
509
+ },
510
+ "includeCost": {
511
+ "title": "Include Cost",
512
+ "description": "Include task cost in the response.",
513
+ "type": "boolean",
514
+ "default": false
515
+ },
516
+ "numberResults": {
517
+ "title": "Number of Results",
518
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
519
+ "type": "integer",
520
+ "minimum": 1,
521
+ "default": 1,
522
+ "maximum": 20
523
+ },
524
+ "uploadEndpoint": {
525
+ "title": "Upload Endpoint",
526
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
527
+ "type": "string",
528
+ "format": "uri"
529
+ },
530
+ "ttl": {
531
+ "title": "TTL",
532
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
533
+ "type": "integer",
534
+ "minimum": 60
535
+ },
536
+ "outputType": {
537
+ "title": "Output Type",
538
+ "description": "Image output type.",
539
+ "type": "string",
540
+ "enum": [
541
+ "URL",
542
+ "base64Data",
543
+ "dataURI"
544
+ ],
545
+ "default": "URL"
546
+ },
547
+ "outputFormat": {
548
+ "title": "Output Format",
549
+ "description": "File format for the generated image.",
550
+ "type": "string",
551
+ "enum": [
552
+ "JPG",
553
+ "PNG",
554
+ "WEBP"
555
+ ],
556
+ "default": "JPG"
557
+ },
558
+ "outputQuality": {
559
+ "title": "Output Quality",
560
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
561
+ "type": "integer",
562
+ "minimum": 20,
563
+ "maximum": 99,
564
+ "default": 95
565
+ },
566
+ "deliveryMethod": {
567
+ "title": "Delivery Method",
568
+ "description": "Determines how the API delivers task results.",
569
+ "type": "string",
570
+ "oneOf": [
571
+ {
572
+ "const": "sync",
573
+ "description": "Returns complete results directly in the API response."
574
+ },
575
+ {
576
+ "const": "async",
577
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
578
+ }
579
+ ],
580
+ "default": "sync"
581
+ },
582
+ "safety": {
583
+ "type": "object",
584
+ "title": "Safety Settings",
585
+ "description": "Content safety checking configuration for image generation.",
586
+ "properties": {
587
+ "checkContent": {
588
+ "title": "Check Content",
589
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
590
+ "type": "boolean",
591
+ "default": false
592
+ },
593
+ "mode": {
594
+ "description": "Safety checking mode for image generation.",
595
+ "type": "string",
596
+ "oneOf": [
597
+ {
598
+ "const": "none",
599
+ "title": "None",
600
+ "description": "Disables checking."
601
+ },
602
+ {
603
+ "const": "fast",
604
+ "title": "Fast",
605
+ "description": "Performs a single check."
606
+ }
607
+ ],
608
+ "default": "none"
609
+ }
610
+ },
611
+ "additionalProperties": false
612
+ }
613
+ },
614
+ "required": [
615
+ "positivePrompt",
616
+ "width",
617
+ "height",
618
+ "taskType",
619
+ "taskUUID",
620
+ "model"
621
+ ],
622
+ "allOf": [
623
+ {
624
+ "dependentRequired": {
625
+ "width": [
626
+ "height"
627
+ ],
628
+ "height": [
629
+ "width"
630
+ ]
631
+ }
632
+ },
633
+ {
634
+ "oneOf": [
635
+ {
636
+ "title": "2K (1:1)",
637
+ "properties": {
638
+ "width": {
639
+ "const": 2048
640
+ },
641
+ "height": {
642
+ "const": 2048
643
+ }
644
+ }
645
+ },
646
+ {
647
+ "title": "2K (2:1)",
648
+ "properties": {
649
+ "width": {
650
+ "const": 3072
651
+ },
652
+ "height": {
653
+ "const": 1536
654
+ }
655
+ }
656
+ },
657
+ {
658
+ "title": "2K (1:2)",
659
+ "properties": {
660
+ "width": {
661
+ "const": 1536
662
+ },
663
+ "height": {
664
+ "const": 3072
665
+ }
666
+ }
667
+ },
668
+ {
669
+ "title": "2K (3:2)",
670
+ "properties": {
671
+ "width": {
672
+ "const": 2560
673
+ },
674
+ "height": {
675
+ "const": 1664
676
+ }
677
+ }
678
+ },
679
+ {
680
+ "title": "2K (2:3)",
681
+ "properties": {
682
+ "width": {
683
+ "const": 1664
684
+ },
685
+ "height": {
686
+ "const": 2560
687
+ }
688
+ }
689
+ },
690
+ {
691
+ "title": "2K (4:3)",
692
+ "properties": {
693
+ "width": {
694
+ "const": 2432
695
+ },
696
+ "height": {
697
+ "const": 1792
698
+ }
699
+ }
700
+ },
701
+ {
702
+ "title": "2K (3:4)",
703
+ "properties": {
704
+ "width": {
705
+ "const": 1792
706
+ },
707
+ "height": {
708
+ "const": 2432
709
+ }
710
+ }
711
+ },
712
+ {
713
+ "title": "2K (5:4)",
714
+ "properties": {
715
+ "width": {
716
+ "const": 2304
717
+ },
718
+ "height": {
719
+ "const": 1792
720
+ }
721
+ }
722
+ },
723
+ {
724
+ "title": "2K (4:5)",
725
+ "properties": {
726
+ "width": {
727
+ "const": 1792
728
+ },
729
+ "height": {
730
+ "const": 2304
731
+ }
732
+ }
733
+ },
734
+ {
735
+ "title": "2K (6:10)",
736
+ "properties": {
737
+ "width": {
738
+ "const": 1664
739
+ },
740
+ "height": {
741
+ "const": 2688
742
+ }
743
+ }
744
+ },
745
+ {
746
+ "title": "2K (14:10)",
747
+ "properties": {
748
+ "width": {
749
+ "const": 2560
750
+ },
751
+ "height": {
752
+ "const": 1792
753
+ }
754
+ }
755
+ },
756
+ {
757
+ "title": "2K (10:14)",
758
+ "properties": {
759
+ "width": {
760
+ "const": 1792
761
+ },
762
+ "height": {
763
+ "const": 2560
764
+ }
765
+ }
766
+ },
767
+ {
768
+ "title": "2K (16:9)",
769
+ "properties": {
770
+ "width": {
771
+ "const": 2688
772
+ },
773
+ "height": {
774
+ "const": 1536
775
+ }
776
+ }
777
+ },
778
+ {
779
+ "title": "2K (9:16)",
780
+ "properties": {
781
+ "width": {
782
+ "const": 1536
783
+ },
784
+ "height": {
785
+ "const": 2688
786
+ }
787
+ }
788
+ }
789
+ ]
790
+ }
791
+ ],
792
+ "additionalProperties": false
793
+ },
794
+ {
795
+ "type": "object",
796
+ "properties": {
797
+ "model": {
798
+ "title": "Model",
799
+ "description": "Identifier of the model to use for generation.",
800
+ "type": "string",
801
+ "const": "recraft:1@1"
802
+ },
803
+ "inputs": {
804
+ "title": "Inputs",
805
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
806
+ "type": "object",
807
+ "properties": {
808
+ "image": {
809
+ "title": "Image",
810
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
811
+ "type": "string",
812
+ "anyOf": [
813
+ {
814
+ "format": "uuid"
815
+ },
816
+ {
817
+ "format": "uri"
818
+ },
819
+ {
820
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
821
+ },
822
+ {
823
+ "pattern": "^[a-zA-Z0-9+/=]+$"
824
+ }
825
+ ]
826
+ }
827
+ },
828
+ "required": [
829
+ "image"
830
+ ],
831
+ "additionalProperties": false
832
+ },
833
+ "taskType": {
834
+ "title": "Task Type",
835
+ "description": "Identifier for the type of task being performed",
836
+ "type": "string",
837
+ "const": "vectorize"
838
+ },
839
+ "taskUUID": {
840
+ "title": "Task UUID",
841
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
842
+ "type": "string",
843
+ "format": "uuid"
844
+ },
845
+ "webhookURL": {
846
+ "title": "Webhook URL",
847
+ "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.",
848
+ "type": "string",
849
+ "format": "uri"
850
+ },
851
+ "includeCost": {
852
+ "title": "Include Cost",
853
+ "description": "Include task cost in the response.",
854
+ "type": "boolean",
855
+ "default": false
856
+ },
857
+ "uploadEndpoint": {
858
+ "title": "Upload Endpoint",
859
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
860
+ "type": "string",
861
+ "format": "uri"
862
+ },
863
+ "ttl": {
864
+ "title": "TTL",
865
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
866
+ "type": "integer",
867
+ "minimum": 60
868
+ },
869
+ "outputType": {
870
+ "title": "Output Type",
871
+ "description": "Image output type.",
872
+ "type": "string",
873
+ "enum": [
874
+ "URL",
875
+ "base64Data",
876
+ "dataURI"
877
+ ],
878
+ "default": "URL"
879
+ },
880
+ "outputFormat": {
881
+ "title": "Output Format",
882
+ "description": "File format for the vectorized output.",
883
+ "type": "string",
884
+ "enum": [
885
+ "SVG"
886
+ ],
887
+ "default": "SVG"
888
+ },
889
+ "deliveryMethod": {
890
+ "title": "Delivery Method",
891
+ "description": "Determines how the API delivers task results.",
892
+ "type": "string",
893
+ "oneOf": [
894
+ {
895
+ "const": "sync",
896
+ "description": "Returns complete results directly in the API response."
897
+ },
898
+ {
899
+ "const": "async",
900
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
901
+ }
902
+ ],
903
+ "default": "sync"
904
+ }
905
+ },
906
+ "required": [
907
+ "inputs",
908
+ "taskType",
909
+ "taskUUID",
910
+ "model"
911
+ ],
912
+ "additionalProperties": false
913
+ },
914
+ {
915
+ "type": "object",
916
+ "properties": {
917
+ "model": {
918
+ "title": "Model",
919
+ "description": "Identifier of the model to use for generation.",
920
+ "type": "string",
921
+ "const": "recraft:v4@vector"
922
+ },
923
+ "positivePrompt": {
924
+ "title": "Positive Prompt",
925
+ "description": "Text prompt describing elements to include in the generated output.",
926
+ "type": "string",
927
+ "minLength": 1,
928
+ "maxLength": 10000
929
+ },
930
+ "width": {
931
+ "title": "Width",
932
+ "description": "Width of the generated media in pixels.",
933
+ "type": "integer"
934
+ },
935
+ "height": {
936
+ "title": "Height",
937
+ "description": "Height of the generated media in pixels.",
938
+ "type": "integer"
939
+ },
940
+ "providerSettings": {
941
+ "title": "Provider Settings",
942
+ "description": "Provider-specific configuration settings.",
943
+ "type": "object",
944
+ "properties": {
945
+ "recraft": {
946
+ "title": "Recraft Settings",
947
+ "description": "Provider-specific settings for Recraft.",
948
+ "type": "object",
949
+ "properties": {
950
+ "backgroundColor": {
951
+ "title": "Background Color",
952
+ "description": "Background color used for the generation.",
953
+ "type": "object",
954
+ "properties": {
955
+ "rgb": {
956
+ "title": "RGB",
957
+ "description": "Color as `[red, green, blue]` array.",
958
+ "type": "array",
959
+ "minItems": 3,
960
+ "maxItems": 3,
961
+ "items": {
962
+ "type": "integer",
963
+ "minimum": 0,
964
+ "maximum": 255
965
+ }
966
+ }
967
+ },
968
+ "required": [
969
+ "rgb"
970
+ ],
971
+ "additionalProperties": false
972
+ },
973
+ "colors": {
974
+ "title": "Colors",
975
+ "description": "An array of colors defining the color palette to use in the generation.",
976
+ "type": "array",
977
+ "items": {
978
+ "title": "Recraft Color",
979
+ "description": "RGB color representation.",
980
+ "type": "object",
981
+ "properties": {
982
+ "rgb": {
983
+ "title": "RGB",
984
+ "description": "Color as `[red, green, blue]` array.",
985
+ "type": "array",
986
+ "minItems": 3,
987
+ "maxItems": 3,
988
+ "items": {
989
+ "type": "integer",
990
+ "minimum": 0,
991
+ "maximum": 255
992
+ }
993
+ }
994
+ },
995
+ "required": [
996
+ "rgb"
997
+ ],
998
+ "additionalProperties": false
999
+ }
1000
+ }
1001
+ },
1002
+ "additionalProperties": false
1003
+ }
1004
+ },
1005
+ "additionalProperties": false
1006
+ },
1007
+ "taskType": {
1008
+ "title": "Task Type",
1009
+ "description": "Identifier for the type of task being performed",
1010
+ "type": "string",
1011
+ "const": "vectorize"
1012
+ },
1013
+ "taskUUID": {
1014
+ "title": "Task UUID",
1015
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
1016
+ "type": "string",
1017
+ "format": "uuid"
1018
+ },
1019
+ "webhookURL": {
1020
+ "title": "Webhook URL",
1021
+ "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.",
1022
+ "type": "string",
1023
+ "format": "uri"
1024
+ },
1025
+ "includeCost": {
1026
+ "title": "Include Cost",
1027
+ "description": "Include task cost in the response.",
1028
+ "type": "boolean",
1029
+ "default": false
1030
+ },
1031
+ "uploadEndpoint": {
1032
+ "title": "Upload Endpoint",
1033
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
1034
+ "type": "string",
1035
+ "format": "uri"
1036
+ },
1037
+ "ttl": {
1038
+ "title": "TTL",
1039
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
1040
+ "type": "integer",
1041
+ "minimum": 60
1042
+ },
1043
+ "outputType": {
1044
+ "title": "Output Type",
1045
+ "description": "Image output type.",
1046
+ "type": "string",
1047
+ "enum": [
1048
+ "URL",
1049
+ "base64Data",
1050
+ "dataURI"
1051
+ ],
1052
+ "default": "URL"
1053
+ },
1054
+ "outputFormat": {
1055
+ "title": "Output Format",
1056
+ "description": "File format for the vectorized output.",
1057
+ "type": "string",
1058
+ "enum": [
1059
+ "SVG"
1060
+ ],
1061
+ "default": "SVG"
1062
+ },
1063
+ "deliveryMethod": {
1064
+ "title": "Delivery Method",
1065
+ "description": "Determines how the API delivers task results.",
1066
+ "type": "string",
1067
+ "oneOf": [
1068
+ {
1069
+ "const": "sync",
1070
+ "description": "Returns complete results directly in the API response."
1071
+ },
1072
+ {
1073
+ "const": "async",
1074
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
1075
+ }
1076
+ ],
1077
+ "default": "sync"
1078
+ }
1079
+ },
1080
+ "required": [
1081
+ "positivePrompt",
1082
+ "taskType",
1083
+ "taskUUID",
1084
+ "model"
1085
+ ],
1086
+ "allOf": [
1087
+ {
1088
+ "oneOf": [
1089
+ {
1090
+ "title": "1K (1:1)",
1091
+ "properties": {
1092
+ "width": {
1093
+ "const": 1024
1094
+ },
1095
+ "height": {
1096
+ "const": 1024
1097
+ }
1098
+ }
1099
+ },
1100
+ {
1101
+ "title": "1K (2:1)",
1102
+ "properties": {
1103
+ "width": {
1104
+ "const": 1536
1105
+ },
1106
+ "height": {
1107
+ "const": 768
1108
+ }
1109
+ }
1110
+ },
1111
+ {
1112
+ "title": "1K (1:2)",
1113
+ "properties": {
1114
+ "width": {
1115
+ "const": 768
1116
+ },
1117
+ "height": {
1118
+ "const": 1536
1119
+ }
1120
+ }
1121
+ },
1122
+ {
1123
+ "title": "1K (3:2)",
1124
+ "properties": {
1125
+ "width": {
1126
+ "const": 1280
1127
+ },
1128
+ "height": {
1129
+ "const": 832
1130
+ }
1131
+ }
1132
+ },
1133
+ {
1134
+ "title": "1K (2:3)",
1135
+ "properties": {
1136
+ "width": {
1137
+ "const": 832
1138
+ },
1139
+ "height": {
1140
+ "const": 1280
1141
+ }
1142
+ }
1143
+ },
1144
+ {
1145
+ "title": "1K (4:3)",
1146
+ "properties": {
1147
+ "width": {
1148
+ "const": 1216
1149
+ },
1150
+ "height": {
1151
+ "const": 896
1152
+ }
1153
+ }
1154
+ },
1155
+ {
1156
+ "title": "1K (3:4)",
1157
+ "properties": {
1158
+ "width": {
1159
+ "const": 896
1160
+ },
1161
+ "height": {
1162
+ "const": 1216
1163
+ }
1164
+ }
1165
+ },
1166
+ {
1167
+ "title": "1K (5:4)",
1168
+ "properties": {
1169
+ "width": {
1170
+ "const": 1152
1171
+ },
1172
+ "height": {
1173
+ "const": 896
1174
+ }
1175
+ }
1176
+ },
1177
+ {
1178
+ "title": "1K (4:5)",
1179
+ "properties": {
1180
+ "width": {
1181
+ "const": 896
1182
+ },
1183
+ "height": {
1184
+ "const": 1152
1185
+ }
1186
+ }
1187
+ },
1188
+ {
1189
+ "title": "1K (6:10)",
1190
+ "properties": {
1191
+ "width": {
1192
+ "const": 832
1193
+ },
1194
+ "height": {
1195
+ "const": 1344
1196
+ }
1197
+ }
1198
+ },
1199
+ {
1200
+ "title": "1K (14:10)",
1201
+ "properties": {
1202
+ "width": {
1203
+ "const": 1280
1204
+ },
1205
+ "height": {
1206
+ "const": 896
1207
+ }
1208
+ }
1209
+ },
1210
+ {
1211
+ "title": "1K (10:14)",
1212
+ "properties": {
1213
+ "width": {
1214
+ "const": 896
1215
+ },
1216
+ "height": {
1217
+ "const": 1280
1218
+ }
1219
+ }
1220
+ },
1221
+ {
1222
+ "title": "1K (16:9)",
1223
+ "properties": {
1224
+ "width": {
1225
+ "const": 1344
1226
+ },
1227
+ "height": {
1228
+ "const": 768
1229
+ }
1230
+ }
1231
+ },
1232
+ {
1233
+ "title": "1K (9:16)",
1234
+ "properties": {
1235
+ "width": {
1236
+ "const": 768
1237
+ },
1238
+ "height": {
1239
+ "const": 1344
1240
+ }
1241
+ }
1242
+ }
1243
+ ]
1244
+ }
1245
+ ],
1246
+ "additionalProperties": false
1247
+ },
1248
+ {
1249
+ "type": "object",
1250
+ "properties": {
1251
+ "model": {
1252
+ "title": "Model",
1253
+ "description": "Identifier of the model to use for generation.",
1254
+ "type": "string",
1255
+ "const": "recraft:v4-pro@vector"
1256
+ },
1257
+ "positivePrompt": {
1258
+ "title": "Positive Prompt",
1259
+ "description": "Text prompt describing elements to include in the generated output.",
1260
+ "type": "string",
1261
+ "minLength": 1,
1262
+ "maxLength": 10000
1263
+ },
1264
+ "width": {
1265
+ "title": "Width",
1266
+ "description": "Width of the generated media in pixels.",
1267
+ "type": "integer"
1268
+ },
1269
+ "height": {
1270
+ "title": "Height",
1271
+ "description": "Height of the generated media in pixels.",
1272
+ "type": "integer"
1273
+ },
1274
+ "providerSettings": {
1275
+ "title": "Provider Settings",
1276
+ "description": "Provider-specific configuration settings.",
1277
+ "type": "object",
1278
+ "properties": {
1279
+ "recraft": {
1280
+ "title": "Recraft Settings",
1281
+ "description": "Provider-specific settings for Recraft.",
1282
+ "type": "object",
1283
+ "properties": {
1284
+ "backgroundColor": {
1285
+ "title": "Background Color",
1286
+ "description": "Background color used for the generation.",
1287
+ "type": "object",
1288
+ "properties": {
1289
+ "rgb": {
1290
+ "title": "RGB",
1291
+ "description": "Color as `[red, green, blue]` array.",
1292
+ "type": "array",
1293
+ "minItems": 3,
1294
+ "maxItems": 3,
1295
+ "items": {
1296
+ "type": "integer",
1297
+ "minimum": 0,
1298
+ "maximum": 255
1299
+ }
1300
+ }
1301
+ },
1302
+ "required": [
1303
+ "rgb"
1304
+ ],
1305
+ "additionalProperties": false
1306
+ },
1307
+ "colors": {
1308
+ "title": "Colors",
1309
+ "description": "An array of colors defining the color palette to use in the generation.",
1310
+ "type": "array",
1311
+ "items": {
1312
+ "title": "Recraft Color",
1313
+ "description": "RGB color representation.",
1314
+ "type": "object",
1315
+ "properties": {
1316
+ "rgb": {
1317
+ "title": "RGB",
1318
+ "description": "Color as `[red, green, blue]` array.",
1319
+ "type": "array",
1320
+ "minItems": 3,
1321
+ "maxItems": 3,
1322
+ "items": {
1323
+ "type": "integer",
1324
+ "minimum": 0,
1325
+ "maximum": 255
1326
+ }
1327
+ }
1328
+ },
1329
+ "required": [
1330
+ "rgb"
1331
+ ],
1332
+ "additionalProperties": false
1333
+ }
1334
+ }
1335
+ },
1336
+ "additionalProperties": false
1337
+ }
1338
+ },
1339
+ "additionalProperties": false
1340
+ },
1341
+ "taskType": {
1342
+ "title": "Task Type",
1343
+ "description": "Identifier for the type of task being performed",
1344
+ "type": "string",
1345
+ "const": "vectorize"
1346
+ },
1347
+ "taskUUID": {
1348
+ "title": "Task UUID",
1349
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
1350
+ "type": "string",
1351
+ "format": "uuid"
1352
+ },
1353
+ "webhookURL": {
1354
+ "title": "Webhook URL",
1355
+ "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.",
1356
+ "type": "string",
1357
+ "format": "uri"
1358
+ },
1359
+ "includeCost": {
1360
+ "title": "Include Cost",
1361
+ "description": "Include task cost in the response.",
1362
+ "type": "boolean",
1363
+ "default": false
1364
+ },
1365
+ "uploadEndpoint": {
1366
+ "title": "Upload Endpoint",
1367
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
1368
+ "type": "string",
1369
+ "format": "uri"
1370
+ },
1371
+ "ttl": {
1372
+ "title": "TTL",
1373
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
1374
+ "type": "integer",
1375
+ "minimum": 60
1376
+ },
1377
+ "outputType": {
1378
+ "title": "Output Type",
1379
+ "description": "Image output type.",
1380
+ "type": "string",
1381
+ "enum": [
1382
+ "URL",
1383
+ "base64Data",
1384
+ "dataURI"
1385
+ ],
1386
+ "default": "URL"
1387
+ },
1388
+ "outputFormat": {
1389
+ "title": "Output Format",
1390
+ "description": "File format for the vectorized output.",
1391
+ "type": "string",
1392
+ "enum": [
1393
+ "SVG"
1394
+ ],
1395
+ "default": "SVG"
1396
+ },
1397
+ "deliveryMethod": {
1398
+ "title": "Delivery Method",
1399
+ "description": "Determines how the API delivers task results.",
1400
+ "type": "string",
1401
+ "oneOf": [
1402
+ {
1403
+ "const": "sync",
1404
+ "description": "Returns complete results directly in the API response."
1405
+ },
1406
+ {
1407
+ "const": "async",
1408
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
1409
+ }
1410
+ ],
1411
+ "default": "sync"
1412
+ }
1413
+ },
1414
+ "required": [
1415
+ "positivePrompt",
1416
+ "taskType",
1417
+ "taskUUID",
1418
+ "model"
1419
+ ],
1420
+ "allOf": [
1421
+ {
1422
+ "oneOf": [
1423
+ {
1424
+ "title": "2K (1:1)",
1425
+ "properties": {
1426
+ "width": {
1427
+ "const": 2048
1428
+ },
1429
+ "height": {
1430
+ "const": 2048
1431
+ }
1432
+ }
1433
+ },
1434
+ {
1435
+ "title": "2K (2:1)",
1436
+ "properties": {
1437
+ "width": {
1438
+ "const": 3072
1439
+ },
1440
+ "height": {
1441
+ "const": 1536
1442
+ }
1443
+ }
1444
+ },
1445
+ {
1446
+ "title": "2K (1:2)",
1447
+ "properties": {
1448
+ "width": {
1449
+ "const": 1536
1450
+ },
1451
+ "height": {
1452
+ "const": 3072
1453
+ }
1454
+ }
1455
+ },
1456
+ {
1457
+ "title": "2K (3:2)",
1458
+ "properties": {
1459
+ "width": {
1460
+ "const": 2560
1461
+ },
1462
+ "height": {
1463
+ "const": 1664
1464
+ }
1465
+ }
1466
+ },
1467
+ {
1468
+ "title": "2K (2:3)",
1469
+ "properties": {
1470
+ "width": {
1471
+ "const": 1664
1472
+ },
1473
+ "height": {
1474
+ "const": 2560
1475
+ }
1476
+ }
1477
+ },
1478
+ {
1479
+ "title": "2K (4:3)",
1480
+ "properties": {
1481
+ "width": {
1482
+ "const": 2432
1483
+ },
1484
+ "height": {
1485
+ "const": 1792
1486
+ }
1487
+ }
1488
+ },
1489
+ {
1490
+ "title": "2K (3:4)",
1491
+ "properties": {
1492
+ "width": {
1493
+ "const": 1792
1494
+ },
1495
+ "height": {
1496
+ "const": 2432
1497
+ }
1498
+ }
1499
+ },
1500
+ {
1501
+ "title": "2K (5:4)",
1502
+ "properties": {
1503
+ "width": {
1504
+ "const": 2304
1505
+ },
1506
+ "height": {
1507
+ "const": 1792
1508
+ }
1509
+ }
1510
+ },
1511
+ {
1512
+ "title": "2K (4:5)",
1513
+ "properties": {
1514
+ "width": {
1515
+ "const": 1792
1516
+ },
1517
+ "height": {
1518
+ "const": 2304
1519
+ }
1520
+ }
1521
+ },
1522
+ {
1523
+ "title": "2K (6:10)",
1524
+ "properties": {
1525
+ "width": {
1526
+ "const": 1664
1527
+ },
1528
+ "height": {
1529
+ "const": 2688
1530
+ }
1531
+ }
1532
+ },
1533
+ {
1534
+ "title": "2K (14:10)",
1535
+ "properties": {
1536
+ "width": {
1537
+ "const": 2560
1538
+ },
1539
+ "height": {
1540
+ "const": 1792
1541
+ }
1542
+ }
1543
+ },
1544
+ {
1545
+ "title": "2K (10:14)",
1546
+ "properties": {
1547
+ "width": {
1548
+ "const": 1792
1549
+ },
1550
+ "height": {
1551
+ "const": 2560
1552
+ }
1553
+ }
1554
+ },
1555
+ {
1556
+ "title": "2K (16:9)",
1557
+ "properties": {
1558
+ "width": {
1559
+ "const": 2688
1560
+ },
1561
+ "height": {
1562
+ "const": 1536
1563
+ }
1564
+ }
1565
+ },
1566
+ {
1567
+ "title": "2K (9:16)",
1568
+ "properties": {
1569
+ "width": {
1570
+ "const": 1536
1571
+ },
1572
+ "height": {
1573
+ "const": 2688
1574
+ }
1575
+ }
1576
+ }
1577
+ ]
1578
+ }
1579
+ ],
1580
+ "additionalProperties": false
1581
+ }
1582
+ ]
1583
+ }