magic_hour 0.40.0__tar.gz → 0.41.1__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.

Potentially problematic release.


This version of magic_hour might be problematic. Click here for more details.

Files changed (222) hide show
  1. {magic_hour-0.40.0 → magic_hour-0.41.1}/PKG-INFO +1 -1
  2. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/environment.py +1 -1
  3. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_clothes_changer/README.md +1 -0
  4. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_face_editor/README.md +1 -0
  5. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_gif_generator/README.md +1 -0
  6. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_headshot_generator/README.md +1 -0
  7. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_image_editor/README.md +1 -0
  8. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_image_generator/README.md +1 -0
  9. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_image_upscaler/README.md +1 -0
  10. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_meme_generator/README.md +1 -0
  11. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_photo_editor/README.md +1 -0
  12. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_qr_code_generator/README.md +1 -0
  13. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_talking_photo/README.md +3 -2
  14. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/animation/README.md +1 -0
  15. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/auto_subtitle_generator/README.md +1 -0
  16. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/face_detection/README.md +1 -0
  17. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/face_swap/README.md +1 -0
  18. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/face_swap_photo/README.md +1 -0
  19. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/files/README.md +1 -0
  20. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_background_remover/README.md +1 -0
  21. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_projects/README.md +1 -0
  22. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_to_video/README.md +1 -0
  23. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/lip_sync/README.md +15 -0
  24. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/lip_sync/client.py +15 -0
  25. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/photo_colorizer/README.md +1 -0
  26. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/text_to_video/README.md +1 -0
  27. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/video_projects/README.md +1 -0
  28. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/video_to_video/README.md +1 -0
  29. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_audio_projects_get_response.py +1 -1
  30. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/__init__.py +6 -0
  31. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_talking_photo_create_body_style.py +6 -4
  32. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_lip_sync_create_body.py +12 -0
  33. magic_hour-0.41.1/magic_hour/types/params/v1_lip_sync_create_body_style.py +37 -0
  34. {magic_hour-0.40.0 → magic_hour-0.41.1}/pyproject.toml +1 -1
  35. {magic_hour-0.40.0 → magic_hour-0.41.1}/LICENSE +0 -0
  36. {magic_hour-0.40.0 → magic_hour-0.41.1}/README.md +0 -0
  37. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/README.md +0 -0
  38. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/__init__.py +0 -0
  39. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/client.py +0 -0
  40. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/helpers/__init__.py +0 -0
  41. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/helpers/download.py +0 -0
  42. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/helpers/logger.py +0 -0
  43. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/README.md +0 -0
  44. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/__init__.py +0 -0
  45. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_clothes_changer/__init__.py +0 -0
  46. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_clothes_changer/client.py +0 -0
  47. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_face_editor/__init__.py +0 -0
  48. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_face_editor/client.py +0 -0
  49. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_gif_generator/__init__.py +0 -0
  50. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_gif_generator/client.py +0 -0
  51. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_headshot_generator/__init__.py +0 -0
  52. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_headshot_generator/client.py +0 -0
  53. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_image_editor/__init__.py +0 -0
  54. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_image_editor/client.py +0 -0
  55. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_image_generator/__init__.py +0 -0
  56. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_image_generator/client.py +0 -0
  57. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_image_upscaler/__init__.py +0 -0
  58. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_image_upscaler/client.py +0 -0
  59. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_meme_generator/__init__.py +0 -0
  60. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_meme_generator/client.py +0 -0
  61. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_photo_editor/__init__.py +0 -0
  62. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_photo_editor/client.py +0 -0
  63. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_qr_code_generator/__init__.py +0 -0
  64. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_qr_code_generator/client.py +0 -0
  65. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_talking_photo/__init__.py +0 -0
  66. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_talking_photo/client.py +0 -0
  67. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_voice_generator/README.md +0 -0
  68. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_voice_generator/__init__.py +0 -0
  69. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/ai_voice_generator/client.py +0 -0
  70. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/animation/__init__.py +0 -0
  71. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/animation/client.py +0 -0
  72. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/audio_projects/README.md +0 -0
  73. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/audio_projects/__init__.py +0 -0
  74. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/audio_projects/client.py +0 -0
  75. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/auto_subtitle_generator/__init__.py +0 -0
  76. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/auto_subtitle_generator/client.py +0 -0
  77. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/client.py +0 -0
  78. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/face_detection/__init__.py +0 -0
  79. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/face_detection/client.py +0 -0
  80. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/face_swap/__init__.py +0 -0
  81. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/face_swap/client.py +0 -0
  82. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/face_swap_photo/__init__.py +0 -0
  83. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/face_swap_photo/client.py +0 -0
  84. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/files/__init__.py +0 -0
  85. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/files/client.py +0 -0
  86. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/files/client_test.py +0 -0
  87. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/files/upload_urls/README.md +0 -0
  88. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/files/upload_urls/__init__.py +0 -0
  89. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/files/upload_urls/client.py +0 -0
  90. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_background_remover/__init__.py +0 -0
  91. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_background_remover/client.py +0 -0
  92. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_projects/__init__.py +0 -0
  93. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_projects/client.py +0 -0
  94. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_projects/client_test.py +0 -0
  95. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_to_video/__init__.py +0 -0
  96. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/image_to_video/client.py +0 -0
  97. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/lip_sync/__init__.py +0 -0
  98. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/photo_colorizer/__init__.py +0 -0
  99. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/photo_colorizer/client.py +0 -0
  100. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/text_to_video/__init__.py +0 -0
  101. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/text_to_video/client.py +0 -0
  102. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/video_projects/__init__.py +0 -0
  103. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/video_projects/client.py +0 -0
  104. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/video_projects/client_test.py +0 -0
  105. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/video_to_video/__init__.py +0 -0
  106. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/resources/v1/video_to_video/client.py +0 -0
  107. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/__init__.py +0 -0
  108. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_clothes_changer_create_response.py +0 -0
  109. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_face_editor_create_response.py +0 -0
  110. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_gif_generator_create_response.py +0 -0
  111. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_headshot_generator_create_response.py +0 -0
  112. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_image_editor_create_response.py +0 -0
  113. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_image_generator_create_response.py +0 -0
  114. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_image_upscaler_create_response.py +0 -0
  115. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_meme_generator_create_response.py +0 -0
  116. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_photo_editor_create_response.py +0 -0
  117. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_qr_code_generator_create_response.py +0 -0
  118. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_talking_photo_create_response.py +0 -0
  119. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_ai_voice_generator_create_response.py +0 -0
  120. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_animation_create_response.py +0 -0
  121. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_audio_projects_get_response_downloads_item.py +0 -0
  122. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_audio_projects_get_response_error.py +0 -0
  123. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_auto_subtitle_generator_create_response.py +0 -0
  124. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_face_detection_create_response.py +0 -0
  125. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_face_detection_get_response.py +0 -0
  126. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_face_detection_get_response_faces_item.py +0 -0
  127. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_face_swap_create_response.py +0 -0
  128. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_face_swap_photo_create_response.py +0 -0
  129. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_files_upload_urls_create_response.py +0 -0
  130. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_files_upload_urls_create_response_items_item.py +0 -0
  131. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_image_background_remover_create_response.py +0 -0
  132. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_image_projects_get_response.py +0 -0
  133. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_image_projects_get_response_downloads_item.py +0 -0
  134. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_image_projects_get_response_error.py +0 -0
  135. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_image_to_video_create_response.py +0 -0
  136. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_lip_sync_create_response.py +0 -0
  137. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_photo_colorizer_create_response.py +0 -0
  138. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_text_to_video_create_response.py +0 -0
  139. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_video_projects_get_response.py +0 -0
  140. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_video_projects_get_response_download.py +0 -0
  141. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_video_projects_get_response_downloads_item.py +0 -0
  142. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_video_projects_get_response_error.py +0 -0
  143. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/models/v1_video_to_video_create_response.py +0 -0
  144. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_clothes_changer_create_body.py +0 -0
  145. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_clothes_changer_create_body_assets.py +0 -0
  146. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_clothes_changer_generate_body_assets.py +0 -0
  147. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_face_editor_create_body.py +0 -0
  148. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_face_editor_create_body_assets.py +0 -0
  149. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_face_editor_create_body_style.py +0 -0
  150. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_face_editor_generate_body_assets.py +0 -0
  151. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_gif_generator_create_body.py +0 -0
  152. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_gif_generator_create_body_style.py +0 -0
  153. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_headshot_generator_create_body.py +0 -0
  154. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_headshot_generator_create_body_assets.py +0 -0
  155. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_headshot_generator_create_body_style.py +0 -0
  156. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_headshot_generator_generate_body_assets.py +0 -0
  157. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_editor_create_body.py +0 -0
  158. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_editor_create_body_assets.py +0 -0
  159. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_editor_create_body_style.py +0 -0
  160. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_editor_generate_body_assets.py +0 -0
  161. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_generator_create_body.py +0 -0
  162. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_generator_create_body_style.py +0 -0
  163. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_upscaler_create_body.py +0 -0
  164. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_upscaler_create_body_assets.py +0 -0
  165. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_upscaler_create_body_style.py +0 -0
  166. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_image_upscaler_generate_body_assets.py +0 -0
  167. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_meme_generator_create_body.py +0 -0
  168. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_meme_generator_create_body_style.py +0 -0
  169. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_photo_editor_create_body.py +0 -0
  170. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_photo_editor_create_body_assets.py +0 -0
  171. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_photo_editor_create_body_style.py +0 -0
  172. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_photo_editor_generate_body_assets.py +0 -0
  173. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_qr_code_generator_create_body.py +0 -0
  174. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_qr_code_generator_create_body_style.py +0 -0
  175. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_talking_photo_create_body.py +0 -0
  176. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_talking_photo_create_body_assets.py +0 -0
  177. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_talking_photo_generate_body_assets.py +0 -0
  178. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_voice_generator_create_body.py +0 -0
  179. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_ai_voice_generator_create_body_style.py +0 -0
  180. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_animation_create_body.py +0 -0
  181. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_animation_create_body_assets.py +0 -0
  182. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_animation_create_body_style.py +0 -0
  183. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_animation_generate_body_assets.py +0 -0
  184. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_auto_subtitle_generator_create_body.py +0 -0
  185. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_auto_subtitle_generator_create_body_assets.py +0 -0
  186. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_auto_subtitle_generator_create_body_style.py +0 -0
  187. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_auto_subtitle_generator_create_body_style_custom_config.py +0 -0
  188. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_auto_subtitle_generator_generate_body_assets.py +0 -0
  189. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_detection_create_body.py +0 -0
  190. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_detection_create_body_assets.py +0 -0
  191. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_detection_generate_body_assets.py +0 -0
  192. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_create_body.py +0 -0
  193. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_create_body_assets.py +0 -0
  194. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_create_body_assets_face_mappings_item.py +0 -0
  195. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_create_body_style.py +0 -0
  196. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_generate_body_assets.py +0 -0
  197. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_generate_body_assets_face_mappings_item.py +0 -0
  198. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_photo_create_body.py +0 -0
  199. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_photo_create_body_assets.py +0 -0
  200. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_photo_create_body_assets_face_mappings_item.py +0 -0
  201. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_photo_generate_body_assets.py +0 -0
  202. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_face_swap_photo_generate_body_assets_face_mappings_item.py +0 -0
  203. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_files_upload_urls_create_body.py +0 -0
  204. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_files_upload_urls_create_body_items_item.py +0 -0
  205. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_image_background_remover_create_body.py +0 -0
  206. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_image_background_remover_create_body_assets.py +0 -0
  207. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_image_background_remover_generate_body_assets.py +0 -0
  208. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_image_to_video_create_body.py +0 -0
  209. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_image_to_video_create_body_assets.py +0 -0
  210. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_image_to_video_create_body_style.py +0 -0
  211. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_image_to_video_generate_body_assets.py +0 -0
  212. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_lip_sync_create_body_assets.py +0 -0
  213. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_lip_sync_generate_body_assets.py +0 -0
  214. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_photo_colorizer_create_body.py +0 -0
  215. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_photo_colorizer_create_body_assets.py +0 -0
  216. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_photo_colorizer_generate_body_assets.py +0 -0
  217. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_text_to_video_create_body.py +0 -0
  218. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_text_to_video_create_body_style.py +0 -0
  219. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_video_to_video_create_body.py +0 -0
  220. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_video_to_video_create_body_assets.py +0 -0
  221. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_video_to_video_create_body_style.py +0 -0
  222. {magic_hour-0.40.0 → magic_hour-0.41.1}/magic_hour/types/params/v1_video_to_video_generate_body_assets.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: magic_hour
