@sureel/sdk 1.2.0-rc.15

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 (1115) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +11 -0
  3. package/api/sureel-api.d.ts +2072 -0
  4. package/api/sureel-api.d.ts.map +1 -0
  5. package/api/sureel-api.js +3360 -0
  6. package/api/sureel-api.js.map +1 -0
  7. package/api.d.ts +13 -0
  8. package/api.d.ts.map +1 -0
  9. package/api.js +31 -0
  10. package/api.js.map +1 -0
  11. package/base.d.ts +67 -0
  12. package/base.d.ts.map +1 -0
  13. package/base.js +68 -0
  14. package/base.js.map +1 -0
  15. package/common.d.ts +66 -0
  16. package/common.d.ts.map +1 -0
  17. package/common.js +206 -0
  18. package/common.js.map +1 -0
  19. package/configuration.d.ts +92 -0
  20. package/configuration.d.ts.map +1 -0
  21. package/configuration.js +46 -0
  22. package/configuration.js.map +1 -0
  23. package/esm/api/sureel-api.d.ts +2072 -0
  24. package/esm/api/sureel-api.d.ts.map +1 -0
  25. package/esm/api/sureel-api.js +3350 -0
  26. package/esm/api/sureel-api.js.map +1 -0
  27. package/esm/api.d.ts +13 -0
  28. package/esm/api.d.ts.map +1 -0
  29. package/esm/api.js +15 -0
  30. package/esm/api.js.map +1 -0
  31. package/esm/base.d.ts +67 -0
  32. package/esm/base.d.ts.map +1 -0
  33. package/esm/base.js +60 -0
  34. package/esm/base.js.map +1 -0
  35. package/esm/common.d.ts +66 -0
  36. package/esm/common.d.ts.map +1 -0
  37. package/esm/common.js +194 -0
  38. package/esm/common.js.map +1 -0
  39. package/esm/configuration.d.ts +92 -0
  40. package/esm/configuration.d.ts.map +1 -0
  41. package/esm/configuration.js +42 -0
  42. package/esm/configuration.js.map +1 -0
  43. package/esm/index.d.ts +15 -0
  44. package/esm/index.d.ts.map +1 -0
  45. package/esm/index.js +17 -0
  46. package/esm/index.js.map +1 -0
  47. package/esm/models/ai-influence.d.ts +19 -0
  48. package/esm/models/ai-influence.d.ts.map +1 -0
  49. package/esm/models/ai-influence.js +15 -0
  50. package/esm/models/ai-influence.js.map +1 -0
  51. package/esm/models/api-terms-request.d.ts +25 -0
  52. package/esm/models/api-terms-request.d.ts.map +1 -0
  53. package/esm/models/api-terms-request.js +15 -0
  54. package/esm/models/api-terms-request.js.map +1 -0
  55. package/esm/models/apply-watermark-request.d.ts +56 -0
  56. package/esm/models/apply-watermark-request.d.ts.map +1 -0
  57. package/esm/models/apply-watermark-request.js +15 -0
  58. package/esm/models/apply-watermark-request.js.map +1 -0
  59. package/esm/models/artist-collections-inner.d.ts +194 -0
  60. package/esm/models/artist-collections-inner.d.ts.map +1 -0
  61. package/esm/models/artist-collections-inner.js +15 -0
  62. package/esm/models/artist-collections-inner.js.map +1 -0
  63. package/esm/models/artist-profile-picture.d.ts +43 -0
  64. package/esm/models/artist-profile-picture.d.ts.map +1 -0
  65. package/esm/models/artist-profile-picture.js +15 -0
  66. package/esm/models/artist-profile-picture.js.map +1 -0
  67. package/esm/models/artist-profile-pictures.d.ts +19 -0
  68. package/esm/models/artist-profile-pictures.d.ts.map +1 -0
  69. package/esm/models/artist-profile-pictures.js +15 -0
  70. package/esm/models/artist-profile-pictures.js.map +1 -0
  71. package/esm/models/attribution-values-inner.d.ts +49 -0
  72. package/esm/models/attribution-values-inner.d.ts.map +1 -0
  73. package/esm/models/attribution-values-inner.js +15 -0
  74. package/esm/models/attribution-values-inner.js.map +1 -0
  75. package/esm/models/attribution.d.ts +32 -0
  76. package/esm/models/attribution.d.ts.map +1 -0
  77. package/esm/models/attribution.js +15 -0
  78. package/esm/models/attribution.js.map +1 -0
  79. package/esm/models/attribution1.d.ts +19 -0
  80. package/esm/models/attribution1.d.ts.map +1 -0
  81. package/esm/models/attribution1.js +15 -0
  82. package/esm/models/attribution1.js.map +1 -0
  83. package/esm/models/audio-ldm-request-data-artist-preset-inner.d.ts +49 -0
  84. package/esm/models/audio-ldm-request-data-artist-preset-inner.d.ts.map +1 -0
  85. package/esm/models/audio-ldm-request-data-artist-preset-inner.js +15 -0
  86. package/esm/models/audio-ldm-request-data-artist-preset-inner.js.map +1 -0
  87. package/esm/models/audio-ldm-request-data.d.ts +68 -0
  88. package/esm/models/audio-ldm-request-data.d.ts.map +1 -0
  89. package/esm/models/audio-ldm-request-data.js +15 -0
  90. package/esm/models/audio-ldm-request-data.js.map +1 -0
  91. package/esm/models/avatar-image-blending-request.d.ts +117 -0
  92. package/esm/models/avatar-image-blending-request.d.ts.map +1 -0
  93. package/esm/models/avatar-image-blending-request.js +15 -0
  94. package/esm/models/avatar-image-blending-request.js.map +1 -0
  95. package/esm/models/calculate-attribution-request.d.ts +37 -0
  96. package/esm/models/calculate-attribution-request.d.ts.map +1 -0
  97. package/esm/models/calculate-attribution-request.js +15 -0
  98. package/esm/models/calculate-attribution-request.js.map +1 -0
  99. package/esm/models/collection-status.d.ts +19 -0
  100. package/esm/models/collection-status.d.ts.map +1 -0
  101. package/esm/models/collection-status.js +15 -0
  102. package/esm/models/collection-status.js.map +1 -0
  103. package/esm/models/conditioning-scale-value-array.d.ts +19 -0
  104. package/esm/models/conditioning-scale-value-array.d.ts.map +1 -0
  105. package/esm/models/conditioning-scale-value-array.js +15 -0
  106. package/esm/models/conditioning-scale-value-array.js.map +1 -0
  107. package/esm/models/content-image-weight.d.ts +19 -0
  108. package/esm/models/content-image-weight.d.ts.map +1 -0
  109. package/esm/models/content-image-weight.js +15 -0
  110. package/esm/models/content-image-weight.js.map +1 -0
  111. package/esm/models/content-type.d.ts +19 -0
  112. package/esm/models/content-type.d.ts.map +1 -0
  113. package/esm/models/content-type.js +15 -0
  114. package/esm/models/content-type.js.map +1 -0
  115. package/esm/models/control-net-request-control-net.d.ts +38 -0
  116. package/esm/models/control-net-request-control-net.d.ts.map +1 -0
  117. package/esm/models/control-net-request-control-net.js +15 -0
  118. package/esm/models/control-net-request-control-net.js.map +1 -0
  119. package/esm/models/control-net-request.d.ts +111 -0
  120. package/esm/models/control-net-request.d.ts.map +1 -0
  121. package/esm/models/control-net-request.js +15 -0
  122. package/esm/models/control-net-request.js.map +1 -0
  123. package/esm/models/create-collection-request.d.ts +111 -0
  124. package/esm/models/create-collection-request.d.ts.map +1 -0
  125. package/esm/models/create-collection-request.js +15 -0
  126. package/esm/models/create-collection-request.js.map +1 -0
  127. package/esm/models/credit-calculation-request-upscale.d.ts +19 -0
  128. package/esm/models/credit-calculation-request-upscale.d.ts.map +1 -0
  129. package/esm/models/credit-calculation-request-upscale.js +15 -0
  130. package/esm/models/credit-calculation-request-upscale.js.map +1 -0
  131. package/esm/models/credit-calculation-request.d.ts +81 -0
  132. package/esm/models/credit-calculation-request.d.ts.map +1 -0
  133. package/esm/models/credit-calculation-request.js +15 -0
  134. package/esm/models/credit-calculation-request.js.map +1 -0
  135. package/esm/models/credit-composition.d.ts +85 -0
  136. package/esm/models/credit-composition.d.ts.map +1 -0
  137. package/esm/models/credit-composition.js +15 -0
  138. package/esm/models/credit-composition.js.map +1 -0
  139. package/esm/models/endpoint.d.ts +19 -0
  140. package/esm/models/endpoint.d.ts.map +1 -0
  141. package/esm/models/endpoint.js +15 -0
  142. package/esm/models/endpoint.js.map +1 -0
  143. package/esm/models/finetuning-request.d.ts +61 -0
  144. package/esm/models/finetuning-request.d.ts.map +1 -0
  145. package/esm/models/finetuning-request.js +15 -0
  146. package/esm/models/finetuning-request.js.map +1 -0
  147. package/esm/models/generate-preview-request.d.ts +49 -0
  148. package/esm/models/generate-preview-request.d.ts.map +1 -0
  149. package/esm/models/generate-preview-request.js +15 -0
  150. package/esm/models/generate-preview-request.js.map +1 -0
  151. package/esm/models/get-balance-response.d.ts +37 -0
  152. package/esm/models/get-balance-response.d.ts.map +1 -0
  153. package/esm/models/get-balance-response.js +15 -0
  154. package/esm/models/get-balance-response.js.map +1 -0
  155. package/esm/models/get-own-collections200-response-user-role.d.ts +19 -0
  156. package/esm/models/get-own-collections200-response-user-role.d.ts.map +1 -0
  157. package/esm/models/get-own-collections200-response-user-role.js +15 -0
  158. package/esm/models/get-own-collections200-response-user-role.js.map +1 -0
  159. package/esm/models/get-own-collections200-response.d.ts +167 -0
  160. package/esm/models/get-own-collections200-response.d.ts.map +1 -0
  161. package/esm/models/get-own-collections200-response.js +15 -0
  162. package/esm/models/get-own-collections200-response.js.map +1 -0
  163. package/esm/models/get-prompt-history-response.d.ts +32 -0
  164. package/esm/models/get-prompt-history-response.d.ts.map +1 -0
  165. package/esm/models/get-prompt-history-response.js +15 -0
  166. package/esm/models/get-prompt-history-response.js.map +1 -0
  167. package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.d.ts +37 -0
  168. package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.d.ts.map +1 -0
  169. package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.js +15 -0
  170. package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.js.map +1 -0
  171. package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.d.ts +86 -0
  172. package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.d.ts.map +1 -0
  173. package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.js +15 -0
  174. package/esm/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.js.map +1 -0
  175. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.d.ts +55 -0
  176. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.d.ts.map +1 -0
  177. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.js +15 -0
  178. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.js.map +1 -0
  179. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.d.ts +38 -0
  180. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.d.ts.map +1 -0
  181. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.js +15 -0
  182. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.js.map +1 -0
  183. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.d.ts +37 -0
  184. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.d.ts.map +1 -0
  185. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.js +15 -0
  186. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.js.map +1 -0
  187. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.d.ts +58 -0
  188. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.d.ts.map +1 -0
  189. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.js +15 -0
  190. package/esm/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.js.map +1 -0
  191. package/esm/models/get-result-by-request-id200-response-attribution-analysis.d.ts +33 -0
  192. package/esm/models/get-result-by-request-id200-response-attribution-analysis.d.ts.map +1 -0
  193. package/esm/models/get-result-by-request-id200-response-attribution-analysis.js +15 -0
  194. package/esm/models/get-result-by-request-id200-response-attribution-analysis.js.map +1 -0
  195. package/esm/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.d.ts +19 -0
  196. package/esm/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.d.ts.map +1 -0
  197. package/esm/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.js +15 -0
  198. package/esm/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.js.map +1 -0
  199. package/esm/models/get-result-by-request-id200-response-request-data-controlnet.d.ts +38 -0
  200. package/esm/models/get-result-by-request-id200-response-request-data-controlnet.d.ts.map +1 -0
  201. package/esm/models/get-result-by-request-id200-response-request-data-controlnet.js +15 -0
  202. package/esm/models/get-result-by-request-id200-response-request-data-controlnet.js.map +1 -0
  203. package/esm/models/get-result-by-request-id200-response-request-data.d.ts +135 -0
  204. package/esm/models/get-result-by-request-id200-response-request-data.d.ts.map +1 -0
  205. package/esm/models/get-result-by-request-id200-response-request-data.js +15 -0
  206. package/esm/models/get-result-by-request-id200-response-request-data.js.map +1 -0
  207. package/esm/models/get-result-by-request-id200-response.d.ts +126 -0
  208. package/esm/models/get-result-by-request-id200-response.d.ts.map +1 -0
  209. package/esm/models/get-result-by-request-id200-response.js +15 -0
  210. package/esm/models/get-result-by-request-id200-response.js.map +1 -0
  211. package/esm/models/get-style-presets200-response.d.ts +43 -0
  212. package/esm/models/get-style-presets200-response.d.ts.map +1 -0
  213. package/esm/models/get-style-presets200-response.js +15 -0
  214. package/esm/models/get-style-presets200-response.js.map +1 -0
  215. package/esm/models/get-transaction-history-response.d.ts +38 -0
  216. package/esm/models/get-transaction-history-response.d.ts.map +1 -0
  217. package/esm/models/get-transaction-history-response.js +15 -0
  218. package/esm/models/get-transaction-history-response.js.map +1 -0
  219. package/esm/models/image-blending-request.d.ts +130 -0
  220. package/esm/models/image-blending-request.d.ts.map +1 -0
  221. package/esm/models/image-blending-request.js +15 -0
  222. package/esm/models/image-blending-request.js.map +1 -0
  223. package/esm/models/index.d.ts +90 -0
  224. package/esm/models/index.d.ts.map +1 -0
  225. package/esm/models/index.js +90 -0
  226. package/esm/models/index.js.map +1 -0
  227. package/esm/models/inpaint-request.d.ts +136 -0
  228. package/esm/models/inpaint-request.d.ts.map +1 -0
  229. package/esm/models/inpaint-request.js +15 -0
  230. package/esm/models/inpaint-request.js.map +1 -0
  231. package/esm/models/post-credit-calculation-response.d.ts +32 -0
  232. package/esm/models/post-credit-calculation-response.d.ts.map +1 -0
  233. package/esm/models/post-credit-calculation-response.js +15 -0
  234. package/esm/models/post-credit-calculation-response.js.map +1 -0
  235. package/esm/models/post-ldm-response.d.ts +25 -0
  236. package/esm/models/post-ldm-response.d.ts.map +1 -0
  237. package/esm/models/post-ldm-response.js +15 -0
  238. package/esm/models/post-ldm-response.js.map +1 -0
  239. package/esm/models/post-upload-artworks-response.d.ts +25 -0
  240. package/esm/models/post-upload-artworks-response.d.ts.map +1 -0
  241. package/esm/models/post-upload-artworks-response.js +15 -0
  242. package/esm/models/post-upload-artworks-response.js.map +1 -0
  243. package/esm/models/prompt-history-entry-artist-profile-pictures.d.ts +19 -0
  244. package/esm/models/prompt-history-entry-artist-profile-pictures.d.ts.map +1 -0
  245. package/esm/models/prompt-history-entry-artist-profile-pictures.js +15 -0
  246. package/esm/models/prompt-history-entry-artist-profile-pictures.js.map +1 -0
  247. package/esm/models/prompt-history-entry-attribution-any-of.d.ts +19 -0
  248. package/esm/models/prompt-history-entry-attribution-any-of.d.ts.map +1 -0
  249. package/esm/models/prompt-history-entry-attribution-any-of.js +15 -0
  250. package/esm/models/prompt-history-entry-attribution-any-of.js.map +1 -0
  251. package/esm/models/prompt-history-entry-attribution.d.ts +19 -0
  252. package/esm/models/prompt-history-entry-attribution.d.ts.map +1 -0
  253. package/esm/models/prompt-history-entry-attribution.js +15 -0
  254. package/esm/models/prompt-history-entry-attribution.js.map +1 -0
  255. package/esm/models/prompt-history-entry-created-at.d.ts +19 -0
  256. package/esm/models/prompt-history-entry-created-at.d.ts.map +1 -0
  257. package/esm/models/prompt-history-entry-created-at.js +15 -0
  258. package/esm/models/prompt-history-entry-created-at.js.map +1 -0
  259. package/esm/models/prompt-history-entry-error-message.d.ts +19 -0
  260. package/esm/models/prompt-history-entry-error-message.d.ts.map +1 -0
  261. package/esm/models/prompt-history-entry-error-message.js +15 -0
  262. package/esm/models/prompt-history-entry-error-message.js.map +1 -0
  263. package/esm/models/prompt-history-entry-provenance.d.ts +19 -0
  264. package/esm/models/prompt-history-entry-provenance.d.ts.map +1 -0
  265. package/esm/models/prompt-history-entry-provenance.js +15 -0
  266. package/esm/models/prompt-history-entry-provenance.js.map +1 -0
  267. package/esm/models/prompt-history-entry-request-data.d.ts +135 -0
  268. package/esm/models/prompt-history-entry-request-data.d.ts.map +1 -0
  269. package/esm/models/prompt-history-entry-request-data.js +15 -0
  270. package/esm/models/prompt-history-entry-request-data.js.map +1 -0
  271. package/esm/models/prompt-history-entry-status.d.ts +19 -0
  272. package/esm/models/prompt-history-entry-status.d.ts.map +1 -0
  273. package/esm/models/prompt-history-entry-status.js +15 -0
  274. package/esm/models/prompt-history-entry-status.js.map +1 -0
  275. package/esm/models/prompt-history-entry.d.ts +141 -0
  276. package/esm/models/prompt-history-entry.d.ts.map +1 -0
  277. package/esm/models/prompt-history-entry.js +15 -0
  278. package/esm/models/prompt-history-entry.js.map +1 -0
  279. package/esm/models/provenance.d.ts +19 -0
  280. package/esm/models/provenance.d.ts.map +1 -0
  281. package/esm/models/provenance.js +15 -0
  282. package/esm/models/provenance.js.map +1 -0
  283. package/esm/models/reimagine-request.d.ts +124 -0
  284. package/esm/models/reimagine-request.d.ts.map +1 -0
  285. package/esm/models/reimagine-request.js +15 -0
  286. package/esm/models/reimagine-request.js.map +1 -0
  287. package/esm/models/remove-background-request.d.ts +44 -0
  288. package/esm/models/remove-background-request.d.ts.map +1 -0
  289. package/esm/models/remove-background-request.js +15 -0
  290. package/esm/models/remove-background-request.js.map +1 -0
  291. package/esm/models/resolution.d.ts +19 -0
  292. package/esm/models/resolution.d.ts.map +1 -0
  293. package/esm/models/resolution.js +15 -0
  294. package/esm/models/resolution.js.map +1 -0
  295. package/esm/models/strength.d.ts +19 -0
  296. package/esm/models/strength.d.ts.map +1 -0
  297. package/esm/models/strength.js +15 -0
  298. package/esm/models/strength.js.map +1 -0
  299. package/esm/models/style-image-style-image-weight.d.ts +19 -0
  300. package/esm/models/style-image-style-image-weight.d.ts.map +1 -0
  301. package/esm/models/style-image-style-image-weight.js +15 -0
  302. package/esm/models/style-image-style-image-weight.js.map +1 -0
  303. package/esm/models/style-image.d.ts +32 -0
  304. package/esm/models/style-image.d.ts.map +1 -0
  305. package/esm/models/style-image.js +15 -0
  306. package/esm/models/style-image.js.map +1 -0
  307. package/esm/models/style-transfer-request.d.ts +124 -0
  308. package/esm/models/style-transfer-request.d.ts.map +1 -0
  309. package/esm/models/style-transfer-request.js +15 -0
  310. package/esm/models/style-transfer-request.js.map +1 -0
  311. package/esm/models/subscription-tier.d.ts +19 -0
  312. package/esm/models/subscription-tier.d.ts.map +1 -0
  313. package/esm/models/subscription-tier.js +15 -0
  314. package/esm/models/subscription-tier.js.map +1 -0
  315. package/esm/models/text-to-image-request-artist-preset-inner.d.ts +31 -0
  316. package/esm/models/text-to-image-request-artist-preset-inner.d.ts.map +1 -0
  317. package/esm/models/text-to-image-request-artist-preset-inner.js +15 -0
  318. package/esm/models/text-to-image-request-artist-preset-inner.js.map +1 -0
  319. package/esm/models/text-to-image-request.d.ts +118 -0
  320. package/esm/models/text-to-image-request.d.ts.map +1 -0
  321. package/esm/models/text-to-image-request.js +15 -0
  322. package/esm/models/text-to-image-request.js.map +1 -0
  323. package/esm/models/transaction-history-type.d.ts +19 -0
  324. package/esm/models/transaction-history-type.d.ts.map +1 -0
  325. package/esm/models/transaction-history-type.js +15 -0
  326. package/esm/models/transaction-history-type.js.map +1 -0
  327. package/esm/models/transaction-history.d.ts +70 -0
  328. package/esm/models/transaction-history.d.ts.map +1 -0
  329. package/esm/models/transaction-history.js +15 -0
  330. package/esm/models/transaction-history.js.map +1 -0
  331. package/esm/models/update-collection-request.d.ts +37 -0
  332. package/esm/models/update-collection-request.d.ts.map +1 -0
  333. package/esm/models/update-collection-request.js +15 -0
  334. package/esm/models/update-collection-request.js.map +1 -0
  335. package/esm/models/updated-at.d.ts +19 -0
  336. package/esm/models/updated-at.d.ts.map +1 -0
  337. package/esm/models/updated-at.js +15 -0
  338. package/esm/models/updated-at.js.map +1 -0
  339. package/esm/models/upload-url-request.d.ts +25 -0
  340. package/esm/models/upload-url-request.d.ts.map +1 -0
  341. package/esm/models/upload-url-request.js +15 -0
  342. package/esm/models/upload-url-request.js.map +1 -0
  343. package/esm/models/upload-url.d.ts +31 -0
  344. package/esm/models/upload-url.d.ts.map +1 -0
  345. package/esm/models/upload-url.js +15 -0
  346. package/esm/models/upload-url.js.map +1 -0
  347. package/esm/models/upscale-request.d.ts +62 -0
  348. package/esm/models/upscale-request.d.ts.map +1 -0
  349. package/esm/models/upscale-request.js +15 -0
  350. package/esm/models/upscale-request.js.map +1 -0
  351. package/esm/models/v1-ai-artist-collections-get200-response-collections-inner.d.ts +139 -0
  352. package/esm/models/v1-ai-artist-collections-get200-response-collections-inner.d.ts.map +1 -0
  353. package/esm/models/v1-ai-artist-collections-get200-response-collections-inner.js +15 -0
  354. package/esm/models/v1-ai-artist-collections-get200-response-collections-inner.js.map +1 -0
  355. package/esm/models/v1-ai-artist-collections-get200-response.d.ts +152 -0
  356. package/esm/models/v1-ai-artist-collections-get200-response.d.ts.map +1 -0
  357. package/esm/models/v1-ai-artist-collections-get200-response.js +15 -0
  358. package/esm/models/v1-ai-artist-collections-get200-response.js.map +1 -0
  359. package/esm/models/v1-ai-artist-generate-upload-urls-post-request.d.ts +25 -0
  360. package/esm/models/v1-ai-artist-generate-upload-urls-post-request.d.ts.map +1 -0
  361. package/esm/models/v1-ai-artist-generate-upload-urls-post-request.js +15 -0
  362. package/esm/models/v1-ai-artist-generate-upload-urls-post-request.js.map +1 -0
  363. package/esm/models/v1-ai-artist-generate-upload-urls-post200-response-inner.d.ts +31 -0
  364. package/esm/models/v1-ai-artist-generate-upload-urls-post200-response-inner.d.ts.map +1 -0
  365. package/esm/models/v1-ai-artist-generate-upload-urls-post200-response-inner.js +15 -0
  366. package/esm/models/v1-ai-artist-generate-upload-urls-post200-response-inner.js.map +1 -0
  367. package/esm/models/v1-ai-artist-update-collection-collection-uuid-put-request.d.ts +37 -0
  368. package/esm/models/v1-ai-artist-update-collection-collection-uuid-put-request.d.ts.map +1 -0
  369. package/esm/models/v1-ai-artist-update-collection-collection-uuid-put-request.js +15 -0
  370. package/esm/models/v1-ai-artist-update-collection-collection-uuid-put-request.js.map +1 -0
  371. package/esm/models/v1-ai-artist-upload-artwork-post-request.d.ts +61 -0
  372. package/esm/models/v1-ai-artist-upload-artwork-post-request.d.ts.map +1 -0
  373. package/esm/models/v1-ai-artist-upload-artwork-post-request.js +15 -0
  374. package/esm/models/v1-ai-artist-upload-artwork-post-request.js.map +1 -0
  375. package/esm/models/v1-ai-artist-upload-artwork-post200-response.d.ts +25 -0
  376. package/esm/models/v1-ai-artist-upload-artwork-post200-response.d.ts.map +1 -0
  377. package/esm/models/v1-ai-artist-upload-artwork-post200-response.js +15 -0
  378. package/esm/models/v1-ai-artist-upload-artwork-post200-response.js.map +1 -0
  379. package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts +91 -0
  380. package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts.map +1 -0
  381. package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.js +15 -0
  382. package/esm/models/v1-ai-audio-ldm-audio-to-audio-post-request.js.map +1 -0
  383. package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts +37 -0
  384. package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts.map +1 -0
  385. package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.js +15 -0
  386. package/esm/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.js.map +1 -0
  387. package/esm/models/v1-ai-audio-ldm-request-id-get200-response-request-data.d.ts +55 -0
  388. package/esm/models/v1-ai-audio-ldm-request-id-get200-response-request-data.d.ts.map +1 -0
  389. package/esm/models/v1-ai-audio-ldm-request-id-get200-response-request-data.js +15 -0
  390. package/esm/models/v1-ai-audio-ldm-request-id-get200-response-request-data.js.map +1 -0
  391. package/esm/models/v1-ai-audio-ldm-request-id-get200-response-status.d.ts +19 -0
  392. package/esm/models/v1-ai-audio-ldm-request-id-get200-response-status.d.ts.map +1 -0
  393. package/esm/models/v1-ai-audio-ldm-request-id-get200-response-status.js +15 -0
  394. package/esm/models/v1-ai-audio-ldm-request-id-get200-response-status.js.map +1 -0
  395. package/esm/models/v1-ai-audio-ldm-request-id-get200-response.d.ts +101 -0
  396. package/esm/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -0
  397. package/esm/models/v1-ai-audio-ldm-request-id-get200-response.js +15 -0
  398. package/esm/models/v1-ai-audio-ldm-request-id-get200-response.js.map +1 -0
  399. package/esm/models/v1-ai-audio-ldm-stem-split-post-request.d.ts +37 -0
  400. package/esm/models/v1-ai-audio-ldm-stem-split-post-request.d.ts.map +1 -0
  401. package/esm/models/v1-ai-audio-ldm-stem-split-post-request.js +15 -0
  402. package/esm/models/v1-ai-audio-ldm-stem-split-post-request.js.map +1 -0
  403. package/esm/models/v1-ai-audio-ldm-text-to-audio-post-request.d.ts +79 -0
  404. package/esm/models/v1-ai-audio-ldm-text-to-audio-post-request.d.ts.map +1 -0
  405. package/esm/models/v1-ai-audio-ldm-text-to-audio-post-request.js +15 -0
  406. package/esm/models/v1-ai-audio-ldm-text-to-audio-post-request.js.map +1 -0
  407. package/esm/models/v1-ai-audio-ldm-text-to-audio-post200-response.d.ts +25 -0
  408. package/esm/models/v1-ai-audio-ldm-text-to-audio-post200-response.d.ts.map +1 -0
  409. package/esm/models/v1-ai-audio-ldm-text-to-audio-post200-response.js +15 -0
  410. package/esm/models/v1-ai-audio-ldm-text-to-audio-post200-response.js.map +1 -0
  411. package/esm/models/v1-ai-audio-ldm-text-to-speech-post-request.d.ts +79 -0
  412. package/esm/models/v1-ai-audio-ldm-text-to-speech-post-request.d.ts.map +1 -0
  413. package/esm/models/v1-ai-audio-ldm-text-to-speech-post-request.js +15 -0
  414. package/esm/models/v1-ai-audio-ldm-text-to-speech-post-request.js.map +1 -0
  415. package/esm/models/v1-ai-audio-ldm-upload-audios-post200-response.d.ts +25 -0
  416. package/esm/models/v1-ai-audio-ldm-upload-audios-post200-response.d.ts.map +1 -0
  417. package/esm/models/v1-ai-audio-ldm-upload-audios-post200-response.js +15 -0
  418. package/esm/models/v1-ai-audio-ldm-upload-audios-post200-response.js.map +1 -0
  419. package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.d.ts +25 -0
  420. package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.d.ts.map +1 -0
  421. package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.js +15 -0
  422. package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.js.map +1 -0
  423. package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request.d.ts +44 -0
  424. package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request.d.ts.map +1 -0
  425. package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request.js +15 -0
  426. package/esm/models/v1-ai-audio-ldm-voice-transfer-post-request.js.map +1 -0
  427. package/esm/models/v1-ai-credits-balance-get200-response.d.ts +37 -0
  428. package/esm/models/v1-ai-credits-balance-get200-response.d.ts.map +1 -0
  429. package/esm/models/v1-ai-credits-balance-get200-response.js +15 -0
  430. package/esm/models/v1-ai-credits-balance-get200-response.js.map +1 -0
  431. package/esm/models/v1-ai-credits-calculate-credits-post-request.d.ts +79 -0
  432. package/esm/models/v1-ai-credits-calculate-credits-post-request.d.ts.map +1 -0
  433. package/esm/models/v1-ai-credits-calculate-credits-post-request.js +15 -0
  434. package/esm/models/v1-ai-credits-calculate-credits-post-request.js.map +1 -0
  435. package/esm/models/v1-ai-credits-calculate-credits-post200-response.d.ts +32 -0
  436. package/esm/models/v1-ai-credits-calculate-credits-post200-response.d.ts.map +1 -0
  437. package/esm/models/v1-ai-credits-calculate-credits-post200-response.js +15 -0
  438. package/esm/models/v1-ai-credits-calculate-credits-post200-response.js.map +1 -0
  439. package/esm/models/v1-ai-credits-terms-put-request.d.ts +25 -0
  440. package/esm/models/v1-ai-credits-terms-put-request.d.ts.map +1 -0
  441. package/esm/models/v1-ai-credits-terms-put-request.js +15 -0
  442. package/esm/models/v1-ai-credits-terms-put-request.js.map +1 -0
  443. package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.d.ts +85 -0
  444. package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.d.ts.map +1 -0
  445. package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.js +15 -0
  446. package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.js.map +1 -0
  447. package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.d.ts +68 -0
  448. package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.d.ts.map +1 -0
  449. package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.js +15 -0
  450. package/esm/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.js.map +1 -0
  451. package/esm/models/v1-ai-credits-transaction-history-get200-response.d.ts +38 -0
  452. package/esm/models/v1-ai-credits-transaction-history-get200-response.d.ts.map +1 -0
  453. package/esm/models/v1-ai-credits-transaction-history-get200-response.js +15 -0
  454. package/esm/models/v1-ai-credits-transaction-history-get200-response.js.map +1 -0
  455. package/esm/models/v1-ai-ldm-apply-watermark-post-request.d.ts +55 -0
  456. package/esm/models/v1-ai-ldm-apply-watermark-post-request.d.ts.map +1 -0
  457. package/esm/models/v1-ai-ldm-apply-watermark-post-request.js +15 -0
  458. package/esm/models/v1-ai-ldm-apply-watermark-post-request.js.map +1 -0
  459. package/esm/models/v1-ai-ldm-attribution-analysis-post-request.d.ts +31 -0
  460. package/esm/models/v1-ai-ldm-attribution-analysis-post-request.d.ts.map +1 -0
  461. package/esm/models/v1-ai-ldm-attribution-analysis-post-request.js +15 -0
  462. package/esm/models/v1-ai-ldm-attribution-analysis-post-request.js.map +1 -0
  463. package/esm/models/v1-ai-ldm-attribution-setup-post-request.d.ts +25 -0
  464. package/esm/models/v1-ai-ldm-attribution-setup-post-request.d.ts.map +1 -0
  465. package/esm/models/v1-ai-ldm-attribution-setup-post-request.js +15 -0
  466. package/esm/models/v1-ai-ldm-attribution-setup-post-request.js.map +1 -0
  467. package/esm/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.d.ts +31 -0
  468. package/esm/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.d.ts.map +1 -0
  469. package/esm/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.js +15 -0
  470. package/esm/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.js.map +1 -0
  471. package/esm/models/v1-ai-ldm-avatar-image-blending-post-request.d.ts +117 -0
  472. package/esm/models/v1-ai-ldm-avatar-image-blending-post-request.d.ts.map +1 -0
  473. package/esm/models/v1-ai-ldm-avatar-image-blending-post-request.js +15 -0
  474. package/esm/models/v1-ai-ldm-avatar-image-blending-post-request.js.map +1 -0
  475. package/esm/models/v1-ai-ldm-calculate-image-attribution-post-request.d.ts +37 -0
  476. package/esm/models/v1-ai-ldm-calculate-image-attribution-post-request.d.ts.map +1 -0
  477. package/esm/models/v1-ai-ldm-calculate-image-attribution-post-request.js +15 -0
  478. package/esm/models/v1-ai-ldm-calculate-image-attribution-post-request.js.map +1 -0
  479. package/esm/models/v1-ai-ldm-control-net-post-request-control-net.d.ts +37 -0
  480. package/esm/models/v1-ai-ldm-control-net-post-request-control-net.d.ts.map +1 -0
  481. package/esm/models/v1-ai-ldm-control-net-post-request-control-net.js +15 -0
  482. package/esm/models/v1-ai-ldm-control-net-post-request-control-net.js.map +1 -0
  483. package/esm/models/v1-ai-ldm-control-net-post-request.d.ts +111 -0
  484. package/esm/models/v1-ai-ldm-control-net-post-request.d.ts.map +1 -0
  485. package/esm/models/v1-ai-ldm-control-net-post-request.js +15 -0
  486. package/esm/models/v1-ai-ldm-control-net-post-request.js.map +1 -0
  487. package/esm/models/v1-ai-ldm-cover-art-post-request-description-weight.d.ts +19 -0
  488. package/esm/models/v1-ai-ldm-cover-art-post-request-description-weight.d.ts.map +1 -0
  489. package/esm/models/v1-ai-ldm-cover-art-post-request-description-weight.js +15 -0
  490. package/esm/models/v1-ai-ldm-cover-art-post-request-description-weight.js.map +1 -0
  491. package/esm/models/v1-ai-ldm-cover-art-post-request.d.ts +178 -0
  492. package/esm/models/v1-ai-ldm-cover-art-post-request.d.ts.map +1 -0
  493. package/esm/models/v1-ai-ldm-cover-art-post-request.js +15 -0
  494. package/esm/models/v1-ai-ldm-cover-art-post-request.js.map +1 -0
  495. package/esm/models/v1-ai-ldm-fine-tuning-post-request.d.ts +61 -0
  496. package/esm/models/v1-ai-ldm-fine-tuning-post-request.d.ts.map +1 -0
  497. package/esm/models/v1-ai-ldm-fine-tuning-post-request.js +15 -0
  498. package/esm/models/v1-ai-ldm-fine-tuning-post-request.js.map +1 -0
  499. package/esm/models/v1-ai-ldm-generate-preview-post-request.d.ts +49 -0
  500. package/esm/models/v1-ai-ldm-generate-preview-post-request.d.ts.map +1 -0
  501. package/esm/models/v1-ai-ldm-generate-preview-post-request.js +15 -0
  502. package/esm/models/v1-ai-ldm-generate-preview-post-request.js.map +1 -0
  503. package/esm/models/v1-ai-ldm-image-blending-post-request.d.ts +128 -0
  504. package/esm/models/v1-ai-ldm-image-blending-post-request.d.ts.map +1 -0
  505. package/esm/models/v1-ai-ldm-image-blending-post-request.js +15 -0
  506. package/esm/models/v1-ai-ldm-image-blending-post-request.js.map +1 -0
  507. package/esm/models/v1-ai-ldm-inpaint-post-request.d.ts +134 -0
  508. package/esm/models/v1-ai-ldm-inpaint-post-request.d.ts.map +1 -0
  509. package/esm/models/v1-ai-ldm-inpaint-post-request.js +15 -0
  510. package/esm/models/v1-ai-ldm-inpaint-post-request.js.map +1 -0
  511. package/esm/models/v1-ai-ldm-queue-post-request-artist-preset-inner.d.ts +31 -0
  512. package/esm/models/v1-ai-ldm-queue-post-request-artist-preset-inner.d.ts.map +1 -0
  513. package/esm/models/v1-ai-ldm-queue-post-request-artist-preset-inner.js +15 -0
  514. package/esm/models/v1-ai-ldm-queue-post-request-artist-preset-inner.js.map +1 -0
  515. package/esm/models/v1-ai-ldm-queue-post-request.d.ts +116 -0
  516. package/esm/models/v1-ai-ldm-queue-post-request.d.ts.map +1 -0
  517. package/esm/models/v1-ai-ldm-queue-post-request.js +15 -0
  518. package/esm/models/v1-ai-ldm-queue-post-request.js.map +1 -0
  519. package/esm/models/v1-ai-ldm-reimagine-post-request.d.ts +122 -0
  520. package/esm/models/v1-ai-ldm-reimagine-post-request.d.ts.map +1 -0
  521. package/esm/models/v1-ai-ldm-reimagine-post-request.js +15 -0
  522. package/esm/models/v1-ai-ldm-reimagine-post-request.js.map +1 -0
  523. package/esm/models/v1-ai-ldm-remove-background-post-request.d.ts +43 -0
  524. package/esm/models/v1-ai-ldm-remove-background-post-request.d.ts.map +1 -0
  525. package/esm/models/v1-ai-ldm-remove-background-post-request.js +15 -0
  526. package/esm/models/v1-ai-ldm-remove-background-post-request.js.map +1 -0
  527. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.d.ts +49 -0
  528. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.d.ts.map +1 -0
  529. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.js +15 -0
  530. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.js.map +1 -0
  531. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.d.ts +37 -0
  532. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.d.ts.map +1 -0
  533. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.js +15 -0
  534. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.js.map +1 -0
  535. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data.d.ts +135 -0
  536. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data.d.ts.map +1 -0
  537. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data.js +15 -0
  538. package/esm/models/v1-ai-ldm-request-id-get200-response-request-data.js.map +1 -0
  539. package/esm/models/v1-ai-ldm-request-id-get200-response.d.ts +116 -0
  540. package/esm/models/v1-ai-ldm-request-id-get200-response.d.ts.map +1 -0
  541. package/esm/models/v1-ai-ldm-request-id-get200-response.js +15 -0
  542. package/esm/models/v1-ai-ldm-request-id-get200-response.js.map +1 -0
  543. package/esm/models/v1-ai-ldm-style-presets-get200-response-anime.d.ts +67 -0
  544. package/esm/models/v1-ai-ldm-style-presets-get200-response-anime.d.ts.map +1 -0
  545. package/esm/models/v1-ai-ldm-style-presets-get200-response-anime.js +15 -0
  546. package/esm/models/v1-ai-ldm-style-presets-get200-response-anime.js.map +1 -0
  547. package/esm/models/v1-ai-ldm-style-presets-get200-response-digital-art.d.ts +67 -0
  548. package/esm/models/v1-ai-ldm-style-presets-get200-response-digital-art.d.ts.map +1 -0
  549. package/esm/models/v1-ai-ldm-style-presets-get200-response-digital-art.js +15 -0
  550. package/esm/models/v1-ai-ldm-style-presets-get200-response-digital-art.js.map +1 -0
  551. package/esm/models/v1-ai-ldm-style-presets-get200-response-painting.d.ts +67 -0
  552. package/esm/models/v1-ai-ldm-style-presets-get200-response-painting.d.ts.map +1 -0
  553. package/esm/models/v1-ai-ldm-style-presets-get200-response-painting.js +15 -0
  554. package/esm/models/v1-ai-ldm-style-presets-get200-response-painting.js.map +1 -0
  555. package/esm/models/v1-ai-ldm-style-presets-get200-response-photography.d.ts +67 -0
  556. package/esm/models/v1-ai-ldm-style-presets-get200-response-photography.d.ts.map +1 -0
  557. package/esm/models/v1-ai-ldm-style-presets-get200-response-photography.js +15 -0
  558. package/esm/models/v1-ai-ldm-style-presets-get200-response-photography.js.map +1 -0
  559. package/esm/models/v1-ai-ldm-style-presets-get200-response.d.ts +47 -0
  560. package/esm/models/v1-ai-ldm-style-presets-get200-response.d.ts.map +1 -0
  561. package/esm/models/v1-ai-ldm-style-presets-get200-response.js +15 -0
  562. package/esm/models/v1-ai-ldm-style-presets-get200-response.js.map +1 -0
  563. package/esm/models/v1-ai-ldm-style-transfer-post-request.d.ts +122 -0
  564. package/esm/models/v1-ai-ldm-style-transfer-post-request.d.ts.map +1 -0
  565. package/esm/models/v1-ai-ldm-style-transfer-post-request.js +15 -0
  566. package/esm/models/v1-ai-ldm-style-transfer-post-request.js.map +1 -0
  567. package/esm/models/v1-ai-ldm-upscale-post-request.d.ts +61 -0
  568. package/esm/models/v1-ai-ldm-upscale-post-request.d.ts.map +1 -0
  569. package/esm/models/v1-ai-ldm-upscale-post-request.js +15 -0
  570. package/esm/models/v1-ai-ldm-upscale-post-request.js.map +1 -0
  571. package/esm/models/v1-ai-prompt-history-get200-response-prompt-history-inner.d.ts +127 -0
  572. package/esm/models/v1-ai-prompt-history-get200-response-prompt-history-inner.d.ts.map +1 -0
  573. package/esm/models/v1-ai-prompt-history-get200-response-prompt-history-inner.js +15 -0
  574. package/esm/models/v1-ai-prompt-history-get200-response-prompt-history-inner.js.map +1 -0
  575. package/esm/models/v1-ai-prompt-history-get200-response.d.ts +32 -0
  576. package/esm/models/v1-ai-prompt-history-get200-response.d.ts.map +1 -0
  577. package/esm/models/v1-ai-prompt-history-get200-response.js +15 -0
  578. package/esm/models/v1-ai-prompt-history-get200-response.js.map +1 -0
  579. package/index.d.ts +15 -0
  580. package/index.d.ts.map +1 -0
  581. package/index.js +33 -0
  582. package/index.js.map +1 -0
  583. package/models/ai-influence.d.ts +19 -0
  584. package/models/ai-influence.d.ts.map +1 -0
  585. package/models/ai-influence.js +16 -0
  586. package/models/ai-influence.js.map +1 -0
  587. package/models/api-terms-request.d.ts +25 -0
  588. package/models/api-terms-request.d.ts.map +1 -0
  589. package/models/api-terms-request.js +16 -0
  590. package/models/api-terms-request.js.map +1 -0
  591. package/models/apply-watermark-request.d.ts +56 -0
  592. package/models/apply-watermark-request.d.ts.map +1 -0
  593. package/models/apply-watermark-request.js +16 -0
  594. package/models/apply-watermark-request.js.map +1 -0
  595. package/models/artist-collections-inner.d.ts +194 -0
  596. package/models/artist-collections-inner.d.ts.map +1 -0
  597. package/models/artist-collections-inner.js +16 -0
  598. package/models/artist-collections-inner.js.map +1 -0
  599. package/models/artist-profile-picture.d.ts +43 -0
  600. package/models/artist-profile-picture.d.ts.map +1 -0
  601. package/models/artist-profile-picture.js +16 -0
  602. package/models/artist-profile-picture.js.map +1 -0
  603. package/models/artist-profile-pictures.d.ts +19 -0
  604. package/models/artist-profile-pictures.d.ts.map +1 -0
  605. package/models/artist-profile-pictures.js +16 -0
  606. package/models/artist-profile-pictures.js.map +1 -0
  607. package/models/attribution-values-inner.d.ts +49 -0
  608. package/models/attribution-values-inner.d.ts.map +1 -0
  609. package/models/attribution-values-inner.js +16 -0
  610. package/models/attribution-values-inner.js.map +1 -0
  611. package/models/attribution.d.ts +32 -0
  612. package/models/attribution.d.ts.map +1 -0
  613. package/models/attribution.js +16 -0
  614. package/models/attribution.js.map +1 -0
  615. package/models/attribution1.d.ts +19 -0
  616. package/models/attribution1.d.ts.map +1 -0
  617. package/models/attribution1.js +16 -0
  618. package/models/attribution1.js.map +1 -0
  619. package/models/audio-ldm-request-data-artist-preset-inner.d.ts +49 -0
  620. package/models/audio-ldm-request-data-artist-preset-inner.d.ts.map +1 -0
  621. package/models/audio-ldm-request-data-artist-preset-inner.js +16 -0
  622. package/models/audio-ldm-request-data-artist-preset-inner.js.map +1 -0
  623. package/models/audio-ldm-request-data.d.ts +68 -0
  624. package/models/audio-ldm-request-data.d.ts.map +1 -0
  625. package/models/audio-ldm-request-data.js +16 -0
  626. package/models/audio-ldm-request-data.js.map +1 -0
  627. package/models/avatar-image-blending-request.d.ts +117 -0
  628. package/models/avatar-image-blending-request.d.ts.map +1 -0
  629. package/models/avatar-image-blending-request.js +16 -0
  630. package/models/avatar-image-blending-request.js.map +1 -0
  631. package/models/calculate-attribution-request.d.ts +37 -0
  632. package/models/calculate-attribution-request.d.ts.map +1 -0
  633. package/models/calculate-attribution-request.js +16 -0
  634. package/models/calculate-attribution-request.js.map +1 -0
  635. package/models/collection-status.d.ts +19 -0
  636. package/models/collection-status.d.ts.map +1 -0
  637. package/models/collection-status.js +16 -0
  638. package/models/collection-status.js.map +1 -0
  639. package/models/conditioning-scale-value-array.d.ts +19 -0
  640. package/models/conditioning-scale-value-array.d.ts.map +1 -0
  641. package/models/conditioning-scale-value-array.js +16 -0
  642. package/models/conditioning-scale-value-array.js.map +1 -0
  643. package/models/content-image-weight.d.ts +19 -0
  644. package/models/content-image-weight.d.ts.map +1 -0
  645. package/models/content-image-weight.js +16 -0
  646. package/models/content-image-weight.js.map +1 -0
  647. package/models/content-type.d.ts +19 -0
  648. package/models/content-type.d.ts.map +1 -0
  649. package/models/content-type.js +16 -0
  650. package/models/content-type.js.map +1 -0
  651. package/models/control-net-request-control-net.d.ts +38 -0
  652. package/models/control-net-request-control-net.d.ts.map +1 -0
  653. package/models/control-net-request-control-net.js +16 -0
  654. package/models/control-net-request-control-net.js.map +1 -0
  655. package/models/control-net-request.d.ts +111 -0
  656. package/models/control-net-request.d.ts.map +1 -0
  657. package/models/control-net-request.js +16 -0
  658. package/models/control-net-request.js.map +1 -0
  659. package/models/create-collection-request.d.ts +111 -0
  660. package/models/create-collection-request.d.ts.map +1 -0
  661. package/models/create-collection-request.js +16 -0
  662. package/models/create-collection-request.js.map +1 -0
  663. package/models/credit-calculation-request-upscale.d.ts +19 -0
  664. package/models/credit-calculation-request-upscale.d.ts.map +1 -0
  665. package/models/credit-calculation-request-upscale.js +16 -0
  666. package/models/credit-calculation-request-upscale.js.map +1 -0
  667. package/models/credit-calculation-request.d.ts +81 -0
  668. package/models/credit-calculation-request.d.ts.map +1 -0
  669. package/models/credit-calculation-request.js +16 -0
  670. package/models/credit-calculation-request.js.map +1 -0
  671. package/models/credit-composition.d.ts +85 -0
  672. package/models/credit-composition.d.ts.map +1 -0
  673. package/models/credit-composition.js +16 -0
  674. package/models/credit-composition.js.map +1 -0
  675. package/models/endpoint.d.ts +19 -0
  676. package/models/endpoint.d.ts.map +1 -0
  677. package/models/endpoint.js +16 -0
  678. package/models/endpoint.js.map +1 -0
  679. package/models/finetuning-request.d.ts +61 -0
  680. package/models/finetuning-request.d.ts.map +1 -0
  681. package/models/finetuning-request.js +16 -0
  682. package/models/finetuning-request.js.map +1 -0
  683. package/models/generate-preview-request.d.ts +49 -0
  684. package/models/generate-preview-request.d.ts.map +1 -0
  685. package/models/generate-preview-request.js +16 -0
  686. package/models/generate-preview-request.js.map +1 -0
  687. package/models/get-balance-response.d.ts +37 -0
  688. package/models/get-balance-response.d.ts.map +1 -0
  689. package/models/get-balance-response.js +16 -0
  690. package/models/get-balance-response.js.map +1 -0
  691. package/models/get-own-collections200-response-user-role.d.ts +19 -0
  692. package/models/get-own-collections200-response-user-role.d.ts.map +1 -0
  693. package/models/get-own-collections200-response-user-role.js +16 -0
  694. package/models/get-own-collections200-response-user-role.js.map +1 -0
  695. package/models/get-own-collections200-response.d.ts +167 -0
  696. package/models/get-own-collections200-response.d.ts.map +1 -0
  697. package/models/get-own-collections200-response.js +16 -0
  698. package/models/get-own-collections200-response.js.map +1 -0
  699. package/models/get-prompt-history-response.d.ts +32 -0
  700. package/models/get-prompt-history-response.d.ts.map +1 -0
  701. package/models/get-prompt-history-response.js +16 -0
  702. package/models/get-prompt-history-response.js.map +1 -0
  703. package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.d.ts +37 -0
  704. package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.d.ts.map +1 -0
  705. package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.js +16 -0
  706. package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner-color-matching.js.map +1 -0
  707. package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.d.ts +86 -0
  708. package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.d.ts.map +1 -0
  709. package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.js +16 -0
  710. package/models/get-result-by-request-id200-response-attribution-analysis-similar-files-inner.js.map +1 -0
  711. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.d.ts +55 -0
  712. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.d.ts.map +1 -0
  713. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.js +16 -0
  714. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-attribution-likelihood.js.map +1 -0
  715. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.d.ts +38 -0
  716. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.d.ts.map +1 -0
  717. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.js +16 -0
  718. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-color-matching.js.map +1 -0
  719. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.d.ts +37 -0
  720. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.d.ts.map +1 -0
  721. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.js +16 -0
  722. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics-identical-matches.js.map +1 -0
  723. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.d.ts +58 -0
  724. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.d.ts.map +1 -0
  725. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.js +16 -0
  726. package/models/get-result-by-request-id200-response-attribution-analysis-top-metrics.js.map +1 -0
  727. package/models/get-result-by-request-id200-response-attribution-analysis.d.ts +33 -0
  728. package/models/get-result-by-request-id200-response-attribution-analysis.d.ts.map +1 -0
  729. package/models/get-result-by-request-id200-response-attribution-analysis.js +16 -0
  730. package/models/get-result-by-request-id200-response-attribution-analysis.js.map +1 -0
  731. package/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.d.ts +19 -0
  732. package/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.d.ts.map +1 -0
  733. package/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.js +16 -0
  734. package/models/get-result-by-request-id200-response-request-data-controlnet-conditioning-scale.js.map +1 -0
  735. package/models/get-result-by-request-id200-response-request-data-controlnet.d.ts +38 -0
  736. package/models/get-result-by-request-id200-response-request-data-controlnet.d.ts.map +1 -0
  737. package/models/get-result-by-request-id200-response-request-data-controlnet.js +16 -0
  738. package/models/get-result-by-request-id200-response-request-data-controlnet.js.map +1 -0
  739. package/models/get-result-by-request-id200-response-request-data.d.ts +135 -0
  740. package/models/get-result-by-request-id200-response-request-data.d.ts.map +1 -0
  741. package/models/get-result-by-request-id200-response-request-data.js +16 -0
  742. package/models/get-result-by-request-id200-response-request-data.js.map +1 -0
  743. package/models/get-result-by-request-id200-response.d.ts +126 -0
  744. package/models/get-result-by-request-id200-response.d.ts.map +1 -0
  745. package/models/get-result-by-request-id200-response.js +16 -0
  746. package/models/get-result-by-request-id200-response.js.map +1 -0
  747. package/models/get-style-presets200-response.d.ts +43 -0
  748. package/models/get-style-presets200-response.d.ts.map +1 -0
  749. package/models/get-style-presets200-response.js +16 -0
  750. package/models/get-style-presets200-response.js.map +1 -0
  751. package/models/get-transaction-history-response.d.ts +38 -0
  752. package/models/get-transaction-history-response.d.ts.map +1 -0
  753. package/models/get-transaction-history-response.js +16 -0
  754. package/models/get-transaction-history-response.js.map +1 -0
  755. package/models/image-blending-request.d.ts +130 -0
  756. package/models/image-blending-request.d.ts.map +1 -0
  757. package/models/image-blending-request.js +16 -0
  758. package/models/image-blending-request.js.map +1 -0
  759. package/models/index.d.ts +90 -0
  760. package/models/index.d.ts.map +1 -0
  761. package/models/index.js +106 -0
  762. package/models/index.js.map +1 -0
  763. package/models/inpaint-request.d.ts +136 -0
  764. package/models/inpaint-request.d.ts.map +1 -0
  765. package/models/inpaint-request.js +16 -0
  766. package/models/inpaint-request.js.map +1 -0
  767. package/models/post-credit-calculation-response.d.ts +32 -0
  768. package/models/post-credit-calculation-response.d.ts.map +1 -0
  769. package/models/post-credit-calculation-response.js +16 -0
  770. package/models/post-credit-calculation-response.js.map +1 -0
  771. package/models/post-ldm-response.d.ts +25 -0
  772. package/models/post-ldm-response.d.ts.map +1 -0
  773. package/models/post-ldm-response.js +16 -0
  774. package/models/post-ldm-response.js.map +1 -0
  775. package/models/post-upload-artworks-response.d.ts +25 -0
  776. package/models/post-upload-artworks-response.d.ts.map +1 -0
  777. package/models/post-upload-artworks-response.js +16 -0
  778. package/models/post-upload-artworks-response.js.map +1 -0
  779. package/models/prompt-history-entry-artist-profile-pictures.d.ts +19 -0
  780. package/models/prompt-history-entry-artist-profile-pictures.d.ts.map +1 -0
  781. package/models/prompt-history-entry-artist-profile-pictures.js +16 -0
  782. package/models/prompt-history-entry-artist-profile-pictures.js.map +1 -0
  783. package/models/prompt-history-entry-attribution-any-of.d.ts +19 -0
  784. package/models/prompt-history-entry-attribution-any-of.d.ts.map +1 -0
  785. package/models/prompt-history-entry-attribution-any-of.js +16 -0
  786. package/models/prompt-history-entry-attribution-any-of.js.map +1 -0
  787. package/models/prompt-history-entry-attribution.d.ts +19 -0
  788. package/models/prompt-history-entry-attribution.d.ts.map +1 -0
  789. package/models/prompt-history-entry-attribution.js +16 -0
  790. package/models/prompt-history-entry-attribution.js.map +1 -0
  791. package/models/prompt-history-entry-created-at.d.ts +19 -0
  792. package/models/prompt-history-entry-created-at.d.ts.map +1 -0
  793. package/models/prompt-history-entry-created-at.js +16 -0
  794. package/models/prompt-history-entry-created-at.js.map +1 -0
  795. package/models/prompt-history-entry-error-message.d.ts +19 -0
  796. package/models/prompt-history-entry-error-message.d.ts.map +1 -0
  797. package/models/prompt-history-entry-error-message.js +16 -0
  798. package/models/prompt-history-entry-error-message.js.map +1 -0
  799. package/models/prompt-history-entry-provenance.d.ts +19 -0
  800. package/models/prompt-history-entry-provenance.d.ts.map +1 -0
  801. package/models/prompt-history-entry-provenance.js +16 -0
  802. package/models/prompt-history-entry-provenance.js.map +1 -0
  803. package/models/prompt-history-entry-request-data.d.ts +135 -0
  804. package/models/prompt-history-entry-request-data.d.ts.map +1 -0
  805. package/models/prompt-history-entry-request-data.js +16 -0
  806. package/models/prompt-history-entry-request-data.js.map +1 -0
  807. package/models/prompt-history-entry-status.d.ts +19 -0
  808. package/models/prompt-history-entry-status.d.ts.map +1 -0
  809. package/models/prompt-history-entry-status.js +16 -0
  810. package/models/prompt-history-entry-status.js.map +1 -0
  811. package/models/prompt-history-entry.d.ts +141 -0
  812. package/models/prompt-history-entry.d.ts.map +1 -0
  813. package/models/prompt-history-entry.js +16 -0
  814. package/models/prompt-history-entry.js.map +1 -0
  815. package/models/provenance.d.ts +19 -0
  816. package/models/provenance.d.ts.map +1 -0
  817. package/models/provenance.js +16 -0
  818. package/models/provenance.js.map +1 -0
  819. package/models/reimagine-request.d.ts +124 -0
  820. package/models/reimagine-request.d.ts.map +1 -0
  821. package/models/reimagine-request.js +16 -0
  822. package/models/reimagine-request.js.map +1 -0
  823. package/models/remove-background-request.d.ts +44 -0
  824. package/models/remove-background-request.d.ts.map +1 -0
  825. package/models/remove-background-request.js +16 -0
  826. package/models/remove-background-request.js.map +1 -0
  827. package/models/resolution.d.ts +19 -0
  828. package/models/resolution.d.ts.map +1 -0
  829. package/models/resolution.js +16 -0
  830. package/models/resolution.js.map +1 -0
  831. package/models/strength.d.ts +19 -0
  832. package/models/strength.d.ts.map +1 -0
  833. package/models/strength.js +16 -0
  834. package/models/strength.js.map +1 -0
  835. package/models/style-image-style-image-weight.d.ts +19 -0
  836. package/models/style-image-style-image-weight.d.ts.map +1 -0
  837. package/models/style-image-style-image-weight.js +16 -0
  838. package/models/style-image-style-image-weight.js.map +1 -0
  839. package/models/style-image.d.ts +32 -0
  840. package/models/style-image.d.ts.map +1 -0
  841. package/models/style-image.js +16 -0
  842. package/models/style-image.js.map +1 -0
  843. package/models/style-transfer-request.d.ts +124 -0
  844. package/models/style-transfer-request.d.ts.map +1 -0
  845. package/models/style-transfer-request.js +16 -0
  846. package/models/style-transfer-request.js.map +1 -0
  847. package/models/subscription-tier.d.ts +19 -0
  848. package/models/subscription-tier.d.ts.map +1 -0
  849. package/models/subscription-tier.js +16 -0
  850. package/models/subscription-tier.js.map +1 -0
  851. package/models/text-to-image-request-artist-preset-inner.d.ts +31 -0
  852. package/models/text-to-image-request-artist-preset-inner.d.ts.map +1 -0
  853. package/models/text-to-image-request-artist-preset-inner.js +16 -0
  854. package/models/text-to-image-request-artist-preset-inner.js.map +1 -0
  855. package/models/text-to-image-request.d.ts +118 -0
  856. package/models/text-to-image-request.d.ts.map +1 -0
  857. package/models/text-to-image-request.js +16 -0
  858. package/models/text-to-image-request.js.map +1 -0
  859. package/models/transaction-history-type.d.ts +19 -0
  860. package/models/transaction-history-type.d.ts.map +1 -0
  861. package/models/transaction-history-type.js +16 -0
  862. package/models/transaction-history-type.js.map +1 -0
  863. package/models/transaction-history.d.ts +70 -0
  864. package/models/transaction-history.d.ts.map +1 -0
  865. package/models/transaction-history.js +16 -0
  866. package/models/transaction-history.js.map +1 -0
  867. package/models/update-collection-request.d.ts +37 -0
  868. package/models/update-collection-request.d.ts.map +1 -0
  869. package/models/update-collection-request.js +16 -0
  870. package/models/update-collection-request.js.map +1 -0
  871. package/models/updated-at.d.ts +19 -0
  872. package/models/updated-at.d.ts.map +1 -0
  873. package/models/updated-at.js +16 -0
  874. package/models/updated-at.js.map +1 -0
  875. package/models/upload-url-request.d.ts +25 -0
  876. package/models/upload-url-request.d.ts.map +1 -0
  877. package/models/upload-url-request.js +16 -0
  878. package/models/upload-url-request.js.map +1 -0
  879. package/models/upload-url.d.ts +31 -0
  880. package/models/upload-url.d.ts.map +1 -0
  881. package/models/upload-url.js +16 -0
  882. package/models/upload-url.js.map +1 -0
  883. package/models/upscale-request.d.ts +62 -0
  884. package/models/upscale-request.d.ts.map +1 -0
  885. package/models/upscale-request.js +16 -0
  886. package/models/upscale-request.js.map +1 -0
  887. package/models/v1-ai-artist-collections-get200-response-collections-inner.d.ts +139 -0
  888. package/models/v1-ai-artist-collections-get200-response-collections-inner.d.ts.map +1 -0
  889. package/models/v1-ai-artist-collections-get200-response-collections-inner.js +16 -0
  890. package/models/v1-ai-artist-collections-get200-response-collections-inner.js.map +1 -0
  891. package/models/v1-ai-artist-collections-get200-response.d.ts +152 -0
  892. package/models/v1-ai-artist-collections-get200-response.d.ts.map +1 -0
  893. package/models/v1-ai-artist-collections-get200-response.js +16 -0
  894. package/models/v1-ai-artist-collections-get200-response.js.map +1 -0
  895. package/models/v1-ai-artist-generate-upload-urls-post-request.d.ts +25 -0
  896. package/models/v1-ai-artist-generate-upload-urls-post-request.d.ts.map +1 -0
  897. package/models/v1-ai-artist-generate-upload-urls-post-request.js +16 -0
  898. package/models/v1-ai-artist-generate-upload-urls-post-request.js.map +1 -0
  899. package/models/v1-ai-artist-generate-upload-urls-post200-response-inner.d.ts +31 -0
  900. package/models/v1-ai-artist-generate-upload-urls-post200-response-inner.d.ts.map +1 -0
  901. package/models/v1-ai-artist-generate-upload-urls-post200-response-inner.js +16 -0
  902. package/models/v1-ai-artist-generate-upload-urls-post200-response-inner.js.map +1 -0
  903. package/models/v1-ai-artist-update-collection-collection-uuid-put-request.d.ts +37 -0
  904. package/models/v1-ai-artist-update-collection-collection-uuid-put-request.d.ts.map +1 -0
  905. package/models/v1-ai-artist-update-collection-collection-uuid-put-request.js +16 -0
  906. package/models/v1-ai-artist-update-collection-collection-uuid-put-request.js.map +1 -0
  907. package/models/v1-ai-artist-upload-artwork-post-request.d.ts +61 -0
  908. package/models/v1-ai-artist-upload-artwork-post-request.d.ts.map +1 -0
  909. package/models/v1-ai-artist-upload-artwork-post-request.js +16 -0
  910. package/models/v1-ai-artist-upload-artwork-post-request.js.map +1 -0
  911. package/models/v1-ai-artist-upload-artwork-post200-response.d.ts +25 -0
  912. package/models/v1-ai-artist-upload-artwork-post200-response.d.ts.map +1 -0
  913. package/models/v1-ai-artist-upload-artwork-post200-response.js +16 -0
  914. package/models/v1-ai-artist-upload-artwork-post200-response.js.map +1 -0
  915. package/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts +91 -0
  916. package/models/v1-ai-audio-ldm-audio-to-audio-post-request.d.ts.map +1 -0
  917. package/models/v1-ai-audio-ldm-audio-to-audio-post-request.js +16 -0
  918. package/models/v1-ai-audio-ldm-audio-to-audio-post-request.js.map +1 -0
  919. package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts +37 -0
  920. package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.d.ts.map +1 -0
  921. package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.js +16 -0
  922. package/models/v1-ai-audio-ldm-calculate-audio-attribution-post-request.js.map +1 -0
  923. package/models/v1-ai-audio-ldm-request-id-get200-response-request-data.d.ts +55 -0
  924. package/models/v1-ai-audio-ldm-request-id-get200-response-request-data.d.ts.map +1 -0
  925. package/models/v1-ai-audio-ldm-request-id-get200-response-request-data.js +16 -0
  926. package/models/v1-ai-audio-ldm-request-id-get200-response-request-data.js.map +1 -0
  927. package/models/v1-ai-audio-ldm-request-id-get200-response-status.d.ts +19 -0
  928. package/models/v1-ai-audio-ldm-request-id-get200-response-status.d.ts.map +1 -0
  929. package/models/v1-ai-audio-ldm-request-id-get200-response-status.js +16 -0
  930. package/models/v1-ai-audio-ldm-request-id-get200-response-status.js.map +1 -0
  931. package/models/v1-ai-audio-ldm-request-id-get200-response.d.ts +101 -0
  932. package/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -0
  933. package/models/v1-ai-audio-ldm-request-id-get200-response.js +16 -0
  934. package/models/v1-ai-audio-ldm-request-id-get200-response.js.map +1 -0
  935. package/models/v1-ai-audio-ldm-stem-split-post-request.d.ts +37 -0
  936. package/models/v1-ai-audio-ldm-stem-split-post-request.d.ts.map +1 -0
  937. package/models/v1-ai-audio-ldm-stem-split-post-request.js +16 -0
  938. package/models/v1-ai-audio-ldm-stem-split-post-request.js.map +1 -0
  939. package/models/v1-ai-audio-ldm-text-to-audio-post-request.d.ts +79 -0
  940. package/models/v1-ai-audio-ldm-text-to-audio-post-request.d.ts.map +1 -0
  941. package/models/v1-ai-audio-ldm-text-to-audio-post-request.js +16 -0
  942. package/models/v1-ai-audio-ldm-text-to-audio-post-request.js.map +1 -0
  943. package/models/v1-ai-audio-ldm-text-to-audio-post200-response.d.ts +25 -0
  944. package/models/v1-ai-audio-ldm-text-to-audio-post200-response.d.ts.map +1 -0
  945. package/models/v1-ai-audio-ldm-text-to-audio-post200-response.js +16 -0
  946. package/models/v1-ai-audio-ldm-text-to-audio-post200-response.js.map +1 -0
  947. package/models/v1-ai-audio-ldm-text-to-speech-post-request.d.ts +79 -0
  948. package/models/v1-ai-audio-ldm-text-to-speech-post-request.d.ts.map +1 -0
  949. package/models/v1-ai-audio-ldm-text-to-speech-post-request.js +16 -0
  950. package/models/v1-ai-audio-ldm-text-to-speech-post-request.js.map +1 -0
  951. package/models/v1-ai-audio-ldm-upload-audios-post200-response.d.ts +25 -0
  952. package/models/v1-ai-audio-ldm-upload-audios-post200-response.d.ts.map +1 -0
  953. package/models/v1-ai-audio-ldm-upload-audios-post200-response.js +16 -0
  954. package/models/v1-ai-audio-ldm-upload-audios-post200-response.js.map +1 -0
  955. package/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.d.ts +25 -0
  956. package/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.d.ts.map +1 -0
  957. package/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.js +16 -0
  958. package/models/v1-ai-audio-ldm-voice-transfer-post-request-voice-preset-inner.js.map +1 -0
  959. package/models/v1-ai-audio-ldm-voice-transfer-post-request.d.ts +44 -0
  960. package/models/v1-ai-audio-ldm-voice-transfer-post-request.d.ts.map +1 -0
  961. package/models/v1-ai-audio-ldm-voice-transfer-post-request.js +16 -0
  962. package/models/v1-ai-audio-ldm-voice-transfer-post-request.js.map +1 -0
  963. package/models/v1-ai-credits-balance-get200-response.d.ts +37 -0
  964. package/models/v1-ai-credits-balance-get200-response.d.ts.map +1 -0
  965. package/models/v1-ai-credits-balance-get200-response.js +16 -0
  966. package/models/v1-ai-credits-balance-get200-response.js.map +1 -0
  967. package/models/v1-ai-credits-calculate-credits-post-request.d.ts +79 -0
  968. package/models/v1-ai-credits-calculate-credits-post-request.d.ts.map +1 -0
  969. package/models/v1-ai-credits-calculate-credits-post-request.js +16 -0
  970. package/models/v1-ai-credits-calculate-credits-post-request.js.map +1 -0
  971. package/models/v1-ai-credits-calculate-credits-post200-response.d.ts +32 -0
  972. package/models/v1-ai-credits-calculate-credits-post200-response.d.ts.map +1 -0
  973. package/models/v1-ai-credits-calculate-credits-post200-response.js +16 -0
  974. package/models/v1-ai-credits-calculate-credits-post200-response.js.map +1 -0
  975. package/models/v1-ai-credits-terms-put-request.d.ts +25 -0
  976. package/models/v1-ai-credits-terms-put-request.d.ts.map +1 -0
  977. package/models/v1-ai-credits-terms-put-request.js +16 -0
  978. package/models/v1-ai-credits-terms-put-request.js.map +1 -0
  979. package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.d.ts +85 -0
  980. package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.d.ts.map +1 -0
  981. package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.js +16 -0
  982. package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner-credit-composition-inner.js.map +1 -0
  983. package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.d.ts +68 -0
  984. package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.d.ts.map +1 -0
  985. package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.js +16 -0
  986. package/models/v1-ai-credits-transaction-history-get200-response-transaction-history-inner.js.map +1 -0
  987. package/models/v1-ai-credits-transaction-history-get200-response.d.ts +38 -0
  988. package/models/v1-ai-credits-transaction-history-get200-response.d.ts.map +1 -0
  989. package/models/v1-ai-credits-transaction-history-get200-response.js +16 -0
  990. package/models/v1-ai-credits-transaction-history-get200-response.js.map +1 -0
  991. package/models/v1-ai-ldm-apply-watermark-post-request.d.ts +55 -0
  992. package/models/v1-ai-ldm-apply-watermark-post-request.d.ts.map +1 -0
  993. package/models/v1-ai-ldm-apply-watermark-post-request.js +16 -0
  994. package/models/v1-ai-ldm-apply-watermark-post-request.js.map +1 -0
  995. package/models/v1-ai-ldm-attribution-analysis-post-request.d.ts +31 -0
  996. package/models/v1-ai-ldm-attribution-analysis-post-request.d.ts.map +1 -0
  997. package/models/v1-ai-ldm-attribution-analysis-post-request.js +16 -0
  998. package/models/v1-ai-ldm-attribution-analysis-post-request.js.map +1 -0
  999. package/models/v1-ai-ldm-attribution-setup-post-request.d.ts +25 -0
  1000. package/models/v1-ai-ldm-attribution-setup-post-request.d.ts.map +1 -0
  1001. package/models/v1-ai-ldm-attribution-setup-post-request.js +16 -0
  1002. package/models/v1-ai-ldm-attribution-setup-post-request.js.map +1 -0
  1003. package/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.d.ts +31 -0
  1004. package/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.d.ts.map +1 -0
  1005. package/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.js +16 -0
  1006. package/models/v1-ai-ldm-avatar-image-blending-post-request-style-images-inner.js.map +1 -0
  1007. package/models/v1-ai-ldm-avatar-image-blending-post-request.d.ts +117 -0
  1008. package/models/v1-ai-ldm-avatar-image-blending-post-request.d.ts.map +1 -0
  1009. package/models/v1-ai-ldm-avatar-image-blending-post-request.js +16 -0
  1010. package/models/v1-ai-ldm-avatar-image-blending-post-request.js.map +1 -0
  1011. package/models/v1-ai-ldm-calculate-image-attribution-post-request.d.ts +37 -0
  1012. package/models/v1-ai-ldm-calculate-image-attribution-post-request.d.ts.map +1 -0
  1013. package/models/v1-ai-ldm-calculate-image-attribution-post-request.js +16 -0
  1014. package/models/v1-ai-ldm-calculate-image-attribution-post-request.js.map +1 -0
  1015. package/models/v1-ai-ldm-control-net-post-request-control-net.d.ts +37 -0
  1016. package/models/v1-ai-ldm-control-net-post-request-control-net.d.ts.map +1 -0
  1017. package/models/v1-ai-ldm-control-net-post-request-control-net.js +16 -0
  1018. package/models/v1-ai-ldm-control-net-post-request-control-net.js.map +1 -0
  1019. package/models/v1-ai-ldm-control-net-post-request.d.ts +111 -0
  1020. package/models/v1-ai-ldm-control-net-post-request.d.ts.map +1 -0
  1021. package/models/v1-ai-ldm-control-net-post-request.js +16 -0
  1022. package/models/v1-ai-ldm-control-net-post-request.js.map +1 -0
  1023. package/models/v1-ai-ldm-cover-art-post-request-description-weight.d.ts +19 -0
  1024. package/models/v1-ai-ldm-cover-art-post-request-description-weight.d.ts.map +1 -0
  1025. package/models/v1-ai-ldm-cover-art-post-request-description-weight.js +16 -0
  1026. package/models/v1-ai-ldm-cover-art-post-request-description-weight.js.map +1 -0
  1027. package/models/v1-ai-ldm-cover-art-post-request.d.ts +178 -0
  1028. package/models/v1-ai-ldm-cover-art-post-request.d.ts.map +1 -0
  1029. package/models/v1-ai-ldm-cover-art-post-request.js +16 -0
  1030. package/models/v1-ai-ldm-cover-art-post-request.js.map +1 -0
  1031. package/models/v1-ai-ldm-fine-tuning-post-request.d.ts +61 -0
  1032. package/models/v1-ai-ldm-fine-tuning-post-request.d.ts.map +1 -0
  1033. package/models/v1-ai-ldm-fine-tuning-post-request.js +16 -0
  1034. package/models/v1-ai-ldm-fine-tuning-post-request.js.map +1 -0
  1035. package/models/v1-ai-ldm-generate-preview-post-request.d.ts +49 -0
  1036. package/models/v1-ai-ldm-generate-preview-post-request.d.ts.map +1 -0
  1037. package/models/v1-ai-ldm-generate-preview-post-request.js +16 -0
  1038. package/models/v1-ai-ldm-generate-preview-post-request.js.map +1 -0
  1039. package/models/v1-ai-ldm-image-blending-post-request.d.ts +128 -0
  1040. package/models/v1-ai-ldm-image-blending-post-request.d.ts.map +1 -0
  1041. package/models/v1-ai-ldm-image-blending-post-request.js +16 -0
  1042. package/models/v1-ai-ldm-image-blending-post-request.js.map +1 -0
  1043. package/models/v1-ai-ldm-inpaint-post-request.d.ts +134 -0
  1044. package/models/v1-ai-ldm-inpaint-post-request.d.ts.map +1 -0
  1045. package/models/v1-ai-ldm-inpaint-post-request.js +16 -0
  1046. package/models/v1-ai-ldm-inpaint-post-request.js.map +1 -0
  1047. package/models/v1-ai-ldm-queue-post-request-artist-preset-inner.d.ts +31 -0
  1048. package/models/v1-ai-ldm-queue-post-request-artist-preset-inner.d.ts.map +1 -0
  1049. package/models/v1-ai-ldm-queue-post-request-artist-preset-inner.js +16 -0
  1050. package/models/v1-ai-ldm-queue-post-request-artist-preset-inner.js.map +1 -0
  1051. package/models/v1-ai-ldm-queue-post-request.d.ts +116 -0
  1052. package/models/v1-ai-ldm-queue-post-request.d.ts.map +1 -0
  1053. package/models/v1-ai-ldm-queue-post-request.js +16 -0
  1054. package/models/v1-ai-ldm-queue-post-request.js.map +1 -0
  1055. package/models/v1-ai-ldm-reimagine-post-request.d.ts +122 -0
  1056. package/models/v1-ai-ldm-reimagine-post-request.d.ts.map +1 -0
  1057. package/models/v1-ai-ldm-reimagine-post-request.js +16 -0
  1058. package/models/v1-ai-ldm-reimagine-post-request.js.map +1 -0
  1059. package/models/v1-ai-ldm-remove-background-post-request.d.ts +43 -0
  1060. package/models/v1-ai-ldm-remove-background-post-request.d.ts.map +1 -0
  1061. package/models/v1-ai-ldm-remove-background-post-request.js +16 -0
  1062. package/models/v1-ai-ldm-remove-background-post-request.js.map +1 -0
  1063. package/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.d.ts +49 -0
  1064. package/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.d.ts.map +1 -0
  1065. package/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.js +16 -0
  1066. package/models/v1-ai-ldm-request-id-get200-response-request-data-artist-preset-inner.js.map +1 -0
  1067. package/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.d.ts +37 -0
  1068. package/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.d.ts.map +1 -0
  1069. package/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.js +16 -0
  1070. package/models/v1-ai-ldm-request-id-get200-response-request-data-controlnet.js.map +1 -0
  1071. package/models/v1-ai-ldm-request-id-get200-response-request-data.d.ts +135 -0
  1072. package/models/v1-ai-ldm-request-id-get200-response-request-data.d.ts.map +1 -0
  1073. package/models/v1-ai-ldm-request-id-get200-response-request-data.js +16 -0
  1074. package/models/v1-ai-ldm-request-id-get200-response-request-data.js.map +1 -0
  1075. package/models/v1-ai-ldm-request-id-get200-response.d.ts +116 -0
  1076. package/models/v1-ai-ldm-request-id-get200-response.d.ts.map +1 -0
  1077. package/models/v1-ai-ldm-request-id-get200-response.js +16 -0
  1078. package/models/v1-ai-ldm-request-id-get200-response.js.map +1 -0
  1079. package/models/v1-ai-ldm-style-presets-get200-response-anime.d.ts +67 -0
  1080. package/models/v1-ai-ldm-style-presets-get200-response-anime.d.ts.map +1 -0
  1081. package/models/v1-ai-ldm-style-presets-get200-response-anime.js +16 -0
  1082. package/models/v1-ai-ldm-style-presets-get200-response-anime.js.map +1 -0
  1083. package/models/v1-ai-ldm-style-presets-get200-response-digital-art.d.ts +67 -0
  1084. package/models/v1-ai-ldm-style-presets-get200-response-digital-art.d.ts.map +1 -0
  1085. package/models/v1-ai-ldm-style-presets-get200-response-digital-art.js +16 -0
  1086. package/models/v1-ai-ldm-style-presets-get200-response-digital-art.js.map +1 -0
  1087. package/models/v1-ai-ldm-style-presets-get200-response-painting.d.ts +67 -0
  1088. package/models/v1-ai-ldm-style-presets-get200-response-painting.d.ts.map +1 -0
  1089. package/models/v1-ai-ldm-style-presets-get200-response-painting.js +16 -0
  1090. package/models/v1-ai-ldm-style-presets-get200-response-painting.js.map +1 -0
  1091. package/models/v1-ai-ldm-style-presets-get200-response-photography.d.ts +67 -0
  1092. package/models/v1-ai-ldm-style-presets-get200-response-photography.d.ts.map +1 -0
  1093. package/models/v1-ai-ldm-style-presets-get200-response-photography.js +16 -0
  1094. package/models/v1-ai-ldm-style-presets-get200-response-photography.js.map +1 -0
  1095. package/models/v1-ai-ldm-style-presets-get200-response.d.ts +47 -0
  1096. package/models/v1-ai-ldm-style-presets-get200-response.d.ts.map +1 -0
  1097. package/models/v1-ai-ldm-style-presets-get200-response.js +16 -0
  1098. package/models/v1-ai-ldm-style-presets-get200-response.js.map +1 -0
  1099. package/models/v1-ai-ldm-style-transfer-post-request.d.ts +122 -0
  1100. package/models/v1-ai-ldm-style-transfer-post-request.d.ts.map +1 -0
  1101. package/models/v1-ai-ldm-style-transfer-post-request.js +16 -0
  1102. package/models/v1-ai-ldm-style-transfer-post-request.js.map +1 -0
  1103. package/models/v1-ai-ldm-upscale-post-request.d.ts +61 -0
  1104. package/models/v1-ai-ldm-upscale-post-request.d.ts.map +1 -0
  1105. package/models/v1-ai-ldm-upscale-post-request.js +16 -0
  1106. package/models/v1-ai-ldm-upscale-post-request.js.map +1 -0
  1107. package/models/v1-ai-prompt-history-get200-response-prompt-history-inner.d.ts +127 -0
  1108. package/models/v1-ai-prompt-history-get200-response-prompt-history-inner.d.ts.map +1 -0
  1109. package/models/v1-ai-prompt-history-get200-response-prompt-history-inner.js +16 -0
  1110. package/models/v1-ai-prompt-history-get200-response-prompt-history-inner.js.map +1 -0
  1111. package/models/v1-ai-prompt-history-get200-response.d.ts +32 -0
  1112. package/models/v1-ai-prompt-history-get200-response.d.ts.map +1 -0
  1113. package/models/v1-ai-prompt-history-get200-response.js +16 -0
  1114. package/models/v1-ai-prompt-history-get200-response.js.map +1 -0
  1115. package/package.json +26 -0
