magic_hour 0.38.1__py3-none-any.whl → 0.39.0__py3-none-any.whl
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/README.md +1 -3
- magic_hour/environment.py +1 -1
- magic_hour/resources/v1/README.md +0 -2
- magic_hour/resources/v1/ai_clothes_changer/README.md +3 -3
- magic_hour/resources/v1/ai_face_editor/README.md +3 -2
- magic_hour/resources/v1/ai_gif_generator/README.md +4 -2
- magic_hour/resources/v1/ai_headshot_generator/README.md +3 -2
- magic_hour/resources/v1/ai_image_editor/README.md +3 -2
- magic_hour/resources/v1/ai_image_generator/README.md +3 -2
- magic_hour/resources/v1/ai_image_upscaler/README.md +3 -2
- magic_hour/resources/v1/ai_meme_generator/README.md +3 -2
- magic_hour/resources/v1/ai_photo_editor/README.md +3 -2
- magic_hour/resources/v1/ai_qr_code_generator/README.md +3 -2
- magic_hour/resources/v1/ai_talking_photo/README.md +4 -3
- magic_hour/resources/v1/animation/README.md +3 -2
- magic_hour/resources/v1/auto_subtitle_generator/README.md +3 -2
- magic_hour/resources/v1/face_detection/README.md +3 -2
- magic_hour/resources/v1/face_swap/README.md +4 -2
- magic_hour/resources/v1/face_swap_photo/README.md +3 -2
- magic_hour/resources/v1/files/README.md +3 -1
- magic_hour/resources/v1/files/upload_urls/README.md +2 -5
- magic_hour/resources/v1/image_background_remover/README.md +3 -2
- magic_hour/resources/v1/image_projects/README.md +3 -2
- magic_hour/resources/v1/image_to_video/README.md +3 -2
- magic_hour/resources/v1/lip_sync/README.md +3 -2
- magic_hour/resources/v1/photo_colorizer/README.md +3 -2
- magic_hour/resources/v1/text_to_video/README.md +3 -2
- magic_hour/resources/v1/video_projects/README.md +3 -2
- magic_hour/resources/v1/video_to_video/README.md +3 -2
- magic_hour/types/params/v1_video_to_video_create_body_style.py +2 -0
- {magic_hour-0.38.1.dist-info → magic_hour-0.39.0.dist-info}/METADATA +1 -1
- {magic_hour-0.38.1.dist-info → magic_hour-0.39.0.dist-info}/RECORD +34 -34
- {magic_hour-0.38.1.dist-info → magic_hour-0.39.0.dist-info}/LICENSE +0 -0
- {magic_hour-0.38.1.dist-info → magic_hour-0.39.0.dist-info}/WHEEL +0 -0
magic_hour/README.md
CHANGED
magic_hour/environment.py
CHANGED
|
@@ -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.39.1"
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
def _get_base_url(
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_clothes_changer
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### AI Clothes Changer Generate Workflow <a name="generate"></a>
|
|
@@ -66,8 +67,6 @@ res = await client.v1.ai_clothes_changer.generate(
|
|
|
66
67
|
```
|
|
67
68
|
|
|
68
69
|
<!-- CUSTOM DOCS END -->
|
|
69
|
-
|
|
70
|
-
|
|
71
70
|
### AI Clothes Changer <a name="create"></a>
|
|
72
71
|
|
|
73
72
|
Change outfits in photos in seconds with just a photo reference. Each photo costs 25 credits.
|
|
@@ -128,3 +127,4 @@ res = await client.v1.ai_clothes_changer.create(
|
|
|
128
127
|
##### Example
|
|
129
128
|
`{"credits_charged": 25, "frame_cost": 25, "id": "cuid-example"}`
|
|
130
129
|
|
|
130
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_face_editor
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Face Editor Generate Workflow <a name="generate"></a>
|
|
@@ -91,7 +92,6 @@ res = await client.v1.ai_face_editor.generate(
|
|
|
91
92
|
```
|
|
92
93
|
|
|
93
94
|
<!-- CUSTOM DOCS END -->
|
|
94
|
-
|
|
95
95
|
### AI Face Editor <a name="create"></a>
|
|
96
96
|
|
|
97
97
|
Edit facial features of an image using AI. Each edit costs 1 frame. The height/width of the output image depends on your subscription. Please refer to our [pricing](/pricing) page for more details
|
|
@@ -192,3 +192,4 @@ res = await client.v1.ai_face_editor.create(
|
|
|
192
192
|
##### Example
|
|
193
193
|
`{"credits_charged": 1, "frame_cost": 1, "id": "cuid-example"}`
|
|
194
194
|
|
|
195
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_gif_generator
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Gif Generator Generate Workflow <a name="generate"></a>
|
|
@@ -59,7 +60,6 @@ res = await client.v1.ai_gif_generator.generate(
|
|
|
59
60
|
```
|
|
60
61
|
|
|
61
62
|
<!-- CUSTOM DOCS END -->
|
|
62
|
-
|
|
63
63
|
### AI GIFs <a name="create"></a>
|
|
64
64
|
|
|
65
65
|
Create an AI GIF. Each GIF costs 50 credits.
|
|
@@ -112,3 +112,5 @@ res = await client.v1.ai_gif_generator.create(
|
|
|
112
112
|
|
|
113
113
|
##### Example
|
|
114
114
|
`{"credits_charged": 50, "frame_cost": 50, "id": "cuid-example"}`
|
|
115
|
+
|
|
116
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_headshot_generator
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Headshot Generator Generate Workflow <a name="generate"></a>
|
|
@@ -55,7 +56,6 @@ res = await client.v1.ai_headshot_generator.generate(
|
|
|
55
56
|
```
|
|
56
57
|
|
|
57
58
|
<!-- CUSTOM DOCS END -->
|
|
58
|
-
|
|
59
59
|
### AI Headshots <a name="create"></a>
|
|
60
60
|
|
|
61
61
|
Create an AI headshot. Each headshot costs 50 credits.
|
|
@@ -106,3 +106,4 @@ res = await client.v1.ai_headshot_generator.create(
|
|
|
106
106
|
##### Example
|
|
107
107
|
`{"credits_charged": 50, "frame_cost": 50, "id": "cuid-example"}`
|
|
108
108
|
|
|
109
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_image_editor
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Image Editor Generate Workflow <a name="generate"></a>
|
|
@@ -59,7 +60,6 @@ res = await client.v1.ai_image_editor.generate(
|
|
|
59
60
|
```
|
|
60
61
|
|
|
61
62
|
<!-- CUSTOM DOCS END -->
|
|
62
|
-
|
|
63
63
|
### AI Image Editor <a name="create"></a>
|
|
64
64
|
|
|
65
65
|
Edit images with AI. Each edit costs 50 credits.
|
|
@@ -114,3 +114,4 @@ res = await client.v1.ai_image_editor.create(
|
|
|
114
114
|
##### Example
|
|
115
115
|
`{"credits_charged": 50, "frame_cost": 50, "id": "cuid-example"}`
|
|
116
116
|
|
|
117
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_image_generator
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Image Generator Generate Workflow <a name="generate"></a>
|
|
@@ -61,7 +62,6 @@ res = await client.v1.ai_image_generator.generate(
|
|
|
61
62
|
```
|
|
62
63
|
|
|
63
64
|
<!-- CUSTOM DOCS END -->
|
|
64
|
-
|
|
65
65
|
### AI Images <a name="create"></a>
|
|
66
66
|
|
|
67
67
|
Create an AI image. Each image costs 5 credits.
|
|
@@ -119,3 +119,4 @@ res = await client.v1.ai_image_generator.create(
|
|
|
119
119
|
##### Example
|
|
120
120
|
`{"credits_charged": 5, "frame_cost": 5, "id": "cuid-example"}`
|
|
121
121
|
|
|
122
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_image_upscaler
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Image Upscaler Generate Workflow <a name="generate"></a>
|
|
@@ -61,7 +62,6 @@ res = await client.v1.ai_image_upscaler.generate(
|
|
|
61
62
|
```
|
|
62
63
|
|
|
63
64
|
<!-- CUSTOM DOCS END -->
|
|
64
|
-
|
|
65
65
|
### AI Image Upscaler <a name="create"></a>
|
|
66
66
|
|
|
67
67
|
Upscale your image using AI. Each 2x upscale costs 50 credits, and 4x upscale costs 200 credits.
|
|
@@ -120,3 +120,4 @@ res = await client.v1.ai_image_upscaler.create(
|
|
|
120
120
|
##### Example
|
|
121
121
|
`{"credits_charged": 50, "frame_cost": 50, "id": "cuid-example"}`
|
|
122
122
|
|
|
123
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_meme_generator
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Meme Generator Generate Workflow <a name="generate"></a>
|
|
@@ -65,7 +66,6 @@ res = await client.v1.ai_meme_generator.generate(
|
|
|
65
66
|
```
|
|
66
67
|
|
|
67
68
|
<!-- CUSTOM DOCS END -->
|
|
68
|
-
|
|
69
69
|
### AI Meme Generator <a name="create"></a>
|
|
70
70
|
|
|
71
71
|
Create an AI generated meme. Each meme costs 10 credits.
|
|
@@ -126,3 +126,4 @@ res = await client.v1.ai_meme_generator.create(
|
|
|
126
126
|
##### Example
|
|
127
127
|
`{"credits_charged": 10, "frame_cost": 10, "id": "cuid-example"}`
|
|
128
128
|
|
|
129
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_photo_editor
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Photo Editor Generate Workflow <a name="generate"></a>
|
|
@@ -79,7 +80,6 @@ res = await client.v1.ai_photo_editor.generate(
|
|
|
79
80
|
```
|
|
80
81
|
|
|
81
82
|
<!-- CUSTOM DOCS END -->
|
|
82
|
-
|
|
83
83
|
### AI Photo Editor <a name="create"></a>
|
|
84
84
|
|
|
85
85
|
> **NOTE**: this API is still in early development stages, and should be avoided. Please reach out to us if you're interested in this API.
|
|
@@ -165,3 +165,4 @@ res = await client.v1.ai_photo_editor.create(
|
|
|
165
165
|
##### Example
|
|
166
166
|
`{"credits_charged": 10, "frame_cost": 10, "id": "cuid-example"}`
|
|
167
167
|
|
|
168
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_qr_code_generator
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Qr Code Generator Generate Workflow <a name="generate"></a>
|
|
@@ -59,7 +60,6 @@ res = await client.v1.ai_qr_code_generator.generate(
|
|
|
59
60
|
```
|
|
60
61
|
|
|
61
62
|
<!-- CUSTOM DOCS END -->
|
|
62
|
-
|
|
63
63
|
### AI QR Code <a name="create"></a>
|
|
64
64
|
|
|
65
65
|
Create an AI QR code. Each QR code costs 20 credits.
|
|
@@ -113,3 +113,4 @@ res = await client.v1.ai_qr_code_generator.create(
|
|
|
113
113
|
##### Example
|
|
114
114
|
`{"credits_charged": 20, "frame_cost": 20, "id": "cuid-example"}`
|
|
115
115
|
|
|
116
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.ai_talking_photo
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Ai Talking Photo Generate Workflow <a name="generate"></a>
|
|
@@ -67,7 +68,6 @@ res = await client.v1.ai_talking_photo.generate(
|
|
|
67
68
|
```
|
|
68
69
|
|
|
69
70
|
<!-- CUSTOM DOCS END -->
|
|
70
|
-
|
|
71
71
|
### AI Talking Photo <a name="create"></a>
|
|
72
72
|
|
|
73
73
|
Create a talking photo from an image and audio or text input.
|
|
@@ -85,7 +85,7 @@ Create a talking photo from an image and audio or text input.
|
|
|
85
85
|
| `start_seconds` | ✓ | The start time of the input audio in seconds. The maximum duration allowed is 60 seconds. | `0.0` |
|
|
86
86
|
| `name` | ✗ | The name of image. This value is mainly used for your own identification of the image. | `"Talking Photo image"` |
|
|
87
87
|
| `style` | ✗ | Attributes used to dictate the style of the output | `{"generation_mode": "expressive", "intensity": 1.5}` |
|
|
88
|
-
| `└─ generation_mode` | ✗ | Controls overall motion style. * `expressive` - More motion and facial expressiveness; may introduce visual artifacts. * `stable` - Reduced motion for cleaner output; may result in minimal animation. | `"expressive"` |
|
|
88
|
+
| `└─ 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
89
|
| `└─ 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` |
|
|
90
90
|
|
|
91
91
|
#### Synchronous Client
|
|
@@ -134,3 +134,4 @@ res = await client.v1.ai_talking_photo.create(
|
|
|
134
134
|
##### Example
|
|
135
135
|
`{"credits_charged": 450, "estimated_frame_cost": 450, "id": "cuid-example"}`
|
|
136
136
|
|
|
137
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.animation
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Animation Generate Workflow <a name="generate"></a>
|
|
@@ -87,7 +88,6 @@ res = await client.v1.animation.generate(
|
|
|
87
88
|
```
|
|
88
89
|
|
|
89
90
|
<!-- CUSTOM DOCS END -->
|
|
90
|
-
|
|
91
91
|
### Animation <a name="create"></a>
|
|
92
92
|
|
|
93
93
|
Create a Animation video. The estimated frame cost is calculated based on the `fps` and `end_seconds` input.
|
|
@@ -182,3 +182,4 @@ res = await client.v1.animation.create(
|
|
|
182
182
|
##### Example
|
|
183
183
|
`{"credits_charged": 450, "estimated_frame_cost": 450, "id": "cuid-example"}`
|
|
184
184
|
|
|
185
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.auto_subtitle_generator
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Auto Subtitle Generator Generate Workflow <a name="generate"></a>
|
|
@@ -63,7 +64,6 @@ res = await client.v1.auto_subtitle_generator.generate(
|
|
|
63
64
|
```
|
|
64
65
|
|
|
65
66
|
<!-- CUSTOM DOCS END -->
|
|
66
|
-
|
|
67
67
|
### Auto Subtitle Generator <a name="create"></a>
|
|
68
68
|
|
|
69
69
|
Automatically generate subtitles for your video in multiple languages.
|
|
@@ -125,3 +125,4 @@ res = await client.v1.auto_subtitle_generator.create(
|
|
|
125
125
|
##### Example
|
|
126
126
|
`{"credits_charged": 450, "estimated_frame_cost": 450, "id": "cuid-example"}`
|
|
127
127
|
|
|
128
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.face_detection
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Face Detection Generate Workflow <a name="generate"></a>
|
|
@@ -55,7 +56,6 @@ res = await client.v1.face_detection.generate(
|
|
|
55
56
|
```
|
|
56
57
|
|
|
57
58
|
<!-- CUSTOM DOCS END -->
|
|
58
|
-
|
|
59
59
|
### Get face detection details <a name="get"></a>
|
|
60
60
|
|
|
61
61
|
Get the details of a face detection task.
|
|
@@ -152,3 +152,4 @@ res = await client.v1.face_detection.create(
|
|
|
152
152
|
##### Example
|
|
153
153
|
`{"credits_charged": 123, "id": "uuid-example"}`
|
|
154
154
|
|
|
155
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.face_swap
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Face Swap Generate Workflow <a name="generate"></a>
|
|
@@ -85,7 +86,6 @@ res = await client.v1.face_swap.generate(
|
|
|
85
86
|
```
|
|
86
87
|
|
|
87
88
|
<!-- CUSTOM DOCS END -->
|
|
88
|
-
|
|
89
89
|
### Face Swap video <a name="create"></a>
|
|
90
90
|
|
|
91
91
|
Create a Face Swap video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
@@ -177,3 +177,5 @@ res = await client.v1.face_swap.create(
|
|
|
177
177
|
|
|
178
178
|
##### Example
|
|
179
179
|
`{"credits_charged": 450, "estimated_frame_cost": 450, "id": "cuid-example"}`
|
|
180
|
+
|
|
181
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.face_swap_photo
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Face Swap Photo Generate Workflow <a name="generate"></a>
|
|
@@ -77,7 +78,6 @@ res = await client.v1.face_swap_photo.generate(
|
|
|
77
78
|
```
|
|
78
79
|
|
|
79
80
|
<!-- CUSTOM DOCS END -->
|
|
80
|
-
|
|
81
81
|
### Face Swap Photo <a name="create"></a>
|
|
82
82
|
|
|
83
83
|
Create a face swap photo. Each photo costs 5 credits. The height/width of the output image depends on your subscription. Please refer to our [pricing](https://magichour.ai/pricing) page for more details
|
|
@@ -151,3 +151,4 @@ res = await client.v1.face_swap_photo.create(
|
|
|
151
151
|
##### Example
|
|
152
152
|
`{"credits_charged": 5, "frame_cost": 5, "id": "cuid-example"}`
|
|
153
153
|
|
|
154
|
+
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.files
|
|
2
|
+
|
|
2
3
|
|
|
3
4
|
<!-- CUSTOM DOCS START -->
|
|
4
5
|
|
|
@@ -35,6 +36,7 @@ file_path = await client.v1.files.upload_file("/path/to/your/image.jpg")
|
|
|
35
36
|
|
|
36
37
|
<!-- CUSTOM DOCS END -->
|
|
37
38
|
|
|
39
|
+
|
|
38
40
|
## Submodules
|
|
39
41
|
- [upload_urls](upload_urls/README.md) - upload_urls
|
|
40
42
|
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.files.upload_urls
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
-
<!-- CUSTOM DOCS START -->
|
|
6
|
-
|
|
7
|
-
<!-- CUSTOM DOCS END -->
|
|
8
|
-
|
|
9
5
|
### Generate asset upload urls <a name="create"></a>
|
|
10
6
|
|
|
11
7
|
Generates a list of pre-signed upload URLs for the assets required. This API is only necessary if you want to upload to Magic Hour's storage. Refer to the [Input Files Guide](/integration/input-files) for more details.
|
|
@@ -77,3 +73,4 @@ res = await client.v1.files.upload_urls.create(
|
|
|
77
73
|
##### Example
|
|
78
74
|
`{"items": [{"expires_at": "2024-07-25T16:56:21.932Z", "file_path": "api-assets/id/video.mp4", "upload_url": "https://videos.magichour.ai/api-assets/id/video.mp4?auth-value=1234567890"}, {"expires_at": "2024-07-25T16:56:21.932Z", "file_path": "api-assets/id/audio.mp3", "upload_url": "https://videos.magichour.ai/api-assets/id/audio.mp3?auth-value=1234567890"}]}`
|
|
79
75
|
|
|
76
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.image_background_remover
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Image Background Remover Generate Workflow <a name="generate"></a>
|
|
@@ -63,7 +64,6 @@ res = await client.v1.image_background_remover.generate(
|
|
|
63
64
|
```
|
|
64
65
|
|
|
65
66
|
<!-- CUSTOM DOCS END -->
|
|
66
|
-
|
|
67
67
|
### Image Background Remover <a name="create"></a>
|
|
68
68
|
|
|
69
69
|
Remove background from image. Each image costs 5 credits.
|
|
@@ -121,3 +121,4 @@ res = await client.v1.image_background_remover.create(
|
|
|
121
121
|
##### Example
|
|
122
122
|
`{"credits_charged": 5, "frame_cost": 5, "id": "cuid-example"}`
|
|
123
123
|
|
|
124
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.image_projects
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Check results <a name="check-result"></a>
|
|
@@ -49,7 +50,6 @@ res = await client.v1.image_projects.check_result(
|
|
|
49
50
|
```
|
|
50
51
|
|
|
51
52
|
<!-- CUSTOM DOCS END -->
|
|
52
|
-
|
|
53
53
|
### Delete image <a name="delete"></a>
|
|
54
54
|
|
|
55
55
|
Permanently delete the rendered image(s). This action is not reversible, please be sure before deleting.
|
|
@@ -135,3 +135,4 @@ res = await client.v1.image_projects.get(id="cuid-example")
|
|
|
135
135
|
##### Example
|
|
136
136
|
`{"created_at": "1970-01-01T00:00:00", "credits_charged": 5, "downloads": [{"expires_at": "2024-10-19T05:16:19.027Z", "url": "https://videos.magichour.ai/id/output.png"}], "enabled": True, "error": {"code": "no_source_face", "message": "Please use an image with a detectable face"}, "id": "cuid-example", "image_count": 1, "name": "Example Name", "status": "complete", "total_frame_cost": 5, "type_": "AI_IMAGE"}`
|
|
137
137
|
|
|
138
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.image_to_video
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Image To Video Generate Workflow <a name="generate"></a>
|
|
@@ -61,7 +62,6 @@ res = await client.v1.image_to_video.generate(
|
|
|
61
62
|
```
|
|
62
63
|
|
|
63
64
|
<!-- CUSTOM DOCS END -->
|
|
64
|
-
|
|
65
65
|
### Image-to-Video <a name="create"></a>
|
|
66
66
|
|
|
67
67
|
Create a Image To Video video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
@@ -127,3 +127,4 @@ res = await client.v1.image_to_video.create(
|
|
|
127
127
|
##### Example
|
|
128
128
|
`{"credits_charged": 450, "estimated_frame_cost": 450, "id": "cuid-example"}`
|
|
129
129
|
|
|
130
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.lip_sync
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Lip Sync Generate Workflow <a name="generate"></a>
|
|
@@ -71,7 +72,6 @@ res = await client.v1.lip_sync.generate(
|
|
|
71
72
|
```
|
|
72
73
|
|
|
73
74
|
<!-- CUSTOM DOCS END -->
|
|
74
|
-
|
|
75
75
|
### Lip Sync <a name="create"></a>
|
|
76
76
|
|
|
77
77
|
Create a Lip Sync video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
@@ -147,3 +147,4 @@ res = await client.v1.lip_sync.create(
|
|
|
147
147
|
##### Example
|
|
148
148
|
`{"credits_charged": 450, "estimated_frame_cost": 450, "id": "cuid-example"}`
|
|
149
149
|
|
|
150
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.photo_colorizer
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Photo Colorizer Generate Workflow <a name="generate"></a>
|
|
@@ -55,7 +56,6 @@ res = await client.v1.photo_colorizer.generate(
|
|
|
55
56
|
```
|
|
56
57
|
|
|
57
58
|
<!-- CUSTOM DOCS END -->
|
|
58
|
-
|
|
59
59
|
### Photo Colorizer <a name="create"></a>
|
|
60
60
|
|
|
61
61
|
Colorize image. Each image costs 5 credits.
|
|
@@ -104,3 +104,4 @@ res = await client.v1.photo_colorizer.create(
|
|
|
104
104
|
##### Example
|
|
105
105
|
`{"credits_charged": 5, "frame_cost": 5, "id": "cuid-example"}`
|
|
106
106
|
|
|
107
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.text_to_video
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Text To Video Generate Workflow <a name="generate"></a>
|
|
@@ -63,7 +64,6 @@ res = await client.v1.text_to_video.generate(
|
|
|
63
64
|
```
|
|
64
65
|
|
|
65
66
|
<!-- CUSTOM DOCS END -->
|
|
66
|
-
|
|
67
67
|
### Text-to-Video <a name="create"></a>
|
|
68
68
|
|
|
69
69
|
Create a Text To Video video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
@@ -127,3 +127,4 @@ res = await client.v1.text_to_video.create(
|
|
|
127
127
|
##### Example
|
|
128
128
|
`{"credits_charged": 450, "estimated_frame_cost": 450, "id": "cuid-example"}`
|
|
129
129
|
|
|
130
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.video_projects
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Check results <a name="check-result"></a>
|
|
@@ -49,7 +50,6 @@ res = await client.v1.video_projects.check_result(
|
|
|
49
50
|
```
|
|
50
51
|
|
|
51
52
|
<!-- CUSTOM DOCS END -->
|
|
52
|
-
|
|
53
53
|
### Delete video <a name="delete"></a>
|
|
54
54
|
|
|
55
55
|
Permanently delete the rendered video. This action is not reversible, please be sure before deleting.
|
|
@@ -135,3 +135,4 @@ res = await client.v1.video_projects.get(id="cuid-example")
|
|
|
135
135
|
##### Example
|
|
136
136
|
`{"created_at": "1970-01-01T00:00:00", "credits_charged": 450, "download": {"expires_at": "2024-10-19T05:16:19.027Z", "url": "https://videos.magichour.ai/id/output.mp4"}, "downloads": [{"expires_at": "2024-10-19T05:16:19.027Z", "url": "https://videos.magichour.ai/id/output.mp4"}], "enabled": True, "end_seconds": 15.0, "error": {"code": "no_source_face", "message": "Please use an image with a detectable face"}, "fps": 30.0, "height": 960, "id": "cuid-example", "name": "Example Name", "start_seconds": 0.0, "status": "complete", "total_frame_cost": 450, "type_": "FACE_SWAP", "width": 512}`
|
|
137
137
|
|
|
138
|
+
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# v1.video_to_video
|
|
2
2
|
|
|
3
3
|
## Module Functions
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
<!-- CUSTOM DOCS START -->
|
|
6
7
|
|
|
7
8
|
### Video To Video Generate Workflow <a name="generate"></a>
|
|
@@ -77,7 +78,6 @@ res = await client.v1.video_to_video.generate(
|
|
|
77
78
|
```
|
|
78
79
|
|
|
79
80
|
<!-- CUSTOM DOCS END -->
|
|
80
|
-
|
|
81
81
|
### Video-to-Video <a name="create"></a>
|
|
82
82
|
|
|
83
83
|
Create a Video To Video video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
@@ -164,3 +164,4 @@ res = await client.v1.video_to_video.create(
|
|
|
164
164
|
##### Example
|
|
165
165
|
`{"credits_charged": 450, "estimated_frame_cost": 450, "id": "cuid-example"}`
|
|
166
166
|
|
|
167
|
+
|
|
@@ -53,6 +53,7 @@ class V1VideoToVideoCreateBodyStyle(typing_extensions.TypedDict):
|
|
|
53
53
|
"Oil Painting",
|
|
54
54
|
"On Fire",
|
|
55
55
|
"Origami",
|
|
56
|
+
"Painterly Anime",
|
|
56
57
|
"Pixar",
|
|
57
58
|
"Pixel",
|
|
58
59
|
"Power Armor",
|
|
@@ -168,6 +169,7 @@ class _SerializerV1VideoToVideoCreateBodyStyle(pydantic.BaseModel):
|
|
|
168
169
|
"Oil Painting",
|
|
169
170
|
"On Fire",
|
|
170
171
|
"Origami",
|
|
172
|
+
"Painterly Anime",
|
|
171
173
|
"Pixar",
|
|
172
174
|
"Pixel",
|
|
173
175
|
"Power Armor",
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
magic_hour/README.md,sha256=
|
|
1
|
+
magic_hour/README.md,sha256=aNuCY2MfbJnUJNa3eM8Py0CiXMNq4_27estRpCaHILM,2099
|
|
2
2
|
magic_hour/__init__.py,sha256=ypWA4msPy3T-U2PAyRSAXIQc0m2J9aY8wXnfmIupAEc,214
|
|
3
3
|
magic_hour/client.py,sha256=oHuz0FRKuedtwwPSkFLaSjoEWt_0N57hJ0rEDKbNcFw,1712
|
|
4
|
-
magic_hour/environment.py,sha256=
|
|
4
|
+
magic_hour/environment.py,sha256=u__txQYzQBFFUhHPytsIl9vDHknI-WThVo97UWSybnc,535
|
|
5
5
|
magic_hour/helpers/__init__.py,sha256=pO6sgb41iVe_IN2dApfl2l3BXOWIb4i5pHl_if-oo_E,176
|
|
6
6
|
magic_hour/helpers/download.py,sha256=wZR-gddqU2rWzltHN2zqqaHaShHG33yx7BIlUn1jXG8,2212
|
|
7
7
|
magic_hour/helpers/logger.py,sha256=Z8ljney670Kc8DaSzlHdH9N8RXmj2_qWPovLUoC0tNY,210
|
|
8
|
-
magic_hour/resources/v1/README.md,sha256=
|
|
8
|
+
magic_hour/resources/v1/README.md,sha256=GRkNvkp7lH1cUbqCaPE1sbD-PLvXDsv3j-GFMI8x3eI,1657
|
|
9
9
|
magic_hour/resources/v1/__init__.py,sha256=Aj0sjVcoijjQyieNBxv2_uewPYC2vO2UG-ehoBgCz5E,86
|
|
10
|
-
magic_hour/resources/v1/ai_clothes_changer/README.md,sha256=
|
|
10
|
+
magic_hour/resources/v1/ai_clothes_changer/README.md,sha256=qo8O8-9uD37w4Zd206z2h7CdEqWlnBNfpn0c5MVoOzI,4574
|
|
11
11
|
magic_hour/resources/v1/ai_clothes_changer/__init__.py,sha256=6W_Y2HxG2sDOBiJyzngK3Q2S3xfQgpK-j8xFRmBAhbQ,142
|
|
12
12
|
magic_hour/resources/v1/ai_clothes_changer/client.py,sha256=CdSE1ZiygLFusVpgCCFoqgIu1z8geN2XVUMxxgsSkAA,9963
|
|
13
|
-
magic_hour/resources/v1/ai_face_editor/README.md,sha256=
|
|
13
|
+
magic_hour/resources/v1/ai_face_editor/README.md,sha256=O24NQdtS-6Tbdlb75KXg6ljYx4lxUiqpa-XS45_xBVs,7272
|
|
14
14
|
magic_hour/resources/v1/ai_face_editor/__init__.py,sha256=RY8GBMQcqsDFbFcUuK-4LPvablq-U9XmSSlQk4HLKmM,126
|
|
15
15
|
magic_hour/resources/v1/ai_face_editor/client.py,sha256=qo8Lj7s0a9vanOMzWb5lw0FyrrcstQ-kUvfBkiBipGY,12313
|
|
16
|
-
magic_hour/resources/v1/ai_gif_generator/README.md,sha256=
|
|
16
|
+
magic_hour/resources/v1/ai_gif_generator/README.md,sha256=qT1luvP4ntpDZ30v1urldqLvbuG0cyjeN0vqelgF91I,3162
|
|
17
17
|
magic_hour/resources/v1/ai_gif_generator/__init__.py,sha256=SG_WmxUnpQWlfNQoHfdXPEGQEPC0WZPgom8ATaR9jiY,134
|
|
18
18
|
magic_hour/resources/v1/ai_gif_generator/client.py,sha256=IqRoCAkVzPge6lx5UEZc_XrVUts4yKXItU9W-SA02GM,9156
|
|
19
|
-
magic_hour/resources/v1/ai_headshot_generator/README.md,sha256=
|
|
19
|
+
magic_hour/resources/v1/ai_headshot_generator/README.md,sha256=NkRw-kozcdxU28uYyXNVyn6QowyCmEzWUbJfmF6J4hk,3860
|
|
20
20
|
magic_hour/resources/v1/ai_headshot_generator/__init__.py,sha256=4WZ3jfrL2yPhQaPalMJrUEykwUoF3KBtop2VJEij-0s,154
|
|
21
21
|
magic_hour/resources/v1/ai_headshot_generator/client.py,sha256=Ts_aLrp6M825opYZsJ66g1Ma4XOzvKwNdVFmUC4KSkQ,9979
|
|
22
|
-
magic_hour/resources/v1/ai_image_editor/README.md,sha256=
|
|
22
|
+
magic_hour/resources/v1/ai_image_editor/README.md,sha256=wBwp5KSt-OzfHJas2_H-nOP5L7k3YrEoAQ1uKlz1lAM,3748
|
|
23
23
|
magic_hour/resources/v1/ai_image_editor/__init__.py,sha256=VvGqS2j_VQ7iz8TueD2R2L0YLlRsqRyGBSP4Tf-Uml8,130
|
|
24
24
|
magic_hour/resources/v1/ai_image_editor/client.py,sha256=77prh_ckyXxfEhIENrDAVcQRqTiAJ9ruDJO6UWpyRlU,9483
|
|
25
|
-
magic_hour/resources/v1/ai_image_generator/README.md,sha256=
|
|
25
|
+
magic_hour/resources/v1/ai_image_generator/README.md,sha256=6mdWzzwqPMpZuJD8qa0vkE5otH_d7aWNYbqO7uimeug,3581
|
|
26
26
|
magic_hour/resources/v1/ai_image_generator/__init__.py,sha256=qZws7N5CALYAbnIUc2ERV8Cy-QJmHcJ9tU7W-epEnaQ,142
|
|
27
27
|
magic_hour/resources/v1/ai_image_generator/client.py,sha256=FQmoaq1pgnbs02Y6lzhaTyIYEUUGeTbxA1DWTl2ttJc,10102
|
|
28
|
-
magic_hour/resources/v1/ai_image_upscaler/README.md,sha256=
|
|
28
|
+
magic_hour/resources/v1/ai_image_upscaler/README.md,sha256=UoVRL8RJglF-_wJy5h-zoCLPpViz_rN8Mpe0SZqfWQg,4129
|
|
29
29
|
magic_hour/resources/v1/ai_image_upscaler/__init__.py,sha256=9b1-2XfnAVa4qE3S-4WL8vN3wuqLkUuHKjdl_km8hUc,138
|
|
30
30
|
magic_hour/resources/v1/ai_image_upscaler/client.py,sha256=WPqVMzN1-O1IVxkAMx0O1M4VRZ1cl7QPi94Ej2E5sBM,10713
|
|
31
|
-
magic_hour/resources/v1/ai_meme_generator/README.md,sha256=
|
|
31
|
+
magic_hour/resources/v1/ai_meme_generator/README.md,sha256=Z83OboObFS5hx02E3TnVnxKBfkLQVDXgdANgsYHbktE,3545
|
|
32
32
|
magic_hour/resources/v1/ai_meme_generator/__init__.py,sha256=x4vtin1KKvoA-va7vhaQ91c__M2z3PmDySLX7yJpRDA,138
|
|
33
33
|
magic_hour/resources/v1/ai_meme_generator/client.py,sha256=jtWQj_k_MZhoyT1nhXkg8YIeVTIPHw66G-tmGcZlOa4,8679
|
|
34
|
-
magic_hour/resources/v1/ai_photo_editor/README.md,sha256=
|
|
34
|
+
magic_hour/resources/v1/ai_photo_editor/README.md,sha256=LXANPeRfvfrfjlnm2ZA-ZVtH7jCi9jRxeFH15CS6iSI,7211
|
|
35
35
|
magic_hour/resources/v1/ai_photo_editor/__init__.py,sha256=RPG6WaL2KN_DmgrtxImA_jNnEDMm-Ku2o2m2EnNwxts,130
|
|
36
36
|
magic_hour/resources/v1/ai_photo_editor/client.py,sha256=xdNR8PX2C0VHVETTjFIpcMZygOMnFKrIQSYr6AF5uVk,13221
|
|
37
|
-
magic_hour/resources/v1/ai_qr_code_generator/README.md,sha256=
|
|
37
|
+
magic_hour/resources/v1/ai_qr_code_generator/README.md,sha256=SSl03dLqtR89WQ-2oBRUtU3UCd_OwQyiO1zuND1T1YM,3381
|
|
38
38
|
magic_hour/resources/v1/ai_qr_code_generator/__init__.py,sha256=HnSTg7tB8M5LibZoCDRdE5Q71efmiqZIkNEve5SO1Mg,146
|
|
39
39
|
magic_hour/resources/v1/ai_qr_code_generator/client.py,sha256=rLw0V6cE2AncqM9Bz_mRXWkmkdVasS44BBWLLX4GQSc,8771
|
|
40
|
-
magic_hour/resources/v1/ai_talking_photo/README.md,sha256=
|
|
40
|
+
magic_hour/resources/v1/ai_talking_photo/README.md,sha256=NZOJOpDwvsV5oo3V-8stJKHXJ7GkFeyl84dljhr5c74,5466
|
|
41
41
|
magic_hour/resources/v1/ai_talking_photo/__init__.py,sha256=ZTDD_IRBoR7GSdGWCVEK2-LOEsKUdGEHZZvDHa9MOnA,134
|
|
42
42
|
magic_hour/resources/v1/ai_talking_photo/client.py,sha256=kbFM3peM5NEzUle1miup7Xe2q_HwL7u7kzuD1DkcEBc,12529
|
|
43
|
-
magic_hour/resources/v1/animation/README.md,sha256=
|
|
43
|
+
magic_hour/resources/v1/animation/README.md,sha256=3BX4dr5RjIZZaJyjxwSp1oPztWkxt2ROtDiCLLFUQ3c,7600
|
|
44
44
|
magic_hour/resources/v1/animation/__init__.py,sha256=M6KUe6TEZl_DAdyn1HFQ2kHYanZo6xy3mvUdCN264hQ,114
|
|
45
45
|
magic_hour/resources/v1/animation/client.py,sha256=vVoYF6P-OU83kAXwZyRJngv6C_zoArXXuM6nTPy-Jvw,15447
|
|
46
|
-
magic_hour/resources/v1/auto_subtitle_generator/README.md,sha256=
|
|
46
|
+
magic_hour/resources/v1/auto_subtitle_generator/README.md,sha256=e5G5wm1KSlsZ8TRlF25clLuqRIelaAMmEOtVkisJ_1I,5307
|
|
47
47
|
magic_hour/resources/v1/auto_subtitle_generator/__init__.py,sha256=dnWFEiSdIl3AwFVprqWHSMzqpeHgZz9wPEMxm7c3Xnc,162
|
|
48
48
|
magic_hour/resources/v1/auto_subtitle_generator/client.py,sha256=QZREuGcgIVc3hNaBvTfDuBRj0pvnr_uu0YzFkFhsd_s,14803
|
|
49
49
|
magic_hour/resources/v1/client.py,sha256=FI5p4G51h6zd3RnUtIhl9ytWpShCTFIitxed7DCNXkQ,7564
|
|
50
|
-
magic_hour/resources/v1/face_detection/README.md,sha256=
|
|
50
|
+
magic_hour/resources/v1/face_detection/README.md,sha256=C48uqAowy0PU63tcvyqiDyrfKTDKPv8fgIKsTa7G7d4,5247
|
|
51
51
|
magic_hour/resources/v1/face_detection/__init__.py,sha256=gGsbucNf0ibSUORv4FBlzTmMHAKEnPZuIqmhh7Qjxfk,246
|
|
52
52
|
magic_hour/resources/v1/face_detection/client.py,sha256=v35yArONM6OuQ0Ze_fwpHt_eSHdYcs4teR0gRMjcGdA,14831
|
|
53
|
-
magic_hour/resources/v1/face_swap/README.md,sha256=
|
|
53
|
+
magic_hour/resources/v1/face_swap/README.md,sha256=_beu32IaFyQNm43bwLwWjjwOgfrkAk5edPB5RCQOsyY,8576
|
|
54
54
|
magic_hour/resources/v1/face_swap/__init__.py,sha256=lyg5uAHyYHEUVAiAZtP3zwjGCEGqq8IWbQKexVdhr00,110
|
|
55
55
|
magic_hour/resources/v1/face_swap/client.py,sha256=AYkOAoCGrGvhMeuQe9yTad4krx81S9S5e8l5wNIn3RI,19783
|
|
56
|
-
magic_hour/resources/v1/face_swap_photo/README.md,sha256=
|
|
56
|
+
magic_hour/resources/v1/face_swap_photo/README.md,sha256=m2EUuwHmWPBV8CqJQSdxSHyjPN09-1houKYcgTLCCow,5945
|
|
57
57
|
magic_hour/resources/v1/face_swap_photo/__init__.py,sha256=NZEplYX5kDPL_0qY0Q5tuxhDevipN0otByTYKMmF_1k,130
|
|
58
58
|
magic_hour/resources/v1/face_swap_photo/client.py,sha256=dXolLVvto4h13QcEYd2gQ1E-aNn5EAAi5QwUl1durOU,11739
|
|
59
|
-
magic_hour/resources/v1/files/README.md,sha256=
|
|
59
|
+
magic_hour/resources/v1/files/README.md,sha256=YUoNgXiCtsYHoG5cYRfTogmxA5nXwKiliQCrL0HYtyY,1069
|
|
60
60
|
magic_hour/resources/v1/files/__init__.py,sha256=ucXmaXDdZqXfRhnnioJeQAXeRLzBDb44gTfWijrub28,98
|
|
61
61
|
magic_hour/resources/v1/files/client.py,sha256=wVIKaz7NzKsdASbKyhQzcaHrFkluEAQBtZ5fynebUSY,13281
|
|
62
62
|
magic_hour/resources/v1/files/client_test.py,sha256=4mUFWuxr9R0YmeZ468KPvt8p4zUvZBhPcbszHBtLE4s,13970
|
|
63
|
-
magic_hour/resources/v1/files/upload_urls/README.md,sha256=
|
|
63
|
+
magic_hour/resources/v1/files/upload_urls/README.md,sha256=gXDVub5CeAeVE7uX-26_ghvqwsxr-29gz_x5Zlw82J4,2354
|
|
64
64
|
magic_hour/resources/v1/files/upload_urls/__init__.py,sha256=hRp0s_emx-wib7z42V4L9VzYR9MQ3hnmS5bNv4QtfFM,118
|
|
65
65
|
magic_hour/resources/v1/files/upload_urls/client.py,sha256=ZosQgveds46TZJQzZO5qWT6qINEVrKcLiYjRmk3evKs,5218
|
|
66
|
-
magic_hour/resources/v1/image_background_remover/README.md,sha256=
|
|
66
|
+
magic_hour/resources/v1/image_background_remover/README.md,sha256=W8_Kx620r-qnZJreFnkzz8dnd3rg-tVGl0xTrjAC-uQ,4527
|
|
67
67
|
magic_hour/resources/v1/image_background_remover/__init__.py,sha256=Vb_e8zKEh7bdrq0q1175DqyOd1ptPBUIfSKSLFPBVU4,166
|
|
68
68
|
magic_hour/resources/v1/image_background_remover/client.py,sha256=SPRZjRJPTu2zpRRq3BRna9Rl0fywOBfo5DgNhn3gqdM,9367
|
|
69
|
-
magic_hour/resources/v1/image_projects/README.md,sha256=
|
|
69
|
+
magic_hour/resources/v1/image_projects/README.md,sha256=9zehsjCiA40rh65rsoHjNEBDdXnX3P16VbcZbD1l8LI,4405
|
|
70
70
|
magic_hour/resources/v1/image_projects/__init__.py,sha256=FtA1OC8s-CCOwQ0AaUqlkt9IC0CIZ4_p65E97m3ZcGE,246
|
|
71
71
|
magic_hour/resources/v1/image_projects/client.py,sha256=gDhND6b2KkIHEbAHJgYUjQeCsxLFGi2P7zTjg2CDyjc,10993
|
|
72
72
|
magic_hour/resources/v1/image_projects/client_test.py,sha256=5KH4s0vG13SEUkB6pAa9m7M2dqBUoqIERPhAu1DgPfA,16015
|
|
73
|
-
magic_hour/resources/v1/image_to_video/README.md,sha256=
|
|
73
|
+
magic_hour/resources/v1/image_to_video/README.md,sha256=0TV7jK8qOf704MKB7AOFR6ohlyj6ef-zmNZnO_g7yPA,6271
|
|
74
74
|
magic_hour/resources/v1/image_to_video/__init__.py,sha256=tY_ABo6evwKQBRSq-M84lNX-pXqmxoozukmrO6NhCgA,126
|
|
75
75
|
magic_hour/resources/v1/image_to_video/client.py,sha256=fUajB5-kKzT3WC5u7EAeY8_N4k1_r36JmwML4GquQwc,17392
|
|
76
|
-
magic_hour/resources/v1/lip_sync/README.md,sha256=
|
|
76
|
+
magic_hour/resources/v1/lip_sync/README.md,sha256=FQH8cY6zE4xwhdkOeQKDxYMPW6EA-ZpgS5hREtihwFs,6724
|
|
77
77
|
magic_hour/resources/v1/lip_sync/__init__.py,sha256=MlKUAoHNSKcuNzVyqNfLnLtD_PsqEn3l1TtVpPC1JqQ,106
|
|
78
78
|
magic_hour/resources/v1/lip_sync/client.py,sha256=_2nMKC7ApWNuB6xFQA91d6s7SK_O28tj2kMvFNDlz90,19035
|
|
79
|
-
magic_hour/resources/v1/photo_colorizer/README.md,sha256=
|
|
79
|
+
magic_hour/resources/v1/photo_colorizer/README.md,sha256=EBBMMteNlqLlXFtasfBQftKtRK77y6NxFx12e1Ddg4g,3428
|
|
80
80
|
magic_hour/resources/v1/photo_colorizer/__init__.py,sha256=7rDjkeUzWG5GXw_4RD1XH7Ygy-_0_OUFX99IgE_RVbE,134
|
|
81
81
|
magic_hour/resources/v1/photo_colorizer/client.py,sha256=mW5VYDmsvU9phtkiY008zarM1CCaWTMTeOTY4zaWDfI,8861
|
|
82
|
-
magic_hour/resources/v1/text_to_video/README.md,sha256=
|
|
82
|
+
magic_hour/resources/v1/text_to_video/README.md,sha256=QJJc_924VYoV9ACL5vSl_xatP-672lMZx2lQO9SQDKU,4709
|
|
83
83
|
magic_hour/resources/v1/text_to_video/__init__.py,sha256=F18iHSi9tuYSdgpatznBzb7lbSySNpK-82w96-Om_k4,122
|
|
84
84
|
magic_hour/resources/v1/text_to_video/client.py,sha256=Cx7NjpcWv_5Ucl42K09jYGUzJ9l04bvBQUlBf9Fk7dI,13620
|
|
85
|
-
magic_hour/resources/v1/video_projects/README.md,sha256=
|
|
85
|
+
magic_hour/resources/v1/video_projects/README.md,sha256=tDWnNG4kFsGzbmo8AlcBXq5SUtAIXXqcIHJXS3-1sTM,4580
|
|
86
86
|
magic_hour/resources/v1/video_projects/__init__.py,sha256=Pm2S3V2tVycoR5x5zPiFCZSoeY15s5WJaR0pLkJq-Pg,246
|
|
87
87
|
magic_hour/resources/v1/video_projects/client.py,sha256=-cB6zYCKNHldfIS0LwapvhjPi9UoUKaPGrXqMXdYlGU,10955
|
|
88
88
|
magic_hour/resources/v1/video_projects/client_test.py,sha256=iOJWM0cFg4QmFOYNVRRvMPX7nCg-1rCnSUh_1aDq96A,15967
|
|
89
|
-
magic_hour/resources/v1/video_to_video/README.md,sha256=
|
|
89
|
+
magic_hour/resources/v1/video_to_video/README.md,sha256=q2Dg5gOx2Xgm7HTXwyaAT9suCHtUVuLC25XpI5vLciQ,8179
|
|
90
90
|
magic_hour/resources/v1/video_to_video/__init__.py,sha256=1SHaRLlsrlBkdxxKBYgdbHrGATlRvqlXc22RpjjHaOA,126
|
|
91
91
|
magic_hour/resources/v1/video_to_video/client.py,sha256=JkwmlBVa1VR0KFhzgLSdQjzu-CTc2eqisdgeixzTIi0,20060
|
|
92
92
|
magic_hour/types/models/__init__.py,sha256=VLH_NXpUAVSZd16zlv4DobqAQdQFPWkWORqttLv5iDw,4048
|
|
@@ -201,9 +201,9 @@ magic_hour/types/params/v1_text_to_video_create_body.py,sha256=XgYc5yVUPnNKTYeEp
|
|
|
201
201
|
magic_hour/types/params/v1_text_to_video_create_body_style.py,sha256=cEZO917hipE4PbIy2vRdmUO2tSRqJcW9vge9z30-aB0,1173
|
|
202
202
|
magic_hour/types/params/v1_video_to_video_create_body.py,sha256=BV52jJcXnOsKaw-MMK6iS4O4jtkMRH9QtQnZh68Oi0Q,3735
|
|
203
203
|
magic_hour/types/params/v1_video_to_video_create_body_assets.py,sha256=XwdoqT1x5ElcWb6qUfmtabNsyaatEsOygB4gJ154y-M,1660
|
|
204
|
-
magic_hour/types/params/v1_video_to_video_create_body_style.py,sha256=
|
|
204
|
+
magic_hour/types/params/v1_video_to_video_create_body_style.py,sha256=OIKcPiN9uAEf_G8aJcuZHdprr4fe_Ssc5YhPfPuiD3k,5807
|
|
205
205
|
magic_hour/types/params/v1_video_to_video_generate_body_assets.py,sha256=j06Y1RKZKwEXW9Zdfhr3Lntx7eDAKpH-k1N1XkKuqPM,915
|
|
206
|
-
magic_hour-0.
|
|
207
|
-
magic_hour-0.
|
|
208
|
-
magic_hour-0.
|
|
209
|
-
magic_hour-0.
|
|
206
|
+
magic_hour-0.39.0.dist-info/LICENSE,sha256=F3fxj7JXPgB2K0uj8YXRsVss4u-Dgt_-U3V4VXsivNI,1070
|
|
207
|
+
magic_hour-0.39.0.dist-info/METADATA,sha256=fZIcbd5YUfMg21AzZC1Cc1-zMJCcM_UNMysp_GHak3Y,12559
|
|
208
|
+
magic_hour-0.39.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
209
|
+
magic_hour-0.39.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|