hedra-sdk 1.0.0__tar.gz

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 (677) hide show
  1. hedra_sdk-1.0.0/LICENSE +201 -0
  2. hedra_sdk-1.0.0/PKG-INFO +262 -0
  3. hedra_sdk-1.0.0/README.md +224 -0
  4. hedra_sdk-1.0.0/pyproject.toml +102 -0
  5. hedra_sdk-1.0.0/src/hedra/__init__.py +2540 -0
  6. hedra_sdk-1.0.0/src/hedra/_default_clients.py +30 -0
  7. hedra_sdk-1.0.0/src/hedra/base_client.py +373 -0
  8. hedra_sdk-1.0.0/src/hedra/billing/__init__.py +4 -0
  9. hedra_sdk-1.0.0/src/hedra/billing/client.py +189 -0
  10. hedra_sdk-1.0.0/src/hedra/billing/raw_client.py +486 -0
  11. hedra_sdk-1.0.0/src/hedra/client.py +83 -0
  12. hedra_sdk-1.0.0/src/hedra/core/__init__.py +132 -0
  13. hedra_sdk-1.0.0/src/hedra/core/api_error.py +23 -0
  14. hedra_sdk-1.0.0/src/hedra/core/client_wrapper.py +156 -0
  15. hedra_sdk-1.0.0/src/hedra/core/datetime_utils.py +70 -0
  16. hedra_sdk-1.0.0/src/hedra/core/file.py +67 -0
  17. hedra_sdk-1.0.0/src/hedra/core/force_multipart.py +18 -0
  18. hedra_sdk-1.0.0/src/hedra/core/http_client.py +885 -0
  19. hedra_sdk-1.0.0/src/hedra/core/http_response.py +59 -0
  20. hedra_sdk-1.0.0/src/hedra/core/http_sse/__init__.py +42 -0
  21. hedra_sdk-1.0.0/src/hedra/core/http_sse/_api.py +455 -0
  22. hedra_sdk-1.0.0/src/hedra/core/http_sse/_decoders.py +74 -0
  23. hedra_sdk-1.0.0/src/hedra/core/http_sse/_exceptions.py +7 -0
  24. hedra_sdk-1.0.0/src/hedra/core/http_sse/_models.py +17 -0
  25. hedra_sdk-1.0.0/src/hedra/core/jsonable_encoder.py +133 -0
  26. hedra_sdk-1.0.0/src/hedra/core/logging.py +107 -0
  27. hedra_sdk-1.0.0/src/hedra/core/pagination.py +82 -0
  28. hedra_sdk-1.0.0/src/hedra/core/parse_error.py +36 -0
  29. hedra_sdk-1.0.0/src/hedra/core/pydantic_utilities.py +508 -0
  30. hedra_sdk-1.0.0/src/hedra/core/query_encoder.py +58 -0
  31. hedra_sdk-1.0.0/src/hedra/core/remove_none_from_dict.py +11 -0
  32. hedra_sdk-1.0.0/src/hedra/core/request_options.py +40 -0
  33. hedra_sdk-1.0.0/src/hedra/core/serialization.py +347 -0
  34. hedra_sdk-1.0.0/src/hedra/environment.py +7 -0
  35. hedra_sdk-1.0.0/src/hedra/errors/__init__.py +59 -0
  36. hedra_sdk-1.0.0/src/hedra/errors/bad_request_error.py +11 -0
  37. hedra_sdk-1.0.0/src/hedra/errors/forbidden_error.py +11 -0
  38. hedra_sdk-1.0.0/src/hedra/errors/internal_server_error.py +11 -0
  39. hedra_sdk-1.0.0/src/hedra/errors/not_found_error.py +11 -0
  40. hedra_sdk-1.0.0/src/hedra/errors/payment_required_error.py +11 -0
  41. hedra_sdk-1.0.0/src/hedra/errors/too_many_requests_error.py +11 -0
  42. hedra_sdk-1.0.0/src/hedra/errors/unauthorized_error.py +11 -0
  43. hedra_sdk-1.0.0/src/hedra/errors/unprocessable_entity_error.py +11 -0
  44. hedra_sdk-1.0.0/src/hedra/files/__init__.py +4 -0
  45. hedra_sdk-1.0.0/src/hedra/files/client.py +120 -0
  46. hedra_sdk-1.0.0/src/hedra/files/raw_client.py +272 -0
  47. hedra_sdk-1.0.0/src/hedra/jobs/__init__.py +34 -0
  48. hedra_sdk-1.0.0/src/hedra/jobs/client.py +9089 -0
  49. hedra_sdk-1.0.0/src/hedra/jobs/raw_client.py +24853 -0
  50. hedra_sdk-1.0.0/src/hedra/jobs/types/__init__.py +34 -0
  51. hedra_sdk-1.0.0/src/hedra/jobs/types/jobs_stream_response.py +8 -0
  52. hedra_sdk-1.0.0/src/hedra/keys/__init__.py +4 -0
  53. hedra_sdk-1.0.0/src/hedra/keys/client.py +384 -0
  54. hedra_sdk-1.0.0/src/hedra/keys/raw_client.py +971 -0
  55. hedra_sdk-1.0.0/src/hedra/log_drains/__init__.py +4 -0
  56. hedra_sdk-1.0.0/src/hedra/log_drains/client.py +600 -0
  57. hedra_sdk-1.0.0/src/hedra/log_drains/raw_client.py +1465 -0
  58. hedra_sdk-1.0.0/src/hedra/models/__init__.py +4 -0
  59. hedra_sdk-1.0.0/src/hedra/models/client.py +515 -0
  60. hedra_sdk-1.0.0/src/hedra/models/raw_client.py +1328 -0
  61. hedra_sdk-1.0.0/src/hedra/py.typed +0 -0
  62. hedra_sdk-1.0.0/src/hedra/tokens/__init__.py +4 -0
  63. hedra_sdk-1.0.0/src/hedra/tokens/client.py +126 -0
  64. hedra_sdk-1.0.0/src/hedra/tokens/raw_client.py +278 -0
  65. hedra_sdk-1.0.0/src/hedra/types/__init__.py +2592 -0
  66. hedra_sdk-1.0.0/src/hedra/types/api_key_kind.py +5 -0
  67. hedra_sdk-1.0.0/src/hedra/types/api_key_scope.py +17 -0
  68. hedra_sdk-1.0.0/src/hedra/types/balance_response.py +43 -0
  69. hedra_sdk-1.0.0/src/hedra/types/billing_error.py +47 -0
  70. hedra_sdk-1.0.0/src/hedra/types/error_code.py +24 -0
  71. hedra_sdk-1.0.0/src/hedra/types/error_envelope.py +56 -0
  72. hedra_sdk-1.0.0/src/hedra/types/error_response.py +28 -0
  73. hedra_sdk-1.0.0/src/hedra/types/estimate_response.py +36 -0
  74. hedra_sdk-1.0.0/src/hedra/types/field_error.py +45 -0
  75. hedra_sdk-1.0.0/src/hedra/types/file_upload_response.py +40 -0
  76. hedra_sdk-1.0.0/src/hedra/types/input_dreamina31.py +53 -0
  77. hedra_sdk-1.0.0/src/hedra/types/input_dreamina31aspect_ratio.py +7 -0
  78. hedra_sdk-1.0.0/src/hedra/types/input_dreamina31resolution.py +5 -0
  79. hedra_sdk-1.0.0/src/hedra/types/input_elevenlabs_flash_multilingual_v2.py +46 -0
  80. hedra_sdk-1.0.0/src/hedra/types/input_elevenlabs_flash_v2.py +46 -0
  81. hedra_sdk-1.0.0/src/hedra/types/input_elevenlabs_multilingual_v2.py +46 -0
  82. hedra_sdk-1.0.0/src/hedra/types/input_elevenlabs_v3.py +46 -0
  83. hedra_sdk-1.0.0/src/hedra/types/input_flux11pro.py +59 -0
  84. hedra_sdk-1.0.0/src/hedra/types/input_flux11pro_aspect_ratio.py +7 -0
  85. hedra_sdk-1.0.0/src/hedra/types/input_flux11pro_output_format.py +5 -0
  86. hedra_sdk-1.0.0/src/hedra/types/input_flux11pro_resolution.py +7 -0
  87. hedra_sdk-1.0.0/src/hedra/types/input_flux11ultra.py +59 -0
  88. hedra_sdk-1.0.0/src/hedra/types/input_flux11ultra_aspect_ratio.py +7 -0
  89. hedra_sdk-1.0.0/src/hedra/types/input_flux11ultra_output_format.py +5 -0
  90. hedra_sdk-1.0.0/src/hedra/types/input_flux11ultra_resolution.py +5 -0
  91. hedra_sdk-1.0.0/src/hedra/types/input_flux2flex.py +73 -0
  92. hedra_sdk-1.0.0/src/hedra/types/input_flux2flex_aspect_ratio.py +5 -0
  93. hedra_sdk-1.0.0/src/hedra/types/input_flux2flex_images_item.py +42 -0
  94. hedra_sdk-1.0.0/src/hedra/types/input_flux2flex_images_item_asset.py +26 -0
  95. hedra_sdk-1.0.0/src/hedra/types/input_flux2flex_images_item_url.py +26 -0
  96. hedra_sdk-1.0.0/src/hedra/types/input_flux2flex_output_format.py +5 -0
  97. hedra_sdk-1.0.0/src/hedra/types/input_flux2klein9b.py +78 -0
  98. hedra_sdk-1.0.0/src/hedra/types/input_flux2klein9b_aspect_ratio.py +5 -0
  99. hedra_sdk-1.0.0/src/hedra/types/input_flux2klein9b_images_item.py +43 -0
  100. hedra_sdk-1.0.0/src/hedra/types/input_flux2klein9b_images_item_asset.py +26 -0
  101. hedra_sdk-1.0.0/src/hedra/types/input_flux2klein9b_images_item_url.py +26 -0
  102. hedra_sdk-1.0.0/src/hedra/types/input_flux2klein9b_output_format.py +5 -0
  103. hedra_sdk-1.0.0/src/hedra/types/input_flux2max.py +63 -0
  104. hedra_sdk-1.0.0/src/hedra/types/input_flux2max_aspect_ratio.py +5 -0
  105. hedra_sdk-1.0.0/src/hedra/types/input_flux2max_images_item.py +42 -0
  106. hedra_sdk-1.0.0/src/hedra/types/input_flux2max_images_item_asset.py +26 -0
  107. hedra_sdk-1.0.0/src/hedra/types/input_flux2max_images_item_url.py +26 -0
  108. hedra_sdk-1.0.0/src/hedra/types/input_flux2max_output_format.py +5 -0
  109. hedra_sdk-1.0.0/src/hedra/types/input_flux2pro.py +63 -0
  110. hedra_sdk-1.0.0/src/hedra/types/input_flux2pro_aspect_ratio.py +5 -0
  111. hedra_sdk-1.0.0/src/hedra/types/input_flux2pro_images_item.py +42 -0
  112. hedra_sdk-1.0.0/src/hedra/types/input_flux2pro_images_item_asset.py +26 -0
  113. hedra_sdk-1.0.0/src/hedra/types/input_flux2pro_images_item_url.py +26 -0
  114. hedra_sdk-1.0.0/src/hedra/types/input_flux2pro_output_format.py +5 -0
  115. hedra_sdk-1.0.0/src/hedra/types/input_flux3.py +70 -0
  116. hedra_sdk-1.0.0/src/hedra/types/input_flux3aspect_ratio.py +7 -0
  117. hedra_sdk-1.0.0/src/hedra/types/input_flux3end_image.py +50 -0
  118. hedra_sdk-1.0.0/src/hedra/types/input_flux3end_image_asset.py +26 -0
  119. hedra_sdk-1.0.0/src/hedra/types/input_flux3end_image_url.py +26 -0
  120. hedra_sdk-1.0.0/src/hedra/types/input_flux3resolution.py +5 -0
  121. hedra_sdk-1.0.0/src/hedra/types/input_flux3start_image.py +50 -0
  122. hedra_sdk-1.0.0/src/hedra/types/input_flux3start_image_asset.py +26 -0
  123. hedra_sdk-1.0.0/src/hedra/types/input_flux3start_image_url.py +26 -0
  124. hedra_sdk-1.0.0/src/hedra/types/input_flux_dev.py +69 -0
  125. hedra_sdk-1.0.0/src/hedra/types/input_flux_dev_aspect_ratio.py +7 -0
  126. hedra_sdk-1.0.0/src/hedra/types/input_flux_dev_output_format.py +5 -0
  127. hedra_sdk-1.0.0/src/hedra/types/input_flux_dev_resolution.py +7 -0
  128. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_max.py +69 -0
  129. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_max_aspect_ratio.py +7 -0
  130. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_max_images_item.py +43 -0
  131. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_max_images_item_asset.py +26 -0
  132. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_max_images_item_url.py +26 -0
  133. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_max_output_format.py +5 -0
  134. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_max_resolution.py +5 -0
  135. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_pro.py +69 -0
  136. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_pro_aspect_ratio.py +7 -0
  137. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_pro_images_item.py +43 -0
  138. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_pro_images_item_asset.py +26 -0
  139. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_pro_images_item_url.py +26 -0
  140. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_pro_output_format.py +5 -0
  141. hedra_sdk-1.0.0/src/hedra/types/input_flux_kontext_pro_resolution.py +5 -0
  142. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash.py +72 -0
  143. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_aspect_ratio.py +5 -0
  144. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_images_item.py +43 -0
  145. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_images_item_asset.py +26 -0
  146. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_images_item_url.py +26 -0
  147. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_resolution.py +5 -0
  148. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_source_video.py +51 -0
  149. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_source_video_asset.py +26 -0
  150. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_source_video_url.py +26 -0
  151. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_start_image.py +51 -0
  152. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_start_image_asset.py +26 -0
  153. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_start_image_url.py +26 -0
  154. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_videos_item.py +43 -0
  155. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_videos_item_asset.py +26 -0
  156. hedra_sdk-1.0.0/src/hedra/types/input_gemini_omni_flash_videos_item_url.py +26 -0
  157. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image15.py +64 -0
  158. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image15aspect_ratio.py +5 -0
  159. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image15images_item.py +42 -0
  160. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image15images_item_asset.py +26 -0
  161. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image15images_item_url.py +26 -0
  162. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image15output_format.py +5 -0
  163. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image15resolution.py +5 -0
  164. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image2.py +70 -0
  165. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image2aspect_ratio.py +5 -0
  166. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image2images_item.py +42 -0
  167. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image2images_item_asset.py +26 -0
  168. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image2images_item_url.py +26 -0
  169. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image2output_format.py +5 -0
  170. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image2quality.py +5 -0
  171. hedra_sdk-1.0.0/src/hedra/types/input_gpt_image2resolution.py +5 -0
  172. hedra_sdk-1.0.0/src/hedra/types/input_grok_imagine.py +58 -0
  173. hedra_sdk-1.0.0/src/hedra/types/input_grok_imagine_aspect_ratio.py +5 -0
  174. hedra_sdk-1.0.0/src/hedra/types/input_grok_imagine_images_item.py +43 -0
  175. hedra_sdk-1.0.0/src/hedra/types/input_grok_imagine_images_item_asset.py +26 -0
  176. hedra_sdk-1.0.0/src/hedra/types/input_grok_imagine_images_item_url.py +26 -0
  177. hedra_sdk-1.0.0/src/hedra/types/input_grok_imagine_output_format.py +5 -0
  178. hedra_sdk-1.0.0/src/hedra/types/input_grok_video.py +58 -0
  179. hedra_sdk-1.0.0/src/hedra/types/input_grok_video_aspect_ratio.py +7 -0
  180. hedra_sdk-1.0.0/src/hedra/types/input_grok_video_resolution.py +5 -0
  181. hedra_sdk-1.0.0/src/hedra/types/input_grok_video_start_image.py +50 -0
  182. hedra_sdk-1.0.0/src/hedra/types/input_grok_video_start_image_asset.py +26 -0
  183. hedra_sdk-1.0.0/src/hedra/types/input_grok_video_start_image_url.py +26 -0
  184. hedra_sdk-1.0.0/src/hedra/types/input_happy_horse.py +69 -0
  185. hedra_sdk-1.0.0/src/hedra/types/input_happy_horse_aspect_ratio.py +7 -0
  186. hedra_sdk-1.0.0/src/hedra/types/input_happy_horse_images_item.py +42 -0
  187. hedra_sdk-1.0.0/src/hedra/types/input_happy_horse_images_item_asset.py +26 -0
  188. hedra_sdk-1.0.0/src/hedra/types/input_happy_horse_images_item_url.py +26 -0
  189. hedra_sdk-1.0.0/src/hedra/types/input_happy_horse_resolution.py +5 -0
  190. hedra_sdk-1.0.0/src/hedra/types/input_happy_horse_start_image.py +50 -0
  191. hedra_sdk-1.0.0/src/hedra/types/input_happy_horse_start_image_asset.py +26 -0
  192. hedra_sdk-1.0.0/src/hedra/types/input_happy_horse_start_image_url.py +26 -0
  193. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar.py +66 -0
  194. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_aspect_ratio.py +7 -0
  195. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_audio.py +8 -0
  196. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_audio_one_item.py +43 -0
  197. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_audio_one_item_asset.py +26 -0
  198. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_audio_one_item_url.py +26 -0
  199. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_audio_zero.py +42 -0
  200. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_audio_zero_asset.py +26 -0
  201. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_audio_zero_url.py +26 -0
  202. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_bounding_box_target.py +5 -0
  203. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_resolution.py +5 -0
  204. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_start_image.py +51 -0
  205. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_start_image_asset.py +26 -0
  206. hedra_sdk-1.0.0/src/hedra/types/input_hedra_avatar_start_image_url.py +26 -0
  207. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3.py +66 -0
  208. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3aspect_ratio.py +7 -0
  209. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3audio.py +8 -0
  210. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3audio_one_item.py +43 -0
  211. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3audio_one_item_asset.py +26 -0
  212. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3audio_one_item_url.py +26 -0
  213. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3audio_zero.py +43 -0
  214. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3audio_zero_asset.py +26 -0
  215. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3audio_zero_url.py +26 -0
  216. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3bounding_box_target.py +5 -0
  217. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3resolution.py +5 -0
  218. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3start_image.py +51 -0
  219. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3start_image_asset.py +26 -0
  220. hedra_sdk-1.0.0/src/hedra/types/input_hedra_character3start_image_url.py +26 -0
  221. hedra_sdk-1.0.0/src/hedra/types/input_hidream_o1image.py +85 -0
  222. hedra_sdk-1.0.0/src/hedra/types/input_hidream_o1image_aspect_ratio.py +5 -0
  223. hedra_sdk-1.0.0/src/hedra/types/input_hidream_o1image_images_item.py +43 -0
  224. hedra_sdk-1.0.0/src/hedra/types/input_hidream_o1image_images_item_asset.py +26 -0
  225. hedra_sdk-1.0.0/src/hedra/types/input_hidream_o1image_images_item_url.py +26 -0
  226. hedra_sdk-1.0.0/src/hedra/types/input_hidream_o1image_output_format.py +5 -0
  227. hedra_sdk-1.0.0/src/hedra/types/input_hidream_o1image_quality.py +5 -0
  228. hedra_sdk-1.0.0/src/hedra/types/input_hidream_o1image_resolution.py +5 -0
  229. hedra_sdk-1.0.0/src/hedra/types/input_ideogram_v2.py +58 -0
  230. hedra_sdk-1.0.0/src/hedra/types/input_ideogram_v2aspect_ratio.py +7 -0
  231. hedra_sdk-1.0.0/src/hedra/types/input_ideogram_v2resolution.py +5 -0
  232. hedra_sdk-1.0.0/src/hedra/types/input_ideogram_v4.py +65 -0
  233. hedra_sdk-1.0.0/src/hedra/types/input_ideogram_v4aspect_ratio.py +5 -0
  234. hedra_sdk-1.0.0/src/hedra/types/input_ideogram_v4output_format.py +5 -0
  235. hedra_sdk-1.0.0/src/hedra/types/input_ideogram_v4quality.py +5 -0
  236. hedra_sdk-1.0.0/src/hedra/types/input_ideogram_v4resolution.py +5 -0
  237. hedra_sdk-1.0.0/src/hedra/types/input_imagen3.py +48 -0
  238. hedra_sdk-1.0.0/src/hedra/types/input_imagen3aspect_ratio.py +5 -0
  239. hedra_sdk-1.0.0/src/hedra/types/input_imagen3resolution.py +5 -0
  240. hedra_sdk-1.0.0/src/hedra/types/input_imagen4.py +48 -0
  241. hedra_sdk-1.0.0/src/hedra/types/input_imagen4aspect_ratio.py +5 -0
  242. hedra_sdk-1.0.0/src/hedra/types/input_imagen4resolution.py +5 -0
  243. hedra_sdk-1.0.0/src/hedra/types/input_kling16.py +68 -0
  244. hedra_sdk-1.0.0/src/hedra/types/input_kling16aspect_ratio.py +5 -0
  245. hedra_sdk-1.0.0/src/hedra/types/input_kling16resolution.py +5 -0
  246. hedra_sdk-1.0.0/src/hedra/types/input_kling16start_image.py +50 -0
  247. hedra_sdk-1.0.0/src/hedra/types/input_kling16start_image_asset.py +26 -0
  248. hedra_sdk-1.0.0/src/hedra/types/input_kling16start_image_url.py +26 -0
  249. hedra_sdk-1.0.0/src/hedra/types/input_kling21master.py +68 -0
  250. hedra_sdk-1.0.0/src/hedra/types/input_kling21master_aspect_ratio.py +5 -0
  251. hedra_sdk-1.0.0/src/hedra/types/input_kling21master_resolution.py +5 -0
  252. hedra_sdk-1.0.0/src/hedra/types/input_kling21master_start_image.py +51 -0
  253. hedra_sdk-1.0.0/src/hedra/types/input_kling21master_start_image_asset.py +26 -0
  254. hedra_sdk-1.0.0/src/hedra/types/input_kling21master_start_image_url.py +26 -0
  255. hedra_sdk-1.0.0/src/hedra/types/input_kling25turbo.py +68 -0
  256. hedra_sdk-1.0.0/src/hedra/types/input_kling25turbo_aspect_ratio.py +5 -0
  257. hedra_sdk-1.0.0/src/hedra/types/input_kling25turbo_resolution.py +5 -0
  258. hedra_sdk-1.0.0/src/hedra/types/input_kling25turbo_start_image.py +51 -0
  259. hedra_sdk-1.0.0/src/hedra/types/input_kling25turbo_start_image_asset.py +26 -0
  260. hedra_sdk-1.0.0/src/hedra/types/input_kling25turbo_start_image_url.py +26 -0
  261. hedra_sdk-1.0.0/src/hedra/types/input_kling26motion_control.py +55 -0
  262. hedra_sdk-1.0.0/src/hedra/types/input_kling26motion_control_character_orientation.py +5 -0
  263. hedra_sdk-1.0.0/src/hedra/types/input_kling26motion_control_resolution.py +5 -0
  264. hedra_sdk-1.0.0/src/hedra/types/input_kling26motion_control_source_video.py +51 -0
  265. hedra_sdk-1.0.0/src/hedra/types/input_kling26motion_control_source_video_asset.py +26 -0
  266. hedra_sdk-1.0.0/src/hedra/types/input_kling26motion_control_source_video_url.py +26 -0
  267. hedra_sdk-1.0.0/src/hedra/types/input_kling26motion_control_start_image.py +51 -0
  268. hedra_sdk-1.0.0/src/hedra/types/input_kling26motion_control_start_image_asset.py +26 -0
  269. hedra_sdk-1.0.0/src/hedra/types/input_kling26motion_control_start_image_url.py +26 -0
  270. hedra_sdk-1.0.0/src/hedra/types/input_kling26pro.py +73 -0
  271. hedra_sdk-1.0.0/src/hedra/types/input_kling26pro_aspect_ratio.py +5 -0
  272. hedra_sdk-1.0.0/src/hedra/types/input_kling26pro_resolution.py +5 -0
  273. hedra_sdk-1.0.0/src/hedra/types/input_kling26pro_start_image.py +50 -0
  274. hedra_sdk-1.0.0/src/hedra/types/input_kling26pro_start_image_asset.py +26 -0
  275. hedra_sdk-1.0.0/src/hedra/types/input_kling26pro_start_image_url.py +26 -0
  276. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2.py +61 -0
  277. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2aspect_ratio.py +5 -0
  278. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2audio.py +50 -0
  279. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2audio_asset.py +26 -0
  280. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2audio_url.py +26 -0
  281. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2quality.py +5 -0
  282. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2resolution.py +5 -0
  283. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2start_image.py +51 -0
  284. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2start_image_asset.py +26 -0
  285. hedra_sdk-1.0.0/src/hedra/types/input_kling_ai_avatar_v2start_image_url.py +26 -0
  286. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1.py +70 -0
  287. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1aspect_ratio.py +5 -0
  288. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1end_image.py +50 -0
  289. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1end_image_asset.py +26 -0
  290. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1end_image_url.py +26 -0
  291. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1images_item.py +42 -0
  292. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1images_item_asset.py +26 -0
  293. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1images_item_url.py +26 -0
  294. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1resolution.py +5 -0
  295. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1start_image.py +50 -0
  296. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1start_image_asset.py +26 -0
  297. hedra_sdk-1.0.0/src/hedra/types/input_kling_o1start_image_url.py +26 -0
  298. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3.py +85 -0
  299. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3aspect_ratio.py +5 -0
  300. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3edit.py +49 -0
  301. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3edit_images_item.py +43 -0
  302. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3edit_images_item_asset.py +26 -0
  303. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3edit_images_item_url.py +26 -0
  304. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3edit_resolution.py +5 -0
  305. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3edit_source_video.py +51 -0
  306. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3edit_source_video_asset.py +26 -0
  307. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3edit_source_video_url.py +26 -0
  308. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3end_image.py +50 -0
  309. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3end_image_asset.py +26 -0
  310. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3end_image_url.py +26 -0
  311. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3images_item.py +42 -0
  312. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3images_item_asset.py +26 -0
  313. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3images_item_url.py +26 -0
  314. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3quality.py +5 -0
  315. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3reference.py +49 -0
  316. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3reference_images_item.py +43 -0
  317. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3reference_images_item_asset.py +26 -0
  318. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3reference_images_item_url.py +26 -0
  319. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3reference_resolution.py +5 -0
  320. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3reference_source_video.py +51 -0
  321. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3reference_source_video_asset.py +26 -0
  322. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3reference_source_video_url.py +26 -0
  323. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3resolution.py +5 -0
  324. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3start_image.py +50 -0
  325. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3start_image_asset.py +26 -0
  326. hedra_sdk-1.0.0/src/hedra/types/input_kling_o3start_image_url.py +26 -0
  327. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3.py +89 -0
  328. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3aspect_ratio.py +5 -0
  329. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3end_image.py +50 -0
  330. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3end_image_asset.py +26 -0
  331. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3end_image_url.py +26 -0
  332. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3motion_control.py +55 -0
  333. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3motion_control_character_orientation.py +5 -0
  334. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3motion_control_resolution.py +5 -0
  335. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3motion_control_source_video.py +51 -0
  336. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3motion_control_source_video_asset.py +26 -0
  337. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3motion_control_source_video_url.py +26 -0
  338. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3motion_control_start_image.py +51 -0
  339. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3motion_control_start_image_asset.py +26 -0
  340. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3motion_control_start_image_url.py +26 -0
  341. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3quality.py +5 -0
  342. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3resolution.py +5 -0
  343. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3start_image.py +50 -0
  344. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3start_image_asset.py +26 -0
  345. hedra_sdk-1.0.0/src/hedra/types/input_kling_v3start_image_url.py +26 -0
  346. hedra_sdk-1.0.0/src/hedra/types/input_ltx23.py +77 -0
  347. hedra_sdk-1.0.0/src/hedra/types/input_ltx23aspect_ratio.py +5 -0
  348. hedra_sdk-1.0.0/src/hedra/types/input_ltx23end_image.py +50 -0
  349. hedra_sdk-1.0.0/src/hedra/types/input_ltx23end_image_asset.py +26 -0
  350. hedra_sdk-1.0.0/src/hedra/types/input_ltx23end_image_url.py +26 -0
  351. hedra_sdk-1.0.0/src/hedra/types/input_ltx23quality.py +5 -0
  352. hedra_sdk-1.0.0/src/hedra/types/input_ltx23resolution.py +5 -0
  353. hedra_sdk-1.0.0/src/hedra/types/input_ltx23start_image.py +50 -0
  354. hedra_sdk-1.0.0/src/hedra/types/input_ltx23start_image_asset.py +26 -0
  355. hedra_sdk-1.0.0/src/hedra/types/input_ltx23start_image_url.py +26 -0
  356. hedra_sdk-1.0.0/src/hedra/types/input_luma_ray32.py +48 -0
  357. hedra_sdk-1.0.0/src/hedra/types/input_luma_ray32aspect_ratio.py +5 -0
  358. hedra_sdk-1.0.0/src/hedra/types/input_luma_ray32resolution.py +5 -0
  359. hedra_sdk-1.0.0/src/hedra/types/input_mai_image25.py +64 -0
  360. hedra_sdk-1.0.0/src/hedra/types/input_mai_image25aspect_ratio.py +5 -0
  361. hedra_sdk-1.0.0/src/hedra/types/input_mai_image25images_item.py +42 -0
  362. hedra_sdk-1.0.0/src/hedra/types/input_mai_image25images_item_asset.py +26 -0
  363. hedra_sdk-1.0.0/src/hedra/types/input_mai_image25images_item_url.py +26 -0
  364. hedra_sdk-1.0.0/src/hedra/types/input_mai_image25output_format.py +5 -0
  365. hedra_sdk-1.0.0/src/hedra/types/input_mai_image25quality.py +5 -0
  366. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3.py +84 -0
  367. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3aspect_ratio.py +7 -0
  368. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3audios_item.py +42 -0
  369. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3audios_item_asset.py +26 -0
  370. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3audios_item_url.py +26 -0
  371. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3end_image.py +50 -0
  372. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3end_image_asset.py +26 -0
  373. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3end_image_url.py +26 -0
  374. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3images_item.py +42 -0
  375. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3images_item_asset.py +26 -0
  376. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3images_item_url.py +26 -0
  377. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3resolution.py +5 -0
  378. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3start_image.py +50 -0
  379. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3start_image_asset.py +26 -0
  380. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3start_image_url.py +26 -0
  381. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3videos_item.py +42 -0
  382. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3videos_item_asset.py +26 -0
  383. hedra_sdk-1.0.0/src/hedra/types/input_minimax_h3videos_item_url.py +26 -0
  384. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02.py +74 -0
  385. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02aspect_ratio.py +5 -0
  386. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02end_image.py +51 -0
  387. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02end_image_asset.py +26 -0
  388. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02end_image_url.py +26 -0
  389. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02quality.py +5 -0
  390. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02resolution.py +5 -0
  391. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02start_image.py +51 -0
  392. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02start_image_asset.py +26 -0
  393. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo02start_image_url.py +26 -0
  394. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo23.py +66 -0
  395. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo23aspect_ratio.py +5 -0
  396. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo23quality.py +5 -0
  397. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo23resolution.py +5 -0
  398. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo23start_image.py +51 -0
  399. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo23start_image_asset.py +26 -0
  400. hedra_sdk-1.0.0/src/hedra/types/input_minimax_hailuo23start_image_url.py +26 -0
  401. hedra_sdk-1.0.0/src/hedra/types/input_minimax_speech25hd_preview.py +46 -0
  402. hedra_sdk-1.0.0/src/hedra/types/input_minimax_speech25turbo_preview.py +46 -0
  403. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana.py +59 -0
  404. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana2.py +59 -0
  405. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana2aspect_ratio.py +7 -0
  406. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana2images_item.py +43 -0
  407. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana2images_item_asset.py +26 -0
  408. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana2images_item_url.py +26 -0
  409. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana2resolution.py +5 -0
  410. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_aspect_ratio.py +5 -0
  411. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_images_item.py +42 -0
  412. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_images_item_asset.py +26 -0
  413. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_images_item_url.py +26 -0
  414. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_pro.py +59 -0
  415. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_pro_aspect_ratio.py +7 -0
  416. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_pro_images_item.py +43 -0
  417. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_pro_images_item_asset.py +26 -0
  418. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_pro_images_item_url.py +26 -0
  419. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_pro_resolution.py +5 -0
  420. hedra_sdk-1.0.0/src/hedra/types/input_nano_banana_resolution.py +5 -0
  421. hedra_sdk-1.0.0/src/hedra/types/input_omnihuman15.py +55 -0
  422. hedra_sdk-1.0.0/src/hedra/types/input_omnihuman15aspect_ratio.py +5 -0
  423. hedra_sdk-1.0.0/src/hedra/types/input_omnihuman15audio.py +50 -0
  424. hedra_sdk-1.0.0/src/hedra/types/input_omnihuman15audio_asset.py +26 -0
  425. hedra_sdk-1.0.0/src/hedra/types/input_omnihuman15audio_url.py +26 -0
  426. hedra_sdk-1.0.0/src/hedra/types/input_omnihuman15resolution.py +5 -0
  427. hedra_sdk-1.0.0/src/hedra/types/input_omnihuman15start_image.py +51 -0
  428. hedra_sdk-1.0.0/src/hedra/types/input_omnihuman15start_image_asset.py +26 -0
  429. hedra_sdk-1.0.0/src/hedra/types/input_omnihuman15start_image_url.py +26 -0
  430. hedra_sdk-1.0.0/src/hedra/types/input_pixverse_v6.py +73 -0
  431. hedra_sdk-1.0.0/src/hedra/types/input_pixverse_v6aspect_ratio.py +7 -0
  432. hedra_sdk-1.0.0/src/hedra/types/input_pixverse_v6resolution.py +5 -0
  433. hedra_sdk-1.0.0/src/hedra/types/input_pixverse_v6start_image.py +50 -0
  434. hedra_sdk-1.0.0/src/hedra/types/input_pixverse_v6start_image_asset.py +26 -0
  435. hedra_sdk-1.0.0/src/hedra/types/input_pixverse_v6start_image_url.py +26 -0
  436. hedra_sdk-1.0.0/src/hedra/types/input_qwen_image2.py +80 -0
  437. hedra_sdk-1.0.0/src/hedra/types/input_qwen_image2aspect_ratio.py +5 -0
  438. hedra_sdk-1.0.0/src/hedra/types/input_qwen_image2images_item.py +42 -0
  439. hedra_sdk-1.0.0/src/hedra/types/input_qwen_image2images_item_asset.py +26 -0
  440. hedra_sdk-1.0.0/src/hedra/types/input_qwen_image2images_item_url.py +26 -0
  441. hedra_sdk-1.0.0/src/hedra/types/input_qwen_image2output_format.py +5 -0
  442. hedra_sdk-1.0.0/src/hedra/types/input_qwen_image2quality.py +5 -0
  443. hedra_sdk-1.0.0/src/hedra/types/input_qwen_image2resolution.py +5 -0
  444. hedra_sdk-1.0.0/src/hedra/types/input_recraft_v3.py +48 -0
  445. hedra_sdk-1.0.0/src/hedra/types/input_recraft_v3aspect_ratio.py +7 -0
  446. hedra_sdk-1.0.0/src/hedra/types/input_recraft_v3resolution.py +7 -0
  447. hedra_sdk-1.0.0/src/hedra/types/input_reve21.py +48 -0
  448. hedra_sdk-1.0.0/src/hedra/types/input_reve21aspect_ratio.py +26 -0
  449. hedra_sdk-1.0.0/src/hedra/types/input_reve21edit.py +54 -0
  450. hedra_sdk-1.0.0/src/hedra/types/input_reve21edit_aspect_ratio.py +26 -0
  451. hedra_sdk-1.0.0/src/hedra/types/input_reve21edit_images_item.py +42 -0
  452. hedra_sdk-1.0.0/src/hedra/types/input_reve21edit_images_item_asset.py +26 -0
  453. hedra_sdk-1.0.0/src/hedra/types/input_reve21edit_images_item_url.py +26 -0
  454. hedra_sdk-1.0.0/src/hedra/types/input_reve21edit_output_format.py +5 -0
  455. hedra_sdk-1.0.0/src/hedra/types/input_reve21output_format.py +5 -0
  456. hedra_sdk-1.0.0/src/hedra/types/input_reve21remix.py +54 -0
  457. hedra_sdk-1.0.0/src/hedra/types/input_reve21remix_aspect_ratio.py +26 -0
  458. hedra_sdk-1.0.0/src/hedra/types/input_reve21remix_images_item.py +43 -0
  459. hedra_sdk-1.0.0/src/hedra/types/input_reve21remix_images_item_asset.py +26 -0
  460. hedra_sdk-1.0.0/src/hedra/types/input_reve21remix_images_item_url.py +26 -0
  461. hedra_sdk-1.0.0/src/hedra/types/input_reve21remix_output_format.py +5 -0
  462. hedra_sdk-1.0.0/src/hedra/types/input_sana.py +74 -0
  463. hedra_sdk-1.0.0/src/hedra/types/input_sana_aspect_ratio.py +7 -0
  464. hedra_sdk-1.0.0/src/hedra/types/input_sana_output_format.py +5 -0
  465. hedra_sdk-1.0.0/src/hedra/types/input_sana_resolution.py +7 -0
  466. hedra_sdk-1.0.0/src/hedra/types/input_seedance15pro.py +70 -0
  467. hedra_sdk-1.0.0/src/hedra/types/input_seedance15pro_aspect_ratio.py +5 -0
  468. hedra_sdk-1.0.0/src/hedra/types/input_seedance15pro_end_image.py +51 -0
  469. hedra_sdk-1.0.0/src/hedra/types/input_seedance15pro_end_image_asset.py +26 -0
  470. hedra_sdk-1.0.0/src/hedra/types/input_seedance15pro_end_image_url.py +26 -0
  471. hedra_sdk-1.0.0/src/hedra/types/input_seedance15pro_resolution.py +5 -0
  472. hedra_sdk-1.0.0/src/hedra/types/input_seedance15pro_start_image.py +51 -0
  473. hedra_sdk-1.0.0/src/hedra/types/input_seedance15pro_start_image_asset.py +26 -0
  474. hedra_sdk-1.0.0/src/hedra/types/input_seedance15pro_start_image_url.py +26 -0
  475. hedra_sdk-1.0.0/src/hedra/types/input_seedance20.py +93 -0
  476. hedra_sdk-1.0.0/src/hedra/types/input_seedance20aspect_ratio.py +5 -0
  477. hedra_sdk-1.0.0/src/hedra/types/input_seedance20audios_item.py +42 -0
  478. hedra_sdk-1.0.0/src/hedra/types/input_seedance20audios_item_asset.py +26 -0
  479. hedra_sdk-1.0.0/src/hedra/types/input_seedance20audios_item_url.py +26 -0
  480. hedra_sdk-1.0.0/src/hedra/types/input_seedance20end_image.py +50 -0
  481. hedra_sdk-1.0.0/src/hedra/types/input_seedance20end_image_asset.py +26 -0
  482. hedra_sdk-1.0.0/src/hedra/types/input_seedance20end_image_url.py +26 -0
  483. hedra_sdk-1.0.0/src/hedra/types/input_seedance20images_item.py +42 -0
  484. hedra_sdk-1.0.0/src/hedra/types/input_seedance20images_item_asset.py +26 -0
  485. hedra_sdk-1.0.0/src/hedra/types/input_seedance20images_item_url.py +26 -0
  486. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini.py +78 -0
  487. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_aspect_ratio.py +5 -0
  488. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_audios_item.py +43 -0
  489. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_audios_item_asset.py +26 -0
  490. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_audios_item_url.py +26 -0
  491. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_end_image.py +51 -0
  492. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_end_image_asset.py +26 -0
  493. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_end_image_url.py +26 -0
  494. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_images_item.py +43 -0
  495. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_images_item_asset.py +26 -0
  496. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_images_item_url.py +26 -0
  497. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_resolution.py +5 -0
  498. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_start_image.py +51 -0
  499. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_start_image_asset.py +26 -0
  500. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_start_image_url.py +26 -0
  501. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_videos_item.py +43 -0
  502. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_videos_item_asset.py +26 -0
  503. hedra_sdk-1.0.0/src/hedra/types/input_seedance20mini_videos_item_url.py +26 -0
  504. hedra_sdk-1.0.0/src/hedra/types/input_seedance20quality.py +5 -0
  505. hedra_sdk-1.0.0/src/hedra/types/input_seedance20resolution.py +5 -0
  506. hedra_sdk-1.0.0/src/hedra/types/input_seedance20start_image.py +50 -0
  507. hedra_sdk-1.0.0/src/hedra/types/input_seedance20start_image_asset.py +26 -0
  508. hedra_sdk-1.0.0/src/hedra/types/input_seedance20start_image_url.py +26 -0
  509. hedra_sdk-1.0.0/src/hedra/types/input_seedance20videos_item.py +42 -0
  510. hedra_sdk-1.0.0/src/hedra/types/input_seedance20videos_item_asset.py +26 -0
  511. hedra_sdk-1.0.0/src/hedra/types/input_seedance20videos_item_url.py +26 -0
  512. hedra_sdk-1.0.0/src/hedra/types/input_seedance25.py +83 -0
  513. hedra_sdk-1.0.0/src/hedra/types/input_seedance25aspect_ratio.py +7 -0
  514. hedra_sdk-1.0.0/src/hedra/types/input_seedance25audios_item.py +42 -0
  515. hedra_sdk-1.0.0/src/hedra/types/input_seedance25audios_item_asset.py +26 -0
  516. hedra_sdk-1.0.0/src/hedra/types/input_seedance25audios_item_url.py +26 -0
  517. hedra_sdk-1.0.0/src/hedra/types/input_seedance25end_image.py +50 -0
  518. hedra_sdk-1.0.0/src/hedra/types/input_seedance25end_image_asset.py +26 -0
  519. hedra_sdk-1.0.0/src/hedra/types/input_seedance25end_image_url.py +26 -0
  520. hedra_sdk-1.0.0/src/hedra/types/input_seedance25images_item.py +42 -0
  521. hedra_sdk-1.0.0/src/hedra/types/input_seedance25images_item_asset.py +26 -0
  522. hedra_sdk-1.0.0/src/hedra/types/input_seedance25images_item_url.py +26 -0
  523. hedra_sdk-1.0.0/src/hedra/types/input_seedance25resolution.py +5 -0
  524. hedra_sdk-1.0.0/src/hedra/types/input_seedance25start_image.py +50 -0
  525. hedra_sdk-1.0.0/src/hedra/types/input_seedance25start_image_asset.py +26 -0
  526. hedra_sdk-1.0.0/src/hedra/types/input_seedance25start_image_url.py +26 -0
  527. hedra_sdk-1.0.0/src/hedra/types/input_seedance25videos_item.py +42 -0
  528. hedra_sdk-1.0.0/src/hedra/types/input_seedance25videos_item_asset.py +26 -0
  529. hedra_sdk-1.0.0/src/hedra/types/input_seedance25videos_item_url.py +26 -0
  530. hedra_sdk-1.0.0/src/hedra/types/input_seedream40.py +58 -0
  531. hedra_sdk-1.0.0/src/hedra/types/input_seedream40aspect_ratio.py +7 -0
  532. hedra_sdk-1.0.0/src/hedra/types/input_seedream40images_item.py +42 -0
  533. hedra_sdk-1.0.0/src/hedra/types/input_seedream40images_item_asset.py +26 -0
  534. hedra_sdk-1.0.0/src/hedra/types/input_seedream40images_item_url.py +26 -0
  535. hedra_sdk-1.0.0/src/hedra/types/input_seedream40resolution.py +5 -0
  536. hedra_sdk-1.0.0/src/hedra/types/input_seedream45.py +58 -0
  537. hedra_sdk-1.0.0/src/hedra/types/input_seedream45aspect_ratio.py +7 -0
  538. hedra_sdk-1.0.0/src/hedra/types/input_seedream45images_item.py +42 -0
  539. hedra_sdk-1.0.0/src/hedra/types/input_seedream45images_item_asset.py +26 -0
  540. hedra_sdk-1.0.0/src/hedra/types/input_seedream45images_item_url.py +26 -0
  541. hedra_sdk-1.0.0/src/hedra/types/input_seedream45resolution.py +5 -0
  542. hedra_sdk-1.0.0/src/hedra/types/input_seedream50lite.py +58 -0
  543. hedra_sdk-1.0.0/src/hedra/types/input_seedream50lite_aspect_ratio.py +7 -0
  544. hedra_sdk-1.0.0/src/hedra/types/input_seedream50lite_images_item.py +43 -0
  545. hedra_sdk-1.0.0/src/hedra/types/input_seedream50lite_images_item_asset.py +26 -0
  546. hedra_sdk-1.0.0/src/hedra/types/input_seedream50lite_images_item_url.py +26 -0
  547. hedra_sdk-1.0.0/src/hedra/types/input_seedream50lite_resolution.py +5 -0
  548. hedra_sdk-1.0.0/src/hedra/types/input_seedream50pro.py +58 -0
  549. hedra_sdk-1.0.0/src/hedra/types/input_seedream50pro_aspect_ratio.py +7 -0
  550. hedra_sdk-1.0.0/src/hedra/types/input_seedream50pro_images_item.py +43 -0
  551. hedra_sdk-1.0.0/src/hedra/types/input_seedream50pro_images_item_asset.py +26 -0
  552. hedra_sdk-1.0.0/src/hedra/types/input_seedream50pro_images_item_url.py +26 -0
  553. hedra_sdk-1.0.0/src/hedra/types/input_seedream50pro_resolution.py +5 -0
  554. hedra_sdk-1.0.0/src/hedra/types/input_sora2pro.py +58 -0
  555. hedra_sdk-1.0.0/src/hedra/types/input_sora2pro_aspect_ratio.py +5 -0
  556. hedra_sdk-1.0.0/src/hedra/types/input_sora2pro_resolution.py +5 -0
  557. hedra_sdk-1.0.0/src/hedra/types/input_sora2pro_start_image.py +50 -0
  558. hedra_sdk-1.0.0/src/hedra/types/input_sora2pro_start_image_asset.py +26 -0
  559. hedra_sdk-1.0.0/src/hedra/types/input_sora2pro_start_image_url.py +26 -0
  560. hedra_sdk-1.0.0/src/hedra/types/input_veed_fabric10.py +55 -0
  561. hedra_sdk-1.0.0/src/hedra/types/input_veed_fabric10aspect_ratio.py +5 -0
  562. hedra_sdk-1.0.0/src/hedra/types/input_veed_fabric10audio.py +50 -0
  563. hedra_sdk-1.0.0/src/hedra/types/input_veed_fabric10audio_asset.py +26 -0
  564. hedra_sdk-1.0.0/src/hedra/types/input_veed_fabric10audio_url.py +26 -0
  565. hedra_sdk-1.0.0/src/hedra/types/input_veed_fabric10resolution.py +5 -0
  566. hedra_sdk-1.0.0/src/hedra/types/input_veed_fabric10start_image.py +51 -0
  567. hedra_sdk-1.0.0/src/hedra/types/input_veed_fabric10start_image_asset.py +26 -0
  568. hedra_sdk-1.0.0/src/hedra/types/input_veed_fabric10start_image_url.py +26 -0
  569. hedra_sdk-1.0.0/src/hedra/types/input_veo2.py +68 -0
  570. hedra_sdk-1.0.0/src/hedra/types/input_veo2aspect_ratio.py +5 -0
  571. hedra_sdk-1.0.0/src/hedra/types/input_veo2resolution.py +5 -0
  572. hedra_sdk-1.0.0/src/hedra/types/input_veo2start_image.py +50 -0
  573. hedra_sdk-1.0.0/src/hedra/types/input_veo2start_image_asset.py +26 -0
  574. hedra_sdk-1.0.0/src/hedra/types/input_veo2start_image_url.py +26 -0
  575. hedra_sdk-1.0.0/src/hedra/types/input_veo3.py +79 -0
  576. hedra_sdk-1.0.0/src/hedra/types/input_veo31.py +93 -0
  577. hedra_sdk-1.0.0/src/hedra/types/input_veo31aspect_ratio.py +5 -0
  578. hedra_sdk-1.0.0/src/hedra/types/input_veo31end_image.py +50 -0
  579. hedra_sdk-1.0.0/src/hedra/types/input_veo31end_image_asset.py +26 -0
  580. hedra_sdk-1.0.0/src/hedra/types/input_veo31end_image_url.py +26 -0
  581. hedra_sdk-1.0.0/src/hedra/types/input_veo31images_item.py +42 -0
  582. hedra_sdk-1.0.0/src/hedra/types/input_veo31images_item_asset.py +26 -0
  583. hedra_sdk-1.0.0/src/hedra/types/input_veo31images_item_url.py +26 -0
  584. hedra_sdk-1.0.0/src/hedra/types/input_veo31quality.py +5 -0
  585. hedra_sdk-1.0.0/src/hedra/types/input_veo31resolution.py +5 -0
  586. hedra_sdk-1.0.0/src/hedra/types/input_veo31source_video.py +50 -0
  587. hedra_sdk-1.0.0/src/hedra/types/input_veo31source_video_asset.py +26 -0
  588. hedra_sdk-1.0.0/src/hedra/types/input_veo31source_video_url.py +26 -0
  589. hedra_sdk-1.0.0/src/hedra/types/input_veo31start_image.py +50 -0
  590. hedra_sdk-1.0.0/src/hedra/types/input_veo31start_image_asset.py +26 -0
  591. hedra_sdk-1.0.0/src/hedra/types/input_veo31start_image_url.py +26 -0
  592. hedra_sdk-1.0.0/src/hedra/types/input_veo3aspect_ratio.py +5 -0
  593. hedra_sdk-1.0.0/src/hedra/types/input_veo3quality.py +5 -0
  594. hedra_sdk-1.0.0/src/hedra/types/input_veo3resolution.py +5 -0
  595. hedra_sdk-1.0.0/src/hedra/types/input_veo3start_image.py +50 -0
  596. hedra_sdk-1.0.0/src/hedra/types/input_veo3start_image_asset.py +26 -0
  597. hedra_sdk-1.0.0/src/hedra/types/input_veo3start_image_url.py +26 -0
  598. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3.py +76 -0
  599. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3aspect_ratio.py +5 -0
  600. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3end_image.py +50 -0
  601. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3end_image_asset.py +26 -0
  602. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3end_image_url.py +26 -0
  603. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3quality.py +5 -0
  604. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3reference.py +59 -0
  605. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3reference_aspect_ratio.py +5 -0
  606. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3reference_images_item.py +43 -0
  607. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3reference_images_item_asset.py +26 -0
  608. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3reference_images_item_url.py +26 -0
  609. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3reference_resolution.py +5 -0
  610. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3resolution.py +5 -0
  611. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3start_image.py +50 -0
  612. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3start_image_asset.py +26 -0
  613. hedra_sdk-1.0.0/src/hedra/types/input_vidu_q3start_image_url.py +26 -0
  614. hedra_sdk-1.0.0/src/hedra/types/input_wan27.py +81 -0
  615. hedra_sdk-1.0.0/src/hedra/types/input_wan27aspect_ratio.py +5 -0
  616. hedra_sdk-1.0.0/src/hedra/types/input_wan27end_image.py +50 -0
  617. hedra_sdk-1.0.0/src/hedra/types/input_wan27end_image_asset.py +26 -0
  618. hedra_sdk-1.0.0/src/hedra/types/input_wan27end_image_url.py +26 -0
  619. hedra_sdk-1.0.0/src/hedra/types/input_wan27images_item.py +42 -0
  620. hedra_sdk-1.0.0/src/hedra/types/input_wan27images_item_asset.py +26 -0
  621. hedra_sdk-1.0.0/src/hedra/types/input_wan27images_item_url.py +26 -0
  622. hedra_sdk-1.0.0/src/hedra/types/input_wan27resolution.py +5 -0
  623. hedra_sdk-1.0.0/src/hedra/types/input_wan27start_image.py +50 -0
  624. hedra_sdk-1.0.0/src/hedra/types/input_wan27start_image_asset.py +26 -0
  625. hedra_sdk-1.0.0/src/hedra/types/input_wan27start_image_url.py +26 -0
  626. hedra_sdk-1.0.0/src/hedra/types/job_list_response.py +28 -0
  627. hedra_sdk-1.0.0/src/hedra/types/job_log_event.py +21 -0
  628. hedra_sdk-1.0.0/src/hedra/types/job_log_item.py +48 -0
  629. hedra_sdk-1.0.0/src/hedra/types/job_log_level.py +5 -0
  630. hedra_sdk-1.0.0/src/hedra/types/job_log_list_response.py +28 -0
  631. hedra_sdk-1.0.0/src/hedra/types/job_log_source.py +5 -0
  632. hedra_sdk-1.0.0/src/hedra/types/job_status.py +5 -0
  633. hedra_sdk-1.0.0/src/hedra/types/job_summary.py +40 -0
  634. hedra_sdk-1.0.0/src/hedra/types/key_create_response.py +55 -0
  635. hedra_sdk-1.0.0/src/hedra/types/key_list_response.py +28 -0
  636. hedra_sdk-1.0.0/src/hedra/types/key_rotate_response.py +55 -0
  637. hedra_sdk-1.0.0/src/hedra/types/key_status.py +5 -0
  638. hedra_sdk-1.0.0/src/hedra/types/key_summary.py +62 -0
  639. hedra_sdk-1.0.0/src/hedra/types/log_drain_config.py +96 -0
  640. hedra_sdk-1.0.0/src/hedra/types/log_drain_format.py +5 -0
  641. hedra_sdk-1.0.0/src/hedra/types/log_drain_list_response.py +28 -0
  642. hedra_sdk-1.0.0/src/hedra/types/log_drain_test_response.py +32 -0
  643. hedra_sdk-1.0.0/src/hedra/types/metrics.py +26 -0
  644. hedra_sdk-1.0.0/src/hedra/types/modality.py +5 -0
  645. hedra_sdk-1.0.0/src/hedra/types/model_detail.py +49 -0
  646. hedra_sdk-1.0.0/src/hedra/types/model_list_response.py +28 -0
  647. hedra_sdk-1.0.0/src/hedra/types/model_summary.py +39 -0
  648. hedra_sdk-1.0.0/src/hedra/types/output_item.py +71 -0
  649. hedra_sdk-1.0.0/src/hedra/types/output_status.py +5 -0
  650. hedra_sdk-1.0.0/src/hedra/types/result_response.py +73 -0
  651. hedra_sdk-1.0.0/src/hedra/types/status_response.py +60 -0
  652. hedra_sdk-1.0.0/src/hedra/types/submit_response.py +45 -0
  653. hedra_sdk-1.0.0/src/hedra/types/token_create_response.py +28 -0
  654. hedra_sdk-1.0.0/src/hedra/types/usage_bucket.py +38 -0
  655. hedra_sdk-1.0.0/src/hedra/types/usage_group_by.py +5 -0
  656. hedra_sdk-1.0.0/src/hedra/types/usage_response.py +51 -0
  657. hedra_sdk-1.0.0/src/hedra/types/voice_list_response.py +28 -0
  658. hedra_sdk-1.0.0/src/hedra/types/voice_summary.py +41 -0
  659. hedra_sdk-1.0.0/src/hedra/types/webhook_default_config.py +38 -0
  660. hedra_sdk-1.0.0/src/hedra/types/webhook_delivery_list_response.py +28 -0
  661. hedra_sdk-1.0.0/src/hedra/types/webhook_delivery_source.py +5 -0
  662. hedra_sdk-1.0.0/src/hedra/types/webhook_delivery_status.py +5 -0
  663. hedra_sdk-1.0.0/src/hedra/types/webhook_delivery_summary.py +85 -0
  664. hedra_sdk-1.0.0/src/hedra/types/webhook_event_type.py +5 -0
  665. hedra_sdk-1.0.0/src/hedra/types/webhook_payload.py +61 -0
  666. hedra_sdk-1.0.0/src/hedra/types/webhook_public_key.py +31 -0
  667. hedra_sdk-1.0.0/src/hedra/types/webhook_redelivery.py +52 -0
  668. hedra_sdk-1.0.0/src/hedra/types/webhook_test_response.py +32 -0
  669. hedra_sdk-1.0.0/src/hedra/version.py +12 -0
  670. hedra_sdk-1.0.0/src/hedra/webhooks/__init__.py +49 -0
  671. hedra_sdk-1.0.0/src/hedra/webhooks/client.py +539 -0
  672. hedra_sdk-1.0.0/src/hedra/webhooks/raw_client.py +1570 -0
  673. hedra_sdk-1.0.0/src/hedra/webhooks/types/__init__.py +49 -0
  674. hedra_sdk-1.0.0/src/hedra/webhooks/types/webhook_job_completed_payload_x_hedra_webhook_event.py +5 -0
  675. hedra_sdk-1.0.0/src/hedra/webhooks/types/webhook_job_completed_payload_x_hedra_webhook_redelivery.py +5 -0
  676. hedra_sdk-1.0.0/src/hedra/webhooks/types/webhook_job_failed_payload_x_hedra_webhook_event.py +5 -0
  677. hedra_sdk-1.0.0/src/hedra/webhooks/types/webhook_job_failed_payload_x_hedra_webhook_redelivery.py +5 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2024 Hedra
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,262 @@
1
+ Metadata-Version: 2.1
2
+ Name: hedra-sdk
3
+ Version: 1.0.0
4
+ Summary: The official Python library for the Hedra API — API spec 3.2.2
5
+ License: Apache-2.0
6
+ Author: Hedra
7
+ Author-email: support@hedra.com
8
+ Requires-Python: >=3.10,<4.0
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Operating System :: MacOS
12
+ Classifier: Operating System :: Microsoft :: Windows
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Operating System :: POSIX
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Programming Language :: Python
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
23
+ Classifier: Programming Language :: Python :: 3.15
24
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
+ Classifier: Typing :: Typed
26
+ Provides-Extra: aiohttp
27
+ Requires-Dist: aiohttp (>=3.14.1,<4) ; (python_version >= "3.10") and (extra == "aiohttp")
28
+ Requires-Dist: anyio (>=3.0.0)
29
+ Requires-Dist: httpx (>=0.21.2)
30
+ Requires-Dist: httpx-aiohttp (>=0.1.8,<0.2.0) ; (python_version >= "3.10") and (extra == "aiohttp")
31
+ Requires-Dist: pydantic (>=1.9.2)
32
+ Requires-Dist: pydantic-core (>=2.18.2,<3.0.0)
33
+ Requires-Dist: typing_extensions (>=4.0.0)
34
+ Project-URL: Homepage, https://github.com/hedra-labs/hedra-python
35
+ Project-URL: Repository, https://github.com/hedra-labs/hedra-python
36
+ Description-Content-Type: text/markdown
37
+
38
+ # Hedra Python Library
39
+
40
+ [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Hedra%2FPython)
41
+ [![pypi](https://img.shields.io/pypi/v/hedra-sdk)](https://pypi.python.org/pypi/hedra-sdk)
42
+
43
+ The Hedra Python library provides convenient access to the Hedra APIs from Python.
44
+
45
+ ## Table of Contents
46
+
47
+ - [Installation](#installation)
48
+ - [Reference](#reference)
49
+ - [Usage](#usage)
50
+ - [Custom base URL](#custom-base-url)
51
+ - [Pagination](#pagination)
52
+ - [Async Client](#async-client)
53
+ - [Exception Handling](#exception-handling)
54
+ - [Advanced](#advanced)
55
+ - [Access Raw Response Data](#access-raw-response-data)
56
+ - [Retries](#retries)
57
+ - [Timeouts](#timeouts)
58
+ - [Custom Client](#custom-client)
59
+ - [Contributing](#contributing)
60
+
61
+ ## Installation
62
+
63
+ ```sh
64
+ pip install hedra-sdk
65
+ ```
66
+
67
+ ## Reference
68
+
69
+ A full reference for this library is available [here](./reference.md).
70
+
71
+ ## Usage
72
+
73
+ Instantiate and use the client with the following:
74
+
75
+ ```python
76
+ from hedra import Hedra
77
+
78
+ client = Hedra(
79
+ api_key="<value>",
80
+ )
81
+
82
+ result = client.queue.submit(
83
+ model="kling-o3-pro",
84
+ input={
85
+ "prompt": "a fox sprinting across fresh snow",
86
+ "aspect_ratio": "16:9",
87
+ },
88
+ )
89
+ print(result.request_id, result.status)
90
+
91
+ # Poll until terminal
92
+ status = client.requests.get_status(result.request_id)
93
+
94
+ # Fetch the finished result (outputs, metrics)
95
+ final = client.requests.get(result.request_id)
96
+ ```
97
+
98
+ The client authenticates with `Authorization: Bearer <api key>`; an API key is the
99
+ `<key_id>:<secret>` credential from the Hedra console. The API key can also be provided via the `HEDRA_API_KEY` environment variable, in which
100
+ case `api_key` may be omitted:
101
+
102
+ ```python
103
+ import os
104
+
105
+ from hedra import Hedra
106
+
107
+ # Reads HEDRA_API_KEY from the environment
108
+ client = Hedra()
109
+ ```
110
+
111
+ ## Custom base URL
112
+
113
+ The client targets `https://api.hedra.com/v3`. Override it with `base_url` if you
114
+ need to point elsewhere (e.g. a mock server in tests):
115
+
116
+ ```python
117
+ from hedra import Hedra
118
+
119
+ client = Hedra(
120
+ api_key="<value>",
121
+ base_url="http://localhost:8000/v3",
122
+ )
123
+ ```
124
+
125
+ ## Pagination
126
+
127
+ `client.requests.list(...)` returns a pager that auto-fetches pages as you iterate:
128
+
129
+ ```python
130
+ for request in client.requests.list(limit=50):
131
+ print(request.request_id, request.status)
132
+ ```
133
+
134
+ ## Async Client
135
+
136
+ The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
137
+
138
+ ```python
139
+ import asyncio
140
+
141
+ from hedra import AsyncHedra
142
+
143
+ client = AsyncHedra(
144
+ api_key="<value>",
145
+ )
146
+
147
+
148
+ async def main() -> None:
149
+ await client.queue.submit(
150
+ model="kling-o3-pro",
151
+ input={"prompt": "a fox sprinting across fresh snow"},
152
+ )
153
+
154
+
155
+ asyncio.run(main())
156
+ ```
157
+
158
+ ## Exception Handling
159
+
160
+ When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
161
+ will be thrown.
162
+
163
+ ```python
164
+ from hedra.core.api_error import ApiError
165
+
166
+ try:
167
+ client.queue.submit(...)
168
+ except ApiError as e:
169
+ print(e.status_code)
170
+ print(e.body)
171
+ ```
172
+
173
+ ## Advanced
174
+
175
+ ### Access Raw Response Data
176
+
177
+ The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
178
+ The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
179
+
180
+ ```python
181
+ from hedra import Hedra
182
+
183
+ client = Hedra(...)
184
+ response = client.queue.with_raw_response.submit(...)
185
+ print(response.headers) # access the response headers
186
+ print(response.status_code) # access the response status code
187
+ print(response.data) # access the underlying object
188
+ ```
189
+
190
+ ### Retries
191
+
192
+ The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
193
+ as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
194
+ retry limit (default: 2).
195
+
196
+ Which status codes are retried depends on the `retryStatusCodes` generator configuration:
197
+
198
+ **`legacy`** (current default): retries on
199
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
200
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
201
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
202
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) (All server errors, including 500)
203
+
204
+ **`recommended`**: retries on
205
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
206
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
207
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
208
+ - [502](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502) (Bad Gateway)
209
+ - [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) (Service Unavailable)
210
+ - [504](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) (Gateway Timeout)
211
+
212
+ Use the `max_retries` request option to configure this behavior.
213
+
214
+ ```python
215
+ client.queue.submit(..., request_options={
216
+ "max_retries": 1
217
+ })
218
+ ```
219
+
220
+ ### Timeouts
221
+
222
+ The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
223
+
224
+ ```python
225
+ from hedra import Hedra
226
+
227
+ client = Hedra(..., timeout=20.0)
228
+
229
+ # Override timeout for a specific method
230
+ client.queue.submit(..., request_options={
231
+ "timeout_in_seconds": 1
232
+ })
233
+ ```
234
+
235
+ ### Custom Client
236
+
237
+ You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
238
+ and transports.
239
+
240
+ ```python
241
+ import httpx
242
+ from hedra import Hedra
243
+
244
+ client = Hedra(
245
+ ...,
246
+ httpx_client=httpx.Client(
247
+ proxy="http://my.test.proxy.example.com",
248
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
249
+ ),
250
+ )
251
+ ```
252
+
253
+ ## Contributing
254
+
255
+ While we value open-source contributions to this SDK, this library is generated programmatically.
256
+ Additions made directly to this library would have to be moved over to our generation code,
257
+ otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
258
+ a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
259
+ an issue first to discuss with us!
260
+
261
+ On the other hand, contributions to the README are always very welcome!
262
+
@@ -0,0 +1,224 @@
1
+ # Hedra Python Library
2
+
3
+ [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=Hedra%2FPython)
4
+ [![pypi](https://img.shields.io/pypi/v/hedra-sdk)](https://pypi.python.org/pypi/hedra-sdk)
5
+
6
+ The Hedra Python library provides convenient access to the Hedra APIs from Python.
7
+
8
+ ## Table of Contents
9
+
10
+ - [Installation](#installation)
11
+ - [Reference](#reference)
12
+ - [Usage](#usage)
13
+ - [Custom base URL](#custom-base-url)
14
+ - [Pagination](#pagination)
15
+ - [Async Client](#async-client)
16
+ - [Exception Handling](#exception-handling)
17
+ - [Advanced](#advanced)
18
+ - [Access Raw Response Data](#access-raw-response-data)
19
+ - [Retries](#retries)
20
+ - [Timeouts](#timeouts)
21
+ - [Custom Client](#custom-client)
22
+ - [Contributing](#contributing)
23
+
24
+ ## Installation
25
+
26
+ ```sh
27
+ pip install hedra-sdk
28
+ ```
29
+
30
+ ## Reference
31
+
32
+ A full reference for this library is available [here](./reference.md).
33
+
34
+ ## Usage
35
+
36
+ Instantiate and use the client with the following:
37
+
38
+ ```python
39
+ from hedra import Hedra
40
+
41
+ client = Hedra(
42
+ api_key="<value>",
43
+ )
44
+
45
+ result = client.queue.submit(
46
+ model="kling-o3-pro",
47
+ input={
48
+ "prompt": "a fox sprinting across fresh snow",
49
+ "aspect_ratio": "16:9",
50
+ },
51
+ )
52
+ print(result.request_id, result.status)
53
+
54
+ # Poll until terminal
55
+ status = client.requests.get_status(result.request_id)
56
+
57
+ # Fetch the finished result (outputs, metrics)
58
+ final = client.requests.get(result.request_id)
59
+ ```
60
+
61
+ The client authenticates with `Authorization: Bearer <api key>`; an API key is the
62
+ `<key_id>:<secret>` credential from the Hedra console. The API key can also be provided via the `HEDRA_API_KEY` environment variable, in which
63
+ case `api_key` may be omitted:
64
+
65
+ ```python
66
+ import os
67
+
68
+ from hedra import Hedra
69
+
70
+ # Reads HEDRA_API_KEY from the environment
71
+ client = Hedra()
72
+ ```
73
+
74
+ ## Custom base URL
75
+
76
+ The client targets `https://api.hedra.com/v3`. Override it with `base_url` if you
77
+ need to point elsewhere (e.g. a mock server in tests):
78
+
79
+ ```python
80
+ from hedra import Hedra
81
+
82
+ client = Hedra(
83
+ api_key="<value>",
84
+ base_url="http://localhost:8000/v3",
85
+ )
86
+ ```
87
+
88
+ ## Pagination
89
+
90
+ `client.requests.list(...)` returns a pager that auto-fetches pages as you iterate:
91
+
92
+ ```python
93
+ for request in client.requests.list(limit=50):
94
+ print(request.request_id, request.status)
95
+ ```
96
+
97
+ ## Async Client
98
+
99
+ The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
100
+
101
+ ```python
102
+ import asyncio
103
+
104
+ from hedra import AsyncHedra
105
+
106
+ client = AsyncHedra(
107
+ api_key="<value>",
108
+ )
109
+
110
+
111
+ async def main() -> None:
112
+ await client.queue.submit(
113
+ model="kling-o3-pro",
114
+ input={"prompt": "a fox sprinting across fresh snow"},
115
+ )
116
+
117
+
118
+ asyncio.run(main())
119
+ ```
120
+
121
+ ## Exception Handling
122
+
123
+ When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
124
+ will be thrown.
125
+
126
+ ```python
127
+ from hedra.core.api_error import ApiError
128
+
129
+ try:
130
+ client.queue.submit(...)
131
+ except ApiError as e:
132
+ print(e.status_code)
133
+ print(e.body)
134
+ ```
135
+
136
+ ## Advanced
137
+
138
+ ### Access Raw Response Data
139
+
140
+ The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
141
+ The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
142
+
143
+ ```python
144
+ from hedra import Hedra
145
+
146
+ client = Hedra(...)
147
+ response = client.queue.with_raw_response.submit(...)
148
+ print(response.headers) # access the response headers
149
+ print(response.status_code) # access the response status code
150
+ print(response.data) # access the underlying object
151
+ ```
152
+
153
+ ### Retries
154
+
155
+ The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
156
+ as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
157
+ retry limit (default: 2).
158
+
159
+ Which status codes are retried depends on the `retryStatusCodes` generator configuration:
160
+
161
+ **`legacy`** (current default): retries on
162
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
163
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
164
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
165
+ - [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) (All server errors, including 500)
166
+
167
+ **`recommended`**: retries on
168
+ - [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
169
+ - [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
170
+ - [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
171
+ - [502](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502) (Bad Gateway)
172
+ - [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) (Service Unavailable)
173
+ - [504](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) (Gateway Timeout)
174
+
175
+ Use the `max_retries` request option to configure this behavior.
176
+
177
+ ```python
178
+ client.queue.submit(..., request_options={
179
+ "max_retries": 1
180
+ })
181
+ ```
182
+
183
+ ### Timeouts
184
+
185
+ The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
186
+
187
+ ```python
188
+ from hedra import Hedra
189
+
190
+ client = Hedra(..., timeout=20.0)
191
+
192
+ # Override timeout for a specific method
193
+ client.queue.submit(..., request_options={
194
+ "timeout_in_seconds": 1
195
+ })
196
+ ```
197
+
198
+ ### Custom Client
199
+
200
+ You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
201
+ and transports.
202
+
203
+ ```python
204
+ import httpx
205
+ from hedra import Hedra
206
+
207
+ client = Hedra(
208
+ ...,
209
+ httpx_client=httpx.Client(
210
+ proxy="http://my.test.proxy.example.com",
211
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
212
+ ),
213
+ )
214
+ ```
215
+
216
+ ## Contributing
217
+
218
+ While we value open-source contributions to this SDK, this library is generated programmatically.
219
+ Additions made directly to this library would have to be moved over to our generation code,
220
+ otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
221
+ a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
222
+ an issue first to discuss with us!
223
+
224
+ On the other hand, contributions to the README are always very welcome!