3
- Version: 0.40.0
3
+ Version: 0.41.1
4
4
  Summary: Python SDK for Magic Hour API
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -6,7 +6,7 @@ class Environment(enum.Enum):
6
6
  """Pre-defined base URLs for the API"""
7
7
 
8
8
  ENVIRONMENT = "https://api.magichour.ai"
9
- MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.40.0"
9
+ MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.41.0"
10
10
 
11
11
 
12
12
  def _get_base_url(
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### AI Clothes Changer Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Face Editor Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Gif Generator Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Headshot Generator Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Image Editor Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Image Generator Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Image Upscaler Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Meme Generator Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Photo Editor Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Qr Code Generator Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Ai Talking Photo Generate Workflow <a name="generate"></a>
@@ -85,8 +86,8 @@ Create a talking photo from an image and audio or text input.
85
86
  | `end_seconds` | ✓ | The end time of the input audio in seconds. The maximum duration allowed is 60 seconds. | `15.0` |
86
87
  | `start_seconds` | ✓ | The start time of the input audio in seconds. The maximum duration allowed is 60 seconds. | `0.0` |
87
88
  | `name` | ✗ | The name of image. This value is mainly used for your own identification of the image. | `"Talking Photo image"` |
88
- | `style` | ✗ | Attributes used to dictate the style of the output | `{"generation_mode": "expressive", "intensity": 1.5}` |
89
- | `└─ generation_mode` | ✗ | Controls overall motion style. * `pro` - Realistic, high fidelity, accurate lip sync, slower. * `expressive` - More motion and facial expressiveness; may introduce visual artifacts. * `stable` - Reduced motion for cleaner output; may result in minimal animation. (Deprecated: passing this value will be treated as `pro`) | `"expressive"` |
89
+ | `style` | ✗ | Attributes used to dictate the style of the output | `{"generation_mode": "pro", "intensity": 1.5}` |
90
+ | `└─ generation_mode` | ✗ | Controls overall motion style. * `pro` - Higher fidelity, realistic detail, accurate lip sync, and faster generation. * `standard` - More expressive motion, but lower visual fidelity. * `expressive` - More motion and facial expressiveness; may introduce visual artifacts. (Deprecated: passing this value will be treated as `standard`) * `stable` - Reduced motion for cleaner output; may result in minimal animation. (Deprecated: passing this value will be treated as `pro`) | `"pro"` |
90
91
  | `└─ intensity` | ✗ | Note: this value is only applicable when generation_mode is `expressive`. The value can include up to 2 decimal places. * Lower values yield more stability but can suppress mouth movement. * Higher values increase motion and expressiveness, with a higher risk of distortion. | `1.5` |
91
92
 
92
93
  #### Synchronous Client
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Animation Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Auto Subtitle Generator Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Face Detection Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Face Swap Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Face Swap Photo Generate Workflow <a name="generate"></a>
@@ -2,6 +2,7 @@
2
2
 
3
3
 
4
4
 
5
+
5
6
  <!-- CUSTOM DOCS START -->
6
7
 
7
8
  ### Upload File <a name="upload-file"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Image Background Remover Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Check results <a name="check-result"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Image To Video Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Lip Sync Generate Workflow <a name="generate"></a>
@@ -39,6 +40,9 @@ res = client.v1.lip_sync.generate(
39
40
  "video_file_path": "/path/to/1234.mp4",
40
41
  "video_source": "file",
41
42
  },
43
+ style={
44
+ "generation_mode": "lite",
45
+ },
42
46
  end_seconds=15.0,
43
47
  start_seconds=0.0,
44
48
  max_fps_limit=12.0,
@@ -62,6 +66,9 @@ res = await client.v1.lip_sync.generate(
62
66
  "video_file_path": "/path/to/1234.mp4",
63
67
  "video_source": "file",
64
68
  },
69
+ style={
70
+ "generation_mode": "lite",
71
+ },
65
72
  end_seconds=15.0,
66
73
  start_seconds=0.0,
67
74
  max_fps_limit=12.0,
@@ -96,6 +103,8 @@ Get more information about this mode at our [product page](https://magichour.ai/
96
103
  | `height` | ✗ | ✓ | `height` is deprecated and no longer influences the output video's resolution. Output resolution is determined by the **minimum** of: - The resolution of the input video - The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details. This field is retained only for backward compatibility and will be removed in a future release. | `123` |
97
104
  | `max_fps_limit` | ✗ | ✗ | Defines the maximum FPS (frames per second) for the output video. If the input video's FPS is lower than this limit, the output video will retain the input FPS. This is useful for reducing unnecessary frame usage in scenarios where high FPS is not required. | `12.0` |
98
105
  | `name` | ✗ | ✗ | The name of video. This value is mainly used for your own identification of the video. | `"Lip Sync video"` |
106
+ | `style` | ✗ | ✗ | Attributes used to dictate the style of the output | `{"generation_mode": "lite"}` |
107
+ | `└─ generation_mode` | ✗ | — | A specific version of our lip sync system, optimized for different needs. * `lite` - Fast and affordable lip sync - best for simple videos. Costs 1 credit per frame of video. * `standard` - Natural, accurate lip sync - best for most creators. Costs 1 credit per frame of video. * `pro` - Premium fidelity with enhanced detail - best for professionals. Costs 2 credits per frame of video. Note: `standard` and `pro` are only available for users on Creator, Pro, and Business tiers. | `"lite"` |
99
108
  | `width` | ✗ | ✓ | `width` is deprecated and no longer influences the output video's resolution. Output resolution is determined by the **minimum** of: - The resolution of the input video - The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details. This field is retained only for backward compatibility and will be removed in a future release. | `123` |
100
109
 
101
110
  #### Synchronous Client
@@ -111,6 +120,9 @@ res = client.v1.lip_sync.create(
111
120
  "video_file_path": "api-assets/id/1234.mp4",
112
121
  "video_source": "file",
113
122
  },
123
+ style={
124
+ "generation_mode": "lite",
125
+ },
114
126
  end_seconds=15.0,
115
127
  start_seconds=0.0,
116
128
  max_fps_limit=12.0,
@@ -132,6 +144,9 @@ res = await client.v1.lip_sync.create(
132
144
  "video_file_path": "api-assets/id/1234.mp4",
133
145
  "video_source": "file",
134
146
  },
147
+ style={
148
+ "generation_mode": "lite",
149
+ },
135
150
  end_seconds=15.0,
136
151
  start_seconds=0.0,
137
152
  max_fps_limit=12.0,
@@ -39,6 +39,9 @@ class LipSyncClient:
39
39
  name: typing.Union[
40
40
  typing.Optional[str], type_utils.NotGiven
41
41
  ] = type_utils.NOT_GIVEN,
42
+ style: typing.Union[
43
+ typing.Optional[params.V1LipSyncCreateBodyStyle], type_utils.NotGiven
44
+ ] = type_utils.NOT_GIVEN,
42
45
  width: typing.Union[
43
46
  typing.Optional[int], type_utils.NotGiven
44
47
  ] = type_utils.NOT_GIVEN,
@@ -56,6 +59,7 @@ class LipSyncClient:
56
59
  height: `height` is deprecated and no longer influences the output video's resolution.
57
60
  max_fps_limit: Defines the maximum FPS (frames per second) for the output video. If the input video's FPS is lower than this limit, the output video will retain the input FPS. This is useful for reducing unnecessary frame usage in scenarios where high FPS is not required.
58
61
  name: The name of video. This value is mainly used for your own identification of the video.
62
+ style: Attributes used to dictate the style of the output
59
63
  width: `width` is deprecated and no longer influences the output video's resolution.
60
64
  assets: Provide the assets for lip-sync. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
61
65
  end_seconds: The end time of the input video in seconds. This value is used to trim the input video. The value must be greater than 0.1, and more than the start_seconds.
@@ -108,6 +112,7 @@ class LipSyncClient:
108
112
  height=height,
109
113
  max_fps_limit=max_fps_limit,
110
114
  name=name,
115
+ style=style,
111
116
  width=width,
112
117
  request_options=request_options,
113
118
  )
@@ -138,6 +143,9 @@ class LipSyncClient:
138
143
  name: typing.Union[
139
144
  typing.Optional[str], type_utils.NotGiven
140
145
  ] = type_utils.NOT_GIVEN,
146
+ style: typing.Union[
147
+ typing.Optional[params.V1LipSyncCreateBodyStyle], type_utils.NotGiven
148
+ ] = type_utils.NOT_GIVEN,
141
149
  width: typing.Union[
142
150
  typing.Optional[int], type_utils.NotGiven
143
151
  ] = type_utils.NOT_GIVEN,
@@ -163,6 +171,7 @@ class LipSyncClient:
163
171
  This field is retained only for backward compatibility and will be removed in a future release.
164
172
  max_fps_limit: Defines the maximum FPS (frames per second) for the output video. If the input video's FPS is lower than this limit, the output video will retain the input FPS. This is useful for reducing unnecessary frame usage in scenarios where high FPS is not required.
165
173
  name: The name of video. This value is mainly used for your own identification of the video.
174
+ style: Attributes used to dictate the style of the output
166
175
  width: `width` is deprecated and no longer influences the output video's resolution.
167
176
 
168
177
  Output resolution is determined by the **minimum** of:
@@ -202,6 +211,7 @@ class LipSyncClient:
202
211
  "height": height,
203
212
  "max_fps_limit": max_fps_limit,
204
213
  "name": name,
214
+ "style": style,
205
215
  "width": width,
206
216
  "assets": assets,
207
217
  "end_seconds": end_seconds,
@@ -339,6 +349,9 @@ class AsyncLipSyncClient:
339
349
  name: typing.Union[
340
350
  typing.Optional[str], type_utils.NotGiven
341
351
  ] = type_utils.NOT_GIVEN,
352
+ style: typing.Union[
353
+ typing.Optional[params.V1LipSyncCreateBodyStyle], type_utils.NotGiven
354
+ ] = type_utils.NOT_GIVEN,
342
355
  width: typing.Union[
343
356
  typing.Optional[int], type_utils.NotGiven
344
357
  ] = type_utils.NOT_GIVEN,
@@ -364,6 +377,7 @@ class AsyncLipSyncClient:
364
377
  This field is retained only for backward compatibility and will be removed in a future release.
365
378
  max_fps_limit: Defines the maximum FPS (frames per second) for the output video. If the input video's FPS is lower than this limit, the output video will retain the input FPS. This is useful for reducing unnecessary frame usage in scenarios where high FPS is not required.
366
379
  name: The name of video. This value is mainly used for your own identification of the video.
380
+ style: Attributes used to dictate the style of the output
367
381
  width: `width` is deprecated and no longer influences the output video's resolution.
368
382
 
369
383
  Output resolution is determined by the **minimum** of:
@@ -403,6 +417,7 @@ class AsyncLipSyncClient:
403
417
  "height": height,
404
418
  "max_fps_limit": max_fps_limit,
405
419
  "name": name,
420
+ "style": style,
406
421
  "width": width,
407
422
  "assets": assets,
408
423
  "end_seconds": end_seconds,
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Photo Colorizer Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Text To Video Generate Workflow <a name="generate"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Check results <a name="check-result"></a>
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
 
7
+
7
8
  <!-- CUSTOM DOCS START -->
8
9
 
9
10
  ### Video To Video Generate Workflow <a name="generate"></a>
@@ -68,5 +68,5 @@ class V1AudioProjectsGetResponse(pydantic.BaseModel):
68
68
  alias="type",
69
69
  )
