magic_hour 0.34.0__tar.gz → 0.35.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.
Potentially problematic release.
This version of magic_hour might be problematic. Click here for more details.
- {magic_hour-0.34.0 → magic_hour-0.35.0}/PKG-INFO +1 -1
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/environment.py +1 -1
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/face_swap/README.md +2 -6
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/face_swap/client.py +20 -28
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/image_to_video/README.md +2 -2
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/image_to_video/client.py +24 -8
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/lip_sync/README.md +2 -6
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/lip_sync/client.py +20 -28
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/video_to_video/README.md +2 -6
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/video_to_video/client.py +20 -28
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_face_swap_create_body.py +12 -14
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_image_to_video_create_body.py +14 -6
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_lip_sync_create_body.py +12 -14
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_video_to_video_create_body.py +12 -14
- {magic_hour-0.34.0 → magic_hour-0.35.0}/pyproject.toml +1 -1
- {magic_hour-0.34.0 → magic_hour-0.35.0}/LICENSE +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/api_error.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/auth.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/base_client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/binary_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/query.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/request.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/type_utils.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/core/utils.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_clothes_changer/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_clothes_changer/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_clothes_changer/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_face_editor/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_face_editor/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_face_editor/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_gif_generator/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_gif_generator/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_gif_generator/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_headshot_generator/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_headshot_generator/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_headshot_generator/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_image_editor/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_image_editor/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_image_editor/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_image_generator/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_image_generator/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_image_generator/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_image_upscaler/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_image_upscaler/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_image_upscaler/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_meme_generator/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_meme_generator/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_meme_generator/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_photo_editor/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_photo_editor/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_photo_editor/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_qr_code_generator/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_qr_code_generator/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_qr_code_generator/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_talking_photo/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_talking_photo/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/ai_talking_photo/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/animation/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/animation/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/animation/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/auto_subtitle_generator/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/auto_subtitle_generator/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/auto_subtitle_generator/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/face_detection/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/face_detection/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/face_detection/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/face_swap/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/face_swap_photo/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/face_swap_photo/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/face_swap_photo/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/files/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/files/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/files/upload_urls/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/files/upload_urls/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/files/upload_urls/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/image_background_remover/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/image_background_remover/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/image_background_remover/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/image_projects/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/image_projects/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/image_projects/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/image_to_video/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/lip_sync/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/photo_colorizer/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/photo_colorizer/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/photo_colorizer/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/text_to_video/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/text_to_video/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/text_to_video/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/video_projects/README.md +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/video_projects/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/video_projects/client.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/resources/v1/video_to_video/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_clothes_changer_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_face_editor_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_gif_generator_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_headshot_generator_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_image_editor_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_image_generator_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_image_upscaler_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_meme_generator_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_photo_editor_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_qr_code_generator_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_ai_talking_photo_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_animation_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_auto_subtitle_generator_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_face_detection_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_face_detection_get_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_face_detection_get_response_faces_item.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_face_swap_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_face_swap_photo_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_files_upload_urls_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_files_upload_urls_create_response_items_item.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_image_background_remover_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_image_projects_get_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_image_projects_get_response_downloads_item.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_image_projects_get_response_error.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_image_to_video_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_lip_sync_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_photo_colorizer_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_text_to_video_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_video_projects_get_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_video_projects_get_response_download.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_video_projects_get_response_downloads_item.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_video_projects_get_response_error.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/models/v1_video_to_video_create_response.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/__init__.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_clothes_changer_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_clothes_changer_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_face_editor_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_face_editor_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_face_editor_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_gif_generator_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_gif_generator_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_headshot_generator_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_headshot_generator_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_headshot_generator_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_image_editor_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_image_editor_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_image_editor_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_image_generator_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_image_generator_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_image_upscaler_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_image_upscaler_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_image_upscaler_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_meme_generator_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_meme_generator_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_photo_editor_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_photo_editor_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_photo_editor_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_qr_code_generator_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_qr_code_generator_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_talking_photo_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_talking_photo_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_ai_talking_photo_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_animation_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_animation_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_animation_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_auto_subtitle_generator_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_auto_subtitle_generator_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_auto_subtitle_generator_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_auto_subtitle_generator_create_body_style_custom_config.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_face_detection_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_face_detection_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_face_swap_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_face_swap_create_body_assets_face_mappings_item.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_face_swap_photo_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_face_swap_photo_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_face_swap_photo_create_body_assets_face_mappings_item.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_files_upload_urls_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_files_upload_urls_create_body_items_item.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_image_background_remover_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_image_background_remover_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_image_to_video_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_image_to_video_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_lip_sync_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_photo_colorizer_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_photo_colorizer_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_text_to_video_create_body.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_text_to_video_create_body_style.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_video_to_video_create_body_assets.py +0 -0
- {magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_video_to_video_create_body_style.py +0 -0
|
@@ -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.
|
|
9
|
+
MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.35.0"
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
def _get_base_url(
|
|
@@ -15,9 +15,9 @@ Get more information about this mode at our [product page](https://magichour.ai/
|
|
|
15
15
|
| `assets` | ✓ | Provide the assets for face swap. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used | `{"face_mappings": [{"new_face": "api-assets/id/1234.png", "original_face": "api-assets/id/0-0.png"}], "face_swap_mode": "all-faces", "image_file_path": "image/id/1234.png", "video_file_path": "api-assets/id/1234.mp4", "video_source": "file"}` |
|
|
16
16
|
| `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. | `15.0` |
|
|
17
17
|
| `start_seconds` | ✓ | 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. | `0.0` |
|
|
18
|
-
| `height` | ✗ |
|
|
18
|
+
| `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` |
|
|
19
19
|
| `name` | ✗ | The name of video. This value is mainly used for your own identification of the video. | `"Face Swap video"` |
|
|
20
|
-
| `width` | ✗ |
|
|
20
|
+
| `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` |
|
|
21
21
|
|
|
22
22
|
#### Synchronous Client
|
|
23
23
|
|
|
@@ -41,9 +41,7 @@ res = client.v1.face_swap.create(
|
|
|
41
41
|
},
|
|
42
42
|
end_seconds=15.0,
|
|
43
43
|
start_seconds=0.0,
|
|
44
|
-
height=960,
|
|
45
44
|
name="Face Swap video",
|
|
46
|
-
width=512,
|
|
47
45
|
)
|
|
48
46
|
|
|
49
47
|
```
|
|
@@ -70,9 +68,7 @@ res = await client.v1.face_swap.create(
|
|
|
70
68
|
},
|
|
71
69
|
end_seconds=15.0,
|
|
72
70
|
start_seconds=0.0,
|
|
73
|
-
height=960,
|
|
74
71
|
name="Face Swap video",
|
|
75
|
-
width=512,
|
|
76
72
|
)
|
|
77
73
|
|
|
78
74
|
```
|
|
@@ -43,23 +43,21 @@ class FaceSwapClient:
|
|
|
43
43
|
POST /v1/face-swap
|
|
44
44
|
|
|
45
45
|
Args:
|
|
46
|
-
height:
|
|
46
|
+
height: `height` is deprecated and no longer influences the output video's resolution.
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
Output resolution is determined by the **minimum** of:
|
|
49
|
+
- The resolution of the input video
|
|
50
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
52
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
54
53
|
name: The name of video. This value is mainly used for your own identification of the video.
|
|
55
|
-
width:
|
|
56
|
-
|
|
57
|
-
* If width is provided, height will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
|
|
58
|
-
* If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
|
|
54
|
+
width: `width` is deprecated and no longer influences the output video's resolution.
|
|
59
55
|
|
|
60
|
-
|
|
56
|
+
Output resolution is determined by the **minimum** of:
|
|
57
|
+
- The resolution of the input video
|
|
58
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
61
59
|
|
|
62
|
-
|
|
60
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
63
61
|
assets: Provide the assets for face swap. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
|
|
64
62
|
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.
|
|
65
63
|
start_seconds: 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.
|
|
@@ -89,9 +87,7 @@ class FaceSwapClient:
|
|
|
89
87
|
},
|
|
90
88
|
end_seconds=15.0,
|
|
91
89
|
start_seconds=0.0,
|
|
92
|
-
height=960,
|
|
93
90
|
name="Face Swap video",
|
|
94
|
-
width=512,
|
|
95
91
|
)
|
|
96
92
|
```
|
|
97
93
|
"""
|
|
@@ -148,23 +144,21 @@ class AsyncFaceSwapClient:
|
|
|
148
144
|
POST /v1/face-swap
|
|
149
145
|
|
|
150
146
|
Args:
|
|
151
|
-
height:
|
|
147
|
+
height: `height` is deprecated and no longer influences the output video's resolution.
|
|
152
148
|
|
|
153
|
-
|
|
154
|
-
|
|
149
|
+
Output resolution is determined by the **minimum** of:
|
|
150
|
+
- The resolution of the input video
|
|
151
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
155
152
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
153
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
159
154
|
name: The name of video. This value is mainly used for your own identification of the video.
|
|
160
|
-
width:
|
|
161
|
-
|
|
162
|
-
* If width is provided, height will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
|
|
163
|
-
* If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
|
|
155
|
+
width: `width` is deprecated and no longer influences the output video's resolution.
|
|
164
156
|
|
|
165
|
-
|
|
157
|
+
Output resolution is determined by the **minimum** of:
|
|
158
|
+
- The resolution of the input video
|
|
159
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
166
160
|
|
|
167
|
-
|
|
161
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
168
162
|
assets: Provide the assets for face swap. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
|
|
169
163
|
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.
|
|
170
164
|
start_seconds: 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.
|
|
@@ -194,9 +188,7 @@ class AsyncFaceSwapClient:
|
|
|
194
188
|
},
|
|
195
189
|
end_seconds=15.0,
|
|
196
190
|
start_seconds=0.0,
|
|
197
|
-
height=960,
|
|
198
191
|
name="Face Swap video",
|
|
199
|
-
width=512,
|
|
200
192
|
)
|
|
201
193
|
```
|
|
202
194
|
"""
|
|
@@ -14,11 +14,11 @@ Get more information about this mode at our [product page](https://magichour.ai/
|
|
|
14
14
|
|-----------|:--------:|-------------|--------|
|
|
15
15
|
| `assets` | ✓ | Provide the assets for image-to-video. | `{"image_file_path": "api-assets/id/1234.png"}` |
|
|
16
16
|
| `end_seconds` | ✓ | The total duration of the output video in seconds. | `5.0` |
|
|
17
|
-
| `height` | ✗ |
|
|
17
|
+
| `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` |
|
|
18
18
|
| `name` | ✗ | The name of video. This value is mainly used for your own identification of the video. | `"Image To Video video"` |
|
|
19
19
|
| `resolution` | ✗ | Controls the output video resolution. Defaults to `720p` if not specified. 480p and 720p are available on Creator, Pro, or Business tiers. However, 1080p require Pro or Business tier. **Options:** - `480p` - Supports only 5 or 10 second videos. Output: 24fps. Cost: 120 credits per 5 seconds. - `720p` - Supports videos between 5-60 seconds. Output: 30fps. Cost: 300 credits per 5 seconds. - `1080p` - Supports videos between 5-60 seconds. Output: 30fps. Cost: 600 credits per 5 seconds. | `"720p"` |
|
|
20
20
|
| `style` | ✗ | Attributed used to dictate the style of the output | `{"prompt": "a dog running"}` |
|
|
21
|
-
| `width` | ✗ |
|
|
21
|
+
| `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` |
|
|
22
22
|
|
|
23
23
|
#### Synchronous Client
|
|
24
24
|
|
|
@@ -50,9 +50,13 @@ class ImageToVideoClient:
|
|
|
50
50
|
POST /v1/image-to-video
|
|
51
51
|
|
|
52
52
|
Args:
|
|
53
|
-
height:
|
|
53
|
+
height: `height` is deprecated and no longer influences the output video's resolution.
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Output resolution is determined by the **minimum** of:
|
|
56
|
+
- The resolution of the input video
|
|
57
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
58
|
+
|
|
59
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
56
60
|
name: The name of video. This value is mainly used for your own identification of the video.
|
|
57
61
|
resolution: Controls the output video resolution. Defaults to `720p` if not specified.
|
|
58
62
|
|
|
@@ -63,9 +67,13 @@ class ImageToVideoClient:
|
|
|
63
67
|
- `720p` - Supports videos between 5-60 seconds. Output: 30fps. Cost: 300 credits per 5 seconds.
|
|
64
68
|
- `1080p` - Supports videos between 5-60 seconds. Output: 30fps. Cost: 600 credits per 5 seconds.
|
|
65
69
|
style: Attributed used to dictate the style of the output
|
|
66
|
-
width:
|
|
70
|
+
width: `width` is deprecated and no longer influences the output video's resolution.
|
|
71
|
+
|
|
72
|
+
Output resolution is determined by the **minimum** of:
|
|
73
|
+
- The resolution of the input video
|
|
74
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
67
75
|
|
|
68
|
-
|
|
76
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
69
77
|
assets: Provide the assets for image-to-video.
|
|
70
78
|
end_seconds: The total duration of the output video in seconds.
|
|
71
79
|
request_options: Additional options to customize the HTTP request
|
|
@@ -147,9 +155,13 @@ class AsyncImageToVideoClient:
|
|
|
147
155
|
POST /v1/image-to-video
|
|
148
156
|
|
|
149
157
|
Args:
|
|
150
|
-
height:
|
|
158
|
+
height: `height` is deprecated and no longer influences the output video's resolution.
|
|
151
159
|
|
|
152
|
-
|
|
160
|
+
Output resolution is determined by the **minimum** of:
|
|
161
|
+
- The resolution of the input video
|
|
162
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
163
|
+
|
|
164
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
153
165
|
name: The name of video. This value is mainly used for your own identification of the video.
|
|
154
166
|
resolution: Controls the output video resolution. Defaults to `720p` if not specified.
|
|
155
167
|
|
|
@@ -160,9 +172,13 @@ class AsyncImageToVideoClient:
|
|
|
160
172
|
- `720p` - Supports videos between 5-60 seconds. Output: 30fps. Cost: 300 credits per 5 seconds.
|
|
161
173
|
- `1080p` - Supports videos between 5-60 seconds. Output: 30fps. Cost: 600 credits per 5 seconds.
|
|
162
174
|
style: Attributed used to dictate the style of the output
|
|
163
|
-
width:
|
|
175
|
+
width: `width` is deprecated and no longer influences the output video's resolution.
|
|
176
|
+
|
|
177
|
+
Output resolution is determined by the **minimum** of:
|
|
178
|
+
- The resolution of the input video
|
|
179
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
164
180
|
|
|
165
|
-
|
|
181
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
166
182
|
assets: Provide the assets for image-to-video.
|
|
167
183
|
end_seconds: The total duration of the output video in seconds.
|
|
168
184
|
request_options: Additional options to customize the HTTP request
|
|
@@ -15,10 +15,10 @@ Get more information about this mode at our [product page](https://magichour.ai/
|
|
|
15
15
|
| `assets` | ✓ | Provide the assets for lip-sync. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used | `{"audio_file_path": "api-assets/id/1234.mp3", "video_file_path": "api-assets/id/1234.mp4", "video_source": "file"}` |
|
|
16
16
|
| `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. | `15.0` |
|
|
17
17
|
| `start_seconds` | ✓ | 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. | `0.0` |
|
|
18
|
-
| `height` | ✗ |
|
|
18
|
+
| `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` |
|
|
19
19
|
| `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` |
|
|
20
20
|
| `name` | ✗ | The name of video. This value is mainly used for your own identification of the video. | `"Lip Sync video"` |
|
|
21
|
-
| `width` | ✗ |
|
|
21
|
+
| `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` |
|
|
22
22
|
|
|
23
23
|
#### Synchronous Client
|
|
24
24
|
|
|
@@ -35,10 +35,8 @@ res = client.v1.lip_sync.create(
|
|
|
35
35
|
},
|
|
36
36
|
end_seconds=15.0,
|
|
37
37
|
start_seconds=0.0,
|
|
38
|
-
height=960,
|
|
39
38
|
max_fps_limit=12.0,
|
|
40
39
|
name="Lip Sync video",
|
|
41
|
-
width=512,
|
|
42
40
|
)
|
|
43
41
|
|
|
44
42
|
```
|
|
@@ -58,10 +56,8 @@ res = await client.v1.lip_sync.create(
|
|
|
58
56
|
},
|
|
59
57
|
end_seconds=15.0,
|
|
60
58
|
start_seconds=0.0,
|
|
61
|
-
height=960,
|
|
62
59
|
max_fps_limit=12.0,
|
|
63
60
|
name="Lip Sync video",
|
|
64
|
-
width=512,
|
|
65
61
|
)
|
|
66
62
|
|
|
67
63
|
```
|
|
@@ -46,24 +46,22 @@ class LipSyncClient:
|
|
|
46
46
|
POST /v1/lip-sync
|
|
47
47
|
|
|
48
48
|
Args:
|
|
49
|
-
height:
|
|
49
|
+
height: `height` is deprecated and no longer influences the output video's resolution.
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
Output resolution is determined by the **minimum** of:
|
|
52
|
+
- The resolution of the input video
|
|
53
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
53
54
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
55
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
57
56
|
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
57
|
name: The name of video. This value is mainly used for your own identification of the video.
|
|
59
|
-
width:
|
|
60
|
-
|
|
61
|
-
* If width is provided, height will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
|
|
62
|
-
* If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
|
|
58
|
+
width: `width` is deprecated and no longer influences the output video's resolution.
|
|
63
59
|
|
|
64
|
-
|
|
60
|
+
Output resolution is determined by the **minimum** of:
|
|
61
|
+
- The resolution of the input video
|
|
62
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
65
63
|
|
|
66
|
-
|
|
64
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
67
65
|
assets: Provide the assets for lip-sync. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
|
|
68
66
|
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.
|
|
69
67
|
start_seconds: 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.
|
|
@@ -86,10 +84,8 @@ class LipSyncClient:
|
|
|
86
84
|
},
|
|
87
85
|
end_seconds=15.0,
|
|
88
86
|
start_seconds=0.0,
|
|
89
|
-
height=960,
|
|
90
87
|
max_fps_limit=12.0,
|
|
91
88
|
name="Lip Sync video",
|
|
92
|
-
width=512,
|
|
93
89
|
)
|
|
94
90
|
```
|
|
95
91
|
"""
|
|
@@ -150,24 +146,22 @@ class AsyncLipSyncClient:
|
|
|
150
146
|
POST /v1/lip-sync
|
|
151
147
|
|
|
152
148
|
Args:
|
|
153
|
-
height:
|
|
149
|
+
height: `height` is deprecated and no longer influences the output video's resolution.
|
|
154
150
|
|
|
155
|
-
|
|
156
|
-
|
|
151
|
+
Output resolution is determined by the **minimum** of:
|
|
152
|
+
- The resolution of the input video
|
|
153
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
157
154
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
155
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
161
156
|
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.
|
|
162
157
|
name: The name of video. This value is mainly used for your own identification of the video.
|
|
163
|
-
width:
|
|
164
|
-
|
|
165
|
-
* If width is provided, height will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
|
|
166
|
-
* If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
|
|
158
|
+
width: `width` is deprecated and no longer influences the output video's resolution.
|
|
167
159
|
|
|
168
|
-
|
|
160
|
+
Output resolution is determined by the **minimum** of:
|
|
161
|
+
- The resolution of the input video
|
|
162
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
169
163
|
|
|
170
|
-
|
|
164
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
171
165
|
assets: Provide the assets for lip-sync. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
|
|
172
166
|
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.
|
|
173
167
|
start_seconds: 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.
|
|
@@ -190,10 +184,8 @@ class AsyncLipSyncClient:
|
|
|
190
184
|
},
|
|
191
185
|
end_seconds=15.0,
|
|
192
186
|
start_seconds=0.0,
|
|
193
|
-
height=960,
|
|
194
187
|
max_fps_limit=12.0,
|
|
195
188
|
name="Lip Sync video",
|
|
196
|
-
width=512,
|
|
197
189
|
)
|
|
198
190
|
```
|
|
199
191
|
"""
|
|
@@ -17,9 +17,9 @@ Get more information about this mode at our [product page](https://magichour.ai/
|
|
|
17
17
|
| `start_seconds` | ✓ | 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. | `0.0` |
|
|
18
18
|
| `style` | ✓ | | `{"art_style": "3D Render", "model": "default", "prompt": "string", "prompt_type": "default", "version": "default"}` |
|
|
19
19
|
| `fps_resolution` | ✗ | Determines whether the resulting video will have the same frame per second as the original video, or half. * `FULL` - the result video will have the same FPS as the input video * `HALF` - the result video will have half the FPS as the input video | `"HALF"` |
|
|
20
|
-
| `height` | ✗ |
|
|
20
|
+
| `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` |
|
|
21
21
|
| `name` | ✗ | The name of video. This value is mainly used for your own identification of the video. | `"Video To Video video"` |
|
|
22
|
-
| `width` | ✗ |
|
|
22
|
+
| `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` |
|
|
23
23
|
|
|
24
24
|
#### Synchronous Client
|
|
25
25
|
|
|
@@ -40,9 +40,7 @@ res = client.v1.video_to_video.create(
|
|
|
40
40
|
"version": "default",
|
|
41
41
|
},
|
|
42
42
|
fps_resolution="HALF",
|
|
43
|
-
height=960,
|
|
44
43
|
name="Video To Video video",
|
|
45
|
-
width=512,
|
|
46
44
|
)
|
|
47
45
|
|
|
48
46
|
```
|
|
@@ -66,9 +64,7 @@ res = await client.v1.video_to_video.create(
|
|
|
66
64
|
"version": "default",
|
|
67
65
|
},
|
|
68
66
|
fps_resolution="HALF",
|
|
69
|
-
height=960,
|
|
70
67
|
name="Video To Video video",
|
|
71
|
-
width=512,
|
|
72
68
|
)
|
|
73
69
|
|
|
74
70
|
```
|
|
@@ -52,23 +52,21 @@ class VideoToVideoClient:
|
|
|
52
52
|
fps_resolution: Determines whether the resulting video will have the same frame per second as the original video, or half.
|
|
53
53
|
* `FULL` - the result video will have the same FPS as the input video
|
|
54
54
|
* `HALF` - the result video will have half the FPS as the input video
|
|
55
|
-
height:
|
|
55
|
+
height: `height` is deprecated and no longer influences the output video's resolution.
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
Output resolution is determined by the **minimum** of:
|
|
58
|
+
- The resolution of the input video
|
|
59
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
59
60
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
61
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
63
62
|
name: The name of video. This value is mainly used for your own identification of the video.
|
|
64
|
-
width:
|
|
65
|
-
|
|
66
|
-
* If width is provided, height will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
|
|
67
|
-
* If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
|
|
63
|
+
width: `width` is deprecated and no longer influences the output video's resolution.
|
|
68
64
|
|
|
69
|
-
|
|
65
|
+
Output resolution is determined by the **minimum** of:
|
|
66
|
+
- The resolution of the input video
|
|
67
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
70
68
|
|
|
71
|
-
|
|
69
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
72
70
|
assets: Provide the assets for video-to-video. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
|
|
73
71
|
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.
|
|
74
72
|
start_seconds: 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.
|
|
@@ -99,9 +97,7 @@ class VideoToVideoClient:
|
|
|
99
97
|
"version": "default",
|
|
100
98
|
},
|
|
101
99
|
fps_resolution="HALF",
|
|
102
|
-
height=960,
|
|
103
100
|
name="Video To Video video",
|
|
104
|
-
width=512,
|
|
105
101
|
)
|
|
106
102
|
```
|
|
107
103
|
"""
|
|
@@ -168,23 +164,21 @@ class AsyncVideoToVideoClient:
|
|
|
168
164
|
fps_resolution: Determines whether the resulting video will have the same frame per second as the original video, or half.
|
|
169
165
|
* `FULL` - the result video will have the same FPS as the input video
|
|
170
166
|
* `HALF` - the result video will have half the FPS as the input video
|
|
171
|
-
height:
|
|
167
|
+
height: `height` is deprecated and no longer influences the output video's resolution.
|
|
172
168
|
|
|
173
|
-
|
|
174
|
-
|
|
169
|
+
Output resolution is determined by the **minimum** of:
|
|
170
|
+
- The resolution of the input video
|
|
171
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
175
172
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
173
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
179
174
|
name: The name of video. This value is mainly used for your own identification of the video.
|
|
180
|
-
width:
|
|
181
|
-
|
|
182
|
-
* If width is provided, height will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
|
|
183
|
-
* If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
|
|
175
|
+
width: `width` is deprecated and no longer influences the output video's resolution.
|
|
184
176
|
|
|
185
|
-
|
|
177
|
+
Output resolution is determined by the **minimum** of:
|
|
178
|
+
- The resolution of the input video
|
|
179
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
186
180
|
|
|
187
|
-
|
|
181
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
188
182
|
assets: Provide the assets for video-to-video. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
|
|
189
183
|
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.
|
|
190
184
|
start_seconds: 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.
|
|
@@ -215,9 +209,7 @@ class AsyncVideoToVideoClient:
|
|
|
215
209
|
"version": "default",
|
|
216
210
|
},
|
|
217
211
|
fps_resolution="HALF",
|
|
218
|
-
height=960,
|
|
219
212
|
name="Video To Video video",
|
|
220
|
-
width=512,
|
|
221
213
|
)
|
|
222
214
|
```
|
|
223
215
|
"""
|
|
@@ -23,16 +23,15 @@ class V1FaceSwapCreateBody(typing_extensions.TypedDict):
|
|
|
23
23
|
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.
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
|
-
height: typing_extensions.NotRequired[int]
|
|
26
|
+
height: typing_extensions.NotRequired[typing.Optional[int]]
|
|
27
27
|
"""
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
* If height is provided, width will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
|
|
31
|
-
* If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
|
|
28
|
+
`height` is deprecated and no longer influences the output video's resolution.
|
|
32
29
|
|
|
33
|
-
|
|
30
|
+
Output resolution is determined by the **minimum** of:
|
|
31
|
+
- The resolution of the input video
|
|
32
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
36
35
|
"""
|
|
37
36
|
|
|
38
37
|
name: typing_extensions.NotRequired[str]
|
|
@@ -45,16 +44,15 @@ class V1FaceSwapCreateBody(typing_extensions.TypedDict):
|
|
|
45
44
|
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.
|
|
46
45
|
"""
|
|
47
46
|
|
|
48
|
-
width: typing_extensions.NotRequired[int]
|
|
47
|
+
width: typing_extensions.NotRequired[typing.Optional[int]]
|
|
49
48
|
"""
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
* If width is provided, height will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
|
|
53
|
-
* If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
|
|
49
|
+
`width` is deprecated and no longer influences the output video's resolution.
|
|
54
50
|
|
|
55
|
-
|
|
51
|
+
Output resolution is determined by the **minimum** of:
|
|
52
|
+
- The resolution of the input video
|
|
53
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
56
54
|
|
|
57
|
-
|
|
55
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
58
56
|
"""
|
|
59
57
|
|
|
60
58
|
|
{magic_hour-0.34.0 → magic_hour-0.35.0}/magic_hour/types/params/v1_image_to_video_create_body.py
RENAMED
|
@@ -27,11 +27,15 @@ class V1ImageToVideoCreateBody(typing_extensions.TypedDict):
|
|
|
27
27
|
The total duration of the output video in seconds.
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
|
-
height: typing_extensions.NotRequired[int]
|
|
30
|
+
height: typing_extensions.NotRequired[typing.Optional[int]]
|
|
31
31
|
"""
|
|
32
|
-
|
|
32
|
+
`height` is deprecated and no longer influences the output video's resolution.
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
Output resolution is determined by the **minimum** of:
|
|
35
|
+
- The resolution of the input video
|
|
36
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
37
|
+
|
|
38
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
35
39
|
"""
|
|
36
40
|
|
|
37
41
|
name: typing_extensions.NotRequired[str]
|
|
@@ -58,11 +62,15 @@ class V1ImageToVideoCreateBody(typing_extensions.TypedDict):
|
|
|
58
62
|
Attributed used to dictate the style of the output
|
|
59
63
|
"""
|
|
60
64
|
|
|
61
|
-
width: typing_extensions.NotRequired[int]
|
|
65
|
+
width: typing_extensions.NotRequired[typing.Optional[int]]
|
|
62
66
|
"""
|
|
63
|
-
|
|
67
|
+
`width` is deprecated and no longer influences the output video's resolution.
|
|
68
|
+
|
|
69
|
+
Output resolution is determined by the **minimum** of:
|
|
70
|
+
- The resolution of the input video
|
|
71
|
+
- The maximum resolution allowed by your subscription tier. See our [pricing page](https://magichour.ai/pricing) for more details.
|
|
64
72
|
|
|
65
|
-
|
|
73
|
+
This field is retained only for backward compatibility and will be removed in a future release.
|
|
66
74
|
"""
|
|
67
75
|
|
|
68
76
|
|