@@ -0,0 +1,3350 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sureel API
5
+ * API for the Sureel network.
6
+ *
7
+ * The version of the OpenAPI document: 1.2.0-rc.15
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from "axios";
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, } from "../common";
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap, } from "../base";
29
+ /**
30
+ * SureelApi - axios parameter creator
31
+ * @export
32
+ */
33
+ export const SureelApiAxiosParamCreator = function (configuration) {
34
+ return {
35
+ /**
36
+ * Add a watermark to a given image. By default, each user has a limit of 100 requests per minute.
37
+ * @summary Watermarking
38
+ * @param {ApplyWatermarkContentTypeEnum} contentType
39
+ * @param {ApplyWatermarkRequest} applyWatermarkRequest
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ applyWatermark: (contentType_1, applyWatermarkRequest_1, ...args_1) => __awaiter(this, [contentType_1, applyWatermarkRequest_1, ...args_1], void 0, function* (contentType, applyWatermarkRequest, options = {}) {
44
+ // verify required parameter 'contentType' is not null or undefined
45
+ assertParamExists("applyWatermark", "contentType", contentType);
46
+ // verify required parameter 'applyWatermarkRequest' is not null or undefined
47
+ assertParamExists("applyWatermark", "applyWatermarkRequest", applyWatermarkRequest);
48
+ const localVarPath = `/v1/ai/ldm/apply-watermark`;
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ }
55
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
56
+ const localVarHeaderParameter = {};
57
+ const localVarQueryParameter = {};
58
+ // authentication OAuth2 required
59
+ // oauth required
60
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
61
+ if (contentType != null) {
62
+ localVarHeaderParameter["Content-Type"] = String(contentType);
63
+ }
64
+ localVarHeaderParameter["Content-Type"] = "application/json";
65
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
67
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
68
+ localVarRequestOptions.data = serializeDataIfNeeded(applyWatermarkRequest, localVarRequestOptions, configuration);
69
+ return {
70
+ url: toPathString(localVarUrlObj),
71
+ options: localVarRequestOptions,
72
+ };
73
+ }),
74
+ /**
75
+ * Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
76
+ * @summary Avatar image blending
77
+ * @param {AvatarImageBlendingContentTypeEnum} contentType
78
+ * @param {AvatarImageBlendingRequest} avatarImageBlendingRequest
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ avatarImageBlending: (contentType_2, avatarImageBlendingRequest_1, ...args_2) => __awaiter(this, [contentType_2, avatarImageBlendingRequest_1, ...args_2], void 0, function* (contentType, avatarImageBlendingRequest, options = {}) {
83
+ // verify required parameter 'contentType' is not null or undefined
84
+ assertParamExists("avatarImageBlending", "contentType", contentType);
85
+ // verify required parameter 'avatarImageBlendingRequest' is not null or undefined
86
+ assertParamExists("avatarImageBlending", "avatarImageBlendingRequest", avatarImageBlendingRequest);
87
+ const localVarPath = `/v1/ai/ldm/avatar-image-blending`;
88
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
89
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
90
+ let baseOptions;
91
+ if (configuration) {
92
+ baseOptions = configuration.baseOptions;
93
+ }
94
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
95
+ const localVarHeaderParameter = {};
96
+ const localVarQueryParameter = {};
97
+ // authentication OAuth2 required
98
+ // oauth required
99
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
100
+ if (contentType != null) {
101
+ localVarHeaderParameter["Content-Type"] = String(contentType);
102
+ }
103
+ localVarHeaderParameter["Content-Type"] = "application/json";
104
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
105
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
106
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
107
+ localVarRequestOptions.data = serializeDataIfNeeded(avatarImageBlendingRequest, localVarRequestOptions, configuration);
108
+ return {
109
+ url: toPathString(localVarUrlObj),
110
+ options: localVarRequestOptions,
111
+ };
112
+ }),
113
+ /**
114
+ * Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
115
+ * @summary Image attribution calculation
116
+ * @param {CalculateAttributionContentTypeEnum} contentType
117
+ * @param {CalculateAttributionRequest} calculateAttributionRequest
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ calculateAttribution: (contentType_3, calculateAttributionRequest_1, ...args_3) => __awaiter(this, [contentType_3, calculateAttributionRequest_1, ...args_3], void 0, function* (contentType, calculateAttributionRequest, options = {}) {
122
+ // verify required parameter 'contentType' is not null or undefined
123
+ assertParamExists("calculateAttribution", "contentType", contentType);
124
+ // verify required parameter 'calculateAttributionRequest' is not null or undefined
125
+ assertParamExists("calculateAttribution", "calculateAttributionRequest", calculateAttributionRequest);
126
+ const localVarPath = `/v1/ai/ldm/calculate-image-attribution`;
127
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
128
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
129
+ let baseOptions;
130
+ if (configuration) {
131
+ baseOptions = configuration.baseOptions;
132
+ }
133
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
134
+ const localVarHeaderParameter = {};
135
+ const localVarQueryParameter = {};
136
+ // authentication OAuth2 required
137
+ // oauth required
138
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
139
+ if (contentType != null) {
140
+ localVarHeaderParameter["Content-Type"] = String(contentType);
141
+ }
142
+ localVarHeaderParameter["Content-Type"] = "application/json";
143
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
144
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
145
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
146
+ localVarRequestOptions.data = serializeDataIfNeeded(calculateAttributionRequest, localVarRequestOptions, configuration);
147
+ return {
148
+ url: toPathString(localVarUrlObj),
149
+ options: localVarRequestOptions,
150
+ };
151
+ }),
152
+ /**
153
+ * Compute the credits for a specific endpoint call based on a set of input parameters. By default, each user has a limit of 40 requests per minute.
154
+ * @summary Calculate credits
155
+ * @param {CalculateCreditsContentTypeEnum} contentType
156
+ * @param {CreditCalculationRequest} creditCalculationRequest
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ calculateCredits: (contentType_4, creditCalculationRequest_1, ...args_4) => __awaiter(this, [contentType_4, creditCalculationRequest_1, ...args_4], void 0, function* (contentType, creditCalculationRequest, options = {}) {
161
+ // verify required parameter 'contentType' is not null or undefined
162
+ assertParamExists("calculateCredits", "contentType", contentType);
163
+ // verify required parameter 'creditCalculationRequest' is not null or undefined
164
+ assertParamExists("calculateCredits", "creditCalculationRequest", creditCalculationRequest);
165
+ const localVarPath = `/v1/ai/credits/calculate-credits`;
166
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
167
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
168
+ let baseOptions;
169
+ if (configuration) {
170
+ baseOptions = configuration.baseOptions;
171
+ }
172
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
173
+ const localVarHeaderParameter = {};
174
+ const localVarQueryParameter = {};
175
+ // authentication OAuth2 required
176
+ // oauth required
177
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
178
+ if (contentType != null) {
179
+ localVarHeaderParameter["Content-Type"] = String(contentType);
180
+ }
181
+ localVarHeaderParameter["Content-Type"] = "application/json";
182
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
183
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
185
+ localVarRequestOptions.data = serializeDataIfNeeded(creditCalculationRequest, localVarRequestOptions, configuration);
186
+ return {
187
+ url: toPathString(localVarUrlObj),
188
+ options: localVarRequestOptions,
189
+ };
190
+ }),
191
+ /**
192
+ * Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
193
+ * @summary ControlNet
194
+ * @param {ControlNetContentTypeEnum} contentType
195
+ * @param {ControlNetRequest} controlNetRequest
196
+ * @param {*} [options] Override http request option.
197
+ * @throws {RequiredError}
198
+ */
199
+ controlNet: (contentType_5, controlNetRequest_1, ...args_5) => __awaiter(this, [contentType_5, controlNetRequest_1, ...args_5], void 0, function* (contentType, controlNetRequest, options = {}) {
200
+ // verify required parameter 'contentType' is not null or undefined
201
+ assertParamExists("controlNet", "contentType", contentType);
202
+ // verify required parameter 'controlNetRequest' is not null or undefined
203
+ assertParamExists("controlNet", "controlNetRequest", controlNetRequest);
204
+ const localVarPath = `/v1/ai/ldm/control-net`;
205
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
206
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
207
+ let baseOptions;
208
+ if (configuration) {
209
+ baseOptions = configuration.baseOptions;
210
+ }
211
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
212
+ const localVarHeaderParameter = {};
213
+ const localVarQueryParameter = {};
214
+ // authentication OAuth2 required
215
+ // oauth required
216
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
217
+ if (contentType != null) {
218
+ localVarHeaderParameter["Content-Type"] = String(contentType);
219
+ }
220
+ localVarHeaderParameter["Content-Type"] = "application/json";
221
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
222
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
223
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
224
+ localVarRequestOptions.data = serializeDataIfNeeded(controlNetRequest, localVarRequestOptions, configuration);
225
+ return {
226
+ url: toPathString(localVarUrlObj),
227
+ options: localVarRequestOptions,
228
+ };
229
+ }),
230
+ /**
231
+ * Upload artworks and create a new artist collection. Every artist can create multiple collections of artworks. The model is trained on each collection separately. Each collection has a `collectionUuid` that can be used for the fine-tuning or as `artistPreset` in the synthesis endpoints. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
232
+ * @summary Upload artworks and create collection
233
+ * @param {CreateCollectionContentTypeEnum} contentType
234
+ * @param {CreateCollectionRequest} createCollectionRequest
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ */
238
+ createCollection: (contentType_6, createCollectionRequest_1, ...args_6) => __awaiter(this, [contentType_6, createCollectionRequest_1, ...args_6], void 0, function* (contentType, createCollectionRequest, options = {}) {
239
+ // verify required parameter 'contentType' is not null or undefined
240
+ assertParamExists("createCollection", "contentType", contentType);
241
+ // verify required parameter 'createCollectionRequest' is not null or undefined
242
+ assertParamExists("createCollection", "createCollectionRequest", createCollectionRequest);
243
+ const localVarPath = `/v1/ai/artist/upload-artwork`;
244
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
245
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
246
+ let baseOptions;
247
+ if (configuration) {
248
+ baseOptions = configuration.baseOptions;
249
+ }
250
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
251
+ const localVarHeaderParameter = {};
252
+ const localVarQueryParameter = {};
253
+ // authentication OAuth2 required
254
+ // oauth required
255
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
256
+ if (contentType != null) {
257
+ localVarHeaderParameter["Content-Type"] = String(contentType);
258
+ }
259
+ localVarHeaderParameter["Content-Type"] = "application/json";
260
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
261
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
262
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
263
+ localVarRequestOptions.data = serializeDataIfNeeded(createCollectionRequest, localVarRequestOptions, configuration);
264
+ return {
265
+ url: toPathString(localVarUrlObj),
266
+ options: localVarRequestOptions,
267
+ };
268
+ }),
269
+ /**
270
+ * Delete prompt and images by request ID.
271
+ * @summary Delete LDM request
272
+ * @param {string} requestId
273
+ * @param {*} [options] Override http request option.
274
+ * @throws {RequiredError}
275
+ */
276
+ deleteRequestById: (requestId_1, ...args_7) => __awaiter(this, [requestId_1, ...args_7], void 0, function* (requestId, options = {}) {
277
+ // verify required parameter 'requestId' is not null or undefined
278
+ assertParamExists("deleteRequestById", "requestId", requestId);
279
+ const localVarPath = `/v1/ai/prompt-history/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
280
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
281
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
282
+ let baseOptions;
283
+ if (configuration) {
284
+ baseOptions = configuration.baseOptions;
285
+ }
286
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "DELETE" }, baseOptions), options);
287
+ const localVarHeaderParameter = {};
288
+ const localVarQueryParameter = {};
289
+ // authentication OAuth2 required
290
+ // oauth required
291
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
292
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
293
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
294
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
295
+ return {
296
+ url: toPathString(localVarUrlObj),
297
+ options: localVarRequestOptions,
298
+ };
299
+ }),
300
+ /**
301
+ * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
302
+ * @summary Face swap
303
+ * @param {FaceSwapContentTypeEnum} contentType
304
+ * @param {ControlNetRequest} controlNetRequest
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ */
308
+ faceSwap: (contentType_7, controlNetRequest_2, ...args_8) => __awaiter(this, [contentType_7, controlNetRequest_2, ...args_8], void 0, function* (contentType, controlNetRequest, options = {}) {
309
+ // verify required parameter 'contentType' is not null or undefined
310
+ assertParamExists("faceSwap", "contentType", contentType);
311
+ // verify required parameter 'controlNetRequest' is not null or undefined
312
+ assertParamExists("faceSwap", "controlNetRequest", controlNetRequest);
313
+ const localVarPath = `/v1/ai/ldm/face-swap`;
314
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
315
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
316
+ let baseOptions;
317
+ if (configuration) {
318
+ baseOptions = configuration.baseOptions;
319
+ }
320
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
321
+ const localVarHeaderParameter = {};
322
+ const localVarQueryParameter = {};
323
+ // authentication OAuth2 required
324
+ // oauth required
325
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
326
+ if (contentType != null) {
327
+ localVarHeaderParameter["Content-Type"] = String(contentType);
328
+ }
329
+ localVarHeaderParameter["Content-Type"] = "application/json";
330
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
331
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
332
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
333
+ localVarRequestOptions.data = serializeDataIfNeeded(controlNetRequest, localVarRequestOptions, configuration);
334
+ return {
335
+ url: toPathString(localVarUrlObj),
336
+ options: localVarRequestOptions,
337
+ };
338
+ }),
339
+ /**
340
+ * Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
341
+ * @summary Fine-tuning
342
+ * @param {FinetuneModelContentTypeEnum} contentType
343
+ * @param {FinetuningRequest} finetuningRequest
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ */
347
+ finetuneModel: (contentType_8, finetuningRequest_1, ...args_9) => __awaiter(this, [contentType_8, finetuningRequest_1, ...args_9], void 0, function* (contentType, finetuningRequest, options = {}) {
348
+ // verify required parameter 'contentType' is not null or undefined
349
+ assertParamExists("finetuneModel", "contentType", contentType);
350
+ // verify required parameter 'finetuningRequest' is not null or undefined
351
+ assertParamExists("finetuneModel", "finetuningRequest", finetuningRequest);
352
+ const localVarPath = `/v1/ai/ldm/fine-tuning`;
353
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
354
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
355
+ let baseOptions;
356
+ if (configuration) {
357
+ baseOptions = configuration.baseOptions;
358
+ }
359
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
360
+ const localVarHeaderParameter = {};
361
+ const localVarQueryParameter = {};
362
+ // authentication OAuth2 required
363
+ // oauth required
364
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
365
+ if (contentType != null) {
366
+ localVarHeaderParameter["Content-Type"] = String(contentType);
367
+ }
368
+ localVarHeaderParameter["Content-Type"] = "application/json";
369
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
370
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
371
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
372
+ localVarRequestOptions.data = serializeDataIfNeeded(finetuningRequest, localVarRequestOptions, configuration);
373
+ return {
374
+ url: toPathString(localVarUrlObj),
375
+ options: localVarRequestOptions,
376
+ };
377
+ }),
378
+ /**
379
+ * Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
380
+ * @summary Preview generation
381
+ * @param {GeneratePreviewContentTypeEnum} contentType
382
+ * @param {GeneratePreviewRequest} generatePreviewRequest
383
+ * @param {*} [options] Override http request option.
384
+ * @throws {RequiredError}
385
+ */
386
+ generatePreview: (contentType_9, generatePreviewRequest_1, ...args_10) => __awaiter(this, [contentType_9, generatePreviewRequest_1, ...args_10], void 0, function* (contentType, generatePreviewRequest, options = {}) {
387
+ // verify required parameter 'contentType' is not null or undefined
388
+ assertParamExists("generatePreview", "contentType", contentType);
389
+ // verify required parameter 'generatePreviewRequest' is not null or undefined
390
+ assertParamExists("generatePreview", "generatePreviewRequest", generatePreviewRequest);
391
+ const localVarPath = `/v1/ai/ldm/generate-preview`;
392
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
393
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
394
+ let baseOptions;
395
+ if (configuration) {
396
+ baseOptions = configuration.baseOptions;
397
+ }
398
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
399
+ const localVarHeaderParameter = {};
400
+ const localVarQueryParameter = {};
401
+ // authentication OAuth2 required
402
+ // oauth required
403
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
404
+ if (contentType != null) {
405
+ localVarHeaderParameter["Content-Type"] = String(contentType);
406
+ }
407
+ localVarHeaderParameter["Content-Type"] = "application/json";
408
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
409
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
410
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
411
+ localVarRequestOptions.data = serializeDataIfNeeded(generatePreviewRequest, localVarRequestOptions, configuration);
412
+ return {
413
+ url: toPathString(localVarUrlObj),
414
+ options: localVarRequestOptions,
415
+ };
416
+ }),
417
+ /**
418
+ * Returns the signed url for the given filenames.
419
+ * @summary Generate signed URLs to put files to S3
420
+ * @param {GenerateSignedUrlsContentTypeEnum} contentType
421
+ * @param {UploadUrlRequest} uploadUrlRequest
422
+ * @param {*} [options] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ generateSignedUrls: (contentType_10, uploadUrlRequest_1, ...args_11) => __awaiter(this, [contentType_10, uploadUrlRequest_1, ...args_11], void 0, function* (contentType, uploadUrlRequest, options = {}) {
426
+ // verify required parameter 'contentType' is not null or undefined
427
+ assertParamExists("generateSignedUrls", "contentType", contentType);
428
+ // verify required parameter 'uploadUrlRequest' is not null or undefined
429
+ assertParamExists("generateSignedUrls", "uploadUrlRequest", uploadUrlRequest);
430
+ const localVarPath = `/v1/ai/artist/generate-upload-urls`;
431
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
432
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
433
+ let baseOptions;
434
+ if (configuration) {
435
+ baseOptions = configuration.baseOptions;
436
+ }
437
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
438
+ const localVarHeaderParameter = {};
439
+ const localVarQueryParameter = {};
440
+ // authentication OAuth2 required
441
+ // oauth required
442
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
443
+ if (contentType != null) {
444
+ localVarHeaderParameter["Content-Type"] = String(contentType);
445
+ }
446
+ localVarHeaderParameter["Content-Type"] = "application/json";
447
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
448
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
449
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
450
+ localVarRequestOptions.data = serializeDataIfNeeded(uploadUrlRequest, localVarRequestOptions, configuration);
451
+ return {
452
+ url: toPathString(localVarUrlObj),
453
+ options: localVarRequestOptions,
454
+ };
455
+ }),
456
+ /**
457
+ * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
458
+ * @summary Get all artists
459
+ * @param {string} includeArtworks
460
+ * @param {string} [includeFullResArtworks]
461
+ * @param {*} [options] Override http request option.
462
+ * @throws {RequiredError}
463
+ */
464
+ getAllArtists: (includeArtworks_1, includeFullResArtworks_1, ...args_12) => __awaiter(this, [includeArtworks_1, includeFullResArtworks_1, ...args_12], void 0, function* (includeArtworks, includeFullResArtworks, options = {}) {
465
+ // verify required parameter 'includeArtworks' is not null or undefined
466
+ assertParamExists("getAllArtists", "includeArtworks", includeArtworks);
467
+ const localVarPath = `/v1/ai/artist/`;
468
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
469
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
470
+ let baseOptions;
471
+ if (configuration) {
472
+ baseOptions = configuration.baseOptions;
473
+ }
474
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
475
+ const localVarHeaderParameter = {};
476
+ const localVarQueryParameter = {};
477
+ if (includeArtworks !== undefined) {
478
+ localVarQueryParameter["include_artworks"] = includeArtworks;
479
+ }
480
+ if (includeFullResArtworks !== undefined) {
481
+ localVarQueryParameter["include_full_res_artworks"] =
482
+ includeFullResArtworks;
483
+ }
484
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
485
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
486
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
487
+ return {
488
+ url: toPathString(localVarUrlObj),
489
+ options: localVarRequestOptions,
490
+ };
491
+ }),
492
+ /**
493
+ * Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
494
+ * @summary Get artist by username
495
+ * @param {string} includeArtworks
496
+ * @param {string} username
497
+ * @param {string} [includeFullResArtworks]
498
+ * @param {*} [options] Override http request option.
499
+ * @throws {RequiredError}
500
+ */
501
+ getArtistByUsername: (includeArtworks_2, username_1, includeFullResArtworks_2, ...args_13) => __awaiter(this, [includeArtworks_2, username_1, includeFullResArtworks_2, ...args_13], void 0, function* (includeArtworks, username, includeFullResArtworks, options = {}) {
502
+ // verify required parameter 'includeArtworks' is not null or undefined
503
+ assertParamExists("getArtistByUsername", "includeArtworks", includeArtworks);
504
+ // verify required parameter 'username' is not null or undefined
505
+ assertParamExists("getArtistByUsername", "username", username);
506
+ const localVarPath = `/v1/ai/artist/{username}`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
507
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
508
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
509
+ let baseOptions;
510
+ if (configuration) {
511
+ baseOptions = configuration.baseOptions;
512
+ }
513
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
514
+ const localVarHeaderParameter = {};
515
+ const localVarQueryParameter = {};
516
+ if (includeArtworks !== undefined) {
517
+ localVarQueryParameter["include_artworks"] = includeArtworks;
518
+ }
519
+ if (includeFullResArtworks !== undefined) {
520
+ localVarQueryParameter["include_full_res_artworks"] =
521
+ includeFullResArtworks;
522
+ }
523
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
524
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
525
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
526
+ return {
527
+ url: toPathString(localVarUrlObj),
528
+ options: localVarRequestOptions,
529
+ };
530
+ }),
531
+ /**
532
+ * Get the credit balance of a user.
533
+ * @summary Get balance
534
+ * @param {*} [options] Override http request option.
535
+ * @throws {RequiredError}
536
+ */
537
+ getBalance: (...args_14) => __awaiter(this, [...args_14], void 0, function* (options = {}) {
538
+ const localVarPath = `/v1/ai/credits/balance`;
539
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
540
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
541
+ let baseOptions;
542
+ if (configuration) {
543
+ baseOptions = configuration.baseOptions;
544
+ }
545
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
546
+ const localVarHeaderParameter = {};
547
+ const localVarQueryParameter = {};
548
+ // authentication OAuth2 required
549
+ // oauth required
550
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
551
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
552
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
553
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
554
+ return {
555
+ url: toPathString(localVarUrlObj),
556
+ options: localVarRequestOptions,
557
+ };
558
+ }),
559
+ /**
560
+ * Get all own collections, including non-published.
561
+ * @summary Get own collections
562
+ * @param {string} includeArtworks
563
+ * @param {string} [includeFullResArtworks]
564
+ * @param {*} [options] Override http request option.
565
+ * @throws {RequiredError}
566
+ */
567
+ getOwnCollections: (includeArtworks_3, includeFullResArtworks_3, ...args_15) => __awaiter(this, [includeArtworks_3, includeFullResArtworks_3, ...args_15], void 0, function* (includeArtworks, includeFullResArtworks, options = {}) {
568
+ // verify required parameter 'includeArtworks' is not null or undefined
569
+ assertParamExists("getOwnCollections", "includeArtworks", includeArtworks);
570
+ const localVarPath = `/v1/ai/artist/collections`;
571
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
572
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
573
+ let baseOptions;
574
+ if (configuration) {
575
+ baseOptions = configuration.baseOptions;
576
+ }
577
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
578
+ const localVarHeaderParameter = {};
579
+ const localVarQueryParameter = {};
580
+ // authentication OAuth2 required
581
+ // oauth required
582
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
583
+ if (includeArtworks !== undefined) {
584
+ localVarQueryParameter["include_artworks"] = includeArtworks;
585
+ }
586
+ if (includeFullResArtworks !== undefined) {
587
+ localVarQueryParameter["include_full_res_artworks"] =
588
+ includeFullResArtworks;
589
+ }
590
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
591
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
592
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
593
+ return {
594
+ url: toPathString(localVarUrlObj),
595
+ options: localVarRequestOptions,
596
+ };
597
+ }),
598
+ /**
599
+ * Retrieve the history of previous prompts by using cursor-based pagination.
600
+ * @summary Prompt history
601
+ * @param {number} take The `take` parameter is the number of prompts to return per page.
602
+ * @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
603
+ * @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
604
+ * @param {*} [options] Override http request option.
605
+ * @throws {RequiredError}
606
+ */
607
+ getPromptHistory: (take_1, cursor_1, maxTimestamp_1, ...args_16) => __awaiter(this, [take_1, cursor_1, maxTimestamp_1, ...args_16], void 0, function* (take, cursor, maxTimestamp, options = {}) {
608
+ // verify required parameter 'take' is not null or undefined
609
+ assertParamExists("getPromptHistory", "take", take);
610
+ const localVarPath = `/v1/ai/prompt-history/`;
611
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
612
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
613
+ let baseOptions;
614
+ if (configuration) {
615
+ baseOptions = configuration.baseOptions;
616
+ }
617
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
618
+ const localVarHeaderParameter = {};
619
+ const localVarQueryParameter = {};
620
+ // authentication OAuth2 required
621
+ // oauth required
622
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
623
+ if (take !== undefined) {
624
+ localVarQueryParameter["take"] = take;
625
+ }
626
+ if (cursor !== undefined) {
627
+ localVarQueryParameter["cursor"] = cursor;
628
+ }
629
+ if (maxTimestamp !== undefined) {
630
+ localVarQueryParameter["maxTimestamp"] = maxTimestamp;
631
+ }
632
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
633
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
634
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
635
+ return {
636
+ url: toPathString(localVarUrlObj),
637
+ options: localVarRequestOptions,
638
+ };
639
+ }),
640
+ /**
641
+ * Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
642
+ * @summary LDM request results
643
+ * @param {string} requestId
644
+ * @param {*} [options] Override http request option.
645
+ * @throws {RequiredError}
646
+ */
647
+ getResultByRequestId: (requestId_2, ...args_17) => __awaiter(this, [requestId_2, ...args_17], void 0, function* (requestId, options = {}) {
648
+ // verify required parameter 'requestId' is not null or undefined
649
+ assertParamExists("getResultByRequestId", "requestId", requestId);
650
+ const localVarPath = `/v1/ai/ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
651
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
652
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
653
+ let baseOptions;
654
+ if (configuration) {
655
+ baseOptions = configuration.baseOptions;
656
+ }
657
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
658
+ const localVarHeaderParameter = {};
659
+ const localVarQueryParameter = {};
660
+ // authentication OAuth2 required
661
+ // oauth required
662
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
663
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
664
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
665
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
666
+ return {
667
+ url: toPathString(localVarUrlObj),
668
+ options: localVarRequestOptions,
669
+ };
670
+ }),
671
+ /**
672
+ * Get the style preset parameters for ldm.
673
+ * @summary Style presets for ldm
674
+ * @param {*} [options] Override http request option.
675
+ * @throws {RequiredError}
676
+ */
677
+ getStylePresets: (...args_18) => __awaiter(this, [...args_18], void 0, function* (options = {}) {
678
+ const localVarPath = `/v1/ai/ldm/style-presets`;
679
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
680
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
681
+ let baseOptions;
682
+ if (configuration) {
683
+ baseOptions = configuration.baseOptions;
684
+ }
685
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
686
+ const localVarHeaderParameter = {};
687
+ const localVarQueryParameter = {};
688
+ // authentication OAuth2 required
689
+ // oauth required
690
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
691
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
692
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
693
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
694
+ return {
695
+ url: toPathString(localVarUrlObj),
696
+ options: localVarRequestOptions,
697
+ };
698
+ }),
699
+ /**
700
+ * Retrieve the history of previous credit transactions by using cursor-based pagination.
701
+ * @summary Transaction history
702
+ * @param {number} take The `take` parameter is the number of transactions to return per page.
703
+ * @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
704
+ * @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, allows for the filtering of transactions up to a specified timestamp.
705
+ * @param {*} [options] Override http request option.
706
+ * @throws {RequiredError}
707
+ */
708
+ getTransactionHistory: (take_2, cursor_2, maxTimestamp_2, ...args_19) => __awaiter(this, [take_2, cursor_2, maxTimestamp_2, ...args_19], void 0, function* (take, cursor, maxTimestamp, options = {}) {
709
+ // verify required parameter 'take' is not null or undefined
710
+ assertParamExists("getTransactionHistory", "take", take);
711
+ const localVarPath = `/v1/ai/credits/transaction-history`;
712
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
713
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
714
+ let baseOptions;
715
+ if (configuration) {
716
+ baseOptions = configuration.baseOptions;
717
+ }
718
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
719
+ const localVarHeaderParameter = {};
720
+ const localVarQueryParameter = {};
721
+ // authentication OAuth2 required
722
+ // oauth required
723
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
724
+ if (take !== undefined) {
725
+ localVarQueryParameter["take"] = take;
726
+ }
727
+ if (cursor !== undefined) {
728
+ localVarQueryParameter["cursor"] = cursor;
729
+ }
730
+ if (maxTimestamp !== undefined) {
731
+ localVarQueryParameter["maxTimestamp"] = maxTimestamp;
732
+ }
733
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
734
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
735
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
736
+ return {
737
+ url: toPathString(localVarUrlObj),
738
+ options: localVarRequestOptions,
739
+ };
740
+ }),
741
+ /**
742
+ * Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
743
+ * @summary Image blending
744
+ * @param {ImageBlendingContentTypeEnum} contentType
745
+ * @param {ImageBlendingRequest} imageBlendingRequest
746
+ * @param {*} [options] Override http request option.
747
+ * @throws {RequiredError}
748
+ */
749
+ imageBlending: (contentType_11, imageBlendingRequest_1, ...args_20) => __awaiter(this, [contentType_11, imageBlendingRequest_1, ...args_20], void 0, function* (contentType, imageBlendingRequest, options = {}) {
750
+ // verify required parameter 'contentType' is not null or undefined
751
+ assertParamExists("imageBlending", "contentType", contentType);
752
+ // verify required parameter 'imageBlendingRequest' is not null or undefined
753
+ assertParamExists("imageBlending", "imageBlendingRequest", imageBlendingRequest);
754
+ const localVarPath = `/v1/ai/ldm/image-blending`;
755
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
756
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
757
+ let baseOptions;
758
+ if (configuration) {
759
+ baseOptions = configuration.baseOptions;
760
+ }
761
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
762
+ const localVarHeaderParameter = {};
763
+ const localVarQueryParameter = {};
764
+ // authentication OAuth2 required
765
+ // oauth required
766
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
767
+ if (contentType != null) {
768
+ localVarHeaderParameter["Content-Type"] = String(contentType);
769
+ }
770
+ localVarHeaderParameter["Content-Type"] = "application/json";
771
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
772
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
773
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
774
+ localVarRequestOptions.data = serializeDataIfNeeded(imageBlendingRequest, localVarRequestOptions, configuration);
775
+ return {
776
+ url: toPathString(localVarUrlObj),
777
+ options: localVarRequestOptions,
778
+ };
779
+ }),
780
+ /**
781
+ * Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
782
+ * @summary Inpaint image
783
+ * @param {InpaintContentTypeEnum} contentType
784
+ * @param {InpaintRequest} inpaintRequest
785
+ * @param {*} [options] Override http request option.
786
+ * @throws {RequiredError}
787
+ */
788
+ inpaint: (contentType_12, inpaintRequest_1, ...args_21) => __awaiter(this, [contentType_12, inpaintRequest_1, ...args_21], void 0, function* (contentType, inpaintRequest, options = {}) {
789
+ // verify required parameter 'contentType' is not null or undefined
790
+ assertParamExists("inpaint", "contentType", contentType);
791
+ // verify required parameter 'inpaintRequest' is not null or undefined
792
+ assertParamExists("inpaint", "inpaintRequest", inpaintRequest);
793
+ const localVarPath = `/v1/ai/ldm/inpaint`;
794
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
795
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
796
+ let baseOptions;
797
+ if (configuration) {
798
+ baseOptions = configuration.baseOptions;
799
+ }
800
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
801
+ const localVarHeaderParameter = {};
802
+ const localVarQueryParameter = {};
803
+ // authentication OAuth2 required
804
+ // oauth required
805
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
806
+ if (contentType != null) {
807
+ localVarHeaderParameter["Content-Type"] = String(contentType);
808
+ }
809
+ localVarHeaderParameter["Content-Type"] = "application/json";
810
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
811
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
812
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
813
+ localVarRequestOptions.data = serializeDataIfNeeded(inpaintRequest, localVarRequestOptions, configuration);
814
+ return {
815
+ url: toPathString(localVarUrlObj),
816
+ options: localVarRequestOptions,
817
+ };
818
+ }),
819
+ /**
820
+ * Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
821
+ * @summary Reimagine image
822
+ * @param {ReimagineContentTypeEnum} contentType
823
+ * @param {ReimagineRequest} reimagineRequest
824
+ * @param {*} [options] Override http request option.
825
+ * @throws {RequiredError}
826
+ */
827
+ reimagine: (contentType_13, reimagineRequest_1, ...args_22) => __awaiter(this, [contentType_13, reimagineRequest_1, ...args_22], void 0, function* (contentType, reimagineRequest, options = {}) {
828
+ // verify required parameter 'contentType' is not null or undefined
829
+ assertParamExists("reimagine", "contentType", contentType);
830
+ // verify required parameter 'reimagineRequest' is not null or undefined
831
+ assertParamExists("reimagine", "reimagineRequest", reimagineRequest);
832
+ const localVarPath = `/v1/ai/ldm/reimagine`;
833
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
834
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
835
+ let baseOptions;
836
+ if (configuration) {
837
+ baseOptions = configuration.baseOptions;
838
+ }
839
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
840
+ const localVarHeaderParameter = {};
841
+ const localVarQueryParameter = {};
842
+ // authentication OAuth2 required
843
+ // oauth required
844
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
845
+ if (contentType != null) {
846
+ localVarHeaderParameter["Content-Type"] = String(contentType);
847
+ }
848
+ localVarHeaderParameter["Content-Type"] = "application/json";
849
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
850
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
851
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
852
+ localVarRequestOptions.data = serializeDataIfNeeded(reimagineRequest, localVarRequestOptions, configuration);
853
+ return {
854
+ url: toPathString(localVarUrlObj),
855
+ options: localVarRequestOptions,
856
+ };
857
+ }),
858
+ /**
859
+ * Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
860
+ * @summary Background removal
861
+ * @param {RemoveBackgroundContentTypeEnum} contentType
862
+ * @param {RemoveBackgroundRequest} removeBackgroundRequest
863
+ * @param {*} [options] Override http request option.
864
+ * @throws {RequiredError}
865
+ */
866
+ removeBackground: (contentType_14, removeBackgroundRequest_1, ...args_23) => __awaiter(this, [contentType_14, removeBackgroundRequest_1, ...args_23], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
867
+ // verify required parameter 'contentType' is not null or undefined
868
+ assertParamExists("removeBackground", "contentType", contentType);
869
+ // verify required parameter 'removeBackgroundRequest' is not null or undefined
870
+ assertParamExists("removeBackground", "removeBackgroundRequest", removeBackgroundRequest);
871
+ const localVarPath = `/v1/ai/ldm/remove-background`;
872
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
873
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
874
+ let baseOptions;
875
+ if (configuration) {
876
+ baseOptions = configuration.baseOptions;
877
+ }
878
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
879
+ const localVarHeaderParameter = {};
880
+ const localVarQueryParameter = {};
881
+ // authentication OAuth2 required
882
+ // oauth required
883
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
884
+ if (contentType != null) {
885
+ localVarHeaderParameter["Content-Type"] = String(contentType);
886
+ }
887
+ localVarHeaderParameter["Content-Type"] = "application/json";
888
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
889
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
890
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
891
+ localVarRequestOptions.data = serializeDataIfNeeded(removeBackgroundRequest, localVarRequestOptions, configuration);
892
+ return {
893
+ url: toPathString(localVarUrlObj),
894
+ options: localVarRequestOptions,
895
+ };
896
+ }),
897
+ /**
898
+ * Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
899
+ * @summary Style transfer
900
+ * @param {StyleTransferContentTypeEnum} contentType
901
+ * @param {StyleTransferRequest} styleTransferRequest
902
+ * @param {*} [options] Override http request option.
903
+ * @throws {RequiredError}
904
+ */
905
+ styleTransfer: (contentType_15, styleTransferRequest_1, ...args_24) => __awaiter(this, [contentType_15, styleTransferRequest_1, ...args_24], void 0, function* (contentType, styleTransferRequest, options = {}) {
906
+ // verify required parameter 'contentType' is not null or undefined
907
+ assertParamExists("styleTransfer", "contentType", contentType);
908
+ // verify required parameter 'styleTransferRequest' is not null or undefined
909
+ assertParamExists("styleTransfer", "styleTransferRequest", styleTransferRequest);
910
+ const localVarPath = `/v1/ai/ldm/style-transfer`;
911
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
912
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
913
+ let baseOptions;
914
+ if (configuration) {
915
+ baseOptions = configuration.baseOptions;
916
+ }
917
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
918
+ const localVarHeaderParameter = {};
919
+ const localVarQueryParameter = {};
920
+ // authentication OAuth2 required
921
+ // oauth required
922
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
923
+ if (contentType != null) {
924
+ localVarHeaderParameter["Content-Type"] = String(contentType);
925
+ }
926
+ localVarHeaderParameter["Content-Type"] = "application/json";
927
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
928
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
929
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
930
+ localVarRequestOptions.data = serializeDataIfNeeded(styleTransferRequest, localVarRequestOptions, configuration);
931
+ return {
932
+ url: toPathString(localVarUrlObj),
933
+ options: localVarRequestOptions,
934
+ };
935
+ }),
936
+ /**
937
+ * Text to image synthesis. By default, each user has a limit of 100 requests per minute.
938
+ * @summary Text to Image
939
+ * @param {TextToImageRequest} textToImageRequest
940
+ * @param {*} [options] Override http request option.
941
+ * @throws {RequiredError}
942
+ */
943
+ textToImage: (textToImageRequest_1, ...args_25) => __awaiter(this, [textToImageRequest_1, ...args_25], void 0, function* (textToImageRequest, options = {}) {
944
+ // verify required parameter 'textToImageRequest' is not null or undefined
945
+ assertParamExists("textToImage", "textToImageRequest", textToImageRequest);
946
+ const localVarPath = `/v1/ai/ldm/queue`;
947
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
948
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
949
+ let baseOptions;
950
+ if (configuration) {
951
+ baseOptions = configuration.baseOptions;
952
+ }
953
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
954
+ const localVarHeaderParameter = {};
955
+ const localVarQueryParameter = {};
956
+ // authentication OAuth2 required
957
+ // oauth required
958
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
959
+ localVarHeaderParameter["Content-Type"] = "application/json";
960
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
961
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
962
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
963
+ localVarRequestOptions.data = serializeDataIfNeeded(textToImageRequest, localVarRequestOptions, configuration);
964
+ return {
965
+ url: toPathString(localVarUrlObj),
966
+ options: localVarRequestOptions,
967
+ };
968
+ }),
969
+ /**
970
+ * Update API terms and conditions status of a user
971
+ * @summary API terms and conditions status
972
+ * @param {UpdateApiTermsAndConditionsContentTypeEnum} contentType
973
+ * @param {ApiTermsRequest} apiTermsRequest
974
+ * @param {*} [options] Override http request option.
975
+ * @throws {RequiredError}
976
+ */
977
+ updateApiTermsAndConditions: (contentType_16, apiTermsRequest_1, ...args_26) => __awaiter(this, [contentType_16, apiTermsRequest_1, ...args_26], void 0, function* (contentType, apiTermsRequest, options = {}) {
978
+ // verify required parameter 'contentType' is not null or undefined
979
+ assertParamExists("updateApiTermsAndConditions", "contentType", contentType);
980
+ // verify required parameter 'apiTermsRequest' is not null or undefined
981
+ assertParamExists("updateApiTermsAndConditions", "apiTermsRequest", apiTermsRequest);
982
+ const localVarPath = `/v1/ai/credits/terms`;
983
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
984
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
985
+ let baseOptions;
986
+ if (configuration) {
987
+ baseOptions = configuration.baseOptions;
988
+ }
989
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
990
+ const localVarHeaderParameter = {};
991
+ const localVarQueryParameter = {};
992
+ // authentication OAuth2 required
993
+ // oauth required
994
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
995
+ if (contentType != null) {
996
+ localVarHeaderParameter["Content-Type"] = String(contentType);
997
+ }
998
+ localVarHeaderParameter["Content-Type"] = "application/json";
999
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1000
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1001
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1002
+ localVarRequestOptions.data = serializeDataIfNeeded(apiTermsRequest, localVarRequestOptions, configuration);
1003
+ return {
1004
+ url: toPathString(localVarUrlObj),
1005
+ options: localVarRequestOptions,
1006
+ };
1007
+ }),
1008
+ /**
1009
+ * Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
1010
+ * @summary Update collection details
1011
+ * @param {string} collectionUuid
1012
+ * @param {UpdateCollectionContentTypeEnum} contentType
1013
+ * @param {UpdateCollectionRequest} [updateCollectionRequest]
1014
+ * @param {*} [options] Override http request option.
1015
+ * @throws {RequiredError}
1016
+ */
1017
+ updateCollection: (collectionUuid_1, contentType_17, updateCollectionRequest_1, ...args_27) => __awaiter(this, [collectionUuid_1, contentType_17, updateCollectionRequest_1, ...args_27], void 0, function* (collectionUuid, contentType, updateCollectionRequest, options = {}) {
1018
+ // verify required parameter 'collectionUuid' is not null or undefined
1019
+ assertParamExists("updateCollection", "collectionUuid", collectionUuid);
1020
+ // verify required parameter 'contentType' is not null or undefined
1021
+ assertParamExists("updateCollection", "contentType", contentType);
1022
+ const localVarPath = `/v1/ai/artist/update-collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
1023
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1024
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1025
+ let baseOptions;
1026
+ if (configuration) {
1027
+ baseOptions = configuration.baseOptions;
1028
+ }
1029
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
1030
+ const localVarHeaderParameter = {};
1031
+ const localVarQueryParameter = {};
1032
+ // authentication OAuth2 required
1033
+ // oauth required
1034
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1035
+ if (contentType != null) {
1036
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1037
+ }
1038
+ localVarHeaderParameter["Content-Type"] = "application/json";
1039
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1040
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1041
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1042
+ localVarRequestOptions.data = serializeDataIfNeeded(updateCollectionRequest, localVarRequestOptions, configuration);
1043
+ return {
1044
+ url: toPathString(localVarUrlObj),
1045
+ options: localVarRequestOptions,
1046
+ };
1047
+ }),
1048
+ /**
1049
+ * Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are temporarily stored on the server. The minimum height and width should be 400.
1050
+ * @summary Upload images
1051
+ * @param {string} contentType
1052
+ * @param {*} [options] Override http request option.
1053
+ * @throws {RequiredError}
1054
+ */
1055
+ uploadImages: (contentType_18, ...args_28) => __awaiter(this, [contentType_18, ...args_28], void 0, function* (contentType, options = {}) {
1056
+ // verify required parameter 'contentType' is not null or undefined
1057
+ assertParamExists("uploadImages", "contentType", contentType);
1058
+ const localVarPath = `/v1/ai/ldm/upload-images`;
1059
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1060
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1061
+ let baseOptions;
1062
+ if (configuration) {
1063
+ baseOptions = configuration.baseOptions;
1064
+ }
1065
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1066
+ const localVarHeaderParameter = {};
1067
+ const localVarQueryParameter = {};
1068
+ // authentication OAuth2 required
1069
+ // oauth required
1070
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1071
+ if (contentType != null) {
1072
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1073
+ }
1074
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1075
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1076
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1077
+ return {
1078
+ url: toPathString(localVarUrlObj),
1079
+ options: localVarRequestOptions,
1080
+ };
1081
+ }),
1082
+ /**
1083
+ * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
1084
+ * @summary Upscaling
1085
+ * @param {UpscaleImageContentTypeEnum} contentType
1086
+ * @param {UpscaleRequest} upscaleRequest
1087
+ * @param {*} [options] Override http request option.
1088
+ * @throws {RequiredError}
1089
+ */
1090
+ upscaleImage: (contentType_19, upscaleRequest_1, ...args_29) => __awaiter(this, [contentType_19, upscaleRequest_1, ...args_29], void 0, function* (contentType, upscaleRequest, options = {}) {
1091
+ // verify required parameter 'contentType' is not null or undefined
1092
+ assertParamExists("upscaleImage", "contentType", contentType);
1093
+ // verify required parameter 'upscaleRequest' is not null or undefined
1094
+ assertParamExists("upscaleImage", "upscaleRequest", upscaleRequest);
1095
+ const localVarPath = `/v1/ai/ldm/upscale`;
1096
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1097
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1098
+ let baseOptions;
1099
+ if (configuration) {
1100
+ baseOptions = configuration.baseOptions;
1101
+ }
1102
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1103
+ const localVarHeaderParameter = {};
1104
+ const localVarQueryParameter = {};
1105
+ // authentication OAuth2 required
1106
+ // oauth required
1107
+ yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1108
+ if (contentType != null) {
1109
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1110
+ }
1111
+ localVarHeaderParameter["Content-Type"] = "application/json";
1112
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1113
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1114
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1115
+ localVarRequestOptions.data = serializeDataIfNeeded(upscaleRequest, localVarRequestOptions, configuration);
1116
+ return {
1117
+ url: toPathString(localVarUrlObj),
1118
+ options: localVarRequestOptions,
1119
+ };
1120
+ }),
1121
+ /**
1122
+ * Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
1123
+ * @summary Audio to audio
1124
+ * @param {V1AiAudioLdmAudioToAudioPostContentTypeEnum} contentType
1125
+ * @param {V1AiAudioLdmAudioToAudioPostRequest} v1AiAudioLdmAudioToAudioPostRequest
1126
+ * @param {*} [options] Override http request option.
1127
+ * @throws {RequiredError}
1128
+ */
1129
+ v1AiAudioLdmAudioToAudioPost: (contentType_20, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_30) => __awaiter(this, [contentType_20, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_30], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
1130
+ // verify required parameter 'contentType' is not null or undefined
1131
+ assertParamExists("v1AiAudioLdmAudioToAudioPost", "contentType", contentType);
1132
+ // verify required parameter 'v1AiAudioLdmAudioToAudioPostRequest' is not null or undefined
1133
+ assertParamExists("v1AiAudioLdmAudioToAudioPost", "v1AiAudioLdmAudioToAudioPostRequest", v1AiAudioLdmAudioToAudioPostRequest);
1134
+ const localVarPath = `/v1/ai/audio-ldm/audio-to-audio`;
1135
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1136
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1137
+ let baseOptions;
1138
+ if (configuration) {
1139
+ baseOptions = configuration.baseOptions;
1140
+ }
1141
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1142
+ const localVarHeaderParameter = {};
1143
+ const localVarQueryParameter = {};
1144
+ if (contentType != null) {
1145
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1146
+ }
1147
+ localVarHeaderParameter["Content-Type"] = "application/json";
1148
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1149
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1150
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1151
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiAudioLdmAudioToAudioPostRequest, localVarRequestOptions, configuration);
1152
+ return {
1153
+ url: toPathString(localVarUrlObj),
1154
+ options: localVarRequestOptions,
1155
+ };
1156
+ }),
1157
+ /**
1158
+ * Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
1159
+ * @summary Audio attribution calculation
1160
+ * @param {V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum} contentType
1161
+ * @param {V1AiAudioLdmCalculateAudioAttributionPostRequest} v1AiAudioLdmCalculateAudioAttributionPostRequest
1162
+ * @param {*} [options] Override http request option.
1163
+ * @throws {RequiredError}
1164
+ */
1165
+ v1AiAudioLdmCalculateAudioAttributionPost: (contentType_21, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_31) => __awaiter(this, [contentType_21, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_31], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
1166
+ // verify required parameter 'contentType' is not null or undefined
1167
+ assertParamExists("v1AiAudioLdmCalculateAudioAttributionPost", "contentType", contentType);
1168
+ // verify required parameter 'v1AiAudioLdmCalculateAudioAttributionPostRequest' is not null or undefined
1169
+ assertParamExists("v1AiAudioLdmCalculateAudioAttributionPost", "v1AiAudioLdmCalculateAudioAttributionPostRequest", v1AiAudioLdmCalculateAudioAttributionPostRequest);
1170
+ const localVarPath = `/v1/ai/audio-ldm/calculate-audio-attribution`;
1171
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1172
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1173
+ let baseOptions;
1174
+ if (configuration) {
1175
+ baseOptions = configuration.baseOptions;
1176
+ }
1177
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1178
+ const localVarHeaderParameter = {};
1179
+ const localVarQueryParameter = {};
1180
+ if (contentType != null) {
1181
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1182
+ }
1183
+ localVarHeaderParameter["Content-Type"] = "application/json";
1184
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1185
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1186
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1187
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiAudioLdmCalculateAudioAttributionPostRequest, localVarRequestOptions, configuration);
1188
+ return {
1189
+ url: toPathString(localVarUrlObj),
1190
+ options: localVarRequestOptions,
1191
+ };
1192
+ }),
1193
+ /**
1194
+ * Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
1195
+ * @summary Audio LDM request results
1196
+ * @param {string} requestId
1197
+ * @param {*} [options] Override http request option.
1198
+ * @throws {RequiredError}
1199
+ */
1200
+ v1AiAudioLdmRequestIdGet: (requestId_3, ...args_32) => __awaiter(this, [requestId_3, ...args_32], void 0, function* (requestId, options = {}) {
1201
+ // verify required parameter 'requestId' is not null or undefined
1202
+ assertParamExists("v1AiAudioLdmRequestIdGet", "requestId", requestId);
1203
+ const localVarPath = `/v1/ai/audio-ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
1204
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1205
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1206
+ let baseOptions;
1207
+ if (configuration) {
1208
+ baseOptions = configuration.baseOptions;
1209
+ }
1210
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
1211
+ const localVarHeaderParameter = {};
1212
+ const localVarQueryParameter = {};
1213
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1214
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1215
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1216
+ return {
1217
+ url: toPathString(localVarUrlObj),
1218
+ options: localVarRequestOptions,
1219
+ };
1220
+ }),
1221
+ /**
1222
+ * Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
1223
+ * @summary Stem split
1224
+ * @param {V1AiAudioLdmStemSplitPostContentTypeEnum} contentType
1225
+ * @param {V1AiAudioLdmStemSplitPostRequest} v1AiAudioLdmStemSplitPostRequest
1226
+ * @param {*} [options] Override http request option.
1227
+ * @throws {RequiredError}
1228
+ */
1229
+ v1AiAudioLdmStemSplitPost: (contentType_22, v1AiAudioLdmStemSplitPostRequest_1, ...args_33) => __awaiter(this, [contentType_22, v1AiAudioLdmStemSplitPostRequest_1, ...args_33], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
1230
+ // verify required parameter 'contentType' is not null or undefined
1231
+ assertParamExists("v1AiAudioLdmStemSplitPost", "contentType", contentType);
1232
+ // verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
1233
+ assertParamExists("v1AiAudioLdmStemSplitPost", "v1AiAudioLdmStemSplitPostRequest", v1AiAudioLdmStemSplitPostRequest);
1234
+ const localVarPath = `/v1/ai/audio-ldm/stem-split`;
1235
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1236
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1237
+ let baseOptions;
1238
+ if (configuration) {
1239
+ baseOptions = configuration.baseOptions;
1240
+ }
1241
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1242
+ const localVarHeaderParameter = {};
1243
+ const localVarQueryParameter = {};
1244
+ if (contentType != null) {
1245
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1246
+ }
1247
+ localVarHeaderParameter["Content-Type"] = "application/json";
1248
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1249
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1250
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1251
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiAudioLdmStemSplitPostRequest, localVarRequestOptions, configuration);
1252
+ return {
1253
+ url: toPathString(localVarUrlObj),
1254
+ options: localVarRequestOptions,
1255
+ };
1256
+ }),
1257
+ /**
1258
+ * Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
1259
+ * @summary Text to audio
1260
+ * @param {V1AiAudioLdmTextToAudioPostContentTypeEnum} contentType
1261
+ * @param {V1AiAudioLdmTextToAudioPostRequest} v1AiAudioLdmTextToAudioPostRequest
1262
+ * @param {*} [options] Override http request option.
1263
+ * @throws {RequiredError}
1264
+ */
1265
+ v1AiAudioLdmTextToAudioPost: (contentType_23, v1AiAudioLdmTextToAudioPostRequest_1, ...args_34) => __awaiter(this, [contentType_23, v1AiAudioLdmTextToAudioPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
1266
+ // verify required parameter 'contentType' is not null or undefined
1267
+ assertParamExists("v1AiAudioLdmTextToAudioPost", "contentType", contentType);
1268
+ // verify required parameter 'v1AiAudioLdmTextToAudioPostRequest' is not null or undefined
1269
+ assertParamExists("v1AiAudioLdmTextToAudioPost", "v1AiAudioLdmTextToAudioPostRequest", v1AiAudioLdmTextToAudioPostRequest);
1270
+ const localVarPath = `/v1/ai/audio-ldm/text-to-audio`;
1271
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1272
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1273
+ let baseOptions;
1274
+ if (configuration) {
1275
+ baseOptions = configuration.baseOptions;
1276
+ }
1277
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1278
+ const localVarHeaderParameter = {};
1279
+ const localVarQueryParameter = {};
1280
+ if (contentType != null) {
1281
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1282
+ }
1283
+ localVarHeaderParameter["Content-Type"] = "application/json";
1284
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1285
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1286
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1287
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiAudioLdmTextToAudioPostRequest, localVarRequestOptions, configuration);
1288
+ return {
1289
+ url: toPathString(localVarUrlObj),
1290
+ options: localVarRequestOptions,
1291
+ };
1292
+ }),
1293
+ /**
1294
+ * Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are temporarily stored on the server.
1295
+ * @summary Upload audios
1296
+ * @param {string} contentType
1297
+ * @param {*} [options] Override http request option.
1298
+ * @throws {RequiredError}
1299
+ */
1300
+ v1AiAudioLdmUploadAudiosPost: (contentType_24, ...args_35) => __awaiter(this, [contentType_24, ...args_35], void 0, function* (contentType, options = {}) {
1301
+ // verify required parameter 'contentType' is not null or undefined
1302
+ assertParamExists("v1AiAudioLdmUploadAudiosPost", "contentType", contentType);
1303
+ const localVarPath = `/v1/ai/audio-ldm/upload-audios`;
1304
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1305
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1306
+ let baseOptions;
1307
+ if (configuration) {
1308
+ baseOptions = configuration.baseOptions;
1309
+ }
1310
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1311
+ const localVarHeaderParameter = {};
1312
+ const localVarQueryParameter = {};
1313
+ if (contentType != null) {
1314
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1315
+ }
1316
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1317
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1318
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1319
+ return {
1320
+ url: toPathString(localVarUrlObj),
1321
+ options: localVarRequestOptions,
1322
+ };
1323
+ }),
1324
+ /**
1325
+ * Voice style transfer using given voice uuid
1326
+ * @summary Voice transfer
1327
+ * @param {V1AiAudioLdmVoiceTransferPostContentTypeEnum} contentType
1328
+ * @param {V1AiAudioLdmVoiceTransferPostRequest} v1AiAudioLdmVoiceTransferPostRequest
1329
+ * @param {*} [options] Override http request option.
1330
+ * @throws {RequiredError}
1331
+ */
1332
+ v1AiAudioLdmVoiceTransferPost: (contentType_25, v1AiAudioLdmVoiceTransferPostRequest_1, ...args_36) => __awaiter(this, [contentType_25, v1AiAudioLdmVoiceTransferPostRequest_1, ...args_36], void 0, function* (contentType, v1AiAudioLdmVoiceTransferPostRequest, options = {}) {
1333
+ // verify required parameter 'contentType' is not null or undefined
1334
+ assertParamExists("v1AiAudioLdmVoiceTransferPost", "contentType", contentType);
1335
+ // verify required parameter 'v1AiAudioLdmVoiceTransferPostRequest' is not null or undefined
1336
+ assertParamExists("v1AiAudioLdmVoiceTransferPost", "v1AiAudioLdmVoiceTransferPostRequest", v1AiAudioLdmVoiceTransferPostRequest);
1337
+ const localVarPath = `/v1/ai/audio-ldm/voice-transfer`;
1338
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1339
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1340
+ let baseOptions;
1341
+ if (configuration) {
1342
+ baseOptions = configuration.baseOptions;
1343
+ }
1344
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1345
+ const localVarHeaderParameter = {};
1346
+ const localVarQueryParameter = {};
1347
+ if (contentType != null) {
1348
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1349
+ }
1350
+ localVarHeaderParameter["Content-Type"] = "application/json";
1351
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1352
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1353
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1354
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiAudioLdmVoiceTransferPostRequest, localVarRequestOptions, configuration);
1355
+ return {
1356
+ url: toPathString(localVarUrlObj),
1357
+ options: localVarRequestOptions,
1358
+ };
1359
+ }),
1360
+ /**
1361
+ * Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how big the spatial shift between the images is. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
1362
+ * @summary Attribution analysis
1363
+ * @param {V1AiLdmAttributionAnalysisPostContentTypeEnum} contentType
1364
+ * @param {V1AiLdmAttributionAnalysisPostRequest} v1AiLdmAttributionAnalysisPostRequest
1365
+ * @param {*} [options] Override http request option.
1366
+ * @throws {RequiredError}
1367
+ */
1368
+ v1AiLdmAttributionAnalysisPost: (contentType_26, v1AiLdmAttributionAnalysisPostRequest_1, ...args_37) => __awaiter(this, [contentType_26, v1AiLdmAttributionAnalysisPostRequest_1, ...args_37], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
1369
+ // verify required parameter 'contentType' is not null or undefined
1370
+ assertParamExists("v1AiLdmAttributionAnalysisPost", "contentType", contentType);
1371
+ // verify required parameter 'v1AiLdmAttributionAnalysisPostRequest' is not null or undefined
1372
+ assertParamExists("v1AiLdmAttributionAnalysisPost", "v1AiLdmAttributionAnalysisPostRequest", v1AiLdmAttributionAnalysisPostRequest);
1373
+ const localVarPath = `/v1/ai/ldm/attribution-analysis`;
1374
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1375
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1376
+ let baseOptions;
1377
+ if (configuration) {
1378
+ baseOptions = configuration.baseOptions;
1379
+ }
1380
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1381
+ const localVarHeaderParameter = {};
1382
+ const localVarQueryParameter = {};
1383
+ if (contentType != null) {
1384
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1385
+ }
1386
+ localVarHeaderParameter["Content-Type"] = "application/json";
1387
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1388
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1389
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1390
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiLdmAttributionAnalysisPostRequest, localVarRequestOptions, configuration);
1391
+ return {
1392
+ url: toPathString(localVarUrlObj),
1393
+ options: localVarRequestOptions,
1394
+ };
1395
+ }),
1396
+ /**
1397
+ * Prepares the attribution enviroment and embeddings from specified prefix.
1398
+ * @summary Attribution setup
1399
+ * @param {V1AiLdmAttributionSetupPostContentTypeEnum} contentType
1400
+ * @param {V1AiLdmAttributionSetupPostRequest} v1AiLdmAttributionSetupPostRequest
1401
+ * @param {*} [options] Override http request option.
1402
+ * @throws {RequiredError}
1403
+ */
1404
+ v1AiLdmAttributionSetupPost: (contentType_27, v1AiLdmAttributionSetupPostRequest_1, ...args_38) => __awaiter(this, [contentType_27, v1AiLdmAttributionSetupPostRequest_1, ...args_38], void 0, function* (contentType, v1AiLdmAttributionSetupPostRequest, options = {}) {
1405
+ // verify required parameter 'contentType' is not null or undefined
1406
+ assertParamExists("v1AiLdmAttributionSetupPost", "contentType", contentType);
1407
+ // verify required parameter 'v1AiLdmAttributionSetupPostRequest' is not null or undefined
1408
+ assertParamExists("v1AiLdmAttributionSetupPost", "v1AiLdmAttributionSetupPostRequest", v1AiLdmAttributionSetupPostRequest);
1409
+ const localVarPath = `/v1/ai/ldm/attribution-setup`;
1410
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1411
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1412
+ let baseOptions;
1413
+ if (configuration) {
1414
+ baseOptions = configuration.baseOptions;
1415
+ }
1416
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1417
+ const localVarHeaderParameter = {};
1418
+ const localVarQueryParameter = {};
1419
+ if (contentType != null) {
1420
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1421
+ }
1422
+ localVarHeaderParameter["Content-Type"] = "application/json";
1423
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1424
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1425
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1426
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiLdmAttributionSetupPostRequest, localVarRequestOptions, configuration);
1427
+ return {
1428
+ url: toPathString(localVarUrlObj),
1429
+ options: localVarRequestOptions,
1430
+ };
1431
+ }),
1432
+ /**
1433
+ * Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
1434
+ * @summary Music cover art
1435
+ * @param {V1AiLdmCoverArtPostContentTypeEnum} contentType
1436
+ * @param {V1AiLdmCoverArtPostRequest} v1AiLdmCoverArtPostRequest
1437
+ * @param {*} [options] Override http request option.
1438
+ * @throws {RequiredError}
1439
+ */
1440
+ v1AiLdmCoverArtPost: (contentType_28, v1AiLdmCoverArtPostRequest_1, ...args_39) => __awaiter(this, [contentType_28, v1AiLdmCoverArtPostRequest_1, ...args_39], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
1441
+ // verify required parameter 'contentType' is not null or undefined
1442
+ assertParamExists("v1AiLdmCoverArtPost", "contentType", contentType);
1443
+ // verify required parameter 'v1AiLdmCoverArtPostRequest' is not null or undefined
1444
+ assertParamExists("v1AiLdmCoverArtPost", "v1AiLdmCoverArtPostRequest", v1AiLdmCoverArtPostRequest);
1445
+ const localVarPath = `/v1/ai/ldm/cover-art`;
1446
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1447
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1448
+ let baseOptions;
1449
+ if (configuration) {
1450
+ baseOptions = configuration.baseOptions;
1451
+ }
1452
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
1453
+ const localVarHeaderParameter = {};
1454
+ const localVarQueryParameter = {};
1455
+ if (contentType != null) {
1456
+ localVarHeaderParameter["Content-Type"] = String(contentType);
1457
+ }
1458
+ localVarHeaderParameter["Content-Type"] = "application/json";
1459
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1460
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1461
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1462
+ localVarRequestOptions.data = serializeDataIfNeeded(v1AiLdmCoverArtPostRequest, localVarRequestOptions, configuration);
1463
+ return {
1464
+ url: toPathString(localVarUrlObj),
1465
+ options: localVarRequestOptions,
1466
+ };
1467
+ }),
1468
+ };
1469
+ };
1470
+ /**
1471
+ * SureelApi - functional programming interface
1472
+ * @export
1473
+ */
1474
+ export const SureelApiFp = function (configuration) {
1475
+ const localVarAxiosParamCreator = SureelApiAxiosParamCreator(configuration);
1476
+ return {
1477
+ /**
1478
+ * Add a watermark to a given image. By default, each user has a limit of 100 requests per minute.
1479
+ * @summary Watermarking
1480
+ * @param {ApplyWatermarkContentTypeEnum} contentType
1481
+ * @param {ApplyWatermarkRequest} applyWatermarkRequest
1482
+ * @param {*} [options] Override http request option.
1483
+ * @throws {RequiredError}
1484
+ */
1485
+ applyWatermark(contentType, applyWatermarkRequest, options) {
1486
+ return __awaiter(this, void 0, void 0, function* () {
1487
+ var _a, _b, _c;
1488
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.applyWatermark(contentType, applyWatermarkRequest, options);
1489
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1490
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.applyWatermark"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1491
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1492
+ });
1493
+ },
1494
+ /**
1495
+ * Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
1496
+ * @summary Avatar image blending
1497
+ * @param {AvatarImageBlendingContentTypeEnum} contentType
1498
+ * @param {AvatarImageBlendingRequest} avatarImageBlendingRequest
1499
+ * @param {*} [options] Override http request option.
1500
+ * @throws {RequiredError}
1501
+ */
1502
+ avatarImageBlending(contentType, avatarImageBlendingRequest, options) {
1503
+ return __awaiter(this, void 0, void 0, function* () {
1504
+ var _a, _b, _c;
1505
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.avatarImageBlending(contentType, avatarImageBlendingRequest, options);
1506
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1507
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.avatarImageBlending"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1508
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1509
+ });
1510
+ },
1511
+ /**
1512
+ * Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
1513
+ * @summary Image attribution calculation
1514
+ * @param {CalculateAttributionContentTypeEnum} contentType
1515
+ * @param {CalculateAttributionRequest} calculateAttributionRequest
1516
+ * @param {*} [options] Override http request option.
1517
+ * @throws {RequiredError}
1518
+ */
1519
+ calculateAttribution(contentType, calculateAttributionRequest, options) {
1520
+ return __awaiter(this, void 0, void 0, function* () {
1521
+ var _a, _b, _c;
1522
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.calculateAttribution(contentType, calculateAttributionRequest, options);
1523
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1524
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.calculateAttribution"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1525
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1526
+ });
1527
+ },
1528
+ /**
1529
+ * Compute the credits for a specific endpoint call based on a set of input parameters. By default, each user has a limit of 40 requests per minute.
1530
+ * @summary Calculate credits
1531
+ * @param {CalculateCreditsContentTypeEnum} contentType
1532
+ * @param {CreditCalculationRequest} creditCalculationRequest
1533
+ * @param {*} [options] Override http request option.
1534
+ * @throws {RequiredError}
1535
+ */
1536
+ calculateCredits(contentType, creditCalculationRequest, options) {
1537
+ return __awaiter(this, void 0, void 0, function* () {
1538
+ var _a, _b, _c;
1539
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.calculateCredits(contentType, creditCalculationRequest, options);
1540
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1541
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.calculateCredits"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1542
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1543
+ });
1544
+ },
1545
+ /**
1546
+ * Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
1547
+ * @summary ControlNet
1548
+ * @param {ControlNetContentTypeEnum} contentType
1549
+ * @param {ControlNetRequest} controlNetRequest
1550
+ * @param {*} [options] Override http request option.
1551
+ * @throws {RequiredError}
1552
+ */
1553
+ controlNet(contentType, controlNetRequest, options) {
1554
+ return __awaiter(this, void 0, void 0, function* () {
1555
+ var _a, _b, _c;
1556
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.controlNet(contentType, controlNetRequest, options);
1557
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1558
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.controlNet"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1559
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1560
+ });
1561
+ },
1562
+ /**
1563
+ * Upload artworks and create a new artist collection. Every artist can create multiple collections of artworks. The model is trained on each collection separately. Each collection has a `collectionUuid` that can be used for the fine-tuning or as `artistPreset` in the synthesis endpoints. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
1564
+ * @summary Upload artworks and create collection
1565
+ * @param {CreateCollectionContentTypeEnum} contentType
1566
+ * @param {CreateCollectionRequest} createCollectionRequest
1567
+ * @param {*} [options] Override http request option.
1568
+ * @throws {RequiredError}
1569
+ */
1570
+ createCollection(contentType, createCollectionRequest, options) {
1571
+ return __awaiter(this, void 0, void 0, function* () {
1572
+ var _a, _b, _c;
1573
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createCollection(contentType, createCollectionRequest, options);
1574
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1575
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.createCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1576
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1577
+ });
1578
+ },
1579
+ /**
1580
+ * Delete prompt and images by request ID.
1581
+ * @summary Delete LDM request
1582
+ * @param {string} requestId
1583
+ * @param {*} [options] Override http request option.
1584
+ * @throws {RequiredError}
1585
+ */
1586
+ deleteRequestById(requestId, options) {
1587
+ return __awaiter(this, void 0, void 0, function* () {
1588
+ var _a, _b, _c;
1589
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRequestById(requestId, options);
1590
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1591
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.deleteRequestById"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1592
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1593
+ });
1594
+ },
1595
+ /**
1596
+ * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
1597
+ * @summary Face swap
1598
+ * @param {FaceSwapContentTypeEnum} contentType
1599
+ * @param {ControlNetRequest} controlNetRequest
1600
+ * @param {*} [options] Override http request option.
1601
+ * @throws {RequiredError}
1602
+ */
1603
+ faceSwap(contentType, controlNetRequest, options) {
1604
+ return __awaiter(this, void 0, void 0, function* () {
1605
+ var _a, _b, _c;
1606
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.faceSwap(contentType, controlNetRequest, options);
1607
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1608
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.faceSwap"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1609
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1610
+ });
1611
+ },
1612
+ /**
1613
+ * Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
1614
+ * @summary Fine-tuning
1615
+ * @param {FinetuneModelContentTypeEnum} contentType
1616
+ * @param {FinetuningRequest} finetuningRequest
1617
+ * @param {*} [options] Override http request option.
1618
+ * @throws {RequiredError}
1619
+ */
1620
+ finetuneModel(contentType, finetuningRequest, options) {
1621
+ return __awaiter(this, void 0, void 0, function* () {
1622
+ var _a, _b, _c;
1623
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.finetuneModel(contentType, finetuningRequest, options);
1624
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1625
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.finetuneModel"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1626
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1627
+ });
1628
+ },
1629
+ /**
1630
+ * Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
1631
+ * @summary Preview generation
1632
+ * @param {GeneratePreviewContentTypeEnum} contentType
1633
+ * @param {GeneratePreviewRequest} generatePreviewRequest
1634
+ * @param {*} [options] Override http request option.
1635
+ * @throws {RequiredError}
1636
+ */
1637
+ generatePreview(contentType, generatePreviewRequest, options) {
1638
+ return __awaiter(this, void 0, void 0, function* () {
1639
+ var _a, _b, _c;
1640
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generatePreview(contentType, generatePreviewRequest, options);
1641
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1642
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.generatePreview"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1643
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1644
+ });
1645
+ },
1646
+ /**
1647
+ * Returns the signed url for the given filenames.
1648
+ * @summary Generate signed URLs to put files to S3
1649
+ * @param {GenerateSignedUrlsContentTypeEnum} contentType
1650
+ * @param {UploadUrlRequest} uploadUrlRequest
1651
+ * @param {*} [options] Override http request option.
1652
+ * @throws {RequiredError}
1653
+ */
1654
+ generateSignedUrls(contentType, uploadUrlRequest, options) {
1655
+ return __awaiter(this, void 0, void 0, function* () {
1656
+ var _a, _b, _c;
1657
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateSignedUrls(contentType, uploadUrlRequest, options);
1658
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1659
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.generateSignedUrls"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1660
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1661
+ });
1662
+ },
1663
+ /**
1664
+ * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
1665
+ * @summary Get all artists
1666
+ * @param {string} includeArtworks
1667
+ * @param {string} [includeFullResArtworks]
1668
+ * @param {*} [options] Override http request option.
1669
+ * @throws {RequiredError}
1670
+ */
1671
+ getAllArtists(includeArtworks, includeFullResArtworks, options) {
1672
+ return __awaiter(this, void 0, void 0, function* () {
1673
+ var _a, _b, _c;
1674
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAllArtists(includeArtworks, includeFullResArtworks, options);
1675
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1676
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getAllArtists"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1677
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1678
+ });
1679
+ },
1680
+ /**
1681
+ * Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
1682
+ * @summary Get artist by username
1683
+ * @param {string} includeArtworks
1684
+ * @param {string} username
1685
+ * @param {string} [includeFullResArtworks]
1686
+ * @param {*} [options] Override http request option.
1687
+ * @throws {RequiredError}
1688
+ */
1689
+ getArtistByUsername(includeArtworks, username, includeFullResArtworks, options) {
1690
+ return __awaiter(this, void 0, void 0, function* () {
1691
+ var _a, _b, _c;
1692
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getArtistByUsername(includeArtworks, username, includeFullResArtworks, options);
1693
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1694
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getArtistByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1695
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1696
+ });
1697
+ },
1698
+ /**
1699
+ * Get the credit balance of a user.
1700
+ * @summary Get balance
1701
+ * @param {*} [options] Override http request option.
1702
+ * @throws {RequiredError}
1703
+ */
1704
+ getBalance(options) {
1705
+ return __awaiter(this, void 0, void 0, function* () {
1706
+ var _a, _b, _c;
1707
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBalance(options);
1708
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1709
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getBalance"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1710
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1711
+ });
1712
+ },
1713
+ /**
1714
+ * Get all own collections, including non-published.
1715
+ * @summary Get own collections
1716
+ * @param {string} includeArtworks
1717
+ * @param {string} [includeFullResArtworks]
1718
+ * @param {*} [options] Override http request option.
1719
+ * @throws {RequiredError}
1720
+ */
1721
+ getOwnCollections(includeArtworks, includeFullResArtworks, options) {
1722
+ return __awaiter(this, void 0, void 0, function* () {
1723
+ var _a, _b, _c;
1724
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOwnCollections(includeArtworks, includeFullResArtworks, options);
1725
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1726
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getOwnCollections"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1727
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1728
+ });
1729
+ },
1730
+ /**
1731
+ * Retrieve the history of previous prompts by using cursor-based pagination.
1732
+ * @summary Prompt history
1733
+ * @param {number} take The `take` parameter is the number of prompts to return per page.
1734
+ * @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
1735
+ * @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
1736
+ * @param {*} [options] Override http request option.
1737
+ * @throws {RequiredError}
1738
+ */
1739
+ getPromptHistory(take, cursor, maxTimestamp, options) {
1740
+ return __awaiter(this, void 0, void 0, function* () {
1741
+ var _a, _b, _c;
1742
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPromptHistory(take, cursor, maxTimestamp, options);
1743
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1744
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getPromptHistory"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1745
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1746
+ });
1747
+ },
1748
+ /**
1749
+ * Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
1750
+ * @summary LDM request results
1751
+ * @param {string} requestId
1752
+ * @param {*} [options] Override http request option.
1753
+ * @throws {RequiredError}
1754
+ */
1755
+ getResultByRequestId(requestId, options) {
1756
+ return __awaiter(this, void 0, void 0, function* () {
1757
+ var _a, _b, _c;
1758
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getResultByRequestId(requestId, options);
1759
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1760
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getResultByRequestId"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1761
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1762
+ });
1763
+ },
1764
+ /**
1765
+ * Get the style preset parameters for ldm.
1766
+ * @summary Style presets for ldm
1767
+ * @param {*} [options] Override http request option.
1768
+ * @throws {RequiredError}
1769
+ */
1770
+ getStylePresets(options) {
1771
+ return __awaiter(this, void 0, void 0, function* () {
1772
+ var _a, _b, _c;
1773
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getStylePresets(options);
1774
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1775
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getStylePresets"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1776
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1777
+ });
1778
+ },
1779
+ /**
1780
+ * Retrieve the history of previous credit transactions by using cursor-based pagination.
1781
+ * @summary Transaction history
1782
+ * @param {number} take The `take` parameter is the number of transactions to return per page.
1783
+ * @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
1784
+ * @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, allows for the filtering of transactions up to a specified timestamp.
1785
+ * @param {*} [options] Override http request option.
1786
+ * @throws {RequiredError}
1787
+ */
1788
+ getTransactionHistory(take, cursor, maxTimestamp, options) {
1789
+ return __awaiter(this, void 0, void 0, function* () {
1790
+ var _a, _b, _c;
1791
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTransactionHistory(take, cursor, maxTimestamp, options);
1792
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1793
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getTransactionHistory"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1794
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1795
+ });
1796
+ },
1797
+ /**
1798
+ * Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
1799
+ * @summary Image blending
1800
+ * @param {ImageBlendingContentTypeEnum} contentType
1801
+ * @param {ImageBlendingRequest} imageBlendingRequest
1802
+ * @param {*} [options] Override http request option.
1803
+ * @throws {RequiredError}
1804
+ */
1805
+ imageBlending(contentType, imageBlendingRequest, options) {
1806
+ return __awaiter(this, void 0, void 0, function* () {
1807
+ var _a, _b, _c;
1808
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.imageBlending(contentType, imageBlendingRequest, options);
1809
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1810
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.imageBlending"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1811
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1812
+ });
1813
+ },
1814
+ /**
1815
+ * Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
1816
+ * @summary Inpaint image
1817
+ * @param {InpaintContentTypeEnum} contentType
1818
+ * @param {InpaintRequest} inpaintRequest
1819
+ * @param {*} [options] Override http request option.
1820
+ * @throws {RequiredError}
1821
+ */
1822
+ inpaint(contentType, inpaintRequest, options) {
1823
+ return __awaiter(this, void 0, void 0, function* () {
1824
+ var _a, _b, _c;
1825
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.inpaint(contentType, inpaintRequest, options);
1826
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1827
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.inpaint"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1828
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1829
+ });
1830
+ },
1831
+ /**
1832
+ * Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
1833
+ * @summary Reimagine image
1834
+ * @param {ReimagineContentTypeEnum} contentType
1835
+ * @param {ReimagineRequest} reimagineRequest
1836
+ * @param {*} [options] Override http request option.
1837
+ * @throws {RequiredError}
1838
+ */
1839
+ reimagine(contentType, reimagineRequest, options) {
1840
+ return __awaiter(this, void 0, void 0, function* () {
1841
+ var _a, _b, _c;
1842
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reimagine(contentType, reimagineRequest, options);
1843
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1844
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.reimagine"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1845
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1846
+ });
1847
+ },
1848
+ /**
1849
+ * Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
1850
+ * @summary Background removal
1851
+ * @param {RemoveBackgroundContentTypeEnum} contentType
1852
+ * @param {RemoveBackgroundRequest} removeBackgroundRequest
1853
+ * @param {*} [options] Override http request option.
1854
+ * @throws {RequiredError}
1855
+ */
1856
+ removeBackground(contentType, removeBackgroundRequest, options) {
1857
+ return __awaiter(this, void 0, void 0, function* () {
1858
+ var _a, _b, _c;
1859
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeBackground(contentType, removeBackgroundRequest, options);
1860
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1861
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.removeBackground"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1862
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1863
+ });
1864
+ },
1865
+ /**
1866
+ * Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
1867
+ * @summary Style transfer
1868
+ * @param {StyleTransferContentTypeEnum} contentType
1869
+ * @param {StyleTransferRequest} styleTransferRequest
1870
+ * @param {*} [options] Override http request option.
1871
+ * @throws {RequiredError}
1872
+ */
1873
+ styleTransfer(contentType, styleTransferRequest, options) {
1874
+ return __awaiter(this, void 0, void 0, function* () {
1875
+ var _a, _b, _c;
1876
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.styleTransfer(contentType, styleTransferRequest, options);
1877
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1878
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.styleTransfer"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1879
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1880
+ });
1881
+ },
1882
+ /**
1883
+ * Text to image synthesis. By default, each user has a limit of 100 requests per minute.
1884
+ * @summary Text to Image
1885
+ * @param {TextToImageRequest} textToImageRequest
1886
+ * @param {*} [options] Override http request option.
1887
+ * @throws {RequiredError}
1888
+ */
1889
+ textToImage(textToImageRequest, options) {
1890
+ return __awaiter(this, void 0, void 0, function* () {
1891
+ var _a, _b, _c;
1892
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.textToImage(textToImageRequest, options);
1893
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1894
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.textToImage"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1895
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1896
+ });
1897
+ },
1898
+ /**
1899
+ * Update API terms and conditions status of a user
1900
+ * @summary API terms and conditions status
1901
+ * @param {UpdateApiTermsAndConditionsContentTypeEnum} contentType
1902
+ * @param {ApiTermsRequest} apiTermsRequest
1903
+ * @param {*} [options] Override http request option.
1904
+ * @throws {RequiredError}
1905
+ */
1906
+ updateApiTermsAndConditions(contentType, apiTermsRequest, options) {
1907
+ return __awaiter(this, void 0, void 0, function* () {
1908
+ var _a, _b, _c;
1909
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateApiTermsAndConditions(contentType, apiTermsRequest, options);
1910
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1911
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.updateApiTermsAndConditions"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1912
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1913
+ });
1914
+ },
1915
+ /**
1916
+ * Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
1917
+ * @summary Update collection details
1918
+ * @param {string} collectionUuid
1919
+ * @param {UpdateCollectionContentTypeEnum} contentType
1920
+ * @param {UpdateCollectionRequest} [updateCollectionRequest]
1921
+ * @param {*} [options] Override http request option.
1922
+ * @throws {RequiredError}
1923
+ */
1924
+ updateCollection(collectionUuid, contentType, updateCollectionRequest, options) {
1925
+ return __awaiter(this, void 0, void 0, function* () {
1926
+ var _a, _b, _c;
1927
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateCollection(collectionUuid, contentType, updateCollectionRequest, options);
1928
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1929
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.updateCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1930
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1931
+ });
1932
+ },
1933
+ /**
1934
+ * Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are temporarily stored on the server. The minimum height and width should be 400.
1935
+ * @summary Upload images
1936
+ * @param {string} contentType
1937
+ * @param {*} [options] Override http request option.
1938
+ * @throws {RequiredError}
1939
+ */
1940
+ uploadImages(contentType, options) {
1941
+ return __awaiter(this, void 0, void 0, function* () {
1942
+ var _a, _b, _c;
1943
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadImages(contentType, options);
1944
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1945
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.uploadImages"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1946
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1947
+ });
1948
+ },
1949
+ /**
1950
+ * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
1951
+ * @summary Upscaling
1952
+ * @param {UpscaleImageContentTypeEnum} contentType
1953
+ * @param {UpscaleRequest} upscaleRequest
1954
+ * @param {*} [options] Override http request option.
1955
+ * @throws {RequiredError}
1956
+ */
1957
+ upscaleImage(contentType, upscaleRequest, options) {
1958
+ return __awaiter(this, void 0, void 0, function* () {
1959
+ var _a, _b, _c;
1960
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.upscaleImage(contentType, upscaleRequest, options);
1961
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1962
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.upscaleImage"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1963
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1964
+ });
1965
+ },
1966
+ /**
1967
+ * Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
1968
+ * @summary Audio to audio
1969
+ * @param {V1AiAudioLdmAudioToAudioPostContentTypeEnum} contentType
1970
+ * @param {V1AiAudioLdmAudioToAudioPostRequest} v1AiAudioLdmAudioToAudioPostRequest
1971
+ * @param {*} [options] Override http request option.
1972
+ * @throws {RequiredError}
1973
+ */
1974
+ v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options) {
1975
+ return __awaiter(this, void 0, void 0, function* () {
1976
+ var _a, _b, _c;
1977
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options);
1978
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1979
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAudioLdmAudioToAudioPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1980
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1981
+ });
1982
+ },
1983
+ /**
1984
+ * Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
1985
+ * @summary Audio attribution calculation
1986
+ * @param {V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum} contentType
1987
+ * @param {V1AiAudioLdmCalculateAudioAttributionPostRequest} v1AiAudioLdmCalculateAudioAttributionPostRequest
1988
+ * @param {*} [options] Override http request option.
1989
+ * @throws {RequiredError}
1990
+ */
1991
+ v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options) {
1992
+ return __awaiter(this, void 0, void 0, function* () {
1993
+ var _a, _b, _c;
1994
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options);
1995
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1996
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAudioLdmCalculateAudioAttributionPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1997
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1998
+ });
1999
+ },
2000
+ /**
2001
+ * Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
2002
+ * @summary Audio LDM request results
2003
+ * @param {string} requestId
2004
+ * @param {*} [options] Override http request option.
2005
+ * @throws {RequiredError}
2006
+ */
2007
+ v1AiAudioLdmRequestIdGet(requestId, options) {
2008
+ return __awaiter(this, void 0, void 0, function* () {
2009
+ var _a, _b, _c;
2010
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmRequestIdGet(requestId, options);
2011
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2012
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAudioLdmRequestIdGet"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2013
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2014
+ });
2015
+ },
2016
+ /**
2017
+ * Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
2018
+ * @summary Stem split
2019
+ * @param {V1AiAudioLdmStemSplitPostContentTypeEnum} contentType
2020
+ * @param {V1AiAudioLdmStemSplitPostRequest} v1AiAudioLdmStemSplitPostRequest
2021
+ * @param {*} [options] Override http request option.
2022
+ * @throws {RequiredError}
2023
+ */
2024
+ v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
2025
+ return __awaiter(this, void 0, void 0, function* () {
2026
+ var _a, _b, _c;
2027
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options);
2028
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2029
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAudioLdmStemSplitPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2030
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2031
+ });
2032
+ },
2033
+ /**
2034
+ * Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
2035
+ * @summary Text to audio
2036
+ * @param {V1AiAudioLdmTextToAudioPostContentTypeEnum} contentType
2037
+ * @param {V1AiAudioLdmTextToAudioPostRequest} v1AiAudioLdmTextToAudioPostRequest
2038
+ * @param {*} [options] Override http request option.
2039
+ * @throws {RequiredError}
2040
+ */
2041
+ v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options) {
2042
+ return __awaiter(this, void 0, void 0, function* () {
2043
+ var _a, _b, _c;
2044
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options);
2045
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2046
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAudioLdmTextToAudioPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2047
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2048
+ });
2049
+ },
2050
+ /**
2051
+ * Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are temporarily stored on the server.
2052
+ * @summary Upload audios
2053
+ * @param {string} contentType
2054
+ * @param {*} [options] Override http request option.
2055
+ * @throws {RequiredError}
2056
+ */
2057
+ v1AiAudioLdmUploadAudiosPost(contentType, options) {
2058
+ return __awaiter(this, void 0, void 0, function* () {
2059
+ var _a, _b, _c;
2060
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmUploadAudiosPost(contentType, options);
2061
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2062
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAudioLdmUploadAudiosPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2063
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2064
+ });
2065
+ },
2066
+ /**
2067
+ * Voice style transfer using given voice uuid
2068
+ * @summary Voice transfer
2069
+ * @param {V1AiAudioLdmVoiceTransferPostContentTypeEnum} contentType
2070
+ * @param {V1AiAudioLdmVoiceTransferPostRequest} v1AiAudioLdmVoiceTransferPostRequest
2071
+ * @param {*} [options] Override http request option.
2072
+ * @throws {RequiredError}
2073
+ */
2074
+ v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options) {
2075
+ return __awaiter(this, void 0, void 0, function* () {
2076
+ var _a, _b, _c;
2077
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options);
2078
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2079
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAudioLdmVoiceTransferPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2080
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2081
+ });
2082
+ },
2083
+ /**
2084
+ * Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how big the spatial shift between the images is. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
2085
+ * @summary Attribution analysis
2086
+ * @param {V1AiLdmAttributionAnalysisPostContentTypeEnum} contentType
2087
+ * @param {V1AiLdmAttributionAnalysisPostRequest} v1AiLdmAttributionAnalysisPostRequest
2088
+ * @param {*} [options] Override http request option.
2089
+ * @throws {RequiredError}
2090
+ */
2091
+ v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options) {
2092
+ return __awaiter(this, void 0, void 0, function* () {
2093
+ var _a, _b, _c;
2094
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options);
2095
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2096
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiLdmAttributionAnalysisPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2097
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2098
+ });
2099
+ },
2100
+ /**
2101
+ * Prepares the attribution enviroment and embeddings from specified prefix.
2102
+ * @summary Attribution setup
2103
+ * @param {V1AiLdmAttributionSetupPostContentTypeEnum} contentType
2104
+ * @param {V1AiLdmAttributionSetupPostRequest} v1AiLdmAttributionSetupPostRequest
2105
+ * @param {*} [options] Override http request option.
2106
+ * @throws {RequiredError}
2107
+ */
2108
+ v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options) {
2109
+ return __awaiter(this, void 0, void 0, function* () {
2110
+ var _a, _b, _c;
2111
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options);
2112
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2113
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiLdmAttributionSetupPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2114
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2115
+ });
2116
+ },
2117
+ /**
2118
+ * Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
2119
+ * @summary Music cover art
2120
+ * @param {V1AiLdmCoverArtPostContentTypeEnum} contentType
2121
+ * @param {V1AiLdmCoverArtPostRequest} v1AiLdmCoverArtPostRequest
2122
+ * @param {*} [options] Override http request option.
2123
+ * @throws {RequiredError}
2124
+ */
2125
+ v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options) {
2126
+ return __awaiter(this, void 0, void 0, function* () {
2127
+ var _a, _b, _c;
2128
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options);
2129
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2130
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiLdmCoverArtPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2131
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2132
+ });
2133
+ },
2134
+ };
2135
+ };
2136
+ /**
2137
+ * SureelApi - factory interface
2138
+ * @export
2139
+ */
2140
+ export const SureelApiFactory = function (configuration, basePath, axios) {
2141
+ const localVarFp = SureelApiFp(configuration);
2142
+ return {
2143
+ /**
2144
+ * Add a watermark to a given image. By default, each user has a limit of 100 requests per minute.
2145
+ * @summary Watermarking
2146
+ * @param {ApplyWatermarkContentTypeEnum} contentType
2147
+ * @param {ApplyWatermarkRequest} applyWatermarkRequest
2148
+ * @param {*} [options] Override http request option.
2149
+ * @throws {RequiredError}
2150
+ */
2151
+ applyWatermark(contentType, applyWatermarkRequest, options) {
2152
+ return localVarFp
2153
+ .applyWatermark(contentType, applyWatermarkRequest, options)
2154
+ .then((request) => request(axios, basePath));
2155
+ },
2156
+ /**
2157
+ * Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
2158
+ * @summary Avatar image blending
2159
+ * @param {AvatarImageBlendingContentTypeEnum} contentType
2160
+ * @param {AvatarImageBlendingRequest} avatarImageBlendingRequest
2161
+ * @param {*} [options] Override http request option.
2162
+ * @throws {RequiredError}
2163
+ */
2164
+ avatarImageBlending(contentType, avatarImageBlendingRequest, options) {
2165
+ return localVarFp
2166
+ .avatarImageBlending(contentType, avatarImageBlendingRequest, options)
2167
+ .then((request) => request(axios, basePath));
2168
+ },
2169
+ /**
2170
+ * Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
2171
+ * @summary Image attribution calculation
2172
+ * @param {CalculateAttributionContentTypeEnum} contentType
2173
+ * @param {CalculateAttributionRequest} calculateAttributionRequest
2174
+ * @param {*} [options] Override http request option.
2175
+ * @throws {RequiredError}
2176
+ */
2177
+ calculateAttribution(contentType, calculateAttributionRequest, options) {
2178
+ return localVarFp
2179
+ .calculateAttribution(contentType, calculateAttributionRequest, options)
2180
+ .then((request) => request(axios, basePath));
2181
+ },
2182
+ /**
2183
+ * Compute the credits for a specific endpoint call based on a set of input parameters. By default, each user has a limit of 40 requests per minute.
2184
+ * @summary Calculate credits
2185
+ * @param {CalculateCreditsContentTypeEnum} contentType
2186
+ * @param {CreditCalculationRequest} creditCalculationRequest
2187
+ * @param {*} [options] Override http request option.
2188
+ * @throws {RequiredError}
2189
+ */
2190
+ calculateCredits(contentType, creditCalculationRequest, options) {
2191
+ return localVarFp
2192
+ .calculateCredits(contentType, creditCalculationRequest, options)
2193
+ .then((request) => request(axios, basePath));
2194
+ },
2195
+ /**
2196
+ * Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
2197
+ * @summary ControlNet
2198
+ * @param {ControlNetContentTypeEnum} contentType
2199
+ * @param {ControlNetRequest} controlNetRequest
2200
+ * @param {*} [options] Override http request option.
2201
+ * @throws {RequiredError}
2202
+ */
2203
+ controlNet(contentType, controlNetRequest, options) {
2204
+ return localVarFp
2205
+ .controlNet(contentType, controlNetRequest, options)
2206
+ .then((request) => request(axios, basePath));
2207
+ },
2208
+ /**
2209
+ * Upload artworks and create a new artist collection. Every artist can create multiple collections of artworks. The model is trained on each collection separately. Each collection has a `collectionUuid` that can be used for the fine-tuning or as `artistPreset` in the synthesis endpoints. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
2210
+ * @summary Upload artworks and create collection
2211
+ * @param {CreateCollectionContentTypeEnum} contentType
2212
+ * @param {CreateCollectionRequest} createCollectionRequest
2213
+ * @param {*} [options] Override http request option.
2214
+ * @throws {RequiredError}
2215
+ */
2216
+ createCollection(contentType, createCollectionRequest, options) {
2217
+ return localVarFp
2218
+ .createCollection(contentType, createCollectionRequest, options)
2219
+ .then((request) => request(axios, basePath));
2220
+ },
2221
+ /**
2222
+ * Delete prompt and images by request ID.
2223
+ * @summary Delete LDM request
2224
+ * @param {string} requestId
2225
+ * @param {*} [options] Override http request option.
2226
+ * @throws {RequiredError}
2227
+ */
2228
+ deleteRequestById(requestId, options) {
2229
+ return localVarFp
2230
+ .deleteRequestById(requestId, options)
2231
+ .then((request) => request(axios, basePath));
2232
+ },
2233
+ /**
2234
+ * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
2235
+ * @summary Face swap
2236
+ * @param {FaceSwapContentTypeEnum} contentType
2237
+ * @param {ControlNetRequest} controlNetRequest
2238
+ * @param {*} [options] Override http request option.
2239
+ * @throws {RequiredError}
2240
+ */
2241
+ faceSwap(contentType, controlNetRequest, options) {
2242
+ return localVarFp
2243
+ .faceSwap(contentType, controlNetRequest, options)
2244
+ .then((request) => request(axios, basePath));
2245
+ },
2246
+ /**
2247
+ * Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
2248
+ * @summary Fine-tuning
2249
+ * @param {FinetuneModelContentTypeEnum} contentType
2250
+ * @param {FinetuningRequest} finetuningRequest
2251
+ * @param {*} [options] Override http request option.
2252
+ * @throws {RequiredError}
2253
+ */
2254
+ finetuneModel(contentType, finetuningRequest, options) {
2255
+ return localVarFp
2256
+ .finetuneModel(contentType, finetuningRequest, options)
2257
+ .then((request) => request(axios, basePath));
2258
+ },
2259
+ /**
2260
+ * Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
2261
+ * @summary Preview generation
2262
+ * @param {GeneratePreviewContentTypeEnum} contentType
2263
+ * @param {GeneratePreviewRequest} generatePreviewRequest
2264
+ * @param {*} [options] Override http request option.
2265
+ * @throws {RequiredError}
2266
+ */
2267
+ generatePreview(contentType, generatePreviewRequest, options) {
2268
+ return localVarFp
2269
+ .generatePreview(contentType, generatePreviewRequest, options)
2270
+ .then((request) => request(axios, basePath));
2271
+ },
2272
+ /**
2273
+ * Returns the signed url for the given filenames.
2274
+ * @summary Generate signed URLs to put files to S3
2275
+ * @param {GenerateSignedUrlsContentTypeEnum} contentType
2276
+ * @param {UploadUrlRequest} uploadUrlRequest
2277
+ * @param {*} [options] Override http request option.
2278
+ * @throws {RequiredError}
2279
+ */
2280
+ generateSignedUrls(contentType, uploadUrlRequest, options) {
2281
+ return localVarFp
2282
+ .generateSignedUrls(contentType, uploadUrlRequest, options)
2283
+ .then((request) => request(axios, basePath));
2284
+ },
2285
+ /**
2286
+ * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
2287
+ * @summary Get all artists
2288
+ * @param {string} includeArtworks
2289
+ * @param {string} [includeFullResArtworks]
2290
+ * @param {*} [options] Override http request option.
2291
+ * @throws {RequiredError}
2292
+ */
2293
+ getAllArtists(includeArtworks, includeFullResArtworks, options) {
2294
+ return localVarFp
2295
+ .getAllArtists(includeArtworks, includeFullResArtworks, options)
2296
+ .then((request) => request(axios, basePath));
2297
+ },
2298
+ /**
2299
+ * Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
2300
+ * @summary Get artist by username
2301
+ * @param {string} includeArtworks
2302
+ * @param {string} username
2303
+ * @param {string} [includeFullResArtworks]
2304
+ * @param {*} [options] Override http request option.
2305
+ * @throws {RequiredError}
2306
+ */
2307
+ getArtistByUsername(includeArtworks, username, includeFullResArtworks, options) {
2308
+ return localVarFp
2309
+ .getArtistByUsername(includeArtworks, username, includeFullResArtworks, options)
2310
+ .then((request) => request(axios, basePath));
2311
+ },
2312
+ /**
2313
+ * Get the credit balance of a user.
2314
+ * @summary Get balance
2315
+ * @param {*} [options] Override http request option.
2316
+ * @throws {RequiredError}
2317
+ */
2318
+ getBalance(options) {
2319
+ return localVarFp
2320
+ .getBalance(options)
2321
+ .then((request) => request(axios, basePath));
2322
+ },
2323
+ /**
2324
+ * Get all own collections, including non-published.
2325
+ * @summary Get own collections
2326
+ * @param {string} includeArtworks
2327
+ * @param {string} [includeFullResArtworks]
2328
+ * @param {*} [options] Override http request option.
2329
+ * @throws {RequiredError}
2330
+ */
2331
+ getOwnCollections(includeArtworks, includeFullResArtworks, options) {
2332
+ return localVarFp
2333
+ .getOwnCollections(includeArtworks, includeFullResArtworks, options)
2334
+ .then((request) => request(axios, basePath));
2335
+ },
2336
+ /**
2337
+ * Retrieve the history of previous prompts by using cursor-based pagination.
2338
+ * @summary Prompt history
2339
+ * @param {number} take The `take` parameter is the number of prompts to return per page.
2340
+ * @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
2341
+ * @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
2342
+ * @param {*} [options] Override http request option.
2343
+ * @throws {RequiredError}
2344
+ */
2345
+ getPromptHistory(take, cursor, maxTimestamp, options) {
2346
+ return localVarFp
2347
+ .getPromptHistory(take, cursor, maxTimestamp, options)
2348
+ .then((request) => request(axios, basePath));
2349
+ },
2350
+ /**
2351
+ * Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
2352
+ * @summary LDM request results
2353
+ * @param {string} requestId
2354
+ * @param {*} [options] Override http request option.
2355
+ * @throws {RequiredError}
2356
+ */
2357
+ getResultByRequestId(requestId, options) {
2358
+ return localVarFp
2359
+ .getResultByRequestId(requestId, options)
2360
+ .then((request) => request(axios, basePath));
2361
+ },
2362
+ /**
2363
+ * Get the style preset parameters for ldm.
2364
+ * @summary Style presets for ldm
2365
+ * @param {*} [options] Override http request option.
2366
+ * @throws {RequiredError}
2367
+ */
2368
+ getStylePresets(options) {
2369
+ return localVarFp
2370
+ .getStylePresets(options)
2371
+ .then((request) => request(axios, basePath));
2372
+ },
2373
+ /**
2374
+ * Retrieve the history of previous credit transactions by using cursor-based pagination.
2375
+ * @summary Transaction history
2376
+ * @param {number} take The `take` parameter is the number of transactions to return per page.
2377
+ * @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
2378
+ * @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, allows for the filtering of transactions up to a specified timestamp.
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ getTransactionHistory(take, cursor, maxTimestamp, options) {
2383
+ return localVarFp
2384
+ .getTransactionHistory(take, cursor, maxTimestamp, options)
2385
+ .then((request) => request(axios, basePath));
2386
+ },
2387
+ /**
2388
+ * Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
2389
+ * @summary Image blending
2390
+ * @param {ImageBlendingContentTypeEnum} contentType
2391
+ * @param {ImageBlendingRequest} imageBlendingRequest
2392
+ * @param {*} [options] Override http request option.
2393
+ * @throws {RequiredError}
2394
+ */
2395
+ imageBlending(contentType, imageBlendingRequest, options) {
2396
+ return localVarFp
2397
+ .imageBlending(contentType, imageBlendingRequest, options)
2398
+ .then((request) => request(axios, basePath));
2399
+ },
2400
+ /**
2401
+ * Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
2402
+ * @summary Inpaint image
2403
+ * @param {InpaintContentTypeEnum} contentType
2404
+ * @param {InpaintRequest} inpaintRequest
2405
+ * @param {*} [options] Override http request option.
2406
+ * @throws {RequiredError}
2407
+ */
2408
+ inpaint(contentType, inpaintRequest, options) {
2409
+ return localVarFp
2410
+ .inpaint(contentType, inpaintRequest, options)
2411
+ .then((request) => request(axios, basePath));
2412
+ },
2413
+ /**
2414
+ * Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
2415
+ * @summary Reimagine image
2416
+ * @param {ReimagineContentTypeEnum} contentType
2417
+ * @param {ReimagineRequest} reimagineRequest
2418
+ * @param {*} [options] Override http request option.
2419
+ * @throws {RequiredError}
2420
+ */
2421
+ reimagine(contentType, reimagineRequest, options) {
2422
+ return localVarFp
2423
+ .reimagine(contentType, reimagineRequest, options)
2424
+ .then((request) => request(axios, basePath));
2425
+ },
2426
+ /**
2427
+ * Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
2428
+ * @summary Background removal
2429
+ * @param {RemoveBackgroundContentTypeEnum} contentType
2430
+ * @param {RemoveBackgroundRequest} removeBackgroundRequest
2431
+ * @param {*} [options] Override http request option.
2432
+ * @throws {RequiredError}
2433
+ */
2434
+ removeBackground(contentType, removeBackgroundRequest, options) {
2435
+ return localVarFp
2436
+ .removeBackground(contentType, removeBackgroundRequest, options)
2437
+ .then((request) => request(axios, basePath));
2438
+ },
2439
+ /**
2440
+ * Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
2441
+ * @summary Style transfer
2442
+ * @param {StyleTransferContentTypeEnum} contentType
2443
+ * @param {StyleTransferRequest} styleTransferRequest
2444
+ * @param {*} [options] Override http request option.
2445
+ * @throws {RequiredError}
2446
+ */
2447
+ styleTransfer(contentType, styleTransferRequest, options) {
2448
+ return localVarFp
2449
+ .styleTransfer(contentType, styleTransferRequest, options)
2450
+ .then((request) => request(axios, basePath));
2451
+ },
2452
+ /**
2453
+ * Text to image synthesis. By default, each user has a limit of 100 requests per minute.
2454
+ * @summary Text to Image
2455
+ * @param {TextToImageRequest} textToImageRequest
2456
+ * @param {*} [options] Override http request option.
2457
+ * @throws {RequiredError}
2458
+ */
2459
+ textToImage(textToImageRequest, options) {
2460
+ return localVarFp
2461
+ .textToImage(textToImageRequest, options)
2462
+ .then((request) => request(axios, basePath));
2463
+ },
2464
+ /**
2465
+ * Update API terms and conditions status of a user
2466
+ * @summary API terms and conditions status
2467
+ * @param {UpdateApiTermsAndConditionsContentTypeEnum} contentType
2468
+ * @param {ApiTermsRequest} apiTermsRequest
2469
+ * @param {*} [options] Override http request option.
2470
+ * @throws {RequiredError}
2471
+ */
2472
+ updateApiTermsAndConditions(contentType, apiTermsRequest, options) {
2473
+ return localVarFp
2474
+ .updateApiTermsAndConditions(contentType, apiTermsRequest, options)
2475
+ .then((request) => request(axios, basePath));
2476
+ },
2477
+ /**
2478
+ * Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
2479
+ * @summary Update collection details
2480
+ * @param {string} collectionUuid
2481
+ * @param {UpdateCollectionContentTypeEnum} contentType
2482
+ * @param {UpdateCollectionRequest} [updateCollectionRequest]
2483
+ * @param {*} [options] Override http request option.
2484
+ * @throws {RequiredError}
2485
+ */
2486
+ updateCollection(collectionUuid, contentType, updateCollectionRequest, options) {
2487
+ return localVarFp
2488
+ .updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
2489
+ .then((request) => request(axios, basePath));
2490
+ },
2491
+ /**
2492
+ * Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are temporarily stored on the server. The minimum height and width should be 400.
2493
+ * @summary Upload images
2494
+ * @param {string} contentType
2495
+ * @param {*} [options] Override http request option.
2496
+ * @throws {RequiredError}
2497
+ */
2498
+ uploadImages(contentType, options) {
2499
+ return localVarFp
2500
+ .uploadImages(contentType, options)
2501
+ .then((request) => request(axios, basePath));
2502
+ },
2503
+ /**
2504
+ * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
2505
+ * @summary Upscaling
2506
+ * @param {UpscaleImageContentTypeEnum} contentType
2507
+ * @param {UpscaleRequest} upscaleRequest
2508
+ * @param {*} [options] Override http request option.
2509
+ * @throws {RequiredError}
2510
+ */
2511
+ upscaleImage(contentType, upscaleRequest, options) {
2512
+ return localVarFp
2513
+ .upscaleImage(contentType, upscaleRequest, options)
2514
+ .then((request) => request(axios, basePath));
2515
+ },
2516
+ /**
2517
+ * Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
2518
+ * @summary Audio to audio
2519
+ * @param {V1AiAudioLdmAudioToAudioPostContentTypeEnum} contentType
2520
+ * @param {V1AiAudioLdmAudioToAudioPostRequest} v1AiAudioLdmAudioToAudioPostRequest
2521
+ * @param {*} [options] Override http request option.
2522
+ * @throws {RequiredError}
2523
+ */
2524
+ v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options) {
2525
+ return localVarFp
2526
+ .v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options)
2527
+ .then((request) => request(axios, basePath));
2528
+ },
2529
+ /**
2530
+ * Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
2531
+ * @summary Audio attribution calculation
2532
+ * @param {V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum} contentType
2533
+ * @param {V1AiAudioLdmCalculateAudioAttributionPostRequest} v1AiAudioLdmCalculateAudioAttributionPostRequest
2534
+ * @param {*} [options] Override http request option.
2535
+ * @throws {RequiredError}
2536
+ */
2537
+ v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options) {
2538
+ return localVarFp
2539
+ .v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options)
2540
+ .then((request) => request(axios, basePath));
2541
+ },
2542
+ /**
2543
+ * Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
2544
+ * @summary Audio LDM request results
2545
+ * @param {string} requestId
2546
+ * @param {*} [options] Override http request option.
2547
+ * @throws {RequiredError}
2548
+ */
2549
+ v1AiAudioLdmRequestIdGet(requestId, options) {
2550
+ return localVarFp
2551
+ .v1AiAudioLdmRequestIdGet(requestId, options)
2552
+ .then((request) => request(axios, basePath));
2553
+ },
2554
+ /**
2555
+ * Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
2556
+ * @summary Stem split
2557
+ * @param {V1AiAudioLdmStemSplitPostContentTypeEnum} contentType
2558
+ * @param {V1AiAudioLdmStemSplitPostRequest} v1AiAudioLdmStemSplitPostRequest
2559
+ * @param {*} [options] Override http request option.
2560
+ * @throws {RequiredError}
2561
+ */
2562
+ v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
2563
+ return localVarFp
2564
+ .v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options)
2565
+ .then((request) => request(axios, basePath));
2566
+ },
2567
+ /**
2568
+ * Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
2569
+ * @summary Text to audio
2570
+ * @param {V1AiAudioLdmTextToAudioPostContentTypeEnum} contentType
2571
+ * @param {V1AiAudioLdmTextToAudioPostRequest} v1AiAudioLdmTextToAudioPostRequest
2572
+ * @param {*} [options] Override http request option.
2573
+ * @throws {RequiredError}
2574
+ */
2575
+ v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options) {
2576
+ return localVarFp
2577
+ .v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
2578
+ .then((request) => request(axios, basePath));
2579
+ },
2580
+ /**
2581
+ * Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are temporarily stored on the server.
2582
+ * @summary Upload audios
2583
+ * @param {string} contentType
2584
+ * @param {*} [options] Override http request option.
2585
+ * @throws {RequiredError}
2586
+ */
2587
+ v1AiAudioLdmUploadAudiosPost(contentType, options) {
2588
+ return localVarFp
2589
+ .v1AiAudioLdmUploadAudiosPost(contentType, options)
2590
+ .then((request) => request(axios, basePath));
2591
+ },
2592
+ /**
2593
+ * Voice style transfer using given voice uuid
2594
+ * @summary Voice transfer
2595
+ * @param {V1AiAudioLdmVoiceTransferPostContentTypeEnum} contentType
2596
+ * @param {V1AiAudioLdmVoiceTransferPostRequest} v1AiAudioLdmVoiceTransferPostRequest
2597
+ * @param {*} [options] Override http request option.
2598
+ * @throws {RequiredError}
2599
+ */
2600
+ v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options) {
2601
+ return localVarFp
2602
+ .v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options)
2603
+ .then((request) => request(axios, basePath));
2604
+ },
2605
+ /**
2606
+ * Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how big the spatial shift between the images is. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
2607
+ * @summary Attribution analysis
2608
+ * @param {V1AiLdmAttributionAnalysisPostContentTypeEnum} contentType
2609
+ * @param {V1AiLdmAttributionAnalysisPostRequest} v1AiLdmAttributionAnalysisPostRequest
2610
+ * @param {*} [options] Override http request option.
2611
+ * @throws {RequiredError}
2612
+ */
2613
+ v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options) {
2614
+ return localVarFp
2615
+ .v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options)
2616
+ .then((request) => request(axios, basePath));
2617
+ },
2618
+ /**
2619
+ * Prepares the attribution enviroment and embeddings from specified prefix.
2620
+ * @summary Attribution setup
2621
+ * @param {V1AiLdmAttributionSetupPostContentTypeEnum} contentType
2622
+ * @param {V1AiLdmAttributionSetupPostRequest} v1AiLdmAttributionSetupPostRequest
2623
+ * @param {*} [options] Override http request option.
2624
+ * @throws {RequiredError}
2625
+ */
2626
+ v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options) {
2627
+ return localVarFp
2628
+ .v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options)
2629
+ .then((request) => request(axios, basePath));
2630
+ },
2631
+ /**
2632
+ * Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
2633
+ * @summary Music cover art
2634
+ * @param {V1AiLdmCoverArtPostContentTypeEnum} contentType
2635
+ * @param {V1AiLdmCoverArtPostRequest} v1AiLdmCoverArtPostRequest
2636
+ * @param {*} [options] Override http request option.
2637
+ * @throws {RequiredError}
2638
+ */
2639
+ v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options) {
2640
+ return localVarFp
2641
+ .v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options)
2642
+ .then((request) => request(axios, basePath));
2643
+ },
2644
+ };
2645
+ };
2646
+ /**
2647
+ * SureelApi - object-oriented interface
2648
+ * @export
2649
+ * @class SureelApi
2650
+ * @extends {BaseAPI}
2651
+ */
2652
+ export class SureelApi extends BaseAPI {
2653
+ /**
2654
+ * Add a watermark to a given image. By default, each user has a limit of 100 requests per minute.
2655
+ * @summary Watermarking
2656
+ * @param {ApplyWatermarkContentTypeEnum} contentType
2657
+ * @param {ApplyWatermarkRequest} applyWatermarkRequest
2658
+ * @param {*} [options] Override http request option.
2659
+ * @throws {RequiredError}
2660
+ * @memberof SureelApi
2661
+ */
2662
+ applyWatermark(contentType, applyWatermarkRequest, options) {
2663
+ return SureelApiFp(this.configuration)
2664
+ .applyWatermark(contentType, applyWatermarkRequest, options)
2665
+ .then((request) => request(this.axios, this.basePath));
2666
+ }
2667
+ /**
2668
+ * Prompt- and style-image-guided image-to-image synthesis conditioned by a ControlNet specialized on preserving faces. The image is conditioned by the prompt, by the style image, and by the facial structure of the content image. By default, each user has a limit of 100 requests per minute.
2669
+ * @summary Avatar image blending
2670
+ * @param {AvatarImageBlendingContentTypeEnum} contentType
2671
+ * @param {AvatarImageBlendingRequest} avatarImageBlendingRequest
2672
+ * @param {*} [options] Override http request option.
2673
+ * @throws {RequiredError}
2674
+ * @memberof SureelApi
2675
+ */
2676
+ avatarImageBlending(contentType, avatarImageBlendingRequest, options) {
2677
+ return SureelApiFp(this.configuration)
2678
+ .avatarImageBlending(contentType, avatarImageBlendingRequest, options)
2679
+ .then((request) => request(this.axios, this.basePath));
2680
+ }
2681
+ /**
2682
+ * Calculate the attribution of a given image. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
2683
+ * @summary Image attribution calculation
2684
+ * @param {CalculateAttributionContentTypeEnum} contentType
2685
+ * @param {CalculateAttributionRequest} calculateAttributionRequest
2686
+ * @param {*} [options] Override http request option.
2687
+ * @throws {RequiredError}
2688
+ * @memberof SureelApi
2689
+ */
2690
+ calculateAttribution(contentType, calculateAttributionRequest, options) {
2691
+ return SureelApiFp(this.configuration)
2692
+ .calculateAttribution(contentType, calculateAttributionRequest, options)
2693
+ .then((request) => request(this.axios, this.basePath));
2694
+ }
2695
+ /**
2696
+ * Compute the credits for a specific endpoint call based on a set of input parameters. By default, each user has a limit of 40 requests per minute.
2697
+ * @summary Calculate credits
2698
+ * @param {CalculateCreditsContentTypeEnum} contentType
2699
+ * @param {CreditCalculationRequest} creditCalculationRequest
2700
+ * @param {*} [options] Override http request option.
2701
+ * @throws {RequiredError}
2702
+ * @memberof SureelApi
2703
+ */
2704
+ calculateCredits(contentType, creditCalculationRequest, options) {
2705
+ return SureelApiFp(this.configuration)
2706
+ .calculateCredits(contentType, creditCalculationRequest, options)
2707
+ .then((request) => request(this.axios, this.basePath));
2708
+ }
2709
+ /**
2710
+ * Prompt-guided image-to-image synthesis conditioned by a canny edge ControlNet. ControlNet preserves the semantic structure of a given content image, making it useful for applications such as style transfer. By default, each user has a limit of 100 requests per minute.
2711
+ * @summary ControlNet
2712
+ * @param {ControlNetContentTypeEnum} contentType
2713
+ * @param {ControlNetRequest} controlNetRequest
2714
+ * @param {*} [options] Override http request option.
2715
+ * @throws {RequiredError}
2716
+ * @memberof SureelApi
2717
+ */
2718
+ controlNet(contentType, controlNetRequest, options) {
2719
+ return SureelApiFp(this.configuration)
2720
+ .controlNet(contentType, controlNetRequest, options)
2721
+ .then((request) => request(this.axios, this.basePath));
2722
+ }
2723
+ /**
2724
+ * Upload artworks and create a new artist collection. Every artist can create multiple collections of artworks. The model is trained on each collection separately. Each collection has a `collectionUuid` that can be used for the fine-tuning or as `artistPreset` in the synthesis endpoints. New collections can be created with the `/artist/upload-artwork` endpoint and existing collections can be obtained with the `/artist/collections` endpoint.
2725
+ * @summary Upload artworks and create collection
2726
+ * @param {CreateCollectionContentTypeEnum} contentType
2727
+ * @param {CreateCollectionRequest} createCollectionRequest
2728
+ * @param {*} [options] Override http request option.
2729
+ * @throws {RequiredError}
2730
+ * @memberof SureelApi
2731
+ */
2732
+ createCollection(contentType, createCollectionRequest, options) {
2733
+ return SureelApiFp(this.configuration)
2734
+ .createCollection(contentType, createCollectionRequest, options)
2735
+ .then((request) => request(this.axios, this.basePath));
2736
+ }
2737
+ /**
2738
+ * Delete prompt and images by request ID.
2739
+ * @summary Delete LDM request
2740
+ * @param {string} requestId
2741
+ * @param {*} [options] Override http request option.
2742
+ * @throws {RequiredError}
2743
+ * @memberof SureelApi
2744
+ */
2745
+ deleteRequestById(requestId, options) {
2746
+ return SureelApiFp(this.configuration)
2747
+ .deleteRequestById(requestId, options)
2748
+ .then((request) => request(this.axios, this.basePath));
2749
+ }
2750
+ /**
2751
+ * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
2752
+ * @summary Face swap
2753
+ * @param {FaceSwapContentTypeEnum} contentType
2754
+ * @param {ControlNetRequest} controlNetRequest
2755
+ * @param {*} [options] Override http request option.
2756
+ * @throws {RequiredError}
2757
+ * @memberof SureelApi
2758
+ */
2759
+ faceSwap(contentType, controlNetRequest, options) {
2760
+ return SureelApiFp(this.configuration)
2761
+ .faceSwap(contentType, controlNetRequest, options)
2762
+ .then((request) => request(this.axios, this.basePath));
2763
+ }
2764
+ /**
2765
+ * Fine-tunes the image synthesis model with user-provided images. Begin by uploading your images through the `/artist/upload-artwork` endpoint or retrieve the `collectionUuid` from the `/artist/collections` endpoint. By default, each user has a limit of 100 requests per minute.
2766
+ * @summary Fine-tuning
2767
+ * @param {FinetuneModelContentTypeEnum} contentType
2768
+ * @param {FinetuningRequest} finetuningRequest
2769
+ * @param {*} [options] Override http request option.
2770
+ * @throws {RequiredError}
2771
+ * @memberof SureelApi
2772
+ */
2773
+ finetuneModel(contentType, finetuningRequest, options) {
2774
+ return SureelApiFp(this.configuration)
2775
+ .finetuneModel(contentType, finetuningRequest, options)
2776
+ .then((request) => request(this.axios, this.basePath));
2777
+ }
2778
+ /**
2779
+ * Generate a low-res preview image of a given image. By default, each user has a limit of 100 requests per minute.
2780
+ * @summary Preview generation
2781
+ * @param {GeneratePreviewContentTypeEnum} contentType
2782
+ * @param {GeneratePreviewRequest} generatePreviewRequest
2783
+ * @param {*} [options] Override http request option.
2784
+ * @throws {RequiredError}
2785
+ * @memberof SureelApi
2786
+ */
2787
+ generatePreview(contentType, generatePreviewRequest, options) {
2788
+ return SureelApiFp(this.configuration)
2789
+ .generatePreview(contentType, generatePreviewRequest, options)
2790
+ .then((request) => request(this.axios, this.basePath));
2791
+ }
2792
+ /**
2793
+ * Returns the signed url for the given filenames.
2794
+ * @summary Generate signed URLs to put files to S3
2795
+ * @param {GenerateSignedUrlsContentTypeEnum} contentType
2796
+ * @param {UploadUrlRequest} uploadUrlRequest
2797
+ * @param {*} [options] Override http request option.
2798
+ * @throws {RequiredError}
2799
+ * @memberof SureelApi
2800
+ */
2801
+ generateSignedUrls(contentType, uploadUrlRequest, options) {
2802
+ return SureelApiFp(this.configuration)
2803
+ .generateSignedUrls(contentType, uploadUrlRequest, options)
2804
+ .then((request) => request(this.axios, this.basePath));
2805
+ }
2806
+ /**
2807
+ * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
2808
+ * @summary Get all artists
2809
+ * @param {string} includeArtworks
2810
+ * @param {string} [includeFullResArtworks]
2811
+ * @param {*} [options] Override http request option.
2812
+ * @throws {RequiredError}
2813
+ * @memberof SureelApi
2814
+ */
2815
+ getAllArtists(includeArtworks, includeFullResArtworks, options) {
2816
+ return SureelApiFp(this.configuration)
2817
+ .getAllArtists(includeArtworks, includeFullResArtworks, options)
2818
+ .then((request) => request(this.axios, this.basePath));
2819
+ }
2820
+ /**
2821
+ * Get the data of one artist by the username including their published collections. By default, each user has a limit of 60 requests per minute.
2822
+ * @summary Get artist by username
2823
+ * @param {string} includeArtworks
2824
+ * @param {string} username
2825
+ * @param {string} [includeFullResArtworks]
2826
+ * @param {*} [options] Override http request option.
2827
+ * @throws {RequiredError}
2828
+ * @memberof SureelApi
2829
+ */
2830
+ getArtistByUsername(includeArtworks, username, includeFullResArtworks, options) {
2831
+ return SureelApiFp(this.configuration)
2832
+ .getArtistByUsername(includeArtworks, username, includeFullResArtworks, options)
2833
+ .then((request) => request(this.axios, this.basePath));
2834
+ }
2835
+ /**
2836
+ * Get the credit balance of a user.
2837
+ * @summary Get balance
2838
+ * @param {*} [options] Override http request option.
2839
+ * @throws {RequiredError}
2840
+ * @memberof SureelApi
2841
+ */
2842
+ getBalance(options) {
2843
+ return SureelApiFp(this.configuration)
2844
+ .getBalance(options)
2845
+ .then((request) => request(this.axios, this.basePath));
2846
+ }
2847
+ /**
2848
+ * Get all own collections, including non-published.
2849
+ * @summary Get own collections
2850
+ * @param {string} includeArtworks
2851
+ * @param {string} [includeFullResArtworks]
2852
+ * @param {*} [options] Override http request option.
2853
+ * @throws {RequiredError}
2854
+ * @memberof SureelApi
2855
+ */
2856
+ getOwnCollections(includeArtworks, includeFullResArtworks, options) {
2857
+ return SureelApiFp(this.configuration)
2858
+ .getOwnCollections(includeArtworks, includeFullResArtworks, options)
2859
+ .then((request) => request(this.axios, this.basePath));
2860
+ }
2861
+ /**
2862
+ * Retrieve the history of previous prompts by using cursor-based pagination.
2863
+ * @summary Prompt history
2864
+ * @param {number} take The `take` parameter is the number of prompts to return per page.
2865
+ * @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
2866
+ * @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, can be used to filter transactions up to a certain timestamp.
2867
+ * @param {*} [options] Override http request option.
2868
+ * @throws {RequiredError}
2869
+ * @memberof SureelApi
2870
+ */
2871
+ getPromptHistory(take, cursor, maxTimestamp, options) {
2872
+ return SureelApiFp(this.configuration)
2873
+ .getPromptHistory(take, cursor, maxTimestamp, options)
2874
+ .then((request) => request(this.axios, this.basePath));
2875
+ }
2876
+ /**
2877
+ * Get the result for a queued LDM request by providing the corresponding `requestId` obtained from other LDM endpoints.
2878
+ * @summary LDM request results
2879
+ * @param {string} requestId
2880
+ * @param {*} [options] Override http request option.
2881
+ * @throws {RequiredError}
2882
+ * @memberof SureelApi
2883
+ */
2884
+ getResultByRequestId(requestId, options) {
2885
+ return SureelApiFp(this.configuration)
2886
+ .getResultByRequestId(requestId, options)
2887
+ .then((request) => request(this.axios, this.basePath));
2888
+ }
2889
+ /**
2890
+ * Get the style preset parameters for ldm.
2891
+ * @summary Style presets for ldm
2892
+ * @param {*} [options] Override http request option.
2893
+ * @throws {RequiredError}
2894
+ * @memberof SureelApi
2895
+ */
2896
+ getStylePresets(options) {
2897
+ return SureelApiFp(this.configuration)
2898
+ .getStylePresets(options)
2899
+ .then((request) => request(this.axios, this.basePath));
2900
+ }
2901
+ /**
2902
+ * Retrieve the history of previous credit transactions by using cursor-based pagination.
2903
+ * @summary Transaction history
2904
+ * @param {number} take The `take` parameter is the number of transactions to return per page.
2905
+ * @param {string} [cursor] The optional `cursor` parameter is the LastEvaluatedKey in the previous page.
2906
+ * @param {number} [maxTimestamp] The optional `maxTimestamp` parameter, expressed in milliseconds, allows for the filtering of transactions up to a specified timestamp.
2907
+ * @param {*} [options] Override http request option.
2908
+ * @throws {RequiredError}
2909
+ * @memberof SureelApi
2910
+ */
2911
+ getTransactionHistory(take, cursor, maxTimestamp, options) {
2912
+ return SureelApiFp(this.configuration)
2913
+ .getTransactionHistory(take, cursor, maxTimestamp, options)
2914
+ .then((request) => request(this.axios, this.basePath));
2915
+ }
2916
+ /**
2917
+ * Blend two images into a combination of both. The content image influnces the content more and the style image influences the style more. By default, each user has a limit of 100 requests per minute.
2918
+ * @summary Image blending
2919
+ * @param {ImageBlendingContentTypeEnum} contentType
2920
+ * @param {ImageBlendingRequest} imageBlendingRequest
2921
+ * @param {*} [options] Override http request option.
2922
+ * @throws {RequiredError}
2923
+ * @memberof SureelApi
2924
+ */
2925
+ imageBlending(contentType, imageBlendingRequest, options) {
2926
+ return SureelApiFp(this.configuration)
2927
+ .imageBlending(contentType, imageBlendingRequest, options)
2928
+ .then((request) => request(this.axios, this.basePath));
2929
+ }
2930
+ /**
2931
+ * Prompt- and mask-guided image-to-image synthesis. By default, each user has a limit of 100 requests per minute.
2932
+ * @summary Inpaint image
2933
+ * @param {InpaintContentTypeEnum} contentType
2934
+ * @param {InpaintRequest} inpaintRequest
2935
+ * @param {*} [options] Override http request option.
2936
+ * @throws {RequiredError}
2937
+ * @memberof SureelApi
2938
+ */
2939
+ inpaint(contentType, inpaintRequest, options) {
2940
+ return SureelApiFp(this.configuration)
2941
+ .inpaint(contentType, inpaintRequest, options)
2942
+ .then((request) => request(this.axios, this.basePath));
2943
+ }
2944
+ /**
2945
+ * Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
2946
+ * @summary Reimagine image
2947
+ * @param {ReimagineContentTypeEnum} contentType
2948
+ * @param {ReimagineRequest} reimagineRequest
2949
+ * @param {*} [options] Override http request option.
2950
+ * @throws {RequiredError}
2951
+ * @memberof SureelApi
2952
+ */
2953
+ reimagine(contentType, reimagineRequest, options) {
2954
+ return SureelApiFp(this.configuration)
2955
+ .reimagine(contentType, reimagineRequest, options)
2956
+ .then((request) => request(this.axios, this.basePath));
2957
+ }
2958
+ /**
2959
+ * Remove the background of a given image. By default, each user has a limit of 100 requests per minute.
2960
+ * @summary Background removal
2961
+ * @param {RemoveBackgroundContentTypeEnum} contentType
2962
+ * @param {RemoveBackgroundRequest} removeBackgroundRequest
2963
+ * @param {*} [options] Override http request option.
2964
+ * @throws {RequiredError}
2965
+ * @memberof SureelApi
2966
+ */
2967
+ removeBackground(contentType, removeBackgroundRequest, options) {
2968
+ return SureelApiFp(this.configuration)
2969
+ .removeBackground(contentType, removeBackgroundRequest, options)
2970
+ .then((request) => request(this.axios, this.basePath));
2971
+ }
2972
+ /**
2973
+ * Prompt- and image-guided style transfer. Use the style transfer endpoint when aiming to transform an image into the artistic style of a specific artist\'s collection. By default, each user has a limit of 100 requests per minute.
2974
+ * @summary Style transfer
2975
+ * @param {StyleTransferContentTypeEnum} contentType
2976
+ * @param {StyleTransferRequest} styleTransferRequest
2977
+ * @param {*} [options] Override http request option.
2978
+ * @throws {RequiredError}
2979
+ * @memberof SureelApi
2980
+ */
2981
+ styleTransfer(contentType, styleTransferRequest, options) {
2982
+ return SureelApiFp(this.configuration)
2983
+ .styleTransfer(contentType, styleTransferRequest, options)
2984
+ .then((request) => request(this.axios, this.basePath));
2985
+ }
2986
+ /**
2987
+ * Text to image synthesis. By default, each user has a limit of 100 requests per minute.
2988
+ * @summary Text to Image
2989
+ * @param {TextToImageRequest} textToImageRequest
2990
+ * @param {*} [options] Override http request option.
2991
+ * @throws {RequiredError}
2992
+ * @memberof SureelApi
2993
+ */
2994
+ textToImage(textToImageRequest, options) {
2995
+ return SureelApiFp(this.configuration)
2996
+ .textToImage(textToImageRequest, options)
2997
+ .then((request) => request(this.axios, this.basePath));
2998
+ }
2999
+ /**
3000
+ * Update API terms and conditions status of a user
3001
+ * @summary API terms and conditions status
3002
+ * @param {UpdateApiTermsAndConditionsContentTypeEnum} contentType
3003
+ * @param {ApiTermsRequest} apiTermsRequest
3004
+ * @param {*} [options] Override http request option.
3005
+ * @throws {RequiredError}
3006
+ * @memberof SureelApi
3007
+ */
3008
+ updateApiTermsAndConditions(contentType, apiTermsRequest, options) {
3009
+ return SureelApiFp(this.configuration)
3010
+ .updateApiTermsAndConditions(contentType, apiTermsRequest, options)
3011
+ .then((request) => request(this.axios, this.basePath));
3012
+ }
3013
+ /**
3014
+ * Update an artist\'s collection with optional fields that can be modified via the request body. These fields include: collectionName, collectionDescription, and styles. The \'styles\' field should be a comma-separated list of styles.
3015
+ * @summary Update collection details
3016
+ * @param {string} collectionUuid
3017
+ * @param {UpdateCollectionContentTypeEnum} contentType
3018
+ * @param {UpdateCollectionRequest} [updateCollectionRequest]
3019
+ * @param {*} [options] Override http request option.
3020
+ * @throws {RequiredError}
3021
+ * @memberof SureelApi
3022
+ */
3023
+ updateCollection(collectionUuid, contentType, updateCollectionRequest, options) {
3024
+ return SureelApiFp(this.configuration)
3025
+ .updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
3026
+ .then((request) => request(this.axios, this.basePath));
3027
+ }
3028
+ /**
3029
+ * Upload artworks or upload a content image and optionally a mask image as form-data to be used by the other LDM endpoints. The files are temporarily stored on the server. The minimum height and width should be 400.
3030
+ * @summary Upload images
3031
+ * @param {string} contentType
3032
+ * @param {*} [options] Override http request option.
3033
+ * @throws {RequiredError}
3034
+ * @memberof SureelApi
3035
+ */
3036
+ uploadImages(contentType, options) {
3037
+ return SureelApiFp(this.configuration)
3038
+ .uploadImages(contentType, options)
3039
+ .then((request) => request(this.axios, this.basePath));
3040
+ }
3041
+ /**
3042
+ * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
3043
+ * @summary Upscaling
3044
+ * @param {UpscaleImageContentTypeEnum} contentType
3045
+ * @param {UpscaleRequest} upscaleRequest
3046
+ * @param {*} [options] Override http request option.
3047
+ * @throws {RequiredError}
3048
+ * @memberof SureelApi
3049
+ */
3050
+ upscaleImage(contentType, upscaleRequest, options) {
3051
+ return SureelApiFp(this.configuration)
3052
+ .upscaleImage(contentType, upscaleRequest, options)
3053
+ .then((request) => request(this.axios, this.basePath));
3054
+ }
3055
+ /**
3056
+ * Prompt guided audio to audio synthesis. Use the audio to audio endpoint when aiming to adjust the style of an audio file based on the prompt. By default, each user has a limit of 100 requests per minute.
3057
+ * @summary Audio to audio
3058
+ * @param {V1AiAudioLdmAudioToAudioPostContentTypeEnum} contentType
3059
+ * @param {V1AiAudioLdmAudioToAudioPostRequest} v1AiAudioLdmAudioToAudioPostRequest
3060
+ * @param {*} [options] Override http request option.
3061
+ * @throws {RequiredError}
3062
+ * @memberof SureelApi
3063
+ */
3064
+ v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options) {
3065
+ return SureelApiFp(this.configuration)
3066
+ .v1AiAudioLdmAudioToAudioPost(contentType, v1AiAudioLdmAudioToAudioPostRequest, options)
3067
+ .then((request) => request(this.axios, this.basePath));
3068
+ }
3069
+ /**
3070
+ * Calculate the attribution of a given audio. Attribution describes the influence of training data on content generated using AI. When training an AI model with different collections of data, each collection has a certain amount of influence on the resulting model. When generating new content with the resulting model, the influence each collection has on the new content is referred to as the attribution of the new content. By default, each user has a limit of 100 requests per minute.
3071
+ * @summary Audio attribution calculation
3072
+ * @param {V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum} contentType
3073
+ * @param {V1AiAudioLdmCalculateAudioAttributionPostRequest} v1AiAudioLdmCalculateAudioAttributionPostRequest
3074
+ * @param {*} [options] Override http request option.
3075
+ * @throws {RequiredError}
3076
+ * @memberof SureelApi
3077
+ */
3078
+ v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options) {
3079
+ return SureelApiFp(this.configuration)
3080
+ .v1AiAudioLdmCalculateAudioAttributionPost(contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options)
3081
+ .then((request) => request(this.axios, this.basePath));
3082
+ }
3083
+ /**
3084
+ * Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
3085
+ * @summary Audio LDM request results
3086
+ * @param {string} requestId
3087
+ * @param {*} [options] Override http request option.
3088
+ * @throws {RequiredError}
3089
+ * @memberof SureelApi
3090
+ */
3091
+ v1AiAudioLdmRequestIdGet(requestId, options) {
3092
+ return SureelApiFp(this.configuration)
3093
+ .v1AiAudioLdmRequestIdGet(requestId, options)
3094
+ .then((request) => request(this.axios, this.basePath));
3095
+ }
3096
+ /**
3097
+ * Split an audio file into stems. By default, each user has a limit of 100 requests per minute.
3098
+ * @summary Stem split
3099
+ * @param {V1AiAudioLdmStemSplitPostContentTypeEnum} contentType
3100
+ * @param {V1AiAudioLdmStemSplitPostRequest} v1AiAudioLdmStemSplitPostRequest
3101
+ * @param {*} [options] Override http request option.
3102
+ * @throws {RequiredError}
3103
+ * @memberof SureelApi
3104
+ */
3105
+ v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options) {
3106
+ return SureelApiFp(this.configuration)
3107
+ .v1AiAudioLdmStemSplitPost(contentType, v1AiAudioLdmStemSplitPostRequest, options)
3108
+ .then((request) => request(this.axios, this.basePath));
3109
+ }
3110
+ /**
3111
+ * Text to audio synthesis. By default, each user has a limit of 100 requests per minute.
3112
+ * @summary Text to audio
3113
+ * @param {V1AiAudioLdmTextToAudioPostContentTypeEnum} contentType
3114
+ * @param {V1AiAudioLdmTextToAudioPostRequest} v1AiAudioLdmTextToAudioPostRequest
3115
+ * @param {*} [options] Override http request option.
3116
+ * @throws {RequiredError}
3117
+ * @memberof SureelApi
3118
+ */
3119
+ v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options) {
3120
+ return SureelApiFp(this.configuration)
3121
+ .v1AiAudioLdmTextToAudioPost(contentType, v1AiAudioLdmTextToAudioPostRequest, options)
3122
+ .then((request) => request(this.axios, this.basePath));
3123
+ }
3124
+ /**
3125
+ * Upload original audio or upload content audio as form-data to be used by the other Audio LDM endpoints. The files are temporarily stored on the server.
3126
+ * @summary Upload audios
3127
+ * @param {string} contentType
3128
+ * @param {*} [options] Override http request option.
3129
+ * @throws {RequiredError}
3130
+ * @memberof SureelApi
3131
+ */
3132
+ v1AiAudioLdmUploadAudiosPost(contentType, options) {
3133
+ return SureelApiFp(this.configuration)
3134
+ .v1AiAudioLdmUploadAudiosPost(contentType, options)
3135
+ .then((request) => request(this.axios, this.basePath));
3136
+ }
3137
+ /**
3138
+ * Voice style transfer using given voice uuid
3139
+ * @summary Voice transfer
3140
+ * @param {V1AiAudioLdmVoiceTransferPostContentTypeEnum} contentType
3141
+ * @param {V1AiAudioLdmVoiceTransferPostRequest} v1AiAudioLdmVoiceTransferPostRequest
3142
+ * @param {*} [options] Override http request option.
3143
+ * @throws {RequiredError}
3144
+ * @memberof SureelApi
3145
+ */
3146
+ v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options) {
3147
+ return SureelApiFp(this.configuration)
3148
+ .v1AiAudioLdmVoiceTransferPost(contentType, v1AiAudioLdmVoiceTransferPostRequest, options)
3149
+ .then((request) => request(this.axios, this.basePath));
3150
+ }
3151
+ /**
3152
+ * Image attribution analysis extracts the analysis metrics for a given image. Metrics are as follows: Attribution likelihood describes the probability that a piece of content from the registry had an influence on the creation of a new piece of content. Cross-correlation describes how big the spatial shift between the images is. Color match describes how similar the color distributions of RGB are. And pixel-wise average difference gives the average distance in between images.
3153
+ * @summary Attribution analysis
3154
+ * @param {V1AiLdmAttributionAnalysisPostContentTypeEnum} contentType
3155
+ * @param {V1AiLdmAttributionAnalysisPostRequest} v1AiLdmAttributionAnalysisPostRequest
3156
+ * @param {*} [options] Override http request option.
3157
+ * @throws {RequiredError}
3158
+ * @memberof SureelApi
3159
+ */
3160
+ v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options) {
3161
+ return SureelApiFp(this.configuration)
3162
+ .v1AiLdmAttributionAnalysisPost(contentType, v1AiLdmAttributionAnalysisPostRequest, options)
3163
+ .then((request) => request(this.axios, this.basePath));
3164
+ }
3165
+ /**
3166
+ * Prepares the attribution enviroment and embeddings from specified prefix.
3167
+ * @summary Attribution setup
3168
+ * @param {V1AiLdmAttributionSetupPostContentTypeEnum} contentType
3169
+ * @param {V1AiLdmAttributionSetupPostRequest} v1AiLdmAttributionSetupPostRequest
3170
+ * @param {*} [options] Override http request option.
3171
+ * @throws {RequiredError}
3172
+ * @memberof SureelApi
3173
+ */
3174
+ v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options) {
3175
+ return SureelApiFp(this.configuration)
3176
+ .v1AiLdmAttributionSetupPost(contentType, v1AiLdmAttributionSetupPostRequest, options)
3177
+ .then((request) => request(this.axios, this.basePath));
3178
+ }
3179
+ /**
3180
+ * Create cover art for your music album or single. By default, each user has a limit of 100 requests per minute.
3181
+ * @summary Music cover art
3182
+ * @param {V1AiLdmCoverArtPostContentTypeEnum} contentType
3183
+ * @param {V1AiLdmCoverArtPostRequest} v1AiLdmCoverArtPostRequest
3184
+ * @param {*} [options] Override http request option.
3185
+ * @throws {RequiredError}
3186
+ * @memberof SureelApi
3187
+ */
3188
+ v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options) {
3189
+ return SureelApiFp(this.configuration)
3190
+ .v1AiLdmCoverArtPost(contentType, v1AiLdmCoverArtPostRequest, options)
3191
+ .then((request) => request(this.axios, this.basePath));
3192
+ }
3193
+ }
3194
+ /**
3195
+ * @export
3196
+ */
3197
+ export const ApplyWatermarkContentTypeEnum = {
3198
+ ApplicationJson: "application/json",
3199
+ };
3200
+ /**
3201
+ * @export
3202
+ */
3203
+ export const AvatarImageBlendingContentTypeEnum = {
3204
+ ApplicationJson: "application/json",
3205
+ };
3206
+ /**
3207
+ * @export
3208
+ */
3209
+ export const CalculateAttributionContentTypeEnum = {
3210
+ ApplicationJson: "application/json",
3211
+ };
3212
+ /**
3213
+ * @export
3214
+ */
3215
+ export const CalculateCreditsContentTypeEnum = {
3216
+ ApplicationJson: "application/json",
3217
+ };
3218
+ /**
3219
+ * @export
3220
+ */
3221
+ export const ControlNetContentTypeEnum = {
3222
+ ApplicationJson: "application/json",
3223
+ };
3224
+ /**
3225
+ * @export
3226
+ */
3227
+ export const CreateCollectionContentTypeEnum = {
3228
+ ApplicationJson: "application/json",
3229
+ };
3230
+ /**
3231
+ * @export
3232
+ */
3233
+ export const FaceSwapContentTypeEnum = {
3234
+ ApplicationJson: "application/json",
3235
+ };
3236
+ /**
3237
+ * @export
3238
+ */
3239
+ export const FinetuneModelContentTypeEnum = {
3240
+ ApplicationJson: "application/json",
3241
+ };
3242
+ /**
3243
+ * @export
3244
+ */
3245
+ export const GeneratePreviewContentTypeEnum = {
3246
+ ApplicationJson: "application/json",
3247
+ };
3248
+ /**
3249
+ * @export
3250
+ */
3251
+ export const GenerateSignedUrlsContentTypeEnum = {
3252
+ ApplicationJson: "application/json",
3253
+ };
3254
+ /**
3255
+ * @export
3256
+ */
3257
+ export const ImageBlendingContentTypeEnum = {
3258
+ ApplicationJson: "application/json",
3259
+ };
3260
+ /**
3261
+ * @export
3262
+ */
3263
+ export const InpaintContentTypeEnum = {
3264
+ ApplicationJson: "application/json",
3265
+ };
3266
+ /**
3267
+ * @export
3268
+ */
3269
+ export const ReimagineContentTypeEnum = {
3270
+ ApplicationJson: "application/json",
3271
+ };
3272
+ /**
3273
+ * @export
3274
+ */
3275
+ export const RemoveBackgroundContentTypeEnum = {
3276
+ ApplicationJson: "application/json",
3277
+ };
3278
+ /**
3279
+ * @export
3280
+ */
3281
+ export const StyleTransferContentTypeEnum = {
3282
+ ApplicationJson: "application/json",
3283
+ };
3284
+ /**
3285
+ * @export
3286
+ */
3287
+ export const UpdateApiTermsAndConditionsContentTypeEnum = {
3288
+ ApplicationJson: "application/json",
3289
+ };
3290
+ /**
3291
+ * @export
3292
+ */
3293
+ export const UpdateCollectionContentTypeEnum = {
3294
+ ApplicationJson: "application/json",
3295
+ };
3296
+ /**
3297
+ * @export
3298
+ */
3299
+ export const UpscaleImageContentTypeEnum = {
3300
+ ApplicationJson: "application/json",
3301
+ };
3302
+ /**
3303
+ * @export
3304
+ */
3305
+ export const V1AiAudioLdmAudioToAudioPostContentTypeEnum = {
3306
+ ApplicationJson: "application/json",
3307
+ };
3308
+ /**
3309
+ * @export
3310
+ */
3311
+ export const V1AiAudioLdmCalculateAudioAttributionPostContentTypeEnum = {
3312
+ ApplicationJson: "application/json",
3313
+ };
3314
+ /**
3315
+ * @export
3316
+ */
3317
+ export const V1AiAudioLdmStemSplitPostContentTypeEnum = {
3318
+ ApplicationJson: "application/json",
3319
+ };
3320
+ /**
3321
+ * @export
3322
+ */
3323
+ export const V1AiAudioLdmTextToAudioPostContentTypeEnum = {
3324
+ ApplicationJson: "application/json",
3325
+ };
3326
+ /**
3327
+ * @export
3328
+ */
3329
+ export const V1AiAudioLdmVoiceTransferPostContentTypeEnum = {
3330
+ ApplicationJson: "application/json",
3331
+ };
3332
+ /**
3333
+ * @export
3334
+ */
3335
+ export const V1AiLdmAttributionAnalysisPostContentTypeEnum = {
3336
+ ApplicationJson: "application/json",
3337
+ };
3338
+ /**
3339
+ * @export
3340
+ */
3341
+ export const V1AiLdmAttributionSetupPostContentTypeEnum = {
3342
+ ApplicationJson: "application/json",
3343
+ };
3344
+ /**
3345
+ * @export
3346
+ */
3347
+ export const V1AiLdmCoverArtPostContentTypeEnum = {
3348
+ ApplicationJson: "application/json",
3349
+ };
3350
+ //# sourceMappingURL=sureel-api.js.map