70
70
  """
71
- The type of the audio project. Possible values are VOICE_GENERATOR
71
+ The type of the audio project. Possible values are VOICE_GENERATOR, VOICE_CHANGER
72
72
  """
@@ -245,6 +245,10 @@ from .v1_lip_sync_create_body_assets import (
245
245
  V1LipSyncCreateBodyAssets,
246
246
  _SerializerV1LipSyncCreateBodyAssets,
247
247
  )
248
+ from .v1_lip_sync_create_body_style import (
249
+ V1LipSyncCreateBodyStyle,
250
+ _SerializerV1LipSyncCreateBodyStyle,
251
+ )
248
252
  from .v1_lip_sync_generate_body_assets import V1LipSyncGenerateBodyAssets
249
253
  from .v1_photo_colorizer_create_body import (
250
254
  V1PhotoColorizerCreateBody,
@@ -350,6 +354,7 @@ __all__ = [
350
354
  "V1ImageToVideoGenerateBodyAssets",
351
355
  "V1LipSyncCreateBody",
352
356
  "V1LipSyncCreateBodyAssets",
357
+ "V1LipSyncCreateBodyStyle",
353
358
  "V1LipSyncGenerateBodyAssets",
354
359
  "V1PhotoColorizerCreateBody",
355
360
  "V1PhotoColorizerCreateBodyAssets",
@@ -415,6 +420,7 @@ __all__ = [
415
420
  "_SerializerV1ImageToVideoCreateBodyStyle",
416
421
  "_SerializerV1LipSyncCreateBody",
417
422
  "_SerializerV1LipSyncCreateBodyAssets",
423
+ "_SerializerV1LipSyncCreateBodyStyle",
418
424
  "_SerializerV1PhotoColorizerCreateBody",
419
425
  "_SerializerV1PhotoColorizerCreateBodyAssets",
420
426
  "_SerializerV1TextToVideoCreateBody",
@@ -9,12 +9,14 @@ class V1AiTalkingPhotoCreateBodyStyle(typing_extensions.TypedDict):
9
9
  """
10
10
 
11
11
  generation_mode: typing_extensions.NotRequired[
12
- typing_extensions.Literal["expressive", "pro", "stable"]
12
+ typing_extensions.Literal["expressive", "pro", "stable", "standard"]
13
13
  ]
14
14
  """
15
15
  Controls overall motion style.
16
- * `pro` - Realistic, high fidelity, accurate lip sync, slower.
17
- * `expressive` - More motion and facial expressiveness; may introduce visual artifacts.
16
+ * `pro` - Higher fidelity, realistic detail, accurate lip sync, and faster generation.
17
+ * `standard` - More expressive motion, but lower visual fidelity.
18
+
19
+ * `expressive` - More motion and facial expressiveness; may introduce visual artifacts. (Deprecated: passing this value will be treated as `standard`)
18
20
  * `stable` - Reduced motion for cleaner output; may result in minimal animation. (Deprecated: passing this value will be treated as `pro`)
19
21
  """
20
22
 
@@ -37,6 +39,6 @@ class _SerializerV1AiTalkingPhotoCreateBodyStyle(pydantic.BaseModel):
37
39
  )
38
40
 
39
41
  generation_mode: typing.Optional[
40
- typing_extensions.Literal["expressive", "pro", "stable"]
42
+ typing_extensions.Literal["expressive", "pro", "stable", "standard"]
41
43
  ] = pydantic.Field(alias="generation_mode", default=None)
42
44
  intensity: typing.Optional[float] = pydantic.Field(alias="intensity", default=None)
@@ -6,6 +6,10 @@ from .v1_lip_sync_create_body_assets import (
6
6
  V1LipSyncCreateBodyAssets,
7
7
  _SerializerV1LipSyncCreateBodyAssets,
8
8
  )
9
+ from .v1_lip_sync_create_body_style import (
10
+ V1LipSyncCreateBodyStyle,
11
+ _SerializerV1LipSyncCreateBodyStyle,
12
+ )
9
13
 
10
14
 
11
15
  class V1LipSyncCreateBody(typing_extensions.TypedDict):
@@ -49,6 +53,11 @@ class V1LipSyncCreateBody(typing_extensions.TypedDict):
49
53
  The start time of the input video in seconds. This value is used to trim the input video. The value must be greater than 0.
50
54
  """
51
55
 
56
+ style: typing_extensions.NotRequired[V1LipSyncCreateBodyStyle]
57
+ """
58
+ Attributes used to dictate the style of the output
59
+ """
60
+
52
61
  width: typing_extensions.NotRequired[typing.Optional[int]]
53
62
  """
54
63
  `width` is deprecated and no longer influences the output video's resolution.
@@ -85,4 +94,7 @@ class _SerializerV1LipSyncCreateBody(pydantic.BaseModel):
85
94
  start_seconds: float = pydantic.Field(
86
95
  alias="start_seconds",
87
96
  )
97
+ style: typing.Optional[_SerializerV1LipSyncCreateBodyStyle] = pydantic.Field(
98
+ alias="style", default=None
99
+ )
88
100
  width: typing.Optional[int] = pydantic.Field(alias="width", default=None)
@@ -0,0 +1,37 @@
1
+ import pydantic
2
+ import typing
3
+ import typing_extensions
4
+
5
+
6
+ class V1LipSyncCreateBodyStyle(typing_extensions.TypedDict):
7
+ """
8
+ Attributes used to dictate the style of the output
9
+ """
10
+
11
+ generation_mode: typing_extensions.NotRequired[
12
+ typing_extensions.Literal["lite", "pro", "standard"]
13
+ ]
14
+ """
15
+ A specific version of our lip sync system, optimized for different needs.
16
+ * `lite` - Fast and affordable lip sync - best for simple videos. Costs 1 credit per frame of video.
17
+ * `standard` - Natural, accurate lip sync - best for most creators. Costs 1 credit per frame of video.
18
+ * `pro` - Premium fidelity with enhanced detail - best for professionals. Costs 2 credits per frame of video.
19
+
20
+ Note: `standard` and `pro` are only available for users on Creator, Pro, and Business tiers.
21
+
22
+ """
23
+
24
+
25
+ class _SerializerV1LipSyncCreateBodyStyle(pydantic.BaseModel):
26
+ """
27
+ Serializer for V1LipSyncCreateBodyStyle handling case conversions
28
+ and file omissions as dictated by the API
29
+ """
30
+
31
+ model_config = pydantic.ConfigDict(
32
+ populate_by_name=True,
33
+ )
34
+
35
+ generation_mode: typing.Optional[
36
+ typing_extensions.Literal["lite", "pro", "standard"]
37
+ ] = pydantic.Field(alias="generation_mode", default=None)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "magic_hour"
3
- version = "0.40.0"
3
+ version = "0.41.1"
4
4
  description = "Python SDK for Magic Hour API"
5
5
  readme = "README.md"
6
6
  authors = []
File without changes
File without changes