magic_hour 0.9.1__py3-none-any.whl → 0.9.2__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/environment.py +1 -1
- magic_hour/resources/v1/ai_image_upscaler/README.md +2 -2
- magic_hour/resources/v1/ai_image_upscaler/client.py +2 -2
- {magic_hour-0.9.1.dist-info → magic_hour-0.9.2.dist-info}/METADATA +1 -1
- {magic_hour-0.9.1.dist-info → magic_hour-0.9.2.dist-info}/RECORD +7 -7
- {magic_hour-0.9.1.dist-info → magic_hour-0.9.2.dist-info}/LICENSE +0 -0
- {magic_hour-0.9.1.dist-info → magic_hour-0.9.2.dist-info}/WHEEL +0 -0
magic_hour/environment.py
CHANGED
|
@@ -15,7 +15,7 @@ from os import getenv
|
|
|
15
15
|
client = Client(token=getenv("API_TOKEN"))
|
|
16
16
|
res = client.v1.ai_image_upscaler.create(
|
|
17
17
|
assets={"image_file_path": "api-assets/id/1234.png"},
|
|
18
|
-
scale_factor=
|
|
18
|
+
scale_factor=2.0,
|
|
19
19
|
style={"enhancement": "Balanced"},
|
|
20
20
|
name="Image Upscaler image",
|
|
21
21
|
)
|
|
@@ -30,7 +30,7 @@ from os import getenv
|
|
|
30
30
|
client = AsyncClient(token=getenv("API_TOKEN"))
|
|
31
31
|
res = await client.v1.ai_image_upscaler.create(
|
|
32
32
|
assets={"image_file_path": "api-assets/id/1234.png"},
|
|
33
|
-
scale_factor=
|
|
33
|
+
scale_factor=2.0,
|
|
34
34
|
style={"enhancement": "Balanced"},
|
|
35
35
|
name="Image Upscaler image",
|
|
36
36
|
)
|
|
@@ -51,7 +51,7 @@ class AiImageUpscalerClient:
|
|
|
51
51
|
```py
|
|
52
52
|
client.v1.ai_image_upscaler.create(
|
|
53
53
|
assets={"image_file_path": "api-assets/id/1234.png"},
|
|
54
|
-
scale_factor=
|
|
54
|
+
scale_factor=2.0,
|
|
55
55
|
style={"enhancement": "Balanced"},
|
|
56
56
|
name="Image Upscaler image",
|
|
57
57
|
)
|
|
@@ -117,7 +117,7 @@ class AsyncAiImageUpscalerClient:
|
|
|
117
117
|
```py
|
|
118
118
|
await client.v1.ai_image_upscaler.create(
|
|
119
119
|
assets={"image_file_path": "api-assets/id/1234.png"},
|
|
120
|
-
scale_factor=
|
|
120
|
+
scale_factor=2.0,
|
|
121
121
|
style={"enhancement": "Balanced"},
|
|
122
122
|
name="Image Upscaler image",
|
|
123
123
|
)
|
|
@@ -9,7 +9,7 @@ magic_hour/core/request.py,sha256=zdw-rie5wCy9MxIQ5ilhnZaBVPRyF8WAiZ5pGTam7Oc,52
|
|
|
9
9
|
magic_hour/core/response.py,sha256=Sl7nPL2axmz7em_6d9TkFSnQQKUpalWaVWbPPWoXJgM,10180
|
|
10
10
|
magic_hour/core/type_utils.py,sha256=4bU9WXnMXJ6YTtuqOMiB8t6Xw0RlfVWJ-IDBONlqEtQ,461
|
|
11
11
|
magic_hour/core/utils.py,sha256=Cp0SH9nBsdL53kCJSCsHgoJoo0HuXYmxShhQgeHw0KQ,1668
|
|
12
|
-
magic_hour/environment.py,sha256
|
|
12
|
+
magic_hour/environment.py,sha256=r1VN7NItHfQjh_C3ta4-Bg2Yk31hHylPGwrQftsPtnk,167
|
|
13
13
|
magic_hour/resources/v1/__init__.py,sha256=Aj0sjVcoijjQyieNBxv2_uewPYC2vO2UG-ehoBgCz5E,86
|
|
14
14
|
magic_hour/resources/v1/ai_clothes_changer/README.md,sha256=KQTvbttct5GcdOJW3NG5gCsWF6G2qlwIoBjBd92TjUs,977
|
|
15
15
|
magic_hour/resources/v1/ai_clothes_changer/__init__.py,sha256=6W_Y2HxG2sDOBiJyzngK3Q2S3xfQgpK-j8xFRmBAhbQ,142
|
|
@@ -20,9 +20,9 @@ magic_hour/resources/v1/ai_headshot_generator/client.py,sha256=5eh9BzhlLMzQKbTfC
|
|
|
20
20
|
magic_hour/resources/v1/ai_image_generator/README.md,sha256=TWC2PMVr3owH5tg8G6g14tiWt8pw5wQVv-p-5wRZXEw,742
|
|
21
21
|
magic_hour/resources/v1/ai_image_generator/__init__.py,sha256=qZws7N5CALYAbnIUc2ERV8Cy-QJmHcJ9tU7W-epEnaQ,142
|
|
22
22
|
magic_hour/resources/v1/ai_image_generator/client.py,sha256=wGu1Y9r1FtJOLEXrHtuCbtWV-QZ-LwS5D64MK5vLwB4,4442
|
|
23
|
-
magic_hour/resources/v1/ai_image_upscaler/README.md,sha256=
|
|
23
|
+
magic_hour/resources/v1/ai_image_upscaler/README.md,sha256=MNmxGtfnow27ukASpD5GC_JTMg5c9WF6VvCZktteQI4,877
|
|
24
24
|
magic_hour/resources/v1/ai_image_upscaler/__init__.py,sha256=9b1-2XfnAVa4qE3S-4WL8vN3wuqLkUuHKjdl_km8hUc,138
|
|
25
|
-
magic_hour/resources/v1/ai_image_upscaler/client.py,sha256=
|
|
25
|
+
magic_hour/resources/v1/ai_image_upscaler/client.py,sha256=7-RGUlnD4TS7j0ZPD7PcBPjXaf4WZ0kauhrG7hGLUzc,4509
|
|
26
26
|
magic_hour/resources/v1/ai_photo_editor/README.md,sha256=H5mahQ4cU15c_ISYSxIwBCx4pROxUtaOSseZCq2ZcF4,1434
|
|
27
27
|
magic_hour/resources/v1/ai_photo_editor/__init__.py,sha256=RPG6WaL2KN_DmgrtxImA_jNnEDMm-Ku2o2m2EnNwxts,130
|
|
28
28
|
magic_hour/resources/v1/ai_photo_editor/client.py,sha256=9b29HjZuEkZG0YAx-ejix4umYT0AO3HERHGkdUiV-As,6027
|
|
@@ -125,7 +125,7 @@ magic_hour/types/params/post_v1_text_to_video_body_style.py,sha256=8-zyz32Gz3qke
|
|
|
125
125
|
magic_hour/types/params/post_v1_video_to_video_body.py,sha256=dbazkWaGco73sSirtD-Q6vnLzF4BZa4Od87UTih1_-o,2914
|
|
126
126
|
magic_hour/types/params/post_v1_video_to_video_body_assets.py,sha256=0q7LCWMYJlAOjxl0b9F2BLIZbX40H16RJf8teg-TGGM,1498
|
|
127
127
|
magic_hour/types/params/post_v1_video_to_video_body_style.py,sha256=RQWr8VJqipM4YmNwGCQXWf7XT7O8Y2hgqxRRH1Vh7Cs,5457
|
|
128
|
-
magic_hour-0.9.
|
|
129
|
-
magic_hour-0.9.
|
|
130
|
-
magic_hour-0.9.
|
|
131
|
-
magic_hour-0.9.
|
|
128
|
+
magic_hour-0.9.2.dist-info/LICENSE,sha256=F3fxj7JXPgB2K0uj8YXRsVss4u-Dgt_-U3V4VXsivNI,1070
|
|
129
|
+
magic_hour-0.9.2.dist-info/METADATA,sha256=_jwF1_6OLgS2ONMkN0QOieS_YqXT5cnJhP5kA25BAIU,4654
|
|
130
|
+
magic_hour-0.9.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
131
|
+
magic_hour-0.9.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|