magic_hour 0.9.5__py3-none-any.whl → 0.11.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.

Files changed (95) hide show
  1. magic_hour/environment.py +1 -1
  2. magic_hour/resources/v1/ai_clothes_changer/client.py +8 -8
  3. magic_hour/resources/v1/ai_headshot_generator/client.py +20 -10
  4. magic_hour/resources/v1/ai_image_generator/client.py +10 -10
  5. magic_hour/resources/v1/ai_image_upscaler/client.py +12 -12
  6. magic_hour/resources/v1/ai_photo_editor/client.py +12 -12
  7. magic_hour/resources/v1/ai_qr_code_generator/client.py +10 -10
  8. magic_hour/resources/v1/animation/client.py +10 -10
  9. magic_hour/resources/v1/face_swap/client.py +8 -8
  10. magic_hour/resources/v1/face_swap_photo/client.py +8 -8
  11. magic_hour/resources/v1/files/upload_urls/README.md +4 -4
  12. magic_hour/resources/v1/files/upload_urls/client.py +14 -12
  13. magic_hour/resources/v1/image_background_remover/client.py +8 -8
  14. magic_hour/resources/v1/image_projects/client.py +4 -4
  15. magic_hour/resources/v1/image_to_video/client.py +12 -12
  16. magic_hour/resources/v1/lip_sync/client.py +8 -8
  17. magic_hour/resources/v1/text_to_video/client.py +10 -10
  18. magic_hour/resources/v1/video_projects/client.py +4 -4
  19. magic_hour/resources/v1/video_to_video/client.py +12 -12
  20. magic_hour/types/models/__init__.py +51 -51
  21. magic_hour/types/models/{post_v1_ai_clothes_changer_response.py → v1_ai_clothes_changer_create_response.py} +1 -1
  22. magic_hour/types/models/v1_ai_headshot_generator_create_response.py +25 -0
  23. magic_hour/types/models/{post_v1_ai_photo_editor_response.py → v1_ai_image_generator_create_response.py} +1 -1
  24. magic_hour/types/models/{post_v1_ai_image_generator_response.py → v1_ai_image_upscaler_create_response.py} +1 -1
  25. magic_hour/types/models/{post_v1_face_swap_photo_response.py → v1_ai_photo_editor_create_response.py} +1 -1
  26. magic_hour/types/models/{post_v1_ai_headshot_generator_response.py → v1_ai_qr_code_generator_create_response.py} +1 -1
  27. magic_hour/types/models/{post_v1_text_to_video_response.py → v1_animation_create_response.py} +1 -1
  28. magic_hour/types/models/{post_v1_face_swap_response.py → v1_face_swap_create_response.py} +1 -1
  29. magic_hour/types/models/{post_v1_ai_image_upscaler_response.py → v1_face_swap_photo_create_response.py} +1 -1
  30. magic_hour/types/models/v1_files_upload_urls_create_response.py +21 -0
  31. magic_hour/types/models/{post_v1_files_upload_urls_response_items_item.py → v1_files_upload_urls_create_response_items_item.py} +2 -2
  32. magic_hour/types/models/v1_image_background_remover_create_response.py +25 -0
  33. magic_hour/types/models/{get_v1_image_projects_id_response.py → v1_image_projects_get_response.py} +7 -7
  34. magic_hour/types/models/{get_v1_image_projects_id_response_downloads_item.py → v1_image_projects_get_response_downloads_item.py} +1 -1
  35. magic_hour/types/models/{get_v1_video_projects_id_response_error.py → v1_image_projects_get_response_error.py} +2 -2
  36. magic_hour/types/models/{post_v1_lip_sync_response.py → v1_image_to_video_create_response.py} +1 -1
  37. magic_hour/types/models/{post_v1_animation_response.py → v1_lip_sync_create_response.py} +1 -1
  38. magic_hour/types/models/{post_v1_image_to_video_response.py → v1_text_to_video_create_response.py} +1 -1
  39. magic_hour/types/models/{get_v1_video_projects_id_response.py → v1_video_projects_get_response.py} +10 -11
  40. magic_hour/types/models/{get_v1_video_projects_id_response_download.py → v1_video_projects_get_response_download.py} +1 -1
  41. magic_hour/types/models/{get_v1_video_projects_id_response_downloads_item.py → v1_video_projects_get_response_downloads_item.py} +1 -1
  42. magic_hour/types/models/{get_v1_image_projects_id_response_error.py → v1_video_projects_get_response_error.py} +2 -2
  43. magic_hour/types/models/v1_video_to_video_create_response.py +25 -0
  44. magic_hour/types/params/__init__.py +188 -176
  45. magic_hour/types/params/v1_ai_clothes_changer_create_body.py +40 -0
  46. magic_hour/types/params/{post_v1_ai_clothes_changer_body_assets.py → v1_ai_clothes_changer_create_body_assets.py} +3 -3
  47. magic_hour/types/params/v1_ai_headshot_generator_create_body.py +49 -0
  48. magic_hour/types/params/{post_v1_ai_headshot_generator_body_assets.py → v1_ai_headshot_generator_create_body_assets.py} +3 -3
  49. magic_hour/types/params/v1_ai_headshot_generator_create_body_style.py +27 -0
  50. magic_hour/types/params/{post_v1_ai_image_generator_body.py → v1_ai_image_generator_create_body.py} +9 -9
  51. magic_hour/types/params/{post_v1_ai_image_generator_body_style.py → v1_ai_image_generator_create_body_style.py} +4 -4
  52. magic_hour/types/params/v1_ai_image_upscaler_create_body.py +57 -0
  53. magic_hour/types/params/{post_v1_ai_image_upscaler_body_assets.py → v1_ai_image_upscaler_create_body_assets.py} +3 -3
  54. magic_hour/types/params/{post_v1_ai_image_upscaler_body_style.py → v1_ai_image_upscaler_create_body_style.py} +4 -4
  55. magic_hour/types/params/{post_v1_ai_photo_editor_body.py → v1_ai_photo_editor_create_body.py} +14 -14
  56. magic_hour/types/params/{post_v1_ai_photo_editor_body_assets.py → v1_ai_photo_editor_create_body_assets.py} +3 -3
  57. magic_hour/types/params/{post_v1_ai_photo_editor_body_style.py → v1_ai_photo_editor_create_body_style.py} +4 -4
  58. magic_hour/types/params/{post_v1_ai_qr_code_generator_body.py → v1_ai_qr_code_generator_create_body.py} +9 -9
  59. magic_hour/types/params/{post_v1_ai_qr_code_generator_body_style.py → v1_ai_qr_code_generator_create_body_style.py} +4 -4
  60. magic_hour/types/params/{post_v1_animation_body.py → v1_animation_create_body.py} +14 -14
  61. magic_hour/types/params/{post_v1_animation_body_assets.py → v1_animation_create_body_assets.py} +3 -3
  62. magic_hour/types/params/{post_v1_animation_body_style.py → v1_animation_create_body_style.py} +3 -3
  63. magic_hour/types/params/{post_v1_face_swap_body.py → v1_face_swap_create_body.py} +9 -9
  64. magic_hour/types/params/{post_v1_face_swap_body_assets.py → v1_face_swap_create_body_assets.py} +3 -3
  65. magic_hour/types/params/v1_face_swap_photo_create_body.py +40 -0
  66. magic_hour/types/params/{post_v1_face_swap_photo_body_assets.py → v1_face_swap_photo_create_body_assets.py} +3 -3
  67. magic_hour/types/params/v1_files_upload_urls_create_body.py +33 -0
  68. magic_hour/types/params/{post_v1_files_upload_urls_body_items_item.py → v1_files_upload_urls_create_body_items_item.py} +6 -6
  69. magic_hour/types/params/v1_image_background_remover_create_body.py +40 -0
  70. magic_hour/types/params/{post_v1_image_background_remover_body_assets.py → v1_image_background_remover_create_body_assets.py} +3 -3
  71. magic_hour/types/params/{post_v1_image_to_video_body.py → v1_image_to_video_create_body.py} +14 -14
  72. magic_hour/types/params/{post_v1_image_to_video_body_assets.py → v1_image_to_video_create_body_assets.py} +3 -3
  73. magic_hour/types/params/{post_v1_image_to_video_body_style.py → v1_image_to_video_create_body_style.py} +4 -4
  74. magic_hour/types/params/{post_v1_lip_sync_body.py → v1_lip_sync_create_body.py} +9 -9
  75. magic_hour/types/params/{post_v1_lip_sync_body_assets.py → v1_lip_sync_create_body_assets.py} +3 -3
  76. magic_hour/types/params/{post_v1_text_to_video_body.py → v1_text_to_video_create_body.py} +9 -9
  77. magic_hour/types/params/{post_v1_text_to_video_body_style.py → v1_text_to_video_create_body_style.py} +4 -4
  78. magic_hour/types/params/{post_v1_video_to_video_body.py → v1_video_to_video_create_body.py} +14 -14
  79. magic_hour/types/params/{post_v1_video_to_video_body_assets.py → v1_video_to_video_create_body_assets.py} +3 -3
  80. magic_hour/types/params/{post_v1_video_to_video_body_style.py → v1_video_to_video_create_body_style.py} +4 -4
  81. {magic_hour-0.9.5.dist-info → magic_hour-0.11.0.dist-info}/METADATA +1 -1
  82. magic_hour-0.11.0.dist-info/RECORD +133 -0
  83. magic_hour/types/models/post_v1_ai_qr_code_generator_response.py +0 -25
  84. magic_hour/types/models/post_v1_files_upload_urls_response.py +0 -21
  85. magic_hour/types/models/post_v1_image_background_remover_response.py +0 -25
  86. magic_hour/types/models/post_v1_video_to_video_response.py +0 -25
  87. magic_hour/types/params/post_v1_ai_clothes_changer_body.py +0 -40
  88. magic_hour/types/params/post_v1_ai_headshot_generator_body.py +0 -40
  89. magic_hour/types/params/post_v1_ai_image_upscaler_body.py +0 -57
  90. magic_hour/types/params/post_v1_face_swap_photo_body.py +0 -40
  91. magic_hour/types/params/post_v1_files_upload_urls_body.py +0 -31
  92. magic_hour/types/params/post_v1_image_background_remover_body.py +0 -40
  93. magic_hour-0.9.5.dist-info/RECORD +0 -132
  94. {magic_hour-0.9.5.dist-info → magic_hour-0.11.0.dist-info}/LICENSE +0 -0
  95. {magic_hour-0.9.5.dist-info → magic_hour-0.11.0.dist-info}/WHEEL +0 -0
