@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,3849 @@
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": "rundiffusion:120@100"
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
+ "seedImage": {
19
+ "title": "Seed Image",
20
+ "description": "Image used as a starting point for the generation (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
+ "maskImage": {
38
+ "title": "Mask Image",
39
+ "description": "Image used to specify which areas of the seed image should be edited (UUID, URL, Data URI, or Base64).",
40
+ "type": "string",
41
+ "anyOf": [
42
+ {
43
+ "format": "uuid"
44
+ },
45
+ {
46
+ "format": "uri"
47
+ },
48
+ {
49
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
50
+ },
51
+ {
52
+ "pattern": "^[a-zA-Z0-9+/=]+$"
53
+ }
54
+ ]
55
+ }
56
+ },
57
+ "additionalProperties": false
58
+ },
59
+ "positivePrompt": {
60
+ "title": "Positive Prompt",
61
+ "description": "Text prompt describing elements to include in the generated output.",
62
+ "type": "string",
63
+ "minLength": 2,
64
+ "maxLength": 3000
65
+ },
66
+ "negativePrompt": {
67
+ "title": "Negative Prompt",
68
+ "description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
69
+ "type": "string",
70
+ "minLength": 2,
71
+ "maxLength": 3000
72
+ },
73
+ "width": {
74
+ "title": "Width",
75
+ "description": "Width of the generated media in pixels.",
76
+ "type": "integer",
77
+ "minimum": 128,
78
+ "maximum": 2048,
79
+ "multipleOf": 16
80
+ },
81
+ "height": {
82
+ "title": "Height",
83
+ "description": "Height of the generated media in pixels.",
84
+ "type": "integer",
85
+ "minimum": 128,
86
+ "maximum": 2048,
87
+ "multipleOf": 16
88
+ },
89
+ "seed": {
90
+ "title": "Seed",
91
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
92
+ "type": "integer",
93
+ "minimum": 0,
94
+ "maximum": 9223372036854776000
95
+ },
96
+ "steps": {
97
+ "title": "Steps",
98
+ "description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
99
+ "type": "integer",
100
+ "minimum": 1,
101
+ "maximum": 50
102
+ },
103
+ "scheduler": {
104
+ "title": "Scheduler",
105
+ "description": "Scheduler to use for the diffusion process.",
106
+ "type": "string",
107
+ "enum": [
108
+ "DDIM",
109
+ "DDIMScheduler",
110
+ "DDPMScheduler",
111
+ "DEISMultistepScheduler",
112
+ "Default",
113
+ "DPM++",
114
+ "DPM++ 2M",
115
+ "DPM++ 2M Beta",
116
+ "DPM++ 2M Exponential",
117
+ "DPM++ 2M Karras",
118
+ "DPM++ 2M SDE",
119
+ "DPM++ 2M SDE Beta",
120
+ "DPM++ 2M SDE Exponential",
121
+ "DPM++ 2M SDE Karras",
122
+ "DPM++ 2M SDE Uniform",
123
+ "DPM++ 2M Uniform",
124
+ "DPM++ 3M",
125
+ "DPM++ 3M Beta",
126
+ "DPM++ 3M Exponential",
127
+ "DPM++ 3M Karras",
128
+ "DPM++ 3M SDE Uniform",
129
+ "DPM++ 3M Uniform",
130
+ "DPM++ Beta",
131
+ "DPM++ Exponential",
132
+ "DPM++ Karras",
133
+ "DPM++ SDE",
134
+ "DPM++ SDE Beta",
135
+ "DPM++ SDE Exponential",
136
+ "DPM++ SDE Karras",
137
+ "DPM++ Uniform",
138
+ "DPM++ Uniform Beta",
139
+ "DPM++ Uniform Exponential",
140
+ "DPM++ Uniform Karras",
141
+ "DPMSolverMultistepInverse",
142
+ "DPMSolverMultistepScheduler",
143
+ "DPMSolverSinglestepScheduler",
144
+ "EDMDPMSolverMultistepScheduler",
145
+ "EDMEulerScheduler",
146
+ "Euler",
147
+ "Euler a",
148
+ "Euler Beta",
149
+ "Euler DiscreteScheduler",
150
+ "Euler Exponential",
151
+ "Euler Karras",
152
+ "EulerAncestralDiscreteScheduler",
153
+ "FlowMatchEulerDiscreteScheduler",
154
+ "Heun",
155
+ "HeunDiscreteScheduler",
156
+ "Heun Karras",
157
+ "IPNDMScheduler",
158
+ "IPNDM Uniform",
159
+ "IPNDM Uniform Beta",
160
+ "IPNDM Uniform Exponential",
161
+ "IPNDM Uniform Karras",
162
+ "KDPM2AncestralDiscreteScheduler",
163
+ "KDPM2DiscreteScheduler",
164
+ "LCM",
165
+ "LCMScheduler",
166
+ "LMS",
167
+ "LMSDiscreteScheduler",
168
+ "LMS Karras",
169
+ "PNDMScheduler",
170
+ "TCDScheduler",
171
+ "UniPC",
172
+ "UniPC 2M",
173
+ "UniPC 2M Karras",
174
+ "UniPC 2M Uniform",
175
+ "UniPC 3M",
176
+ "UniPC 3M Karras",
177
+ "UniPC 3M Uniform",
178
+ "UniPC Karras",
179
+ "UniPC Uniform",
180
+ "UniPC Uniform Beta",
181
+ "UniPC Uniform Exponential",
182
+ "UniPC Uniform Karras"
183
+ ]
184
+ },
185
+ "CFGScale": {
186
+ "title": "CFG Scale",
187
+ "description": "Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.",
188
+ "type": "number",
189
+ "multipleOf": 0.01,
190
+ "minimum": 0,
191
+ "maximum": 20
192
+ },
193
+ "strength": {
194
+ "title": "Strength",
195
+ "description": "Strength of the transformation. Lower values result in more influence from the original input.",
196
+ "type": "number",
197
+ "multipleOf": 0.01,
198
+ "minimum": 0,
199
+ "maximum": 1,
200
+ "default": 0.8
201
+ },
202
+ "maskMargin": {
203
+ "title": "Mask Margin",
204
+ "description": "Extra context pixels around the masked region during inpainting. The model zooms into the masked area with these additional pixels for better integration.",
205
+ "type": "integer",
206
+ "minimum": 32,
207
+ "maximum": 128
208
+ },
209
+ "promptWeighting": {
210
+ "title": "Prompt Weighting",
211
+ "description": "Syntax used for prompt weighting.",
212
+ "type": "string",
213
+ "enum": [
214
+ "compel",
215
+ "sdEmbeds"
216
+ ]
217
+ },
218
+ "acceleratorOptions": {
219
+ "title": "Accelerator Options",
220
+ "description": "Advanced caching mechanisms to speed up generation.",
221
+ "type": "object",
222
+ "properties": {
223
+ "cacheEndStep": {
224
+ "title": "Cache End Step",
225
+ "description": "Absolute step number to end caching. Must be greater than `cacheStartStep` and less than or equal to `steps`.",
226
+ "type": "integer",
227
+ "minimum": 1
228
+ },
229
+ "cacheEndStepPercentage": {
230
+ "title": "Cache End Step Percentage",
231
+ "description": "Percentage of steps to end caching. Alternative to `cacheEndStep`. Must be greater than `cacheStartStepPercentage`.",
232
+ "type": "integer",
233
+ "minimum": 1,
234
+ "maximum": 100
235
+ },
236
+ "cacheMaxConsecutiveSteps": {
237
+ "title": "Cache Max Consecutive Steps",
238
+ "description": "Limits the maximum number of consecutive steps that can use cached computations before forcing a fresh computation.",
239
+ "type": "integer",
240
+ "minimum": 1,
241
+ "maximum": 5,
242
+ "default": 3
243
+ },
244
+ "cacheStartStep": {
245
+ "title": "Cache Start Step",
246
+ "description": "Absolute step number to start caching. Must be less than `cacheEndStep`.",
247
+ "type": "integer",
248
+ "minimum": 0
249
+ },
250
+ "cacheStartStepPercentage": {
251
+ "title": "Cache Start Step Percentage",
252
+ "description": "Percentage of steps to start caching. Alternative to `cacheStartStep`. Must be less than `cacheEndStepPercentage`.",
253
+ "type": "integer",
254
+ "minimum": 0,
255
+ "maximum": 99
256
+ },
257
+ "fbCache": {
258
+ "title": "FB Cache",
259
+ "description": "First Block Cache (FBCache) acceleration. Reuses feature block computations across steps.",
260
+ "type": "boolean",
261
+ "default": false
262
+ },
263
+ "fbCacheThreshold": {
264
+ "title": "FB Cache Threshold",
265
+ "description": "Controls the sensitivity threshold for determining when to reuse cached computations. Lower values reuse more aggressively.",
266
+ "type": "number",
267
+ "multipleOf": 0.01,
268
+ "minimum": 0,
269
+ "maximum": 1,
270
+ "default": 0.25
271
+ },
272
+ "teaCache": {
273
+ "title": "TeaCache",
274
+ "description": "TeaCache acceleration for transformer-based models. Estimates step differences to skip redundant computations.",
275
+ "type": "boolean",
276
+ "default": false
277
+ },
278
+ "teaCacheDistance": {
279
+ "title": "TeaCache Distance",
280
+ "description": "Controls the aggressiveness of the TeaCache feature. Lower values prioritize quality, higher values prioritize speed.",
281
+ "type": "number",
282
+ "multipleOf": 0.01,
283
+ "minimum": 0,
284
+ "maximum": 1,
285
+ "default": 0.5
286
+ },
287
+ "dbCache": {
288
+ "title": "DB Cache",
289
+ "description": "DB Cache (CacheDiT) acceleration. Caches and reuses intermediate transformer block outputs to skip redundant computations.",
290
+ "type": "boolean",
291
+ "default": false
292
+ },
293
+ "dbCacheThreshold": {
294
+ "title": "DB Cache Threshold",
295
+ "description": "Controls the sensitivity threshold for DB Cache. Lower values reuse cached blocks more aggressively, higher values prioritize quality.",
296
+ "type": "number",
297
+ "multipleOf": 0.01,
298
+ "minimum": 0,
299
+ "maximum": 1,
300
+ "default": 0.25
301
+ },
302
+ "dbCacheSkipInterval": {
303
+ "title": "DB Cache Skip Interval",
304
+ "description": "Controls how many steps to skip between cache refreshes. Higher values skip more steps for faster generation at the cost of quality.",
305
+ "type": "integer",
306
+ "minimum": 1,
307
+ "default": 5
308
+ }
309
+ },
310
+ "allOf": [
311
+ {
312
+ "not": {
313
+ "required": [
314
+ "cacheStartStep",
315
+ "cacheStartStepPercentage"
316
+ ]
317
+ }
318
+ },
319
+ {
320
+ "not": {
321
+ "required": [
322
+ "cacheEndStep",
323
+ "cacheEndStepPercentage"
324
+ ]
325
+ }
326
+ }
327
+ ],
328
+ "additionalProperties": false
329
+ },
330
+ "outpaint": {
331
+ "title": "Outpaint",
332
+ "description": "Extends image boundaries in specified directions. Final width/height must account for original image plus extensions.",
333
+ "type": "object",
334
+ "properties": {
335
+ "bottom": {
336
+ "title": "Outpaint Bottom",
337
+ "description": "Number of pixels to extend to the bottom.",
338
+ "type": "integer",
339
+ "minimum": 0
340
+ },
341
+ "left": {
342
+ "title": "Outpaint Left",
343
+ "description": "Number of pixels to extend to the left.",
344
+ "type": "integer",
345
+ "minimum": 0
346
+ },
347
+ "right": {
348
+ "title": "Outpaint Right",
349
+ "description": "Number of pixels to extend to the right.",
350
+ "type": "integer",
351
+ "minimum": 0
352
+ },
353
+ "top": {
354
+ "title": "Outpaint Top",
355
+ "description": "Number of pixels to extend to the top.",
356
+ "type": "integer",
357
+ "minimum": 0
358
+ }
359
+ },
360
+ "additionalProperties": false
361
+ },
362
+ "lora": {
363
+ "title": "LoRA",
364
+ "description": "Configuration for Low-Rank Adaptation models.",
365
+ "type": "array",
366
+ "minItems": 1,
367
+ "items": {
368
+ "type": "object",
369
+ "properties": {
370
+ "model": {
371
+ "title": "LoRA Model",
372
+ "description": "LoRA model identifier.",
373
+ "type": "string",
374
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
375
+ },
376
+ "weight": {
377
+ "title": "LoRA Weight",
378
+ "description": "Strength of the LoRA influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the LoRA's style.",
379
+ "type": "number",
380
+ "multipleOf": 0.01,
381
+ "minimum": -4,
382
+ "maximum": 4,
383
+ "default": 1
384
+ },
385
+ "transformer": {
386
+ "title": "LoRA Transformer",
387
+ "description": "Transformer stages to apply LoRA. Some video models use separate high-noise and low-noise processing stages, and LoRAs can be selectively applied to optimize their effectiveness.",
388
+ "type": "string",
389
+ "oneOf": [
390
+ {
391
+ "const": "high",
392
+ "title": "High",
393
+ "description": "Apply LoRA only to the high-noise processing stage (coarse structure and early generation steps)."
394
+ },
395
+ {
396
+ "const": "low",
397
+ "title": "Low",
398
+ "description": "Apply LoRA only to the low-noise processing stage (fine details and later generation steps)."
399
+ },
400
+ {
401
+ "const": "both",
402
+ "title": "Both",
403
+ "description": "Apply LoRA to both stages for full coverage."
404
+ }
405
+ ],
406
+ "default": "both"
407
+ }
408
+ },
409
+ "required": [
410
+ "model"
411
+ ],
412
+ "additionalProperties": false
413
+ }
414
+ },
415
+ "controlNet": {
416
+ "title": "ControlNet",
417
+ "description": "Configuration for identifying and applying ControlNet models.",
418
+ "type": "array",
419
+ "minItems": 1,
420
+ "items": {
421
+ "type": "object",
422
+ "properties": {
423
+ "model": {
424
+ "title": "ControlNet Model",
425
+ "description": "ControlNet model identifier.",
426
+ "type": "string",
427
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
428
+ },
429
+ "weight": {
430
+ "title": "ControlNet Weight",
431
+ "description": "Strength of the ControlNet influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the guide image.",
432
+ "type": "number",
433
+ "multipleOf": 0.01,
434
+ "minimum": -4,
435
+ "maximum": 4,
436
+ "default": 1
437
+ },
438
+ "guideImage": {
439
+ "title": "Guide Image",
440
+ "description": "Reference image for ControlNet guidance (UUID, URL, Data URI, or Base64).",
441
+ "type": "string",
442
+ "anyOf": [
443
+ {
444
+ "format": "uuid"
445
+ },
446
+ {
447
+ "format": "uri"
448
+ },
449
+ {
450
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
451
+ },
452
+ {
453
+ "pattern": "^[a-zA-Z0-9+/=]+$"
454
+ }
455
+ ]
456
+ },
457
+ "controlMode": {
458
+ "title": "Control Mode",
459
+ "description": "ControlNet guidance mode.",
460
+ "type": "string",
461
+ "default": "balanced",
462
+ "oneOf": [
463
+ {
464
+ "const": "balanced",
465
+ "description": "Equal weight between ControlNet and prompt."
466
+ },
467
+ {
468
+ "const": "controlnet",
469
+ "description": "Prioritize ControlNet guidance."
470
+ },
471
+ {
472
+ "const": "prompt",
473
+ "description": "Prioritize prompt guidance."
474
+ }
475
+ ]
476
+ },
477
+ "endStep": {
478
+ "title": "ControlNet End Step",
479
+ "description": "Absolute step number to end ControlNet influence. Must be greater than `startStep` and less than or equal to `steps`.",
480
+ "type": "integer",
481
+ "minimum": 1
482
+ },
483
+ "endStepPercentage": {
484
+ "title": "End Step Percentage",
485
+ "description": "Percentage of steps to end ControlNet influence. Must be greater than `startStepPercentage`.",
486
+ "type": "integer",
487
+ "minimum": 1,
488
+ "maximum": 100
489
+ },
490
+ "startStep": {
491
+ "title": "Start Step",
492
+ "description": "Absolute step number to start ControlNet influence. Must be less than `endStep`.",
493
+ "type": "integer",
494
+ "minimum": 0
495
+ },
496
+ "startStepPercentage": {
497
+ "title": "Start Step Percentage",
498
+ "description": "Percentage of steps to start ControlNet influence. Must be less than `endStepPercentage`.",
499
+ "type": "integer",
500
+ "minimum": 0,
501
+ "maximum": 99
502
+ }
503
+ },
504
+ "required": [
505
+ "model",
506
+ "guideImage"
507
+ ],
508
+ "allOf": [
509
+ {
510
+ "not": {
511
+ "required": [
512
+ "startStep",
513
+ "startStepPercentage"
514
+ ]
515
+ }
516
+ },
517
+ {
518
+ "not": {
519
+ "required": [
520
+ "endStep",
521
+ "endStepPercentage"
522
+ ]
523
+ }
524
+ }
525
+ ],
526
+ "additionalProperties": false
527
+ }
528
+ },
529
+ "ipAdapters": {
530
+ "title": "IP Adapters",
531
+ "description": "Configuration for IP-Adapter image-prompted generation.",
532
+ "type": "array",
533
+ "minItems": 1,
534
+ "items": {
535
+ "type": "object",
536
+ "properties": {
537
+ "model": {
538
+ "title": "IP-Adapter Model",
539
+ "description": "IP-Adapter model identifier.",
540
+ "type": "string",
541
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
542
+ },
543
+ "weight": {
544
+ "title": "IP-Adapter Weight",
545
+ "description": "Strength of the IP-Adapter influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the reference.",
546
+ "type": "number",
547
+ "multipleOf": 0.01,
548
+ "minimum": -4,
549
+ "maximum": 4,
550
+ "default": 1
551
+ },
552
+ "guideImages": {
553
+ "title": "Guide Images",
554
+ "description": "Images to guide the IP-Adapter (UUID, URL, Data URI, or Base64).",
555
+ "type": "array",
556
+ "minItems": 1,
557
+ "items": {
558
+ "title": "Image",
559
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
560
+ "type": "string",
561
+ "anyOf": [
562
+ {
563
+ "format": "uuid"
564
+ },
565
+ {
566
+ "format": "uri"
567
+ },
568
+ {
569
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
570
+ },
571
+ {
572
+ "pattern": "^[a-zA-Z0-9+/=]+$"
573
+ }
574
+ ]
575
+ }
576
+ },
577
+ "combineMethod": {
578
+ "title": "Combine Method",
579
+ "description": "Controls how multiple reference images are combined.",
580
+ "type": "string",
581
+ "enum": [
582
+ "concat",
583
+ "add",
584
+ "subtract",
585
+ "average",
586
+ "norm_average"
587
+ ],
588
+ "default": "concat"
589
+ },
590
+ "embedScaling": {
591
+ "title": "Embed Scaling",
592
+ "description": "Determines which embedding components are used and their strength.",
593
+ "type": "string",
594
+ "enum": [
595
+ "only_v",
596
+ "kv",
597
+ "kv_penalty_c",
598
+ "k_mean_v_penalty_c"
599
+ ],
600
+ "default": "kv"
601
+ },
602
+ "weightType": {
603
+ "title": "Weight Type",
604
+ "description": "Shapes how influence evolves during generation.",
605
+ "type": "string",
606
+ "enum": [
607
+ "normal",
608
+ "ease_in",
609
+ "ease_out",
610
+ "ease_in_out",
611
+ "weak_input",
612
+ "weak_output",
613
+ "weak_middle",
614
+ "strong_middle",
615
+ "style_transfer",
616
+ "composition",
617
+ "strong_style_transfer",
618
+ "style_and_composition",
619
+ "strong_style_and_composition"
620
+ ],
621
+ "default": "normal"
622
+ },
623
+ "weightComposition": {
624
+ "title": "Weight Composition",
625
+ "description": "Controls composition/layout influence specifically.",
626
+ "type": "number",
627
+ "multipleOf": 0.01,
628
+ "minimum": 0,
629
+ "maximum": 1
630
+ }
631
+ },
632
+ "required": [
633
+ "model",
634
+ "guideImages"
635
+ ],
636
+ "additionalProperties": false
637
+ }
638
+ },
639
+ "acePlusPlus": {
640
+ "title": "ACE++",
641
+ "description": "Advanced framework for character-consistent image generation and editing.",
642
+ "type": "object",
643
+ "properties": {
644
+ "images": {
645
+ "title": "Images",
646
+ "description": "Reference images for character identity preservation (UUID, URL, Data URI, or Base64).",
647
+ "type": "array",
648
+ "minItems": 1,
649
+ "maxItems": 1,
650
+ "items": {
651
+ "title": "Image",
652
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
653
+ "type": "string",
654
+ "anyOf": [
655
+ {
656
+ "format": "uuid"
657
+ },
658
+ {
659
+ "format": "uri"
660
+ },
661
+ {
662
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
663
+ },
664
+ {
665
+ "pattern": "^[a-zA-Z0-9+/=]+$"
666
+ }
667
+ ]
668
+ }
669
+ },
670
+ "masks": {
671
+ "title": "Masks",
672
+ "description": "Mask images for selective editing (UUID, URL, Data URI, or Base64).",
673
+ "type": "array",
674
+ "minItems": 1,
675
+ "maxItems": 1,
676
+ "items": {
677
+ "title": "Image",
678
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
679
+ "type": "string",
680
+ "anyOf": [
681
+ {
682
+ "format": "uuid"
683
+ },
684
+ {
685
+ "format": "uri"
686
+ },
687
+ {
688
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
689
+ },
690
+ {
691
+ "pattern": "^[a-zA-Z0-9+/=]+$"
692
+ }
693
+ ]
694
+ }
695
+ },
696
+ "repaintingScale": {
697
+ "title": "Repainting Scale",
698
+ "description": "Balances original character identity (0.0) vs prompt adherence (1.0). Lower values preserve stronger character resemblance.",
699
+ "type": "number",
700
+ "multipleOf": 0.01,
701
+ "minimum": 0,
702
+ "maximum": 1,
703
+ "default": 0
704
+ },
705
+ "type": {
706
+ "title": "ACE++ Type",
707
+ "description": "Task mode for ACE++ generation.",
708
+ "type": "string",
709
+ "default": "portrait",
710
+ "oneOf": [
711
+ {
712
+ "const": "portrait",
713
+ "description": "Face consistency."
714
+ },
715
+ {
716
+ "const": "subject",
717
+ "description": "Object consistency."
718
+ },
719
+ {
720
+ "const": "local_editing",
721
+ "description": "Region modification."
722
+ }
723
+ ]
724
+ }
725
+ },
726
+ "required": [
727
+ "images"
728
+ ],
729
+ "if": {
730
+ "properties": {
731
+ "type": {
732
+ "const": "local_editing"
733
+ }
734
+ }
735
+ },
736
+ "then": {
737
+ "required": [
738
+ "masks"
739
+ ]
740
+ },
741
+ "else": {
742
+ "properties": {
743
+ "masks": false
744
+ }
745
+ },
746
+ "additionalProperties": false
747
+ },
748
+ "hiresFix": {
749
+ "title": "HiresFix",
750
+ "description": "Two-stage generation for improved resolution. Can be enabled with `true` for default settings, or configured as an object for fine-grained control.",
751
+ "oneOf": [
752
+ {
753
+ "type": "boolean",
754
+ "const": true
755
+ },
756
+ {
757
+ "type": "object",
758
+ "properties": {
759
+ "model": {
760
+ "title": "Model",
761
+ "description": "The upscaling model to use for hires fix.",
762
+ "type": "string",
763
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$",
764
+ "enum": [
765
+ "runware:realesrgan@anime-6b",
766
+ "runware:esrgan@animesharp",
767
+ "runware:esrgan@ultrasharp",
768
+ "runware:504@1"
769
+ ]
770
+ },
771
+ "steps": {
772
+ "title": "Steps",
773
+ "description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
774
+ "type": "integer",
775
+ "minimum": 1,
776
+ "maximum": 35,
777
+ "default": 10
778
+ },
779
+ "strength": {
780
+ "title": "Strength",
781
+ "description": "Strength of the transformation. Lower values result in more influence from the original input.",
782
+ "type": "number",
783
+ "multipleOf": 0.01,
784
+ "minimum": 0,
785
+ "maximum": 1,
786
+ "default": 0.8
787
+ },
788
+ "upscaleFactor": {
789
+ "title": "Upscale Factor",
790
+ "description": "Factor by which to upscale the generated image. A value of 2 doubles width and height.",
791
+ "type": "integer",
792
+ "enum": [
793
+ 4
794
+ ],
795
+ "default": 4
796
+ }
797
+ },
798
+ "required": [
799
+ "model"
800
+ ],
801
+ "additionalProperties": false
802
+ }
803
+ ]
804
+ },
805
+ "layerDiffuse": {
806
+ "title": "Layer Diffuse",
807
+ "description": "LayerDiffuse for transparent image generation.",
808
+ "type": "boolean",
809
+ "default": false
810
+ },
811
+ "pulid": {
812
+ "title": "PuLID",
813
+ "description": "Identity customization for character consistency.",
814
+ "type": "object",
815
+ "properties": {
816
+ "CFGstartStep": {
817
+ "title": "CFG Start Step",
818
+ "description": "Absolute step number to start identity influence. Must be less than `steps`.",
819
+ "type": "integer",
820
+ "minimum": 0
821
+ },
822
+ "CFGstartStepPercentage": {
823
+ "title": "CFG Start Step Percentage",
824
+ "description": "Percentage of steps to start identity influence.",
825
+ "type": "integer",
826
+ "minimum": 0,
827
+ "maximum": 99
828
+ },
829
+ "idWeight": {
830
+ "title": "ID Weight",
831
+ "description": "Identity preservation strength. Higher values create closer resemblance to the reference face.",
832
+ "type": "number",
833
+ "multipleOf": 0.01,
834
+ "minimum": 0,
835
+ "maximum": 3,
836
+ "default": 1
837
+ },
838
+ "images": {
839
+ "title": "Images",
840
+ "description": "Reference images for identity customization (UUID, URL, Data URI, or Base64).",
841
+ "type": "array",
842
+ "minItems": 1,
843
+ "maxItems": 1,
844
+ "items": {
845
+ "title": "Image",
846
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
847
+ "type": "string",
848
+ "anyOf": [
849
+ {
850
+ "format": "uuid"
851
+ },
852
+ {
853
+ "format": "uri"
854
+ },
855
+ {
856
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
857
+ },
858
+ {
859
+ "pattern": "^[a-zA-Z0-9+/=]+$"
860
+ }
861
+ ]
862
+ }
863
+ },
864
+ "trueCFGScale": {
865
+ "title": "True CFG Scale",
866
+ "description": "Guidance scale for identity embedding.",
867
+ "type": "number",
868
+ "multipleOf": 0.1,
869
+ "minimum": 0,
870
+ "maximum": 10
871
+ }
872
+ },
873
+ "required": [
874
+ "images"
875
+ ],
876
+ "allOf": [
877
+ {
878
+ "not": {
879
+ "required": [
880
+ "CFGstartStep",
881
+ "CFGstartStepPercentage"
882
+ ]
883
+ }
884
+ }
885
+ ],
886
+ "additionalProperties": false
887
+ },
888
+ "trueCFGScale": {
889
+ "title": "True CFG Scale",
890
+ "description": "True Classifier-Free Guidance scale. Higher values increase prompt adherence at the cost of quality.",
891
+ "type": "number"
892
+ },
893
+ "ultralytics": {
894
+ "title": "Ultralytics Features",
895
+ "description": "Configuration for Ultralytics face enhancement.",
896
+ "type": "object",
897
+ "properties": {
898
+ "CFGScale": {
899
+ "title": "CFG Scale",
900
+ "description": "Face refinement guidance scale.",
901
+ "type": "number",
902
+ "multipleOf": 0.1,
903
+ "minimum": 0,
904
+ "maximum": 50,
905
+ "default": 8
906
+ },
907
+ "confidence": {
908
+ "title": "Confidence",
909
+ "description": "Confidence threshold for detection.",
910
+ "type": "number",
911
+ "multipleOf": 0.01,
912
+ "minimum": 0,
913
+ "maximum": 1,
914
+ "default": 0.9
915
+ },
916
+ "maskBlur": {
917
+ "title": "Mask Blur",
918
+ "description": "Mask feathering amount. Higher values create softer transitions between the enhanced face region and surrounding areas.",
919
+ "type": "integer",
920
+ "minimum": 0,
921
+ "maximum": 100,
922
+ "default": 5
923
+ },
924
+ "maskPadding": {
925
+ "title": "Mask Padding",
926
+ "description": "Padding around detected face in pixels. Expands the refinement area to include surrounding context like hair and neck.",
927
+ "type": "integer",
928
+ "minimum": 0,
929
+ "maximum": 20,
930
+ "default": 5
931
+ },
932
+ "negativePrompt": {
933
+ "title": "Negative Prompt",
934
+ "description": "Negative prompt for detection.",
935
+ "type": "string"
936
+ },
937
+ "positivePrompt": {
938
+ "title": "Positive Prompt",
939
+ "description": "Positive prompt for detection.",
940
+ "type": "string"
941
+ },
942
+ "steps": {
943
+ "title": "Steps",
944
+ "description": "Number of face refinement steps.",
945
+ "type": "integer",
946
+ "minimum": 1,
947
+ "maximum": 100,
948
+ "default": 20
949
+ },
950
+ "strength": {
951
+ "title": "Strength",
952
+ "description": "Refinement strength. Lower values preserve more of the original, higher values allow more aggressive reconstruction.",
953
+ "type": "number",
954
+ "multipleOf": 0.01,
955
+ "minimum": 0,
956
+ "maximum": 1,
957
+ "default": 0.3
958
+ }
959
+ },
960
+ "additionalProperties": false
961
+ },
962
+ "taskType": {
963
+ "title": "Task Type",
964
+ "description": "Identifier for the type of task being performed",
965
+ "type": "string",
966
+ "const": "imageInference"
967
+ },
968
+ "taskUUID": {
969
+ "title": "Task UUID",
970
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
971
+ "type": "string",
972
+ "format": "uuid"
973
+ },
974
+ "webhookURL": {
975
+ "title": "Webhook URL",
976
+ "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.",
977
+ "type": "string",
978
+ "format": "uri"
979
+ },
980
+ "includeCost": {
981
+ "title": "Include Cost",
982
+ "description": "Include task cost in the response.",
983
+ "type": "boolean",
984
+ "default": false
985
+ },
986
+ "numberResults": {
987
+ "title": "Number of Results",
988
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
989
+ "type": "integer",
990
+ "minimum": 1,
991
+ "default": 1,
992
+ "maximum": 20
993
+ },
994
+ "uploadEndpoint": {
995
+ "title": "Upload Endpoint",
996
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
997
+ "type": "string",
998
+ "format": "uri"
999
+ },
1000
+ "ttl": {
1001
+ "title": "TTL",
1002
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
1003
+ "type": "integer",
1004
+ "minimum": 60
1005
+ },
1006
+ "outputType": {
1007
+ "title": "Output Type",
1008
+ "description": "Image output type.",
1009
+ "type": "string",
1010
+ "enum": [
1011
+ "URL",
1012
+ "base64Data",
1013
+ "dataURI"
1014
+ ],
1015
+ "default": "URL"
1016
+ },
1017
+ "outputFormat": {
1018
+ "title": "Output Format",
1019
+ "description": "File format for the generated image.",
1020
+ "type": "string",
1021
+ "enum": [
1022
+ "JPG",
1023
+ "PNG",
1024
+ "WEBP"
1025
+ ],
1026
+ "default": "JPG"
1027
+ },
1028
+ "outputQuality": {
1029
+ "title": "Output Quality",
1030
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
1031
+ "type": "integer",
1032
+ "minimum": 20,
1033
+ "maximum": 99,
1034
+ "default": 95
1035
+ },
1036
+ "deliveryMethod": {
1037
+ "title": "Delivery Method",
1038
+ "description": "Determines how the API delivers task results.",
1039
+ "type": "string",
1040
+ "oneOf": [
1041
+ {
1042
+ "const": "sync",
1043
+ "description": "Returns complete results directly in the API response."
1044
+ },
1045
+ {
1046
+ "const": "async",
1047
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
1048
+ }
1049
+ ],
1050
+ "default": "sync"
1051
+ },
1052
+ "safety": {
1053
+ "type": "object",
1054
+ "title": "Safety Settings",
1055
+ "description": "Content safety checking configuration for image generation.",
1056
+ "properties": {
1057
+ "checkContent": {
1058
+ "title": "Check Content",
1059
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
1060
+ "type": "boolean",
1061
+ "default": false
1062
+ },
1063
+ "mode": {
1064
+ "description": "Safety checking mode for image generation.",
1065
+ "type": "string",
1066
+ "oneOf": [
1067
+ {
1068
+ "const": "none",
1069
+ "title": "None",
1070
+ "description": "Disables checking."
1071
+ },
1072
+ {
1073
+ "const": "fast",
1074
+ "title": "Fast",
1075
+ "description": "Performs a single check."
1076
+ }
1077
+ ],
1078
+ "default": "none"
1079
+ }
1080
+ },
1081
+ "additionalProperties": false
1082
+ }
1083
+ },
1084
+ "required": [
1085
+ "positivePrompt",
1086
+ "width",
1087
+ "height",
1088
+ "taskType",
1089
+ "taskUUID",
1090
+ "model"
1091
+ ],
1092
+ "allOf": [
1093
+ {
1094
+ "dependentRequired": {
1095
+ "width": [
1096
+ "height"
1097
+ ],
1098
+ "height": [
1099
+ "width"
1100
+ ]
1101
+ }
1102
+ }
1103
+ ],
1104
+ "additionalProperties": false
1105
+ },
1106
+ {
1107
+ "type": "object",
1108
+ "properties": {
1109
+ "model": {
1110
+ "title": "Model",
1111
+ "description": "Identifier of the model to use for generation.",
1112
+ "type": "string",
1113
+ "const": "rundiffusion:110@101"
1114
+ },
1115
+ "inputs": {
1116
+ "title": "Inputs",
1117
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
1118
+ "type": "object",
1119
+ "properties": {
1120
+ "seedImage": {
1121
+ "title": "Seed Image",
1122
+ "description": "Image used as a starting point for the generation (UUID, URL, Data URI, or Base64).",
1123
+ "type": "string",
1124
+ "anyOf": [
1125
+ {
1126
+ "format": "uuid"
1127
+ },
1128
+ {
1129
+ "format": "uri"
1130
+ },
1131
+ {
1132
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
1133
+ },
1134
+ {
1135
+ "pattern": "^[a-zA-Z0-9+/=]+$"
1136
+ }
1137
+ ]
1138
+ },
1139
+ "maskImage": {
1140
+ "title": "Mask Image",
1141
+ "description": "Image used to specify which areas of the seed image should be edited (UUID, URL, Data URI, or Base64).",
1142
+ "type": "string",
1143
+ "anyOf": [
1144
+ {
1145
+ "format": "uuid"
1146
+ },
1147
+ {
1148
+ "format": "uri"
1149
+ },
1150
+ {
1151
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
1152
+ },
1153
+ {
1154
+ "pattern": "^[a-zA-Z0-9+/=]+$"
1155
+ }
1156
+ ]
1157
+ }
1158
+ },
1159
+ "additionalProperties": false
1160
+ },
1161
+ "positivePrompt": {
1162
+ "title": "Positive Prompt",
1163
+ "description": "Text prompt describing elements to include in the generated output.",
1164
+ "type": "string",
1165
+ "minLength": 2,
1166
+ "maxLength": 3000
1167
+ },
1168
+ "negativePrompt": {
1169
+ "title": "Negative Prompt",
1170
+ "description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
1171
+ "type": "string",
1172
+ "minLength": 2,
1173
+ "maxLength": 3000
1174
+ },
1175
+ "width": {
1176
+ "title": "Width",
1177
+ "description": "Width of the generated media in pixels.",
1178
+ "type": "integer",
1179
+ "minimum": 128,
1180
+ "maximum": 2048,
1181
+ "multipleOf": 16
1182
+ },
1183
+ "height": {
1184
+ "title": "Height",
1185
+ "description": "Height of the generated media in pixels.",
1186
+ "type": "integer",
1187
+ "minimum": 128,
1188
+ "maximum": 2048,
1189
+ "multipleOf": 16
1190
+ },
1191
+ "seed": {
1192
+ "title": "Seed",
1193
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
1194
+ "type": "integer",
1195
+ "minimum": 0,
1196
+ "maximum": 9223372036854776000
1197
+ },
1198
+ "steps": {
1199
+ "title": "Steps",
1200
+ "description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
1201
+ "type": "integer",
1202
+ "minimum": 1,
1203
+ "maximum": 50
1204
+ },
1205
+ "scheduler": {
1206
+ "title": "Scheduler",
1207
+ "description": "Scheduler to use for the diffusion process.",
1208
+ "type": "string",
1209
+ "enum": [
1210
+ "DDIM",
1211
+ "DDIMScheduler",
1212
+ "DDPMScheduler",
1213
+ "DEISMultistepScheduler",
1214
+ "Default",
1215
+ "DPM++",
1216
+ "DPM++ 2M",
1217
+ "DPM++ 2M Beta",
1218
+ "DPM++ 2M Exponential",
1219
+ "DPM++ 2M Karras",
1220
+ "DPM++ 2M SDE",
1221
+ "DPM++ 2M SDE Beta",
1222
+ "DPM++ 2M SDE Exponential",
1223
+ "DPM++ 2M SDE Karras",
1224
+ "DPM++ 2M SDE Uniform",
1225
+ "DPM++ 2M Uniform",
1226
+ "DPM++ 3M",
1227
+ "DPM++ 3M Beta",
1228
+ "DPM++ 3M Exponential",
1229
+ "DPM++ 3M Karras",
1230
+ "DPM++ 3M SDE Uniform",
1231
+ "DPM++ 3M Uniform",
1232
+ "DPM++ Beta",
1233
+ "DPM++ Exponential",
1234
+ "DPM++ Karras",
1235
+ "DPM++ SDE",
1236
+ "DPM++ SDE Beta",
1237
+ "DPM++ SDE Exponential",
1238
+ "DPM++ SDE Karras",
1239
+ "DPM++ Uniform",
1240
+ "DPM++ Uniform Beta",
1241
+ "DPM++ Uniform Exponential",
1242
+ "DPM++ Uniform Karras",
1243
+ "DPMSolverMultistepInverse",
1244
+ "DPMSolverMultistepScheduler",
1245
+ "DPMSolverSinglestepScheduler",
1246
+ "EDMDPMSolverMultistepScheduler",
1247
+ "EDMEulerScheduler",
1248
+ "Euler",
1249
+ "Euler a",
1250
+ "Euler Beta",
1251
+ "Euler DiscreteScheduler",
1252
+ "Euler Exponential",
1253
+ "Euler Karras",
1254
+ "EulerAncestralDiscreteScheduler",
1255
+ "FlowMatchEulerDiscreteScheduler",
1256
+ "Heun",
1257
+ "HeunDiscreteScheduler",
1258
+ "Heun Karras",
1259
+ "IPNDMScheduler",
1260
+ "IPNDM Uniform",
1261
+ "IPNDM Uniform Beta",
1262
+ "IPNDM Uniform Exponential",
1263
+ "IPNDM Uniform Karras",
1264
+ "KDPM2AncestralDiscreteScheduler",
1265
+ "KDPM2DiscreteScheduler",
1266
+ "LCM",
1267
+ "LCMScheduler",
1268
+ "LMS",
1269
+ "LMSDiscreteScheduler",
1270
+ "LMS Karras",
1271
+ "PNDMScheduler",
1272
+ "TCDScheduler",
1273
+ "UniPC",
1274
+ "UniPC 2M",
1275
+ "UniPC 2M Karras",
1276
+ "UniPC 2M Uniform",
1277
+ "UniPC 3M",
1278
+ "UniPC 3M Karras",
1279
+ "UniPC 3M Uniform",
1280
+ "UniPC Karras",
1281
+ "UniPC Uniform",
1282
+ "UniPC Uniform Beta",
1283
+ "UniPC Uniform Exponential",
1284
+ "UniPC Uniform Karras"
1285
+ ]
1286
+ },
1287
+ "CFGScale": {
1288
+ "title": "CFG Scale",
1289
+ "description": "Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.",
1290
+ "type": "number",
1291
+ "multipleOf": 0.01,
1292
+ "minimum": 0,
1293
+ "maximum": 20
1294
+ },
1295
+ "strength": {
1296
+ "title": "Strength",
1297
+ "description": "Strength of the transformation. Lower values result in more influence from the original input.",
1298
+ "type": "number",
1299
+ "multipleOf": 0.01,
1300
+ "minimum": 0,
1301
+ "maximum": 1,
1302
+ "default": 0.8
1303
+ },
1304
+ "maskMargin": {
1305
+ "title": "Mask Margin",
1306
+ "description": "Extra context pixels around the masked region during inpainting. The model zooms into the masked area with these additional pixels for better integration.",
1307
+ "type": "integer",
1308
+ "minimum": 32,
1309
+ "maximum": 128
1310
+ },
1311
+ "promptWeighting": {
1312
+ "title": "Prompt Weighting",
1313
+ "description": "Syntax used for prompt weighting.",
1314
+ "type": "string",
1315
+ "enum": [
1316
+ "compel",
1317
+ "sdEmbeds"
1318
+ ]
1319
+ },
1320
+ "acceleratorOptions": {
1321
+ "title": "Accelerator Options",
1322
+ "description": "Advanced caching mechanisms to speed up generation.",
1323
+ "type": "object",
1324
+ "properties": {
1325
+ "cacheEndStep": {
1326
+ "title": "Cache End Step",
1327
+ "description": "Absolute step number to end caching. Must be greater than `cacheStartStep` and less than or equal to `steps`.",
1328
+ "type": "integer",
1329
+ "minimum": 1
1330
+ },
1331
+ "cacheEndStepPercentage": {
1332
+ "title": "Cache End Step Percentage",
1333
+ "description": "Percentage of steps to end caching. Alternative to `cacheEndStep`. Must be greater than `cacheStartStepPercentage`.",
1334
+ "type": "integer",
1335
+ "minimum": 1,
1336
+ "maximum": 100
1337
+ },
1338
+ "cacheMaxConsecutiveSteps": {
1339
+ "title": "Cache Max Consecutive Steps",
1340
+ "description": "Limits the maximum number of consecutive steps that can use cached computations before forcing a fresh computation.",
1341
+ "type": "integer",
1342
+ "minimum": 1,
1343
+ "maximum": 5,
1344
+ "default": 3
1345
+ },
1346
+ "cacheStartStep": {
1347
+ "title": "Cache Start Step",
1348
+ "description": "Absolute step number to start caching. Must be less than `cacheEndStep`.",
1349
+ "type": "integer",
1350
+ "minimum": 0
1351
+ },
1352
+ "cacheStartStepPercentage": {
1353
+ "title": "Cache Start Step Percentage",
1354
+ "description": "Percentage of steps to start caching. Alternative to `cacheStartStep`. Must be less than `cacheEndStepPercentage`.",
1355
+ "type": "integer",
1356
+ "minimum": 0,
1357
+ "maximum": 99
1358
+ },
1359
+ "fbCache": {
1360
+ "title": "FB Cache",
1361
+ "description": "First Block Cache (FBCache) acceleration. Reuses feature block computations across steps.",
1362
+ "type": "boolean",
1363
+ "default": false
1364
+ },
1365
+ "fbCacheThreshold": {
1366
+ "title": "FB Cache Threshold",
1367
+ "description": "Controls the sensitivity threshold for determining when to reuse cached computations. Lower values reuse more aggressively.",
1368
+ "type": "number",
1369
+ "multipleOf": 0.01,
1370
+ "minimum": 0,
1371
+ "maximum": 1,
1372
+ "default": 0.25
1373
+ },
1374
+ "teaCache": {
1375
+ "title": "TeaCache",
1376
+ "description": "TeaCache acceleration for transformer-based models. Estimates step differences to skip redundant computations.",
1377
+ "type": "boolean",
1378
+ "default": false
1379
+ },
1380
+ "teaCacheDistance": {
1381
+ "title": "TeaCache Distance",
1382
+ "description": "Controls the aggressiveness of the TeaCache feature. Lower values prioritize quality, higher values prioritize speed.",
1383
+ "type": "number",
1384
+ "multipleOf": 0.01,
1385
+ "minimum": 0,
1386
+ "maximum": 1,
1387
+ "default": 0.5
1388
+ },
1389
+ "dbCache": {
1390
+ "title": "DB Cache",
1391
+ "description": "DB Cache (CacheDiT) acceleration. Caches and reuses intermediate transformer block outputs to skip redundant computations.",
1392
+ "type": "boolean",
1393
+ "default": false
1394
+ },
1395
+ "dbCacheThreshold": {
1396
+ "title": "DB Cache Threshold",
1397
+ "description": "Controls the sensitivity threshold for DB Cache. Lower values reuse cached blocks more aggressively, higher values prioritize quality.",
1398
+ "type": "number",
1399
+ "multipleOf": 0.01,
1400
+ "minimum": 0,
1401
+ "maximum": 1,
1402
+ "default": 0.25
1403
+ },
1404
+ "dbCacheSkipInterval": {
1405
+ "title": "DB Cache Skip Interval",
1406
+ "description": "Controls how many steps to skip between cache refreshes. Higher values skip more steps for faster generation at the cost of quality.",
1407
+ "type": "integer",
1408
+ "minimum": 1,
1409
+ "default": 5
1410
+ }
1411
+ },
1412
+ "allOf": [
1413
+ {
1414
+ "not": {
1415
+ "required": [
1416
+ "cacheStartStep",
1417
+ "cacheStartStepPercentage"
1418
+ ]
1419
+ }
1420
+ },
1421
+ {
1422
+ "not": {
1423
+ "required": [
1424
+ "cacheEndStep",
1425
+ "cacheEndStepPercentage"
1426
+ ]
1427
+ }
1428
+ }
1429
+ ],
1430
+ "additionalProperties": false
1431
+ },
1432
+ "outpaint": {
1433
+ "title": "Outpaint",
1434
+ "description": "Extends image boundaries in specified directions. Final width/height must account for original image plus extensions.",
1435
+ "type": "object",
1436
+ "properties": {
1437
+ "bottom": {
1438
+ "title": "Outpaint Bottom",
1439
+ "description": "Number of pixels to extend to the bottom.",
1440
+ "type": "integer",
1441
+ "minimum": 0
1442
+ },
1443
+ "left": {
1444
+ "title": "Outpaint Left",
1445
+ "description": "Number of pixels to extend to the left.",
1446
+ "type": "integer",
1447
+ "minimum": 0
1448
+ },
1449
+ "right": {
1450
+ "title": "Outpaint Right",
1451
+ "description": "Number of pixels to extend to the right.",
1452
+ "type": "integer",
1453
+ "minimum": 0
1454
+ },
1455
+ "top": {
1456
+ "title": "Outpaint Top",
1457
+ "description": "Number of pixels to extend to the top.",
1458
+ "type": "integer",
1459
+ "minimum": 0
1460
+ }
1461
+ },
1462
+ "additionalProperties": false
1463
+ },
1464
+ "lora": {
1465
+ "title": "LoRA",
1466
+ "description": "Configuration for Low-Rank Adaptation models.",
1467
+ "type": "array",
1468
+ "minItems": 1,
1469
+ "items": {
1470
+ "type": "object",
1471
+ "properties": {
1472
+ "model": {
1473
+ "title": "LoRA Model",
1474
+ "description": "LoRA model identifier.",
1475
+ "type": "string",
1476
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
1477
+ },
1478
+ "weight": {
1479
+ "title": "LoRA Weight",
1480
+ "description": "Strength of the LoRA influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the LoRA's style.",
1481
+ "type": "number",
1482
+ "multipleOf": 0.01,
1483
+ "minimum": -4,
1484
+ "maximum": 4,
1485
+ "default": 1
1486
+ },
1487
+ "transformer": {
1488
+ "title": "LoRA Transformer",
1489
+ "description": "Transformer stages to apply LoRA. Some video models use separate high-noise and low-noise processing stages, and LoRAs can be selectively applied to optimize their effectiveness.",
1490
+ "type": "string",
1491
+ "oneOf": [
1492
+ {
1493
+ "const": "high",
1494
+ "title": "High",
1495
+ "description": "Apply LoRA only to the high-noise processing stage (coarse structure and early generation steps)."
1496
+ },
1497
+ {
1498
+ "const": "low",
1499
+ "title": "Low",
1500
+ "description": "Apply LoRA only to the low-noise processing stage (fine details and later generation steps)."
1501
+ },
1502
+ {
1503
+ "const": "both",
1504
+ "title": "Both",
1505
+ "description": "Apply LoRA to both stages for full coverage."
1506
+ }
1507
+ ],
1508
+ "default": "both"
1509
+ }
1510
+ },
1511
+ "required": [
1512
+ "model"
1513
+ ],
1514
+ "additionalProperties": false
1515
+ }
1516
+ },
1517
+ "controlNet": {
1518
+ "title": "ControlNet",
1519
+ "description": "Configuration for identifying and applying ControlNet models.",
1520
+ "type": "array",
1521
+ "minItems": 1,
1522
+ "items": {
1523
+ "type": "object",
1524
+ "properties": {
1525
+ "model": {
1526
+ "title": "ControlNet Model",
1527
+ "description": "ControlNet model identifier.",
1528
+ "type": "string",
1529
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
1530
+ },
1531
+ "weight": {
1532
+ "title": "ControlNet Weight",
1533
+ "description": "Strength of the ControlNet influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the guide image.",
1534
+ "type": "number",
1535
+ "multipleOf": 0.01,
1536
+ "minimum": -4,
1537
+ "maximum": 4,
1538
+ "default": 1
1539
+ },
1540
+ "guideImage": {
1541
+ "title": "Guide Image",
1542
+ "description": "Reference image for ControlNet guidance (UUID, URL, Data URI, or Base64).",
1543
+ "type": "string",
1544
+ "anyOf": [
1545
+ {
1546
+ "format": "uuid"
1547
+ },
1548
+ {
1549
+ "format": "uri"
1550
+ },
1551
+ {
1552
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
1553
+ },
1554
+ {
1555
+ "pattern": "^[a-zA-Z0-9+/=]+$"
1556
+ }
1557
+ ]
1558
+ },
1559
+ "controlMode": {
1560
+ "title": "Control Mode",
1561
+ "description": "ControlNet guidance mode.",
1562
+ "type": "string",
1563
+ "default": "balanced",
1564
+ "oneOf": [
1565
+ {
1566
+ "const": "balanced",
1567
+ "description": "Equal weight between ControlNet and prompt."
1568
+ },
1569
+ {
1570
+ "const": "controlnet",
1571
+ "description": "Prioritize ControlNet guidance."
1572
+ },
1573
+ {
1574
+ "const": "prompt",
1575
+ "description": "Prioritize prompt guidance."
1576
+ }
1577
+ ]
1578
+ },
1579
+ "endStep": {
1580
+ "title": "ControlNet End Step",
1581
+ "description": "Absolute step number to end ControlNet influence. Must be greater than `startStep` and less than or equal to `steps`.",
1582
+ "type": "integer",
1583
+ "minimum": 1
1584
+ },
1585
+ "endStepPercentage": {
1586
+ "title": "End Step Percentage",
1587
+ "description": "Percentage of steps to end ControlNet influence. Must be greater than `startStepPercentage`.",
1588
+ "type": "integer",
1589
+ "minimum": 1,
1590
+ "maximum": 100
1591
+ },
1592
+ "startStep": {
1593
+ "title": "Start Step",
1594
+ "description": "Absolute step number to start ControlNet influence. Must be less than `endStep`.",
1595
+ "type": "integer",
1596
+ "minimum": 0
1597
+ },
1598
+ "startStepPercentage": {
1599
+ "title": "Start Step Percentage",
1600
+ "description": "Percentage of steps to start ControlNet influence. Must be less than `endStepPercentage`.",
1601
+ "type": "integer",
1602
+ "minimum": 0,
1603
+ "maximum": 99
1604
+ }
1605
+ },
1606
+ "required": [
1607
+ "model",
1608
+ "guideImage"
1609
+ ],
1610
+ "allOf": [
1611
+ {
1612
+ "not": {
1613
+ "required": [
1614
+ "startStep",
1615
+ "startStepPercentage"
1616
+ ]
1617
+ }
1618
+ },
1619
+ {
1620
+ "not": {
1621
+ "required": [
1622
+ "endStep",
1623
+ "endStepPercentage"
1624
+ ]
1625
+ }
1626
+ }
1627
+ ],
1628
+ "additionalProperties": false
1629
+ }
1630
+ },
1631
+ "ipAdapters": {
1632
+ "title": "IP Adapters",
1633
+ "description": "Configuration for IP-Adapter image-prompted generation.",
1634
+ "type": "array",
1635
+ "minItems": 1,
1636
+ "items": {
1637
+ "type": "object",
1638
+ "properties": {
1639
+ "model": {
1640
+ "title": "IP-Adapter Model",
1641
+ "description": "IP-Adapter model identifier.",
1642
+ "type": "string",
1643
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
1644
+ },
1645
+ "weight": {
1646
+ "title": "IP-Adapter Weight",
1647
+ "description": "Strength of the IP-Adapter influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the reference.",
1648
+ "type": "number",
1649
+ "multipleOf": 0.01,
1650
+ "minimum": -4,
1651
+ "maximum": 4,
1652
+ "default": 1
1653
+ },
1654
+ "guideImages": {
1655
+ "title": "Guide Images",
1656
+ "description": "Images to guide the IP-Adapter (UUID, URL, Data URI, or Base64).",
1657
+ "type": "array",
1658
+ "minItems": 1,
1659
+ "items": {
1660
+ "title": "Image",
1661
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
1662
+ "type": "string",
1663
+ "anyOf": [
1664
+ {
1665
+ "format": "uuid"
1666
+ },
1667
+ {
1668
+ "format": "uri"
1669
+ },
1670
+ {
1671
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
1672
+ },
1673
+ {
1674
+ "pattern": "^[a-zA-Z0-9+/=]+$"
1675
+ }
1676
+ ]
1677
+ }
1678
+ },
1679
+ "combineMethod": {
1680
+ "title": "Combine Method",
1681
+ "description": "Controls how multiple reference images are combined.",
1682
+ "type": "string",
1683
+ "enum": [
1684
+ "concat",
1685
+ "add",
1686
+ "subtract",
1687
+ "average",
1688
+ "norm_average"
1689
+ ],
1690
+ "default": "concat"
1691
+ },
1692
+ "embedScaling": {
1693
+ "title": "Embed Scaling",
1694
+ "description": "Determines which embedding components are used and their strength.",
1695
+ "type": "string",
1696
+ "enum": [
1697
+ "only_v",
1698
+ "kv",
1699
+ "kv_penalty_c",
1700
+ "k_mean_v_penalty_c"
1701
+ ],
1702
+ "default": "kv"
1703
+ },
1704
+ "weightType": {
1705
+ "title": "Weight Type",
1706
+ "description": "Shapes how influence evolves during generation.",
1707
+ "type": "string",
1708
+ "enum": [
1709
+ "normal",
1710
+ "ease_in",
1711
+ "ease_out",
1712
+ "ease_in_out",
1713
+ "weak_input",
1714
+ "weak_output",
1715
+ "weak_middle",
1716
+ "strong_middle",
1717
+ "style_transfer",
1718
+ "composition",
1719
+ "strong_style_transfer",
1720
+ "style_and_composition",
1721
+ "strong_style_and_composition"
1722
+ ],
1723
+ "default": "normal"
1724
+ },
1725
+ "weightComposition": {
1726
+ "title": "Weight Composition",
1727
+ "description": "Controls composition/layout influence specifically.",
1728
+ "type": "number",
1729
+ "multipleOf": 0.01,
1730
+ "minimum": 0,
1731
+ "maximum": 1
1732
+ }
1733
+ },
1734
+ "required": [
1735
+ "model",
1736
+ "guideImages"
1737
+ ],
1738
+ "additionalProperties": false
1739
+ }
1740
+ },
1741
+ "hiresFix": {
1742
+ "title": "HiresFix",
1743
+ "description": "Two-stage generation for improved resolution. Can be enabled with `true` for default settings, or configured as an object for fine-grained control.",
1744
+ "oneOf": [
1745
+ {
1746
+ "type": "boolean",
1747
+ "const": true
1748
+ },
1749
+ {
1750
+ "type": "object",
1751
+ "properties": {
1752
+ "model": {
1753
+ "title": "Model",
1754
+ "description": "The upscaling model to use for hires fix.",
1755
+ "type": "string",
1756
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$",
1757
+ "enum": [
1758
+ "runware:realesrgan@anime-6b",
1759
+ "runware:esrgan@animesharp",
1760
+ "runware:esrgan@ultrasharp",
1761
+ "runware:504@1"
1762
+ ]
1763
+ },
1764
+ "steps": {
1765
+ "title": "Steps",
1766
+ "description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
1767
+ "type": "integer",
1768
+ "minimum": 1,
1769
+ "maximum": 35,
1770
+ "default": 10
1771
+ },
1772
+ "strength": {
1773
+ "title": "Strength",
1774
+ "description": "Strength of the transformation. Lower values result in more influence from the original input.",
1775
+ "type": "number",
1776
+ "multipleOf": 0.01,
1777
+ "minimum": 0,
1778
+ "maximum": 1,
1779
+ "default": 0.8
1780
+ },
1781
+ "upscaleFactor": {
1782
+ "title": "Upscale Factor",
1783
+ "description": "Factor by which to upscale the generated image. A value of 2 doubles width and height.",
1784
+ "type": "integer",
1785
+ "enum": [
1786
+ 4
1787
+ ],
1788
+ "default": 4
1789
+ }
1790
+ },
1791
+ "required": [
1792
+ "model"
1793
+ ],
1794
+ "additionalProperties": false
1795
+ }
1796
+ ]
1797
+ },
1798
+ "trueCFGScale": {
1799
+ "title": "True CFG Scale",
1800
+ "description": "True Classifier-Free Guidance scale. Higher values increase prompt adherence at the cost of quality.",
1801
+ "type": "number"
1802
+ },
1803
+ "ultralytics": {
1804
+ "title": "Ultralytics Features",
1805
+ "description": "Configuration for Ultralytics face enhancement.",
1806
+ "type": "object",
1807
+ "properties": {
1808
+ "CFGScale": {
1809
+ "title": "CFG Scale",
1810
+ "description": "Face refinement guidance scale.",
1811
+ "type": "number",
1812
+ "multipleOf": 0.1,
1813
+ "minimum": 0,
1814
+ "maximum": 50,
1815
+ "default": 8
1816
+ },
1817
+ "confidence": {
1818
+ "title": "Confidence",
1819
+ "description": "Confidence threshold for detection.",
1820
+ "type": "number",
1821
+ "multipleOf": 0.01,
1822
+ "minimum": 0,
1823
+ "maximum": 1,
1824
+ "default": 0.9
1825
+ },
1826
+ "maskBlur": {
1827
+ "title": "Mask Blur",
1828
+ "description": "Mask feathering amount. Higher values create softer transitions between the enhanced face region and surrounding areas.",
1829
+ "type": "integer",
1830
+ "minimum": 0,
1831
+ "maximum": 100,
1832
+ "default": 5
1833
+ },
1834
+ "maskPadding": {
1835
+ "title": "Mask Padding",
1836
+ "description": "Padding around detected face in pixels. Expands the refinement area to include surrounding context like hair and neck.",
1837
+ "type": "integer",
1838
+ "minimum": 0,
1839
+ "maximum": 20,
1840
+ "default": 5
1841
+ },
1842
+ "negativePrompt": {
1843
+ "title": "Negative Prompt",
1844
+ "description": "Negative prompt for detection.",
1845
+ "type": "string"
1846
+ },
1847
+ "positivePrompt": {
1848
+ "title": "Positive Prompt",
1849
+ "description": "Positive prompt for detection.",
1850
+ "type": "string"
1851
+ },
1852
+ "steps": {
1853
+ "title": "Steps",
1854
+ "description": "Number of face refinement steps.",
1855
+ "type": "integer",
1856
+ "minimum": 1,
1857
+ "maximum": 100,
1858
+ "default": 20
1859
+ },
1860
+ "strength": {
1861
+ "title": "Strength",
1862
+ "description": "Refinement strength. Lower values preserve more of the original, higher values allow more aggressive reconstruction.",
1863
+ "type": "number",
1864
+ "multipleOf": 0.01,
1865
+ "minimum": 0,
1866
+ "maximum": 1,
1867
+ "default": 0.3
1868
+ }
1869
+ },
1870
+ "additionalProperties": false
1871
+ },
1872
+ "taskType": {
1873
+ "title": "Task Type",
1874
+ "description": "Identifier for the type of task being performed",
1875
+ "type": "string",
1876
+ "const": "imageInference"
1877
+ },
1878
+ "taskUUID": {
1879
+ "title": "Task UUID",
1880
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
1881
+ "type": "string",
1882
+ "format": "uuid"
1883
+ },
1884
+ "webhookURL": {
1885
+ "title": "Webhook URL",
1886
+ "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.",
1887
+ "type": "string",
1888
+ "format": "uri"
1889
+ },
1890
+ "includeCost": {
1891
+ "title": "Include Cost",
1892
+ "description": "Include task cost in the response.",
1893
+ "type": "boolean",
1894
+ "default": false
1895
+ },
1896
+ "numberResults": {
1897
+ "title": "Number of Results",
1898
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
1899
+ "type": "integer",
1900
+ "minimum": 1,
1901
+ "default": 1,
1902
+ "maximum": 20
1903
+ },
1904
+ "uploadEndpoint": {
1905
+ "title": "Upload Endpoint",
1906
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
1907
+ "type": "string",
1908
+ "format": "uri"
1909
+ },
1910
+ "ttl": {
1911
+ "title": "TTL",
1912
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
1913
+ "type": "integer",
1914
+ "minimum": 60
1915
+ },
1916
+ "outputType": {
1917
+ "title": "Output Type",
1918
+ "description": "Image output type.",
1919
+ "type": "string",
1920
+ "enum": [
1921
+ "URL",
1922
+ "base64Data",
1923
+ "dataURI"
1924
+ ],
1925
+ "default": "URL"
1926
+ },
1927
+ "outputFormat": {
1928
+ "title": "Output Format",
1929
+ "description": "File format for the generated image.",
1930
+ "type": "string",
1931
+ "enum": [
1932
+ "JPG",
1933
+ "PNG",
1934
+ "WEBP"
1935
+ ],
1936
+ "default": "JPG"
1937
+ },
1938
+ "outputQuality": {
1939
+ "title": "Output Quality",
1940
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
1941
+ "type": "integer",
1942
+ "minimum": 20,
1943
+ "maximum": 99,
1944
+ "default": 95
1945
+ },
1946
+ "deliveryMethod": {
1947
+ "title": "Delivery Method",
1948
+ "description": "Determines how the API delivers task results.",
1949
+ "type": "string",
1950
+ "oneOf": [
1951
+ {
1952
+ "const": "sync",
1953
+ "description": "Returns complete results directly in the API response."
1954
+ },
1955
+ {
1956
+ "const": "async",
1957
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
1958
+ }
1959
+ ],
1960
+ "default": "sync"
1961
+ },
1962
+ "safety": {
1963
+ "type": "object",
1964
+ "title": "Safety Settings",
1965
+ "description": "Content safety checking configuration for image generation.",
1966
+ "properties": {
1967
+ "checkContent": {
1968
+ "title": "Check Content",
1969
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
1970
+ "type": "boolean",
1971
+ "default": false
1972
+ },
1973
+ "mode": {
1974
+ "description": "Safety checking mode for image generation.",
1975
+ "type": "string",
1976
+ "oneOf": [
1977
+ {
1978
+ "const": "none",
1979
+ "title": "None",
1980
+ "description": "Disables checking."
1981
+ },
1982
+ {
1983
+ "const": "fast",
1984
+ "title": "Fast",
1985
+ "description": "Performs a single check."
1986
+ }
1987
+ ],
1988
+ "default": "none"
1989
+ }
1990
+ },
1991
+ "additionalProperties": false
1992
+ }
1993
+ },
1994
+ "required": [
1995
+ "positivePrompt",
1996
+ "width",
1997
+ "height",
1998
+ "taskType",
1999
+ "taskUUID",
2000
+ "model"
2001
+ ],
2002
+ "allOf": [
2003
+ {
2004
+ "dependentRequired": {
2005
+ "width": [
2006
+ "height"
2007
+ ],
2008
+ "height": [
2009
+ "width"
2010
+ ]
2011
+ }
2012
+ }
2013
+ ],
2014
+ "additionalProperties": false
2015
+ },
2016
+ {
2017
+ "type": "object",
2018
+ "properties": {
2019
+ "model": {
2020
+ "title": "Model",
2021
+ "description": "Identifier of the model to use for generation.",
2022
+ "type": "string",
2023
+ "const": "rundiffusion:130@100"
2024
+ },
2025
+ "inputs": {
2026
+ "title": "Inputs",
2027
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
2028
+ "type": "object",
2029
+ "properties": {
2030
+ "seedImage": {
2031
+ "title": "Seed Image",
2032
+ "description": "Image used as a starting point for the generation (UUID, URL, Data URI, or Base64).",
2033
+ "type": "string",
2034
+ "anyOf": [
2035
+ {
2036
+ "format": "uuid"
2037
+ },
2038
+ {
2039
+ "format": "uri"
2040
+ },
2041
+ {
2042
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2043
+ },
2044
+ {
2045
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2046
+ }
2047
+ ]
2048
+ },
2049
+ "maskImage": {
2050
+ "title": "Mask Image",
2051
+ "description": "Image used to specify which areas of the seed image should be edited (UUID, URL, Data URI, or Base64).",
2052
+ "type": "string",
2053
+ "anyOf": [
2054
+ {
2055
+ "format": "uuid"
2056
+ },
2057
+ {
2058
+ "format": "uri"
2059
+ },
2060
+ {
2061
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2062
+ },
2063
+ {
2064
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2065
+ }
2066
+ ]
2067
+ }
2068
+ },
2069
+ "additionalProperties": false
2070
+ },
2071
+ "positivePrompt": {
2072
+ "title": "Positive Prompt",
2073
+ "description": "Text prompt describing elements to include in the generated output.",
2074
+ "type": "string",
2075
+ "minLength": 2,
2076
+ "maxLength": 3000
2077
+ },
2078
+ "negativePrompt": {
2079
+ "title": "Negative Prompt",
2080
+ "description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
2081
+ "type": "string",
2082
+ "minLength": 2,
2083
+ "maxLength": 3000
2084
+ },
2085
+ "width": {
2086
+ "title": "Width",
2087
+ "description": "Width of the generated media in pixels.",
2088
+ "type": "integer",
2089
+ "minimum": 128,
2090
+ "maximum": 2048,
2091
+ "multipleOf": 16
2092
+ },
2093
+ "height": {
2094
+ "title": "Height",
2095
+ "description": "Height of the generated media in pixels.",
2096
+ "type": "integer",
2097
+ "minimum": 128,
2098
+ "maximum": 2048,
2099
+ "multipleOf": 16
2100
+ },
2101
+ "seed": {
2102
+ "title": "Seed",
2103
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
2104
+ "type": "integer",
2105
+ "minimum": 0,
2106
+ "maximum": 9223372036854776000
2107
+ },
2108
+ "steps": {
2109
+ "title": "Steps",
2110
+ "description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
2111
+ "type": "integer",
2112
+ "minimum": 1,
2113
+ "maximum": 50
2114
+ },
2115
+ "scheduler": {
2116
+ "title": "Scheduler",
2117
+ "description": "Scheduler to use for the diffusion process.",
2118
+ "type": "string",
2119
+ "enum": [
2120
+ "DDIM",
2121
+ "DDIMScheduler",
2122
+ "DDPMScheduler",
2123
+ "DEISMultistepScheduler",
2124
+ "Default",
2125
+ "DPM++",
2126
+ "DPM++ 2M",
2127
+ "DPM++ 2M Beta",
2128
+ "DPM++ 2M Exponential",
2129
+ "DPM++ 2M Karras",
2130
+ "DPM++ 2M SDE",
2131
+ "DPM++ 2M SDE Beta",
2132
+ "DPM++ 2M SDE Exponential",
2133
+ "DPM++ 2M SDE Karras",
2134
+ "DPM++ 2M SDE Uniform",
2135
+ "DPM++ 2M Uniform",
2136
+ "DPM++ 3M",
2137
+ "DPM++ 3M Beta",
2138
+ "DPM++ 3M Exponential",
2139
+ "DPM++ 3M Karras",
2140
+ "DPM++ 3M SDE Uniform",
2141
+ "DPM++ 3M Uniform",
2142
+ "DPM++ Beta",
2143
+ "DPM++ Exponential",
2144
+ "DPM++ Karras",
2145
+ "DPM++ SDE",
2146
+ "DPM++ SDE Beta",
2147
+ "DPM++ SDE Exponential",
2148
+ "DPM++ SDE Karras",
2149
+ "DPM++ Uniform",
2150
+ "DPM++ Uniform Beta",
2151
+ "DPM++ Uniform Exponential",
2152
+ "DPM++ Uniform Karras",
2153
+ "DPMSolverMultistepInverse",
2154
+ "DPMSolverMultistepScheduler",
2155
+ "DPMSolverSinglestepScheduler",
2156
+ "EDMDPMSolverMultistepScheduler",
2157
+ "EDMEulerScheduler",
2158
+ "Euler",
2159
+ "Euler a",
2160
+ "Euler Beta",
2161
+ "Euler DiscreteScheduler",
2162
+ "Euler Exponential",
2163
+ "Euler Karras",
2164
+ "EulerAncestralDiscreteScheduler",
2165
+ "FlowMatchEulerDiscreteScheduler",
2166
+ "Heun",
2167
+ "HeunDiscreteScheduler",
2168
+ "Heun Karras",
2169
+ "IPNDMScheduler",
2170
+ "IPNDM Uniform",
2171
+ "IPNDM Uniform Beta",
2172
+ "IPNDM Uniform Exponential",
2173
+ "IPNDM Uniform Karras",
2174
+ "KDPM2AncestralDiscreteScheduler",
2175
+ "KDPM2DiscreteScheduler",
2176
+ "LCM",
2177
+ "LCMScheduler",
2178
+ "LMS",
2179
+ "LMSDiscreteScheduler",
2180
+ "LMS Karras",
2181
+ "PNDMScheduler",
2182
+ "TCDScheduler",
2183
+ "UniPC",
2184
+ "UniPC 2M",
2185
+ "UniPC 2M Karras",
2186
+ "UniPC 2M Uniform",
2187
+ "UniPC 3M",
2188
+ "UniPC 3M Karras",
2189
+ "UniPC 3M Uniform",
2190
+ "UniPC Karras",
2191
+ "UniPC Uniform",
2192
+ "UniPC Uniform Beta",
2193
+ "UniPC Uniform Exponential",
2194
+ "UniPC Uniform Karras"
2195
+ ]
2196
+ },
2197
+ "CFGScale": {
2198
+ "title": "CFG Scale",
2199
+ "description": "Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.",
2200
+ "type": "number",
2201
+ "multipleOf": 0.01,
2202
+ "minimum": 0,
2203
+ "maximum": 20
2204
+ },
2205
+ "strength": {
2206
+ "title": "Strength",
2207
+ "description": "Strength of the transformation. Lower values result in more influence from the original input.",
2208
+ "type": "number",
2209
+ "multipleOf": 0.01,
2210
+ "minimum": 0,
2211
+ "maximum": 1,
2212
+ "default": 0.8
2213
+ },
2214
+ "maskMargin": {
2215
+ "title": "Mask Margin",
2216
+ "description": "Extra context pixels around the masked region during inpainting. The model zooms into the masked area with these additional pixels for better integration.",
2217
+ "type": "integer",
2218
+ "minimum": 32,
2219
+ "maximum": 128
2220
+ },
2221
+ "promptWeighting": {
2222
+ "title": "Prompt Weighting",
2223
+ "description": "Syntax used for prompt weighting.",
2224
+ "type": "string",
2225
+ "enum": [
2226
+ "compel",
2227
+ "sdEmbeds"
2228
+ ]
2229
+ },
2230
+ "acceleratorOptions": {
2231
+ "title": "Accelerator Options",
2232
+ "description": "Advanced caching mechanisms to speed up generation.",
2233
+ "type": "object",
2234
+ "properties": {
2235
+ "cacheEndStep": {
2236
+ "title": "Cache End Step",
2237
+ "description": "Absolute step number to end caching. Must be greater than `cacheStartStep` and less than or equal to `steps`.",
2238
+ "type": "integer",
2239
+ "minimum": 1
2240
+ },
2241
+ "cacheEndStepPercentage": {
2242
+ "title": "Cache End Step Percentage",
2243
+ "description": "Percentage of steps to end caching. Alternative to `cacheEndStep`. Must be greater than `cacheStartStepPercentage`.",
2244
+ "type": "integer",
2245
+ "minimum": 1,
2246
+ "maximum": 100
2247
+ },
2248
+ "cacheMaxConsecutiveSteps": {
2249
+ "title": "Cache Max Consecutive Steps",
2250
+ "description": "Limits the maximum number of consecutive steps that can use cached computations before forcing a fresh computation.",
2251
+ "type": "integer",
2252
+ "minimum": 1,
2253
+ "maximum": 5,
2254
+ "default": 3
2255
+ },
2256
+ "cacheStartStep": {
2257
+ "title": "Cache Start Step",
2258
+ "description": "Absolute step number to start caching. Must be less than `cacheEndStep`.",
2259
+ "type": "integer",
2260
+ "minimum": 0
2261
+ },
2262
+ "cacheStartStepPercentage": {
2263
+ "title": "Cache Start Step Percentage",
2264
+ "description": "Percentage of steps to start caching. Alternative to `cacheStartStep`. Must be less than `cacheEndStepPercentage`.",
2265
+ "type": "integer",
2266
+ "minimum": 0,
2267
+ "maximum": 99
2268
+ },
2269
+ "fbCache": {
2270
+ "title": "FB Cache",
2271
+ "description": "First Block Cache (FBCache) acceleration. Reuses feature block computations across steps.",
2272
+ "type": "boolean",
2273
+ "default": false
2274
+ },
2275
+ "fbCacheThreshold": {
2276
+ "title": "FB Cache Threshold",
2277
+ "description": "Controls the sensitivity threshold for determining when to reuse cached computations. Lower values reuse more aggressively.",
2278
+ "type": "number",
2279
+ "multipleOf": 0.01,
2280
+ "minimum": 0,
2281
+ "maximum": 1,
2282
+ "default": 0.25
2283
+ },
2284
+ "teaCache": {
2285
+ "title": "TeaCache",
2286
+ "description": "TeaCache acceleration for transformer-based models. Estimates step differences to skip redundant computations.",
2287
+ "type": "boolean",
2288
+ "default": false
2289
+ },
2290
+ "teaCacheDistance": {
2291
+ "title": "TeaCache Distance",
2292
+ "description": "Controls the aggressiveness of the TeaCache feature. Lower values prioritize quality, higher values prioritize speed.",
2293
+ "type": "number",
2294
+ "multipleOf": 0.01,
2295
+ "minimum": 0,
2296
+ "maximum": 1,
2297
+ "default": 0.5
2298
+ },
2299
+ "dbCache": {
2300
+ "title": "DB Cache",
2301
+ "description": "DB Cache (CacheDiT) acceleration. Caches and reuses intermediate transformer block outputs to skip redundant computations.",
2302
+ "type": "boolean",
2303
+ "default": false
2304
+ },
2305
+ "dbCacheThreshold": {
2306
+ "title": "DB Cache Threshold",
2307
+ "description": "Controls the sensitivity threshold for DB Cache. Lower values reuse cached blocks more aggressively, higher values prioritize quality.",
2308
+ "type": "number",
2309
+ "multipleOf": 0.01,
2310
+ "minimum": 0,
2311
+ "maximum": 1,
2312
+ "default": 0.25
2313
+ },
2314
+ "dbCacheSkipInterval": {
2315
+ "title": "DB Cache Skip Interval",
2316
+ "description": "Controls how many steps to skip between cache refreshes. Higher values skip more steps for faster generation at the cost of quality.",
2317
+ "type": "integer",
2318
+ "minimum": 1,
2319
+ "default": 5
2320
+ }
2321
+ },
2322
+ "allOf": [
2323
+ {
2324
+ "not": {
2325
+ "required": [
2326
+ "cacheStartStep",
2327
+ "cacheStartStepPercentage"
2328
+ ]
2329
+ }
2330
+ },
2331
+ {
2332
+ "not": {
2333
+ "required": [
2334
+ "cacheEndStep",
2335
+ "cacheEndStepPercentage"
2336
+ ]
2337
+ }
2338
+ }
2339
+ ],
2340
+ "additionalProperties": false
2341
+ },
2342
+ "outpaint": {
2343
+ "title": "Outpaint",
2344
+ "description": "Extends image boundaries in specified directions. Final width/height must account for original image plus extensions.",
2345
+ "type": "object",
2346
+ "properties": {
2347
+ "bottom": {
2348
+ "title": "Outpaint Bottom",
2349
+ "description": "Number of pixels to extend to the bottom.",
2350
+ "type": "integer",
2351
+ "minimum": 0
2352
+ },
2353
+ "left": {
2354
+ "title": "Outpaint Left",
2355
+ "description": "Number of pixels to extend to the left.",
2356
+ "type": "integer",
2357
+ "minimum": 0
2358
+ },
2359
+ "right": {
2360
+ "title": "Outpaint Right",
2361
+ "description": "Number of pixels to extend to the right.",
2362
+ "type": "integer",
2363
+ "minimum": 0
2364
+ },
2365
+ "top": {
2366
+ "title": "Outpaint Top",
2367
+ "description": "Number of pixels to extend to the top.",
2368
+ "type": "integer",
2369
+ "minimum": 0
2370
+ }
2371
+ },
2372
+ "additionalProperties": false
2373
+ },
2374
+ "lora": {
2375
+ "title": "LoRA",
2376
+ "description": "Configuration for Low-Rank Adaptation models.",
2377
+ "type": "array",
2378
+ "minItems": 1,
2379
+ "items": {
2380
+ "type": "object",
2381
+ "properties": {
2382
+ "model": {
2383
+ "title": "LoRA Model",
2384
+ "description": "LoRA model identifier.",
2385
+ "type": "string",
2386
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
2387
+ },
2388
+ "weight": {
2389
+ "title": "LoRA Weight",
2390
+ "description": "Strength of the LoRA influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the LoRA's style.",
2391
+ "type": "number",
2392
+ "multipleOf": 0.01,
2393
+ "minimum": -4,
2394
+ "maximum": 4,
2395
+ "default": 1
2396
+ },
2397
+ "transformer": {
2398
+ "title": "LoRA Transformer",
2399
+ "description": "Transformer stages to apply LoRA. Some video models use separate high-noise and low-noise processing stages, and LoRAs can be selectively applied to optimize their effectiveness.",
2400
+ "type": "string",
2401
+ "oneOf": [
2402
+ {
2403
+ "const": "high",
2404
+ "title": "High",
2405
+ "description": "Apply LoRA only to the high-noise processing stage (coarse structure and early generation steps)."
2406
+ },
2407
+ {
2408
+ "const": "low",
2409
+ "title": "Low",
2410
+ "description": "Apply LoRA only to the low-noise processing stage (fine details and later generation steps)."
2411
+ },
2412
+ {
2413
+ "const": "both",
2414
+ "title": "Both",
2415
+ "description": "Apply LoRA to both stages for full coverage."
2416
+ }
2417
+ ],
2418
+ "default": "both"
2419
+ }
2420
+ },
2421
+ "required": [
2422
+ "model"
2423
+ ],
2424
+ "additionalProperties": false
2425
+ }
2426
+ },
2427
+ "controlNet": {
2428
+ "title": "ControlNet",
2429
+ "description": "Configuration for identifying and applying ControlNet models.",
2430
+ "type": "array",
2431
+ "minItems": 1,
2432
+ "items": {
2433
+ "type": "object",
2434
+ "properties": {
2435
+ "model": {
2436
+ "title": "ControlNet Model",
2437
+ "description": "ControlNet model identifier.",
2438
+ "type": "string",
2439
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
2440
+ },
2441
+ "weight": {
2442
+ "title": "ControlNet Weight",
2443
+ "description": "Strength of the ControlNet influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the guide image.",
2444
+ "type": "number",
2445
+ "multipleOf": 0.01,
2446
+ "minimum": -4,
2447
+ "maximum": 4,
2448
+ "default": 1
2449
+ },
2450
+ "guideImage": {
2451
+ "title": "Guide Image",
2452
+ "description": "Reference image for ControlNet guidance (UUID, URL, Data URI, or Base64).",
2453
+ "type": "string",
2454
+ "anyOf": [
2455
+ {
2456
+ "format": "uuid"
2457
+ },
2458
+ {
2459
+ "format": "uri"
2460
+ },
2461
+ {
2462
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2463
+ },
2464
+ {
2465
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2466
+ }
2467
+ ]
2468
+ },
2469
+ "controlMode": {
2470
+ "title": "Control Mode",
2471
+ "description": "ControlNet guidance mode.",
2472
+ "type": "string",
2473
+ "default": "balanced",
2474
+ "oneOf": [
2475
+ {
2476
+ "const": "balanced",
2477
+ "description": "Equal weight between ControlNet and prompt."
2478
+ },
2479
+ {
2480
+ "const": "controlnet",
2481
+ "description": "Prioritize ControlNet guidance."
2482
+ },
2483
+ {
2484
+ "const": "prompt",
2485
+ "description": "Prioritize prompt guidance."
2486
+ }
2487
+ ]
2488
+ },
2489
+ "endStep": {
2490
+ "title": "ControlNet End Step",
2491
+ "description": "Absolute step number to end ControlNet influence. Must be greater than `startStep` and less than or equal to `steps`.",
2492
+ "type": "integer",
2493
+ "minimum": 1
2494
+ },
2495
+ "endStepPercentage": {
2496
+ "title": "End Step Percentage",
2497
+ "description": "Percentage of steps to end ControlNet influence. Must be greater than `startStepPercentage`.",
2498
+ "type": "integer",
2499
+ "minimum": 1,
2500
+ "maximum": 100
2501
+ },
2502
+ "startStep": {
2503
+ "title": "Start Step",
2504
+ "description": "Absolute step number to start ControlNet influence. Must be less than `endStep`.",
2505
+ "type": "integer",
2506
+ "minimum": 0
2507
+ },
2508
+ "startStepPercentage": {
2509
+ "title": "Start Step Percentage",
2510
+ "description": "Percentage of steps to start ControlNet influence. Must be less than `endStepPercentage`.",
2511
+ "type": "integer",
2512
+ "minimum": 0,
2513
+ "maximum": 99
2514
+ }
2515
+ },
2516
+ "required": [
2517
+ "model",
2518
+ "guideImage"
2519
+ ],
2520
+ "allOf": [
2521
+ {
2522
+ "not": {
2523
+ "required": [
2524
+ "startStep",
2525
+ "startStepPercentage"
2526
+ ]
2527
+ }
2528
+ },
2529
+ {
2530
+ "not": {
2531
+ "required": [
2532
+ "endStep",
2533
+ "endStepPercentage"
2534
+ ]
2535
+ }
2536
+ }
2537
+ ],
2538
+ "additionalProperties": false
2539
+ }
2540
+ },
2541
+ "ipAdapters": {
2542
+ "title": "IP Adapters",
2543
+ "description": "Configuration for IP-Adapter image-prompted generation.",
2544
+ "type": "array",
2545
+ "minItems": 1,
2546
+ "items": {
2547
+ "type": "object",
2548
+ "properties": {
2549
+ "model": {
2550
+ "title": "IP-Adapter Model",
2551
+ "description": "IP-Adapter model identifier.",
2552
+ "type": "string",
2553
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
2554
+ },
2555
+ "weight": {
2556
+ "title": "IP-Adapter Weight",
2557
+ "description": "Strength of the IP-Adapter influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the reference.",
2558
+ "type": "number",
2559
+ "multipleOf": 0.01,
2560
+ "minimum": -4,
2561
+ "maximum": 4,
2562
+ "default": 1
2563
+ },
2564
+ "guideImages": {
2565
+ "title": "Guide Images",
2566
+ "description": "Images to guide the IP-Adapter (UUID, URL, Data URI, or Base64).",
2567
+ "type": "array",
2568
+ "minItems": 1,
2569
+ "items": {
2570
+ "title": "Image",
2571
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2572
+ "type": "string",
2573
+ "anyOf": [
2574
+ {
2575
+ "format": "uuid"
2576
+ },
2577
+ {
2578
+ "format": "uri"
2579
+ },
2580
+ {
2581
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2582
+ },
2583
+ {
2584
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2585
+ }
2586
+ ]
2587
+ }
2588
+ },
2589
+ "combineMethod": {
2590
+ "title": "Combine Method",
2591
+ "description": "Controls how multiple reference images are combined.",
2592
+ "type": "string",
2593
+ "enum": [
2594
+ "concat",
2595
+ "add",
2596
+ "subtract",
2597
+ "average",
2598
+ "norm_average"
2599
+ ],
2600
+ "default": "concat"
2601
+ },
2602
+ "embedScaling": {
2603
+ "title": "Embed Scaling",
2604
+ "description": "Determines which embedding components are used and their strength.",
2605
+ "type": "string",
2606
+ "enum": [
2607
+ "only_v",
2608
+ "kv",
2609
+ "kv_penalty_c",
2610
+ "k_mean_v_penalty_c"
2611
+ ],
2612
+ "default": "kv"
2613
+ },
2614
+ "weightType": {
2615
+ "title": "Weight Type",
2616
+ "description": "Shapes how influence evolves during generation.",
2617
+ "type": "string",
2618
+ "enum": [
2619
+ "normal",
2620
+ "ease_in",
2621
+ "ease_out",
2622
+ "ease_in_out",
2623
+ "weak_input",
2624
+ "weak_output",
2625
+ "weak_middle",
2626
+ "strong_middle",
2627
+ "style_transfer",
2628
+ "composition",
2629
+ "strong_style_transfer",
2630
+ "style_and_composition",
2631
+ "strong_style_and_composition"
2632
+ ],
2633
+ "default": "normal"
2634
+ },
2635
+ "weightComposition": {
2636
+ "title": "Weight Composition",
2637
+ "description": "Controls composition/layout influence specifically.",
2638
+ "type": "number",
2639
+ "multipleOf": 0.01,
2640
+ "minimum": 0,
2641
+ "maximum": 1
2642
+ }
2643
+ },
2644
+ "required": [
2645
+ "model",
2646
+ "guideImages"
2647
+ ],
2648
+ "additionalProperties": false
2649
+ }
2650
+ },
2651
+ "acePlusPlus": {
2652
+ "title": "ACE++",
2653
+ "description": "Advanced framework for character-consistent image generation and editing.",
2654
+ "type": "object",
2655
+ "properties": {
2656
+ "images": {
2657
+ "title": "Images",
2658
+ "description": "Reference images for character identity preservation (UUID, URL, Data URI, or Base64).",
2659
+ "type": "array",
2660
+ "minItems": 1,
2661
+ "maxItems": 1,
2662
+ "items": {
2663
+ "title": "Image",
2664
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2665
+ "type": "string",
2666
+ "anyOf": [
2667
+ {
2668
+ "format": "uuid"
2669
+ },
2670
+ {
2671
+ "format": "uri"
2672
+ },
2673
+ {
2674
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2675
+ },
2676
+ {
2677
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2678
+ }
2679
+ ]
2680
+ }
2681
+ },
2682
+ "masks": {
2683
+ "title": "Masks",
2684
+ "description": "Mask images for selective editing (UUID, URL, Data URI, or Base64).",
2685
+ "type": "array",
2686
+ "minItems": 1,
2687
+ "maxItems": 1,
2688
+ "items": {
2689
+ "title": "Image",
2690
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2691
+ "type": "string",
2692
+ "anyOf": [
2693
+ {
2694
+ "format": "uuid"
2695
+ },
2696
+ {
2697
+ "format": "uri"
2698
+ },
2699
+ {
2700
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2701
+ },
2702
+ {
2703
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2704
+ }
2705
+ ]
2706
+ }
2707
+ },
2708
+ "repaintingScale": {
2709
+ "title": "Repainting Scale",
2710
+ "description": "Balances original character identity (0.0) vs prompt adherence (1.0). Lower values preserve stronger character resemblance.",
2711
+ "type": "number",
2712
+ "multipleOf": 0.01,
2713
+ "minimum": 0,
2714
+ "maximum": 1,
2715
+ "default": 0
2716
+ },
2717
+ "type": {
2718
+ "title": "ACE++ Type",
2719
+ "description": "Task mode for ACE++ generation.",
2720
+ "type": "string",
2721
+ "default": "portrait",
2722
+ "oneOf": [
2723
+ {
2724
+ "const": "portrait",
2725
+ "description": "Face consistency."
2726
+ },
2727
+ {
2728
+ "const": "subject",
2729
+ "description": "Object consistency."
2730
+ },
2731
+ {
2732
+ "const": "local_editing",
2733
+ "description": "Region modification."
2734
+ }
2735
+ ]
2736
+ }
2737
+ },
2738
+ "required": [
2739
+ "images"
2740
+ ],
2741
+ "if": {
2742
+ "properties": {
2743
+ "type": {
2744
+ "const": "local_editing"
2745
+ }
2746
+ }
2747
+ },
2748
+ "then": {
2749
+ "required": [
2750
+ "masks"
2751
+ ]
2752
+ },
2753
+ "else": {
2754
+ "properties": {
2755
+ "masks": false
2756
+ }
2757
+ },
2758
+ "additionalProperties": false
2759
+ },
2760
+ "hiresFix": {
2761
+ "title": "HiresFix",
2762
+ "description": "Two-stage generation for improved resolution. Can be enabled with `true` for default settings, or configured as an object for fine-grained control.",
2763
+ "oneOf": [
2764
+ {
2765
+ "type": "boolean",
2766
+ "const": true
2767
+ },
2768
+ {
2769
+ "type": "object",
2770
+ "properties": {
2771
+ "model": {
2772
+ "title": "Model",
2773
+ "description": "The upscaling model to use for hires fix.",
2774
+ "type": "string",
2775
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$",
2776
+ "enum": [
2777
+ "runware:realesrgan@anime-6b",
2778
+ "runware:esrgan@animesharp",
2779
+ "runware:esrgan@ultrasharp",
2780
+ "runware:504@1"
2781
+ ]
2782
+ },
2783
+ "steps": {
2784
+ "title": "Steps",
2785
+ "description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
2786
+ "type": "integer",
2787
+ "minimum": 1,
2788
+ "maximum": 35,
2789
+ "default": 10
2790
+ },
2791
+ "strength": {
2792
+ "title": "Strength",
2793
+ "description": "Strength of the transformation. Lower values result in more influence from the original input.",
2794
+ "type": "number",
2795
+ "multipleOf": 0.01,
2796
+ "minimum": 0,
2797
+ "maximum": 1,
2798
+ "default": 0.8
2799
+ },
2800
+ "upscaleFactor": {
2801
+ "title": "Upscale Factor",
2802
+ "description": "Factor by which to upscale the generated image. A value of 2 doubles width and height.",
2803
+ "type": "integer",
2804
+ "enum": [
2805
+ 4
2806
+ ],
2807
+ "default": 4
2808
+ }
2809
+ },
2810
+ "required": [
2811
+ "model"
2812
+ ],
2813
+ "additionalProperties": false
2814
+ }
2815
+ ]
2816
+ },
2817
+ "layerDiffuse": {
2818
+ "title": "Layer Diffuse",
2819
+ "description": "LayerDiffuse for transparent image generation.",
2820
+ "type": "boolean",
2821
+ "default": false
2822
+ },
2823
+ "pulid": {
2824
+ "title": "PuLID",
2825
+ "description": "Identity customization for character consistency.",
2826
+ "type": "object",
2827
+ "properties": {
2828
+ "CFGstartStep": {
2829
+ "title": "CFG Start Step",
2830
+ "description": "Absolute step number to start identity influence. Must be less than `steps`.",
2831
+ "type": "integer",
2832
+ "minimum": 0
2833
+ },
2834
+ "CFGstartStepPercentage": {
2835
+ "title": "CFG Start Step Percentage",
2836
+ "description": "Percentage of steps to start identity influence.",
2837
+ "type": "integer",
2838
+ "minimum": 0,
2839
+ "maximum": 99
2840
+ },
2841
+ "idWeight": {
2842
+ "title": "ID Weight",
2843
+ "description": "Identity preservation strength. Higher values create closer resemblance to the reference face.",
2844
+ "type": "number",
2845
+ "multipleOf": 0.01,
2846
+ "minimum": 0,
2847
+ "maximum": 3,
2848
+ "default": 1
2849
+ },
2850
+ "images": {
2851
+ "title": "Images",
2852
+ "description": "Reference images for identity customization (UUID, URL, Data URI, or Base64).",
2853
+ "type": "array",
2854
+ "minItems": 1,
2855
+ "maxItems": 1,
2856
+ "items": {
2857
+ "title": "Image",
2858
+ "description": "Image input (UUID, URL, Data URI, or Base64).",
2859
+ "type": "string",
2860
+ "anyOf": [
2861
+ {
2862
+ "format": "uuid"
2863
+ },
2864
+ {
2865
+ "format": "uri"
2866
+ },
2867
+ {
2868
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
2869
+ },
2870
+ {
2871
+ "pattern": "^[a-zA-Z0-9+/=]+$"
2872
+ }
2873
+ ]
2874
+ }
2875
+ },
2876
+ "trueCFGScale": {
2877
+ "title": "True CFG Scale",
2878
+ "description": "Guidance scale for identity embedding.",
2879
+ "type": "number",
2880
+ "multipleOf": 0.1,
2881
+ "minimum": 0,
2882
+ "maximum": 10
2883
+ }
2884
+ },
2885
+ "required": [
2886
+ "images"
2887
+ ],
2888
+ "allOf": [
2889
+ {
2890
+ "not": {
2891
+ "required": [
2892
+ "CFGstartStep",
2893
+ "CFGstartStepPercentage"
2894
+ ]
2895
+ }
2896
+ }
2897
+ ],
2898
+ "additionalProperties": false
2899
+ },
2900
+ "trueCFGScale": {
2901
+ "title": "True CFG Scale",
2902
+ "description": "True Classifier-Free Guidance scale. Higher values increase prompt adherence at the cost of quality.",
2903
+ "type": "number"
2904
+ },
2905
+ "ultralytics": {
2906
+ "title": "Ultralytics Features",
2907
+ "description": "Configuration for Ultralytics face enhancement.",
2908
+ "type": "object",
2909
+ "properties": {
2910
+ "CFGScale": {
2911
+ "title": "CFG Scale",
2912
+ "description": "Face refinement guidance scale.",
2913
+ "type": "number",
2914
+ "multipleOf": 0.1,
2915
+ "minimum": 0,
2916
+ "maximum": 50,
2917
+ "default": 8
2918
+ },
2919
+ "confidence": {
2920
+ "title": "Confidence",
2921
+ "description": "Confidence threshold for detection.",
2922
+ "type": "number",
2923
+ "multipleOf": 0.01,
2924
+ "minimum": 0,
2925
+ "maximum": 1,
2926
+ "default": 0.9
2927
+ },
2928
+ "maskBlur": {
2929
+ "title": "Mask Blur",
2930
+ "description": "Mask feathering amount. Higher values create softer transitions between the enhanced face region and surrounding areas.",
2931
+ "type": "integer",
2932
+ "minimum": 0,
2933
+ "maximum": 100,
2934
+ "default": 5
2935
+ },
2936
+ "maskPadding": {
2937
+ "title": "Mask Padding",
2938
+ "description": "Padding around detected face in pixels. Expands the refinement area to include surrounding context like hair and neck.",
2939
+ "type": "integer",
2940
+ "minimum": 0,
2941
+ "maximum": 20,
2942
+ "default": 5
2943
+ },
2944
+ "negativePrompt": {
2945
+ "title": "Negative Prompt",
2946
+ "description": "Negative prompt for detection.",
2947
+ "type": "string"
2948
+ },
2949
+ "positivePrompt": {
2950
+ "title": "Positive Prompt",
2951
+ "description": "Positive prompt for detection.",
2952
+ "type": "string"
2953
+ },
2954
+ "steps": {
2955
+ "title": "Steps",
2956
+ "description": "Number of face refinement steps.",
2957
+ "type": "integer",
2958
+ "minimum": 1,
2959
+ "maximum": 100,
2960
+ "default": 20
2961
+ },
2962
+ "strength": {
2963
+ "title": "Strength",
2964
+ "description": "Refinement strength. Lower values preserve more of the original, higher values allow more aggressive reconstruction.",
2965
+ "type": "number",
2966
+ "multipleOf": 0.01,
2967
+ "minimum": 0,
2968
+ "maximum": 1,
2969
+ "default": 0.3
2970
+ }
2971
+ },
2972
+ "additionalProperties": false
2973
+ },
2974
+ "taskType": {
2975
+ "title": "Task Type",
2976
+ "description": "Identifier for the type of task being performed",
2977
+ "type": "string",
2978
+ "const": "imageInference"
2979
+ },
2980
+ "taskUUID": {
2981
+ "title": "Task UUID",
2982
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
2983
+ "type": "string",
2984
+ "format": "uuid"
2985
+ },
2986
+ "webhookURL": {
2987
+ "title": "Webhook URL",
2988
+ "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.",
2989
+ "type": "string",
2990
+ "format": "uri"
2991
+ },
2992
+ "includeCost": {
2993
+ "title": "Include Cost",
2994
+ "description": "Include task cost in the response.",
2995
+ "type": "boolean",
2996
+ "default": false
2997
+ },
2998
+ "numberResults": {
2999
+ "title": "Number of Results",
3000
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
3001
+ "type": "integer",
3002
+ "minimum": 1,
3003
+ "default": 1,
3004
+ "maximum": 20
3005
+ },
3006
+ "uploadEndpoint": {
3007
+ "title": "Upload Endpoint",
3008
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
3009
+ "type": "string",
3010
+ "format": "uri"
3011
+ },
3012
+ "ttl": {
3013
+ "title": "TTL",
3014
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
3015
+ "type": "integer",
3016
+ "minimum": 60
3017
+ },
3018
+ "outputType": {
3019
+ "title": "Output Type",
3020
+ "description": "Image output type.",
3021
+ "type": "string",
3022
+ "enum": [
3023
+ "URL",
3024
+ "base64Data",
3025
+ "dataURI"
3026
+ ],
3027
+ "default": "URL"
3028
+ },
3029
+ "outputFormat": {
3030
+ "title": "Output Format",
3031
+ "description": "File format for the generated image.",
3032
+ "type": "string",
3033
+ "enum": [
3034
+ "JPG",
3035
+ "PNG",
3036
+ "WEBP"
3037
+ ],
3038
+ "default": "JPG"
3039
+ },
3040
+ "outputQuality": {
3041
+ "title": "Output Quality",
3042
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
3043
+ "type": "integer",
3044
+ "minimum": 20,
3045
+ "maximum": 99,
3046
+ "default": 95
3047
+ },
3048
+ "deliveryMethod": {
3049
+ "title": "Delivery Method",
3050
+ "description": "Determines how the API delivers task results.",
3051
+ "type": "string",
3052
+ "oneOf": [
3053
+ {
3054
+ "const": "sync",
3055
+ "description": "Returns complete results directly in the API response."
3056
+ },
3057
+ {
3058
+ "const": "async",
3059
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
3060
+ }
3061
+ ],
3062
+ "default": "sync"
3063
+ },
3064
+ "safety": {
3065
+ "type": "object",
3066
+ "title": "Safety Settings",
3067
+ "description": "Content safety checking configuration for image generation.",
3068
+ "properties": {
3069
+ "checkContent": {
3070
+ "title": "Check Content",
3071
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
3072
+ "type": "boolean",
3073
+ "default": false
3074
+ },
3075
+ "mode": {
3076
+ "description": "Safety checking mode for image generation.",
3077
+ "type": "string",
3078
+ "oneOf": [
3079
+ {
3080
+ "const": "none",
3081
+ "title": "None",
3082
+ "description": "Disables checking."
3083
+ },
3084
+ {
3085
+ "const": "fast",
3086
+ "title": "Fast",
3087
+ "description": "Performs a single check."
3088
+ }
3089
+ ],
3090
+ "default": "none"
3091
+ }
3092
+ },
3093
+ "additionalProperties": false
3094
+ }
3095
+ },
3096
+ "required": [
3097
+ "positivePrompt",
3098
+ "width",
3099
+ "height",
3100
+ "taskType",
3101
+ "taskUUID",
3102
+ "model"
3103
+ ],
3104
+ "allOf": [
3105
+ {
3106
+ "dependentRequired": {
3107
+ "width": [
3108
+ "height"
3109
+ ],
3110
+ "height": [
3111
+ "width"
3112
+ ]
3113
+ }
3114
+ }
3115
+ ],
3116
+ "additionalProperties": false
3117
+ },
3118
+ {
3119
+ "type": "object",
3120
+ "properties": {
3121
+ "model": {
3122
+ "title": "Model",
3123
+ "description": "Identifier of the model to use for generation.",
3124
+ "type": "string",
3125
+ "const": "rundiffusion:200@100"
3126
+ },
3127
+ "steps": {
3128
+ "title": "Steps",
3129
+ "description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
3130
+ "type": "integer",
3131
+ "minimum": 1,
3132
+ "default": 35
3133
+ },
3134
+ "scheduler": {
3135
+ "title": "Scheduler",
3136
+ "description": "Scheduler to use for the diffusion process.",
3137
+ "type": "string",
3138
+ "enum": [
3139
+ "DDIM",
3140
+ "DDIMScheduler",
3141
+ "DDPMScheduler",
3142
+ "DEISMultistepScheduler",
3143
+ "Default",
3144
+ "DPM++",
3145
+ "DPM++ 2M",
3146
+ "DPM++ 2M Beta",
3147
+ "DPM++ 2M Exponential",
3148
+ "DPM++ 2M Karras",
3149
+ "DPM++ 2M SDE",
3150
+ "DPM++ 2M SDE Beta",
3151
+ "DPM++ 2M SDE Exponential",
3152
+ "DPM++ 2M SDE Karras",
3153
+ "DPM++ 2M SDE Uniform",
3154
+ "DPM++ 2M Uniform",
3155
+ "DPM++ 3M",
3156
+ "DPM++ 3M Beta",
3157
+ "DPM++ 3M Exponential",
3158
+ "DPM++ 3M Karras",
3159
+ "DPM++ 3M SDE Uniform",
3160
+ "DPM++ 3M Uniform",
3161
+ "DPM++ Beta",
3162
+ "DPM++ Exponential",
3163
+ "DPM++ Karras",
3164
+ "DPM++ SDE",
3165
+ "DPM++ SDE Beta",
3166
+ "DPM++ SDE Exponential",
3167
+ "DPM++ SDE Karras",
3168
+ "DPM++ Uniform",
3169
+ "DPM++ Uniform Beta",
3170
+ "DPM++ Uniform Exponential",
3171
+ "DPM++ Uniform Karras",
3172
+ "DPMSolverMultistepInverse",
3173
+ "DPMSolverMultistepScheduler",
3174
+ "DPMSolverSinglestepScheduler",
3175
+ "EDMDPMSolverMultistepScheduler",
3176
+ "EDMEulerScheduler",
3177
+ "Euler",
3178
+ "Euler a",
3179
+ "Euler Beta",
3180
+ "Euler DiscreteScheduler",
3181
+ "Euler Exponential",
3182
+ "Euler Karras",
3183
+ "EulerAncestralDiscreteScheduler",
3184
+ "FlowMatchEulerDiscreteScheduler",
3185
+ "Heun",
3186
+ "HeunDiscreteScheduler",
3187
+ "Heun Karras",
3188
+ "IPNDMScheduler",
3189
+ "IPNDM Uniform",
3190
+ "IPNDM Uniform Beta",
3191
+ "IPNDM Uniform Exponential",
3192
+ "IPNDM Uniform Karras",
3193
+ "KDPM2AncestralDiscreteScheduler",
3194
+ "KDPM2DiscreteScheduler",
3195
+ "LCM",
3196
+ "LCMScheduler",
3197
+ "LMS",
3198
+ "LMSDiscreteScheduler",
3199
+ "LMS Karras",
3200
+ "PNDMScheduler",
3201
+ "TCDScheduler",
3202
+ "UniPC",
3203
+ "UniPC 2M",
3204
+ "UniPC 2M Karras",
3205
+ "UniPC 2M Uniform",
3206
+ "UniPC 3M",
3207
+ "UniPC 3M Karras",
3208
+ "UniPC 3M Uniform",
3209
+ "UniPC Karras",
3210
+ "UniPC Uniform",
3211
+ "UniPC Uniform Beta",
3212
+ "UniPC Uniform Exponential",
3213
+ "UniPC Uniform Karras"
3214
+ ],
3215
+ "default": "FlowMatchEulerDiscreteScheduler"
3216
+ },
3217
+ "CFGScale": {
3218
+ "title": "CFG Scale",
3219
+ "description": "Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.",
3220
+ "type": "number",
3221
+ "multipleOf": 0.01,
3222
+ "minimum": 0,
3223
+ "default": 6
3224
+ },
3225
+ "inputs": {
3226
+ "title": "Inputs",
3227
+ "description": "The unified payload wrapper for complex media assets dictating image, video or audio inference constraints.",
3228
+ "type": "object",
3229
+ "properties": {
3230
+ "seedImage": {
3231
+ "title": "Seed Image",
3232
+ "description": "Image used as a starting point for the generation (UUID, URL, Data URI, or Base64).",
3233
+ "type": "string",
3234
+ "anyOf": [
3235
+ {
3236
+ "format": "uuid"
3237
+ },
3238
+ {
3239
+ "format": "uri"
3240
+ },
3241
+ {
3242
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
3243
+ },
3244
+ {
3245
+ "pattern": "^[a-zA-Z0-9+/=]+$"
3246
+ }
3247
+ ]
3248
+ },
3249
+ "maskImage": {
3250
+ "title": "Mask Image",
3251
+ "description": "Image used to specify which areas of the seed image should be edited (UUID, URL, Data URI, or Base64).",
3252
+ "type": "string",
3253
+ "anyOf": [
3254
+ {
3255
+ "format": "uuid"
3256
+ },
3257
+ {
3258
+ "format": "uri"
3259
+ },
3260
+ {
3261
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
3262
+ },
3263
+ {
3264
+ "pattern": "^[a-zA-Z0-9+/=]+$"
3265
+ }
3266
+ ]
3267
+ }
3268
+ },
3269
+ "additionalProperties": false
3270
+ },
3271
+ "positivePrompt": {
3272
+ "title": "Positive Prompt",
3273
+ "description": "Text prompt describing elements to include in the generated output.",
3274
+ "type": "string",
3275
+ "minLength": 2,
3276
+ "maxLength": 10000
3277
+ },
3278
+ "negativePrompt": {
3279
+ "title": "Negative Prompt",
3280
+ "description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
3281
+ "type": "string",
3282
+ "minLength": 2,
3283
+ "maxLength": 3000
3284
+ },
3285
+ "width": {
3286
+ "title": "Width",
3287
+ "description": "Width of the generated media in pixels.",
3288
+ "type": "integer",
3289
+ "minimum": 128,
3290
+ "maximum": 2048,
3291
+ "multipleOf": 16
3292
+ },
3293
+ "height": {
3294
+ "title": "Height",
3295
+ "description": "Height of the generated media in pixels.",
3296
+ "type": "integer",
3297
+ "minimum": 128,
3298
+ "maximum": 2048,
3299
+ "multipleOf": 16
3300
+ },
3301
+ "seed": {
3302
+ "title": "Seed",
3303
+ "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
3304
+ "type": "integer",
3305
+ "minimum": 0,
3306
+ "maximum": 9223372036854776000
3307
+ },
3308
+ "strength": {
3309
+ "title": "Strength",
3310
+ "description": "Strength of the transformation. Lower values result in more influence from the original input.",
3311
+ "type": "number",
3312
+ "multipleOf": 0.01,
3313
+ "minimum": 0,
3314
+ "maximum": 1,
3315
+ "default": 0.8
3316
+ },
3317
+ "maskMargin": {
3318
+ "title": "Mask Margin",
3319
+ "description": "Extra context pixels around the masked region during inpainting. The model zooms into the masked area with these additional pixels for better integration.",
3320
+ "type": "integer",
3321
+ "minimum": 32,
3322
+ "maximum": 128
3323
+ },
3324
+ "acceleratorOptions": {
3325
+ "title": "Accelerator Options",
3326
+ "description": "Advanced caching mechanisms to speed up generation.",
3327
+ "type": "object",
3328
+ "properties": {
3329
+ "cacheEndStep": {
3330
+ "title": "Cache End Step",
3331
+ "description": "Absolute step number to end caching. Must be greater than `cacheStartStep` and less than or equal to `steps`.",
3332
+ "type": "integer",
3333
+ "minimum": 1
3334
+ },
3335
+ "cacheEndStepPercentage": {
3336
+ "title": "Cache End Step Percentage",
3337
+ "description": "Percentage of steps to end caching. Alternative to `cacheEndStep`. Must be greater than `cacheStartStepPercentage`.",
3338
+ "type": "integer",
3339
+ "minimum": 1,
3340
+ "maximum": 100
3341
+ },
3342
+ "cacheMaxConsecutiveSteps": {
3343
+ "title": "Cache Max Consecutive Steps",
3344
+ "description": "Limits the maximum number of consecutive steps that can use cached computations before forcing a fresh computation.",
3345
+ "type": "integer",
3346
+ "minimum": 1,
3347
+ "maximum": 5,
3348
+ "default": 3
3349
+ },
3350
+ "cacheStartStep": {
3351
+ "title": "Cache Start Step",
3352
+ "description": "Absolute step number to start caching. Must be less than `cacheEndStep`.",
3353
+ "type": "integer",
3354
+ "minimum": 0
3355
+ },
3356
+ "cacheStartStepPercentage": {
3357
+ "title": "Cache Start Step Percentage",
3358
+ "description": "Percentage of steps to start caching. Alternative to `cacheStartStep`. Must be less than `cacheEndStepPercentage`.",
3359
+ "type": "integer",
3360
+ "minimum": 0,
3361
+ "maximum": 99
3362
+ },
3363
+ "fbCache": {
3364
+ "title": "FB Cache",
3365
+ "description": "First Block Cache (FBCache) acceleration. Reuses feature block computations across steps.",
3366
+ "type": "boolean",
3367
+ "default": false
3368
+ },
3369
+ "fbCacheThreshold": {
3370
+ "title": "FB Cache Threshold",
3371
+ "description": "Controls the sensitivity threshold for determining when to reuse cached computations. Lower values reuse more aggressively.",
3372
+ "type": "number",
3373
+ "multipleOf": 0.01,
3374
+ "minimum": 0,
3375
+ "maximum": 1,
3376
+ "default": 0.25
3377
+ },
3378
+ "teaCache": {
3379
+ "title": "TeaCache",
3380
+ "description": "TeaCache acceleration for transformer-based models. Estimates step differences to skip redundant computations.",
3381
+ "type": "boolean",
3382
+ "default": false
3383
+ },
3384
+ "teaCacheDistance": {
3385
+ "title": "TeaCache Distance",
3386
+ "description": "Controls the aggressiveness of the TeaCache feature. Lower values prioritize quality, higher values prioritize speed.",
3387
+ "type": "number",
3388
+ "multipleOf": 0.01,
3389
+ "minimum": 0,
3390
+ "maximum": 1,
3391
+ "default": 0.5
3392
+ },
3393
+ "dbCache": {
3394
+ "title": "DB Cache",
3395
+ "description": "DB Cache (CacheDiT) acceleration. Caches and reuses intermediate transformer block outputs to skip redundant computations.",
3396
+ "type": "boolean",
3397
+ "default": false
3398
+ },
3399
+ "dbCacheThreshold": {
3400
+ "title": "DB Cache Threshold",
3401
+ "description": "Controls the sensitivity threshold for DB Cache. Lower values reuse cached blocks more aggressively, higher values prioritize quality.",
3402
+ "type": "number",
3403
+ "multipleOf": 0.01,
3404
+ "minimum": 0,
3405
+ "maximum": 1,
3406
+ "default": 0.25
3407
+ },
3408
+ "dbCacheSkipInterval": {
3409
+ "title": "DB Cache Skip Interval",
3410
+ "description": "Controls how many steps to skip between cache refreshes. Higher values skip more steps for faster generation at the cost of quality.",
3411
+ "type": "integer",
3412
+ "minimum": 1,
3413
+ "default": 5
3414
+ }
3415
+ },
3416
+ "allOf": [
3417
+ {
3418
+ "not": {
3419
+ "required": [
3420
+ "cacheStartStep",
3421
+ "cacheStartStepPercentage"
3422
+ ]
3423
+ }
3424
+ },
3425
+ {
3426
+ "not": {
3427
+ "required": [
3428
+ "cacheEndStep",
3429
+ "cacheEndStepPercentage"
3430
+ ]
3431
+ }
3432
+ }
3433
+ ],
3434
+ "additionalProperties": false
3435
+ },
3436
+ "outpaint": {
3437
+ "title": "Outpaint",
3438
+ "description": "Extends image boundaries in specified directions. Final width/height must account for original image plus extensions.",
3439
+ "type": "object",
3440
+ "properties": {
3441
+ "bottom": {
3442
+ "title": "Outpaint Bottom",
3443
+ "description": "Number of pixels to extend to the bottom.",
3444
+ "type": "integer",
3445
+ "minimum": 0
3446
+ },
3447
+ "left": {
3448
+ "title": "Outpaint Left",
3449
+ "description": "Number of pixels to extend to the left.",
3450
+ "type": "integer",
3451
+ "minimum": 0
3452
+ },
3453
+ "right": {
3454
+ "title": "Outpaint Right",
3455
+ "description": "Number of pixels to extend to the right.",
3456
+ "type": "integer",
3457
+ "minimum": 0
3458
+ },
3459
+ "top": {
3460
+ "title": "Outpaint Top",
3461
+ "description": "Number of pixels to extend to the top.",
3462
+ "type": "integer",
3463
+ "minimum": 0
3464
+ }
3465
+ },
3466
+ "additionalProperties": false
3467
+ },
3468
+ "lora": {
3469
+ "title": "LoRA",
3470
+ "description": "Configuration for Low-Rank Adaptation models.",
3471
+ "type": "array",
3472
+ "minItems": 1,
3473
+ "items": {
3474
+ "type": "object",
3475
+ "properties": {
3476
+ "model": {
3477
+ "title": "LoRA Model",
3478
+ "description": "LoRA model identifier.",
3479
+ "type": "string",
3480
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
3481
+ },
3482
+ "weight": {
3483
+ "title": "LoRA Weight",
3484
+ "description": "Strength of the LoRA influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the LoRA's style.",
3485
+ "type": "number",
3486
+ "multipleOf": 0.01,
3487
+ "minimum": -4,
3488
+ "maximum": 4,
3489
+ "default": 1
3490
+ },
3491
+ "transformer": {
3492
+ "title": "LoRA Transformer",
3493
+ "description": "Transformer stages to apply LoRA. Some video models use separate high-noise and low-noise processing stages, and LoRAs can be selectively applied to optimize their effectiveness.",
3494
+ "type": "string",
3495
+ "oneOf": [
3496
+ {
3497
+ "const": "high",
3498
+ "title": "High",
3499
+ "description": "Apply LoRA only to the high-noise processing stage (coarse structure and early generation steps)."
3500
+ },
3501
+ {
3502
+ "const": "low",
3503
+ "title": "Low",
3504
+ "description": "Apply LoRA only to the low-noise processing stage (fine details and later generation steps)."
3505
+ },
3506
+ {
3507
+ "const": "both",
3508
+ "title": "Both",
3509
+ "description": "Apply LoRA to both stages for full coverage."
3510
+ }
3511
+ ],
3512
+ "default": "both"
3513
+ }
3514
+ },
3515
+ "required": [
3516
+ "model"
3517
+ ],
3518
+ "additionalProperties": false
3519
+ }
3520
+ },
3521
+ "controlNet": {
3522
+ "title": "ControlNet",
3523
+ "description": "Configuration for identifying and applying ControlNet models.",
3524
+ "type": "array",
3525
+ "minItems": 1,
3526
+ "items": {
3527
+ "type": "object",
3528
+ "properties": {
3529
+ "model": {
3530
+ "title": "ControlNet Model",
3531
+ "description": "ControlNet model identifier.",
3532
+ "type": "string",
3533
+ "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
3534
+ },
3535
+ "weight": {
3536
+ "title": "ControlNet Weight",
3537
+ "description": "Strength of the ControlNet influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the guide image.",
3538
+ "type": "number",
3539
+ "multipleOf": 0.01,
3540
+ "minimum": -4,
3541
+ "maximum": 4,
3542
+ "default": 1
3543
+ },
3544
+ "guideImage": {
3545
+ "title": "Guide Image",
3546
+ "description": "Reference image for ControlNet guidance (UUID, URL, Data URI, or Base64).",
3547
+ "type": "string",
3548
+ "anyOf": [
3549
+ {
3550
+ "format": "uuid"
3551
+ },
3552
+ {
3553
+ "format": "uri"
3554
+ },
3555
+ {
3556
+ "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
3557
+ },
3558
+ {
3559
+ "pattern": "^[a-zA-Z0-9+/=]+$"
3560
+ }
3561
+ ]
3562
+ },
3563
+ "controlMode": {
3564
+ "title": "Control Mode",
3565
+ "description": "ControlNet guidance mode.",
3566
+ "type": "string",
3567
+ "default": "balanced",
3568
+ "oneOf": [
3569
+ {
3570
+ "const": "balanced",
3571
+ "description": "Equal weight between ControlNet and prompt."
3572
+ },
3573
+ {
3574
+ "const": "controlnet",
3575
+ "description": "Prioritize ControlNet guidance."
3576
+ },
3577
+ {
3578
+ "const": "prompt",
3579
+ "description": "Prioritize prompt guidance."
3580
+ }
3581
+ ]
3582
+ },
3583
+ "endStep": {
3584
+ "title": "ControlNet End Step",
3585
+ "description": "Absolute step number to end ControlNet influence. Must be greater than `startStep` and less than or equal to `steps`.",
3586
+ "type": "integer",
3587
+ "minimum": 1
3588
+ },
3589
+ "endStepPercentage": {
3590
+ "title": "End Step Percentage",
3591
+ "description": "Percentage of steps to end ControlNet influence. Must be greater than `startStepPercentage`.",
3592
+ "type": "integer",
3593
+ "minimum": 1,
3594
+ "maximum": 100
3595
+ },
3596
+ "startStep": {
3597
+ "title": "Start Step",
3598
+ "description": "Absolute step number to start ControlNet influence. Must be less than `endStep`.",
3599
+ "type": "integer",
3600
+ "minimum": 0
3601
+ },
3602
+ "startStepPercentage": {
3603
+ "title": "Start Step Percentage",
3604
+ "description": "Percentage of steps to start ControlNet influence. Must be less than `endStepPercentage`.",
3605
+ "type": "integer",
3606
+ "minimum": 0,
3607
+ "maximum": 99
3608
+ }
3609
+ },
3610
+ "required": [
3611
+ "model",
3612
+ "guideImage"
3613
+ ],
3614
+ "allOf": [
3615
+ {
3616
+ "not": {
3617
+ "required": [
3618
+ "startStep",
3619
+ "startStepPercentage"
3620
+ ]
3621
+ }
3622
+ },
3623
+ {
3624
+ "not": {
3625
+ "required": [
3626
+ "endStep",
3627
+ "endStepPercentage"
3628
+ ]
3629
+ }
3630
+ }
3631
+ ],
3632
+ "additionalProperties": false
3633
+ }
3634
+ },
3635
+ "ultralytics": {
3636
+ "title": "Ultralytics Features",
3637
+ "description": "Configuration for Ultralytics face enhancement.",
3638
+ "type": "object",
3639
+ "properties": {
3640
+ "CFGScale": {
3641
+ "title": "CFG Scale",
3642
+ "description": "Face refinement guidance scale.",
3643
+ "type": "number",
3644
+ "multipleOf": 0.1,
3645
+ "minimum": 0,
3646
+ "maximum": 50,
3647
+ "default": 8
3648
+ },
3649
+ "confidence": {
3650
+ "title": "Confidence",
3651
+ "description": "Confidence threshold for detection.",
3652
+ "type": "number",
3653
+ "multipleOf": 0.01,
3654
+ "minimum": 0,
3655
+ "maximum": 1,
3656
+ "default": 0.9
3657
+ },
3658
+ "maskBlur": {
3659
+ "title": "Mask Blur",
3660
+ "description": "Mask feathering amount. Higher values create softer transitions between the enhanced face region and surrounding areas.",
3661
+ "type": "integer",
3662
+ "minimum": 0,
3663
+ "maximum": 100,
3664
+ "default": 5
3665
+ },
3666
+ "maskPadding": {
3667
+ "title": "Mask Padding",
3668
+ "description": "Padding around detected face in pixels. Expands the refinement area to include surrounding context like hair and neck.",
3669
+ "type": "integer",
3670
+ "minimum": 0,
3671
+ "maximum": 20,
3672
+ "default": 5
3673
+ },
3674
+ "negativePrompt": {
3675
+ "title": "Negative Prompt",
3676
+ "description": "Negative prompt for detection.",
3677
+ "type": "string"
3678
+ },
3679
+ "positivePrompt": {
3680
+ "title": "Positive Prompt",
3681
+ "description": "Positive prompt for detection.",
3682
+ "type": "string"
3683
+ },
3684
+ "steps": {
3685
+ "title": "Steps",
3686
+ "description": "Number of face refinement steps.",
3687
+ "type": "integer",
3688
+ "minimum": 1,
3689
+ "maximum": 100,
3690
+ "default": 20
3691
+ },
3692
+ "strength": {
3693
+ "title": "Strength",
3694
+ "description": "Refinement strength. Lower values preserve more of the original, higher values allow more aggressive reconstruction.",
3695
+ "type": "number",
3696
+ "multipleOf": 0.01,
3697
+ "minimum": 0,
3698
+ "maximum": 1,
3699
+ "default": 0.3
3700
+ }
3701
+ },
3702
+ "additionalProperties": false
3703
+ },
3704
+ "taskType": {
3705
+ "title": "Task Type",
3706
+ "description": "Identifier for the type of task being performed",
3707
+ "type": "string",
3708
+ "const": "imageInference"
3709
+ },
3710
+ "taskUUID": {
3711
+ "title": "Task UUID",
3712
+ "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
3713
+ "type": "string",
3714
+ "format": "uuid"
3715
+ },
3716
+ "webhookURL": {
3717
+ "title": "Webhook URL",
3718
+ "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.",
3719
+ "type": "string",
3720
+ "format": "uri"
3721
+ },
3722
+ "includeCost": {
3723
+ "title": "Include Cost",
3724
+ "description": "Include task cost in the response.",
3725
+ "type": "boolean",
3726
+ "default": false
3727
+ },
3728
+ "numberResults": {
3729
+ "title": "Number of Results",
3730
+ "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
3731
+ "type": "integer",
3732
+ "minimum": 1,
3733
+ "default": 1,
3734
+ "maximum": 20
3735
+ },
3736
+ "uploadEndpoint": {
3737
+ "title": "Upload Endpoint",
3738
+ "description": "URL to upload content via HTTP PUT. The request body will contain the raw binary data.",
3739
+ "type": "string",
3740
+ "format": "uri"
3741
+ },
3742
+ "ttl": {
3743
+ "title": "TTL",
3744
+ "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
3745
+ "type": "integer",
3746
+ "minimum": 60
3747
+ },
3748
+ "outputType": {
3749
+ "title": "Output Type",
3750
+ "description": "Image output type.",
3751
+ "type": "string",
3752
+ "enum": [
3753
+ "URL",
3754
+ "base64Data",
3755
+ "dataURI"
3756
+ ],
3757
+ "default": "URL"
3758
+ },
3759
+ "outputFormat": {
3760
+ "title": "Output Format",
3761
+ "description": "File format for the generated image.",
3762
+ "type": "string",
3763
+ "enum": [
3764
+ "JPG",
3765
+ "PNG",
3766
+ "WEBP"
3767
+ ],
3768
+ "default": "JPG"
3769
+ },
3770
+ "outputQuality": {
3771
+ "title": "Output Quality",
3772
+ "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
3773
+ "type": "integer",
3774
+ "minimum": 20,
3775
+ "maximum": 99,
3776
+ "default": 95
3777
+ },
3778
+ "deliveryMethod": {
3779
+ "title": "Delivery Method",
3780
+ "description": "Determines how the API delivers task results.",
3781
+ "type": "string",
3782
+ "oneOf": [
3783
+ {
3784
+ "const": "sync",
3785
+ "description": "Returns complete results directly in the API response."
3786
+ },
3787
+ {
3788
+ "const": "async",
3789
+ "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
3790
+ }
3791
+ ],
3792
+ "default": "sync"
3793
+ },
3794
+ "safety": {
3795
+ "type": "object",
3796
+ "title": "Safety Settings",
3797
+ "description": "Content safety checking configuration for image generation.",
3798
+ "properties": {
3799
+ "checkContent": {
3800
+ "title": "Check Content",
3801
+ "description": "Enable or disable content safety checking. When enabled, defaults to `fast` mode.",
3802
+ "type": "boolean",
3803
+ "default": false
3804
+ },
3805
+ "mode": {
3806
+ "description": "Safety checking mode for image generation.",
3807
+ "type": "string",
3808
+ "oneOf": [
3809
+ {
3810
+ "const": "none",
3811
+ "title": "None",
3812
+ "description": "Disables checking."
3813
+ },
3814
+ {
3815
+ "const": "fast",
3816
+ "title": "Fast",
3817
+ "description": "Performs a single check."
3818
+ }
3819
+ ],
3820
+ "default": "none"
3821
+ }
3822
+ },
3823
+ "additionalProperties": false
3824
+ }
3825
+ },
3826
+ "required": [
3827
+ "positivePrompt",
3828
+ "width",
3829
+ "height",
3830
+ "taskType",
3831
+ "taskUUID",
3832
+ "model"
3833
+ ],
3834
+ "allOf": [
3835
+ {
3836
+ "dependentRequired": {
3837
+ "width": [
3838
+ "height"
3839
+ ],
3840
+ "height": [
3841
+ "width"
3842
+ ]
3843
+ }
3844
+ }
3845
+ ],
3846
+ "additionalProperties": false
3847
+ }
3848
+ ]
3849
+ }