@@ -1,205 +1,217 @@
1
- from .post_v1_ai_clothes_changer_body import (
2
- PostV1AiClothesChangerBody,
3
- _SerializerPostV1AiClothesChangerBody,
4
- )
5
- from .post_v1_ai_clothes_changer_body_assets import (
6
- PostV1AiClothesChangerBodyAssets,
7
- _SerializerPostV1AiClothesChangerBodyAssets,
8
- )
9
- from .post_v1_ai_headshot_generator_body import (
10
- PostV1AiHeadshotGeneratorBody,
11
- _SerializerPostV1AiHeadshotGeneratorBody,
12
- )
13
- from .post_v1_ai_headshot_generator_body_assets import (
14
- PostV1AiHeadshotGeneratorBodyAssets,
15
- _SerializerPostV1AiHeadshotGeneratorBodyAssets,
16
- )
17
- from .post_v1_ai_image_generator_body import (
18
- PostV1AiImageGeneratorBody,
19
- _SerializerPostV1AiImageGeneratorBody,
20
- )
21
- from .post_v1_ai_image_generator_body_style import (
22
- PostV1AiImageGeneratorBodyStyle,
23
- _SerializerPostV1AiImageGeneratorBodyStyle,
24
- )
25
- from .post_v1_ai_image_upscaler_body import (
26
- PostV1AiImageUpscalerBody,
27
- _SerializerPostV1AiImageUpscalerBody,
28
- )
29
- from .post_v1_ai_image_upscaler_body_assets import (
30
- PostV1AiImageUpscalerBodyAssets,
31
- _SerializerPostV1AiImageUpscalerBodyAssets,
1
+ from .v1_ai_clothes_changer_create_body import (
2
+ V1AiClothesChangerCreateBody,
3
+ _SerializerV1AiClothesChangerCreateBody,
32
4
  )
33
- from .post_v1_ai_image_upscaler_body_style import (
34
- PostV1AiImageUpscalerBodyStyle,
35
- _SerializerPostV1AiImageUpscalerBodyStyle,
5
+ from .v1_ai_clothes_changer_create_body_assets import (
6
+ V1AiClothesChangerCreateBodyAssets,
7
+ _SerializerV1AiClothesChangerCreateBodyAssets,
36
8
  )
37
- from .post_v1_ai_photo_editor_body import (
38
- PostV1AiPhotoEditorBody,
39
- _SerializerPostV1AiPhotoEditorBody,
9
+ from .v1_ai_headshot_generator_create_body import (
10
+ V1AiHeadshotGeneratorCreateBody,
11
+ _SerializerV1AiHeadshotGeneratorCreateBody,
40
12
  )
41
- from .post_v1_ai_photo_editor_body_assets import (
42
- PostV1AiPhotoEditorBodyAssets,
43
- _SerializerPostV1AiPhotoEditorBodyAssets,
13
+ from .v1_ai_headshot_generator_create_body_assets import (
14
+ V1AiHeadshotGeneratorCreateBodyAssets,
15
+ _SerializerV1AiHeadshotGeneratorCreateBodyAssets,
44
16
  )
45
- from .post_v1_ai_photo_editor_body_style import (
46
- PostV1AiPhotoEditorBodyStyle,
47
- _SerializerPostV1AiPhotoEditorBodyStyle,
17
+ from .v1_ai_headshot_generator_create_body_style import (
18
+ V1AiHeadshotGeneratorCreateBodyStyle,
19
+ _SerializerV1AiHeadshotGeneratorCreateBodyStyle,
20
+ )
21
+ from .v1_ai_image_generator_create_body import (
22
+ V1AiImageGeneratorCreateBody,
23
+ _SerializerV1AiImageGeneratorCreateBody,
24
+ )
25
+ from .v1_ai_image_generator_create_body_style import (
26
+ V1AiImageGeneratorCreateBodyStyle,
27
+ _SerializerV1AiImageGeneratorCreateBodyStyle,
28
+ )
29
+ from .v1_ai_image_upscaler_create_body import (
30
+ V1AiImageUpscalerCreateBody,
31
+ _SerializerV1AiImageUpscalerCreateBody,
32
+ )
33
+ from .v1_ai_image_upscaler_create_body_assets import (
34
+ V1AiImageUpscalerCreateBodyAssets,
35
+ _SerializerV1AiImageUpscalerCreateBodyAssets,
36
+ )
37
+ from .v1_ai_image_upscaler_create_body_style import (
38
+ V1AiImageUpscalerCreateBodyStyle,
39
+ _SerializerV1AiImageUpscalerCreateBodyStyle,
40
+ )
41
+ from .v1_ai_photo_editor_create_body import (
42
+ V1AiPhotoEditorCreateBody,
43
+ _SerializerV1AiPhotoEditorCreateBody,
48
44
  )
49
- from .post_v1_ai_qr_code_generator_body import (
50
- PostV1AiQrCodeGeneratorBody,
51
- _SerializerPostV1AiQrCodeGeneratorBody,
45
+ from .v1_ai_photo_editor_create_body_assets import (
46
+ V1AiPhotoEditorCreateBodyAssets,
47
+ _SerializerV1AiPhotoEditorCreateBodyAssets,
52
48
  )
53
- from .post_v1_ai_qr_code_generator_body_style import (
54
- PostV1AiQrCodeGeneratorBodyStyle,
55
- _SerializerPostV1AiQrCodeGeneratorBodyStyle,
49
+ from .v1_ai_photo_editor_create_body_style import (
50
+ V1AiPhotoEditorCreateBodyStyle,
51
+ _SerializerV1AiPhotoEditorCreateBodyStyle,
56
52
  )
57
- from .post_v1_animation_body import PostV1AnimationBody, _SerializerPostV1AnimationBody
58
- from .post_v1_animation_body_assets import (
59
- PostV1AnimationBodyAssets,
60
- _SerializerPostV1AnimationBodyAssets,
53
+ from .v1_ai_qr_code_generator_create_body import (
54
+ V1AiQrCodeGeneratorCreateBody,
55
+ _SerializerV1AiQrCodeGeneratorCreateBody,
61
56
  )
62
- from .post_v1_animation_body_style import (
63
- PostV1AnimationBodyStyle,
64
- _SerializerPostV1AnimationBodyStyle,
57
+ from .v1_ai_qr_code_generator_create_body_style import (
58
+ V1AiQrCodeGeneratorCreateBodyStyle,
59
+ _SerializerV1AiQrCodeGeneratorCreateBodyStyle,
65
60
  )
66
- from .post_v1_face_swap_body import PostV1FaceSwapBody, _SerializerPostV1FaceSwapBody
67
- from .post_v1_face_swap_body_assets import (
68
- PostV1FaceSwapBodyAssets,
69
- _SerializerPostV1FaceSwapBodyAssets,
61
+ from .v1_animation_create_body import (
62
+ V1AnimationCreateBody,
63
+ _SerializerV1AnimationCreateBody,
70
64
  )
71
- from .post_v1_face_swap_photo_body import (
72
- PostV1FaceSwapPhotoBody,
73
- _SerializerPostV1FaceSwapPhotoBody,
65
+ from .v1_animation_create_body_assets import (
66
+ V1AnimationCreateBodyAssets,
67
+ _SerializerV1AnimationCreateBodyAssets,
74
68
  )
75
- from .post_v1_face_swap_photo_body_assets import (
76
- PostV1FaceSwapPhotoBodyAssets,
77
- _SerializerPostV1FaceSwapPhotoBodyAssets,
69
+ from .v1_animation_create_body_style import (
70
+ V1AnimationCreateBodyStyle,
71
+ _SerializerV1AnimationCreateBodyStyle,
78
72
  )
79
- from .post_v1_files_upload_urls_body import (
80
- PostV1FilesUploadUrlsBody,
81
- _SerializerPostV1FilesUploadUrlsBody,
73
+ from .v1_face_swap_create_body import (
74
+ V1FaceSwapCreateBody,
75
+ _SerializerV1FaceSwapCreateBody,
82
76
  )
83
- from .post_v1_files_upload_urls_body_items_item import (
84
- PostV1FilesUploadUrlsBodyItemsItem,
85
- _SerializerPostV1FilesUploadUrlsBodyItemsItem,
77
+ from .v1_face_swap_create_body_assets import (
78
+ V1FaceSwapCreateBodyAssets,
79
+ _SerializerV1FaceSwapCreateBodyAssets,
86
80
  )
87
- from .post_v1_image_background_remover_body import (
88
- PostV1ImageBackgroundRemoverBody,
89
- _SerializerPostV1ImageBackgroundRemoverBody,
81
+ from .v1_face_swap_photo_create_body import (
82
+ V1FaceSwapPhotoCreateBody,
83
+ _SerializerV1FaceSwapPhotoCreateBody,
90
84
  )
91
- from .post_v1_image_background_remover_body_assets import (
92
- PostV1ImageBackgroundRemoverBodyAssets,
93
- _SerializerPostV1ImageBackgroundRemoverBodyAssets,
85
+ from .v1_face_swap_photo_create_body_assets import (
86
+ V1FaceSwapPhotoCreateBodyAssets,
87
+ _SerializerV1FaceSwapPhotoCreateBodyAssets,
94
88
  )
95
- from .post_v1_image_to_video_body import (
96
- PostV1ImageToVideoBody,
97
- _SerializerPostV1ImageToVideoBody,
89
+ from .v1_files_upload_urls_create_body import (
90
+ V1FilesUploadUrlsCreateBody,
91
+ _SerializerV1FilesUploadUrlsCreateBody,
98
92
  )
99
- from .post_v1_image_to_video_body_assets import (
100
- PostV1ImageToVideoBodyAssets,
101
- _SerializerPostV1ImageToVideoBodyAssets,
93
+ from .v1_files_upload_urls_create_body_items_item import (
94
+ V1FilesUploadUrlsCreateBodyItemsItem,
95
+ _SerializerV1FilesUploadUrlsCreateBodyItemsItem,
102
96
  )
103
- from .post_v1_image_to_video_body_style import (
104
- PostV1ImageToVideoBodyStyle,
105
- _SerializerPostV1ImageToVideoBodyStyle,
97
+ from .v1_image_background_remover_create_body import (
98
+ V1ImageBackgroundRemoverCreateBody,
99
+ _SerializerV1ImageBackgroundRemoverCreateBody,
106
100
  )
107
- from .post_v1_lip_sync_body import PostV1LipSyncBody, _SerializerPostV1LipSyncBody
108
- from .post_v1_lip_sync_body_assets import (
109
- PostV1LipSyncBodyAssets,
110
- _SerializerPostV1LipSyncBodyAssets,
101
+ from .v1_image_background_remover_create_body_assets import (
102
+ V1ImageBackgroundRemoverCreateBodyAssets,
103
+ _SerializerV1ImageBackgroundRemoverCreateBodyAssets,
111
104
  )
112
- from .post_v1_text_to_video_body import (
113
- PostV1TextToVideoBody,
114
- _SerializerPostV1TextToVideoBody,
105
+ from .v1_image_to_video_create_body import (
106
+ V1ImageToVideoCreateBody,
107
+ _SerializerV1ImageToVideoCreateBody,
115
108
  )
116
- from .post_v1_text_to_video_body_style import (
117
- PostV1TextToVideoBodyStyle,
118
- _SerializerPostV1TextToVideoBodyStyle,
109
+ from .v1_image_to_video_create_body_assets import (
110
+ V1ImageToVideoCreateBodyAssets,
111
+ _SerializerV1ImageToVideoCreateBodyAssets,
119
112
  )
120
- from .post_v1_video_to_video_body import (
121
- PostV1VideoToVideoBody,
122
- _SerializerPostV1VideoToVideoBody,
113
+ from .v1_image_to_video_create_body_style import (
114
+ V1ImageToVideoCreateBodyStyle,
115
+ _SerializerV1ImageToVideoCreateBodyStyle,
123
116
  )
124
- from .post_v1_video_to_video_body_assets import (
125
- PostV1VideoToVideoBodyAssets,
126
- _SerializerPostV1VideoToVideoBodyAssets,
117
+ from .v1_lip_sync_create_body import V1LipSyncCreateBody, _SerializerV1LipSyncCreateBody
118
+ from .v1_lip_sync_create_body_assets import (
119
+ V1LipSyncCreateBodyAssets,
120
+ _SerializerV1LipSyncCreateBodyAssets,
127
121
  )
128
- from .post_v1_video_to_video_body_style import (
129
- PostV1VideoToVideoBodyStyle,
130
- _SerializerPostV1VideoToVideoBodyStyle,
122
+ from .v1_text_to_video_create_body import (
123
+ V1TextToVideoCreateBody,
124
+ _SerializerV1TextToVideoCreateBody,
125
+ )
126
+ from .v1_text_to_video_create_body_style import (
127
+ V1TextToVideoCreateBodyStyle,
128
+ _SerializerV1TextToVideoCreateBodyStyle,
129
+ )
130
+ from .v1_video_to_video_create_body import (
131
+ V1VideoToVideoCreateBody,
132
+ _SerializerV1VideoToVideoCreateBody,
133
+ )
134
+ from .v1_video_to_video_create_body_assets import (
135
+ V1VideoToVideoCreateBodyAssets,
136
+ _SerializerV1VideoToVideoCreateBodyAssets,
137
+ )
138
+ from .v1_video_to_video_create_body_style import (
139
+ V1VideoToVideoCreateBodyStyle,
140
+ _SerializerV1VideoToVideoCreateBodyStyle,
131
141
  )
132
142
 
133
143
 
134
144
  __all__ = [
135
- "PostV1AiClothesChangerBody",
136
- "PostV1AiClothesChangerBodyAssets",
137
- "PostV1AiHeadshotGeneratorBody",
138
- "PostV1AiHeadshotGeneratorBodyAssets",
139
- "PostV1AiImageGeneratorBody",
140
- "PostV1AiImageGeneratorBodyStyle",
141
- "PostV1AiImageUpscalerBody",
142
- "PostV1AiImageUpscalerBodyAssets",
143
- "PostV1AiImageUpscalerBodyStyle",
144
- "PostV1AiPhotoEditorBody",
145
- "PostV1AiPhotoEditorBodyAssets",
146
- "PostV1AiPhotoEditorBodyStyle",
147
- "PostV1AiQrCodeGeneratorBody",
148
- "PostV1AiQrCodeGeneratorBodyStyle",
149
- "PostV1AnimationBody",
150
- "PostV1AnimationBodyAssets",
151
- "PostV1AnimationBodyStyle",
152
- "PostV1FaceSwapBody",
153
- "PostV1FaceSwapBodyAssets",
154
- "PostV1FaceSwapPhotoBody",
155
- "PostV1FaceSwapPhotoBodyAssets",
156
- "PostV1FilesUploadUrlsBody",
157
- "PostV1FilesUploadUrlsBodyItemsItem",
158
- "PostV1ImageBackgroundRemoverBody",
159
- "PostV1ImageBackgroundRemoverBodyAssets",
160
- "PostV1ImageToVideoBody",
161
- "PostV1ImageToVideoBodyAssets",
162
- "PostV1ImageToVideoBodyStyle",
163
- "PostV1LipSyncBody",
164
- "PostV1LipSyncBodyAssets",
165
- "PostV1TextToVideoBody",
166
- "PostV1TextToVideoBodyStyle",
167
- "PostV1VideoToVideoBody",
168
- "PostV1VideoToVideoBodyAssets",
169
- "PostV1VideoToVideoBodyStyle",
170
- "_SerializerPostV1AiClothesChangerBody",
171
- "_SerializerPostV1AiClothesChangerBodyAssets",
172
- "_SerializerPostV1AiHeadshotGeneratorBody",
173
- "_SerializerPostV1AiHeadshotGeneratorBodyAssets",
174
- "_SerializerPostV1AiImageGeneratorBody",
175
- "_SerializerPostV1AiImageGeneratorBodyStyle",
176
- "_SerializerPostV1AiImageUpscalerBody",
177
- "_SerializerPostV1AiImageUpscalerBodyAssets",
178
- "_SerializerPostV1AiImageUpscalerBodyStyle",
179
- "_SerializerPostV1AiPhotoEditorBody",
180
- "_SerializerPostV1AiPhotoEditorBodyAssets",
181
- "_SerializerPostV1AiPhotoEditorBodyStyle",
182
- "_SerializerPostV1AiQrCodeGeneratorBody",
183
- "_SerializerPostV1AiQrCodeGeneratorBodyStyle",
184
- "_SerializerPostV1AnimationBody",
185
- "_SerializerPostV1AnimationBodyAssets",
186
- "_SerializerPostV1AnimationBodyStyle",
187
- "_SerializerPostV1FaceSwapBody",
188
- "_SerializerPostV1FaceSwapBodyAssets",
189
- "_SerializerPostV1FaceSwapPhotoBody",
190
- "_SerializerPostV1FaceSwapPhotoBodyAssets",
191
- "_SerializerPostV1FilesUploadUrlsBody",
192
- "_SerializerPostV1FilesUploadUrlsBodyItemsItem",
193
- "_SerializerPostV1ImageBackgroundRemoverBody",
194
- "_SerializerPostV1ImageBackgroundRemoverBodyAssets",
195
- "_SerializerPostV1ImageToVideoBody",
196
- "_SerializerPostV1ImageToVideoBodyAssets",
197
- "_SerializerPostV1ImageToVideoBodyStyle",
198
- "_SerializerPostV1LipSyncBody",
199
- "_SerializerPostV1LipSyncBodyAssets",
200
- "_SerializerPostV1TextToVideoBody",
201
- "_SerializerPostV1TextToVideoBodyStyle",
202
- "_SerializerPostV1VideoToVideoBody",
203
- "_SerializerPostV1VideoToVideoBodyAssets",
204
- "_SerializerPostV1VideoToVideoBodyStyle",
145
+ "V1AiClothesChangerCreateBody",
146
+ "V1AiClothesChangerCreateBodyAssets",
147
+ "V1AiHeadshotGeneratorCreateBody",
148
+ "V1AiHeadshotGeneratorCreateBodyAssets",
149
+ "V1AiHeadshotGeneratorCreateBodyStyle",
150
+ "V1AiImageGeneratorCreateBody",
151
+ "V1AiImageGeneratorCreateBodyStyle",
152
+ "V1AiImageUpscalerCreateBody",
153
+ "V1AiImageUpscalerCreateBodyAssets",
154
+ "V1AiImageUpscalerCreateBodyStyle",
155
+ "V1AiPhotoEditorCreateBody",
156
+ "V1AiPhotoEditorCreateBodyAssets",
157
+ "V1AiPhotoEditorCreateBodyStyle",
158
+ "V1AiQrCodeGeneratorCreateBody",
159
+ "V1AiQrCodeGeneratorCreateBodyStyle",
160
+ "V1AnimationCreateBody",
161
+ "V1AnimationCreateBodyAssets",
162
+ "V1AnimationCreateBodyStyle",
163
+ "V1FaceSwapCreateBody",
164
+ "V1FaceSwapCreateBodyAssets",
165
+ "V1FaceSwapPhotoCreateBody",
166
+ "V1FaceSwapPhotoCreateBodyAssets",
167
+ "V1FilesUploadUrlsCreateBody",
168
+ "V1FilesUploadUrlsCreateBodyItemsItem",
169
+ "V1ImageBackgroundRemoverCreateBody",
170
+ "V1ImageBackgroundRemoverCreateBodyAssets",
171
+ "V1ImageToVideoCreateBody",
172
+ "V1ImageToVideoCreateBodyAssets",
173
+ "V1ImageToVideoCreateBodyStyle",
174
+ "V1LipSyncCreateBody",
175
+ "V1LipSyncCreateBodyAssets",
176
+ "V1TextToVideoCreateBody",
177
+ "V1TextToVideoCreateBodyStyle",
178
+ "V1VideoToVideoCreateBody",
179
+ "V1VideoToVideoCreateBodyAssets",
180
+ "V1VideoToVideoCreateBodyStyle",
181
+ "_SerializerV1AiClothesChangerCreateBody",
182
+ "_SerializerV1AiClothesChangerCreateBodyAssets",
183
+ "_SerializerV1AiHeadshotGeneratorCreateBody",
184
+ "_SerializerV1AiHeadshotGeneratorCreateBodyAssets",
185
+ "_SerializerV1AiHeadshotGeneratorCreateBodyStyle",
186
+ "_SerializerV1AiImageGeneratorCreateBody",
187
+ "_SerializerV1AiImageGeneratorCreateBodyStyle",
188
+ "_SerializerV1AiImageUpscalerCreateBody",
189
+ "_SerializerV1AiImageUpscalerCreateBodyAssets",
190
+ "_SerializerV1AiImageUpscalerCreateBodyStyle",
191
+ "_SerializerV1AiPhotoEditorCreateBody",
192
+ "_SerializerV1AiPhotoEditorCreateBodyAssets",
193
+ "_SerializerV1AiPhotoEditorCreateBodyStyle",
194
+ "_SerializerV1AiQrCodeGeneratorCreateBody",
195
+ "_SerializerV1AiQrCodeGeneratorCreateBodyStyle",
196
+ "_SerializerV1AnimationCreateBody",
197
+ "_SerializerV1AnimationCreateBodyAssets",
198
+ "_SerializerV1AnimationCreateBodyStyle",
199
+ "_SerializerV1FaceSwapCreateBody",
200
+ "_SerializerV1FaceSwapCreateBodyAssets",
201
+ "_SerializerV1FaceSwapPhotoCreateBody",
202
+ "_SerializerV1FaceSwapPhotoCreateBodyAssets",
203
+ "_SerializerV1FilesUploadUrlsCreateBody",
204
+ "_SerializerV1FilesUploadUrlsCreateBodyItemsItem",
205
+ "_SerializerV1ImageBackgroundRemoverCreateBody",
206
+ "_SerializerV1ImageBackgroundRemoverCreateBodyAssets",
207
+ "_SerializerV1ImageToVideoCreateBody",
208
+ "_SerializerV1ImageToVideoCreateBodyAssets",
209
+ "_SerializerV1ImageToVideoCreateBodyStyle",
210
+ "_SerializerV1LipSyncCreateBody",
211
+ "_SerializerV1LipSyncCreateBodyAssets",
212
+ "_SerializerV1TextToVideoCreateBody",
213
+ "_SerializerV1TextToVideoCreateBodyStyle",
214
+ "_SerializerV1VideoToVideoCreateBody",
215
+ "_SerializerV1VideoToVideoCreateBodyAssets",
216
+ "_SerializerV1VideoToVideoCreateBodyStyle",
205
217
  ]
@@ -0,0 +1,40 @@
1
+ import pydantic
2
+ import typing
3
+ import typing_extensions
4
+
5
+ from .v1_ai_clothes_changer_create_body_assets import (
6
+ V1AiClothesChangerCreateBodyAssets,
7
+ _SerializerV1AiClothesChangerCreateBodyAssets,
8
+ )
9
+
10
+
11
+ class V1AiClothesChangerCreateBody(typing_extensions.TypedDict):
12
+ """
13
+ V1AiClothesChangerCreateBody
14
+ """
15
+
16
+ assets: typing_extensions.Required[V1AiClothesChangerCreateBodyAssets]
17
+ """
18
+ Provide the assets for clothes changer
19
+ """
20
+
21
+ name: typing_extensions.NotRequired[str]
22
+ """
23
+ The name of image
24
+ """
25
+
26
+
27
+ class _SerializerV1AiClothesChangerCreateBody(pydantic.BaseModel):
28
+ """
29
+ Serializer for V1AiClothesChangerCreateBody handling case conversions
30
+ and file omissions as dictated by the API
31
+ """
32
+
33
+ model_config = pydantic.ConfigDict(
34
+ populate_by_name=True,
35
+ )
36
+
37
+ assets: _SerializerV1AiClothesChangerCreateBodyAssets = pydantic.Field(
38
+ alias="assets",
39
+ )
40
+ name: typing.Optional[str] = pydantic.Field(alias="name", default=None)
@@ -2,7 +2,7 @@ import pydantic
2
2
  import typing_extensions
3
3
 
4
4
 
5
- class PostV1AiClothesChangerBodyAssets(typing_extensions.TypedDict):
5
+ class V1AiClothesChangerCreateBodyAssets(typing_extensions.TypedDict):
6
6
  """
7
7
  Provide the assets for clothes changer
8
8
  """
@@ -22,9 +22,9 @@ class PostV1AiClothesChangerBodyAssets(typing_extensions.TypedDict):
22
22
  """
23
23
 
24
24
 
25
- class _SerializerPostV1AiClothesChangerBodyAssets(pydantic.BaseModel):
25
+ class _SerializerV1AiClothesChangerCreateBodyAssets(pydantic.BaseModel):
26
26
  """
27
- Serializer for PostV1AiClothesChangerBodyAssets handling case conversions
27
+ Serializer for V1AiClothesChangerCreateBodyAssets handling case conversions
28
28
  and file omissions as dictated by the API
29
29
  """
30
30
 
@@ -0,0 +1,49 @@
1
+ import pydantic
2
+ import typing
3
+ import typing_extensions
4
+
5
+ from .v1_ai_headshot_generator_create_body_assets import (
6
+ V1AiHeadshotGeneratorCreateBodyAssets,
7
+ _SerializerV1AiHeadshotGeneratorCreateBodyAssets,
8
+ )
9
+ from .v1_ai_headshot_generator_create_body_style import (
10
+ V1AiHeadshotGeneratorCreateBodyStyle,
11
+ _SerializerV1AiHeadshotGeneratorCreateBodyStyle,
12
+ )
13
+
14
+
15
+ class V1AiHeadshotGeneratorCreateBody(typing_extensions.TypedDict):
16
+ """
17
+ V1AiHeadshotGeneratorCreateBody
18
+ """
19
+
20
+ assets: typing_extensions.Required[V1AiHeadshotGeneratorCreateBodyAssets]
21
+ """
22
+ Provide the assets for headshot photo
23
+ """
24
+
25
+ name: typing_extensions.NotRequired[str]
26
+ """
27
+ The name of image
28
+ """
29
+
30
+ style: typing_extensions.NotRequired[V1AiHeadshotGeneratorCreateBodyStyle]
31
+
32
+
33
+ class _SerializerV1AiHeadshotGeneratorCreateBody(pydantic.BaseModel):
34
+ """
35
+ Serializer for V1AiHeadshotGeneratorCreateBody handling case conversions
36
+ and file omissions as dictated by the API
37
+ """
38
+
39
+ model_config = pydantic.ConfigDict(
40
+ populate_by_name=True,
41
+ )
42
+
43
+ assets: _SerializerV1AiHeadshotGeneratorCreateBodyAssets = pydantic.Field(
44
+ alias="assets",
45
+ )
46
+ name: typing.Optional[str] = pydantic.Field(alias="name", default=None)
47
+ style: typing.Optional[_SerializerV1AiHeadshotGeneratorCreateBodyStyle] = (
48
+ pydantic.Field(alias="style", default=None)
49
+ )
@@ -2,7 +2,7 @@ import pydantic
2
2
  import typing_extensions
3
3
 
4
4
 
5
- class PostV1AiHeadshotGeneratorBodyAssets(typing_extensions.TypedDict):
5
+ class V1AiHeadshotGeneratorCreateBodyAssets(typing_extensions.TypedDict):
6
6
  """
7
7
  Provide the assets for headshot photo
8
8
  """
@@ -13,9 +13,9 @@ class PostV1AiHeadshotGeneratorBodyAssets(typing_extensions.TypedDict):
13
13
  """
14
14
 
15
15
 
16
- class _SerializerPostV1AiHeadshotGeneratorBodyAssets(pydantic.BaseModel):
16
+ class _SerializerV1AiHeadshotGeneratorCreateBodyAssets(pydantic.BaseModel):
17
17
  """
18
- Serializer for PostV1AiHeadshotGeneratorBodyAssets handling case conversions
18
+ Serializer for V1AiHeadshotGeneratorCreateBodyAssets handling case conversions
19
19
  and file omissions as dictated by the API
20
20
  """
21
21
 
@@ -0,0 +1,27 @@
1
+ import pydantic
2
+ import typing
3
+ import typing_extensions
4
+
5
+
6
+ class V1AiHeadshotGeneratorCreateBodyStyle(typing_extensions.TypedDict):
7
+ """
8
+ V1AiHeadshotGeneratorCreateBodyStyle
9
+ """
10
+
11
+ prompt: typing_extensions.NotRequired[str]
12
+ """
13
+ A prompt to guide the final image.
14
+ """
15
+
16
+
17
+ class _SerializerV1AiHeadshotGeneratorCreateBodyStyle(pydantic.BaseModel):
18
+ """
19
+ Serializer for V1AiHeadshotGeneratorCreateBodyStyle handling case conversions
20
+ and file omissions as dictated by the API
21
+ """
22
+
23
+ model_config = pydantic.ConfigDict(
24
+ populate_by_name=True,
25
+ )
26
+
27
+ prompt: typing.Optional[str] = pydantic.Field(alias="prompt", default=None)
@@ -2,15 +2,15 @@ import pydantic
2
2
  import typing
3
3
  import typing_extensions
4
4
 
5
- from .post_v1_ai_image_generator_body_style import (
6
- PostV1AiImageGeneratorBodyStyle,
7
- _SerializerPostV1AiImageGeneratorBodyStyle,
5
+ from .v1_ai_image_generator_create_body_style import (
6
+ V1AiImageGeneratorCreateBodyStyle,
7
+ _SerializerV1AiImageGeneratorCreateBodyStyle,
8
8
  )
9
9
 
10
10
 
11
- class PostV1AiImageGeneratorBody(typing_extensions.TypedDict):
11
+ class V1AiImageGeneratorCreateBody(typing_extensions.TypedDict):
12
12
  """
13
- PostV1AiImageGeneratorBody
13
+ V1AiImageGeneratorCreateBody
14
14
  """
15
15
 
16
16
  image_count: typing_extensions.Required[int]
@@ -27,12 +27,12 @@ class PostV1AiImageGeneratorBody(typing_extensions.TypedDict):
27
27
  typing_extensions.Literal["landscape", "portrait", "square"]
28
28
  ]
29
29
 
30
- style: typing_extensions.Required[PostV1AiImageGeneratorBodyStyle]
30
+ style: typing_extensions.Required[V1AiImageGeneratorCreateBodyStyle]
31
31
 
32
32
 
33
- class _SerializerPostV1AiImageGeneratorBody(pydantic.BaseModel):
33
+ class _SerializerV1AiImageGeneratorCreateBody(pydantic.BaseModel):
34
34
  """
35
- Serializer for PostV1AiImageGeneratorBody handling case conversions
35
+ Serializer for V1AiImageGeneratorCreateBody handling case conversions
36
36
  and file omissions as dictated by the API
37
37
  """
38
38
 
@@ -49,6 +49,6 @@ class _SerializerPostV1AiImageGeneratorBody(pydantic.BaseModel):
49
49
  alias="orientation",
50
50
  )
51
51
  )
52
- style: _SerializerPostV1AiImageGeneratorBodyStyle = pydantic.Field(
52
+ style: _SerializerV1AiImageGeneratorCreateBodyStyle = pydantic.Field(
53
53
  alias="style",
54
54
  )
@@ -2,9 +2,9 @@ import pydantic
2
2
  import typing_extensions
3
3
 
4
4
 
5
- class PostV1AiImageGeneratorBodyStyle(typing_extensions.TypedDict):
5
+ class V1AiImageGeneratorCreateBodyStyle(typing_extensions.TypedDict):
6
6
  """
7
- PostV1AiImageGeneratorBodyStyle
7
+ V1AiImageGeneratorCreateBodyStyle
8
8
  """
9
9
 
10
10
  prompt: typing_extensions.Required[str]
@@ -13,9 +13,9 @@ class PostV1AiImageGeneratorBodyStyle(typing_extensions.TypedDict):
13
13
  """
14
14
 
15
15
 
16
- class _SerializerPostV1AiImageGeneratorBodyStyle(pydantic.BaseModel):
16
+ class _SerializerV1AiImageGeneratorCreateBodyStyle(pydantic.BaseModel):
17
17
  """
18
- Serializer for PostV1AiImageGeneratorBodyStyle handling case conversions
18
+ Serializer for V1AiImageGeneratorCreateBodyStyle handling case conversions
19
19
  and file omissions as dictated by the API
20
20
  """
21
21