magic_hour 0.40.0__py3-none-any.whl → 0.44.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.
Files changed (73) hide show
  1. magic_hour/README.md +2 -3
  2. magic_hour/environment.py +1 -1
  3. magic_hour/helpers/download.py +2 -0
  4. magic_hour/resources/v1/README.md +2 -3
  5. magic_hour/resources/v1/ai_clothes_changer/README.md +13 -14
  6. magic_hour/resources/v1/ai_face_editor/README.md +26 -27
  7. magic_hour/resources/v1/ai_gif_generator/README.md +12 -13
  8. magic_hour/resources/v1/ai_gif_generator/client.py +2 -2
  9. magic_hour/resources/v1/ai_headshot_generator/README.md +13 -14
  10. magic_hour/resources/v1/ai_headshot_generator/client.py +2 -2
  11. magic_hour/resources/v1/ai_image_editor/README.md +24 -17
  12. magic_hour/resources/v1/ai_image_editor/client.py +40 -10
  13. magic_hour/resources/v1/ai_image_generator/README.md +26 -18
  14. magic_hour/resources/v1/ai_image_generator/client.py +14 -6
  15. magic_hour/resources/v1/ai_image_upscaler/README.md +14 -15
  16. magic_hour/resources/v1/ai_meme_generator/README.md +12 -13
  17. magic_hour/resources/v1/ai_photo_editor/README.md +22 -23
  18. magic_hour/resources/v1/ai_qr_code_generator/README.md +13 -14
  19. magic_hour/resources/v1/ai_qr_code_generator/client.py +4 -4
  20. magic_hour/resources/v1/ai_talking_photo/README.md +16 -17
  21. magic_hour/resources/v1/ai_voice_cloner/README.md +62 -0
  22. magic_hour/resources/v1/ai_voice_cloner/__init__.py +4 -0
  23. magic_hour/resources/v1/ai_voice_cloner/client.py +272 -0
  24. magic_hour/resources/v1/ai_voice_generator/README.md +66 -10
  25. magic_hour/resources/v1/ai_voice_generator/client.py +122 -0
  26. magic_hour/resources/v1/animation/README.md +24 -25
  27. magic_hour/resources/v1/audio_projects/README.md +58 -13
  28. magic_hour/resources/v1/audio_projects/__init__.py +10 -2
  29. magic_hour/resources/v1/audio_projects/client.py +137 -0
  30. magic_hour/resources/v1/audio_projects/client_test.py +520 -0
  31. magic_hour/resources/v1/auto_subtitle_generator/README.md +15 -16
  32. magic_hour/resources/v1/client.py +6 -0
  33. magic_hour/resources/v1/face_detection/README.md +21 -20
  34. magic_hour/resources/v1/face_swap/README.md +23 -25
  35. magic_hour/resources/v1/face_swap/client.py +2 -2
  36. magic_hour/resources/v1/face_swap_photo/README.md +13 -14
  37. magic_hour/resources/v1/files/README.md +1 -5
  38. magic_hour/resources/v1/files/upload_urls/README.md +11 -10
  39. magic_hour/resources/v1/files/upload_urls/client.py +6 -4
  40. magic_hour/resources/v1/image_background_remover/README.md +11 -12
  41. magic_hour/resources/v1/image_projects/README.md +12 -16
  42. magic_hour/resources/v1/image_to_video/README.md +19 -21
  43. magic_hour/resources/v1/lip_sync/README.md +27 -21
  44. magic_hour/resources/v1/lip_sync/client.py +15 -0
  45. magic_hour/resources/v1/photo_colorizer/README.md +10 -11
  46. magic_hour/resources/v1/text_to_video/README.md +15 -17
  47. magic_hour/resources/v1/video_projects/README.md +12 -16
  48. magic_hour/resources/v1/video_to_video/README.md +24 -26
  49. magic_hour/types/models/__init__.py +2 -0
  50. magic_hour/types/models/v1_ai_voice_cloner_create_response.py +27 -0
  51. magic_hour/types/models/v1_audio_projects_get_response.py +1 -1
  52. magic_hour/types/models/v1_video_projects_get_response.py +1 -1
  53. magic_hour/types/params/__init__.py +26 -0
  54. magic_hour/types/params/v1_ai_image_editor_create_body_assets.py +18 -4
  55. magic_hour/types/params/v1_ai_image_editor_create_body_style.py +13 -0
  56. magic_hour/types/params/v1_ai_image_editor_generate_body_assets.py +12 -1
  57. magic_hour/types/params/v1_ai_image_generator_create_body_style.py +16 -0
  58. magic_hour/types/params/v1_ai_talking_photo_create_body_style.py +6 -4
  59. magic_hour/types/params/v1_ai_voice_cloner_create_body.py +49 -0
  60. magic_hour/types/params/v1_ai_voice_cloner_create_body_assets.py +33 -0
  61. magic_hour/types/params/v1_ai_voice_cloner_create_body_style.py +28 -0
  62. magic_hour/types/params/v1_ai_voice_cloner_generate_body_assets.py +28 -0
  63. magic_hour/types/params/v1_ai_voice_generator_create_body_style.py +382 -2
  64. magic_hour/types/params/v1_face_swap_create_body_style.py +1 -1
  65. magic_hour/types/params/v1_files_upload_urls_create_body_items_item.py +1 -1
  66. magic_hour/types/params/v1_lip_sync_create_body.py +12 -0
  67. magic_hour/types/params/v1_lip_sync_create_body_style.py +37 -0
  68. magic_hour/types/params/v1_video_to_video_create_body.py +1 -1
  69. magic_hour/types/params/v1_video_to_video_create_body_style.py +32 -4
  70. {magic_hour-0.40.0.dist-info → magic_hour-0.44.0.dist-info}/METADATA +77 -62
  71. {magic_hour-0.40.0.dist-info → magic_hour-0.44.0.dist-info}/RECORD +73 -63
  72. {magic_hour-0.40.0.dist-info → magic_hour-0.44.0.dist-info}/LICENSE +0 -0
  73. {magic_hour-0.40.0.dist-info → magic_hour-0.44.0.dist-info}/WHEEL +0 -0
@@ -9,25 +9,215 @@ class V1AiVoiceGeneratorCreateBodyStyle(typing_extensions.TypedDict):
9
9
 
10
10
  prompt: typing_extensions.Required[str]
11
11
  """
12
- Text used to generate speech. Starter tier users can use up to 200 characters, while Creator, Pro, or Business users can use up to 1000.
12
+ Text used to generate speech. Starter tier users can use up to 1000 characters, while Creator, Pro, or Business users can use up to 1000.
13
13
  """
14
14
 
15
15
  voice_name: typing_extensions.Required[
16
16
  typing_extensions.Literal[
17
+ "A.R. Rahman",
18
+ "Aamir Khan",
19
+ "Abraham Lincoln",
20
+ "Adam Driver",
21
+ "Ajay Devgn",
22
+ "Akshay Kumar",
23
+ "Alain Delon",
24
+ "Alan Alda",
25
+ "Alan Cumming",
26
+ "Alan Rickman",
27
+ "Albert Einstein",
28
+ "Alex Trebek",
29
+ "Alexz Johnson",
30
+ "Amitabh Bachchan",
31
+ "Amy Poehler",
32
+ "Ana Gasteyer",
33
+ "Andrew Rannells",
34
+ "Ang Lee",
35
+ "Anne Hathaway",
36
+ "Ansel Elgort",
37
+ "Anthony Anderson",
38
+ "Anthony Mackie",
39
+ "Arden Cho",
40
+ "Armie Hammer",
41
+ "Asa Butterfield",
42
+ "B.J. Novak",
17
43
  "Barack Obama",
44
+ "Barbara Eden",
45
+ "Bear Grylls",
46
+ "Ben McKenzie",
47
+ "Ben Stiller",
48
+ "Ben Whishaw",
49
+ "Betty White",
50
+ "Bill Nighy",
51
+ "Bill Pullman",
52
+ "Billie Joe Armstrong",
53
+ "Bingbing Li",
54
+ "Blake Shelton",
55
+ "Bob Barker",
56
+ "Bonnie Wright",
57
+ "Booboo Stewart",
58
+ "Brad Paisley",
59
+ "Bradley Steven Perry",
60
+ "Brendan Gleeson",
61
+ "Brian Cox",
62
+ "Bruno Ganz",
63
+ "Bruno Mars",
64
+ "Burt Reynolds",
65
+ "Caitriona Balfe",
66
+ "Caity Lotz",
67
+ "Cameron Boyce",
68
+ "Candice Accola",
69
+ "Carrie Fisher",
70
+ "Carrie Underwood",
71
+ "Casey Affleck",
72
+ "Caterina Scorsone",
73
+ "Cedric the Entertainer",
74
+ "Chace Crawford",
75
+ "Chadwick Boseman",
76
+ "Charles Dance",
77
+ "Charlie Chaplin",
78
+ "Charlie Day",
79
+ "Chiwetel Ejiofor",
80
+ "Chris Hemsworth",
81
+ "Chris Martin",
82
+ "Chris Pine",
83
+ "Christina Hendricks",
84
+ "Christina Ricci",
85
+ "Christopher Mintz-Plasse",
86
+ "Cillian Murphy",
87
+ "Cyndi Lauper",
88
+ "Dakota Fanning",
89
+ "Damian Lewis",
90
+ "Dan Aykroyd",
91
+ "Dan Fogler",
92
+ "Dan Stevens",
93
+ "Daniel Craig",
94
+ "Daniel Dae Kim",
95
+ "Danielle Panabaker",
96
+ "Dave Bautista",
97
+ "David Attenborough",
98
+ "David Letterman",
99
+ "David Oyelowo",
100
+ "David Schwimmer",
101
+ "David Tennant",
102
+ "Denis Leary",
103
+ "Derek Mears",
104
+ "Diane Keaton",
105
+ "Diane Kruger",
106
+ "Dick Van Dyke",
107
+ "Diego Luna",
108
+ "Domhnall Gleeson",
109
+ "Dominic Cooper",
110
+ "Donald Glover",
111
+ "Donald Sutherland",
18
112
  "Donald Trump",
113
+ "Donnie Yen",
114
+ "Doutzen Kroes",
115
+ "Dove Cameron",
116
+ "Dr. Dre",
117
+ "Drake Bell",
118
+ "Drew Carey",
119
+ "Eartha Kitt",
120
+ "Eddie Izzard",
121
+ "Edward Asner",
122
+ "Eli Roth",
123
+ "Elisabeth Moss",
124
+ "Elle Fanning",
125
+ "Ellen Burstyn",
19
126
  "Elon Musk",
127
+ "Emile Hirsch",
128
+ "Ernie Hudson",
129
+ "Ezra Miller",
130
+ "Felicity Jones",
131
+ "Fergie",
132
+ "Fiona Shaw",
133
+ "Florence Henderson",
134
+ "Forest Whitaker",
135
+ "Francia Raisa",
136
+ "Freddie Highmore",
137
+ "Freida Pinto",
138
+ "Geena Davis",
139
+ "Gemma Arterton",
140
+ "Geri Halliwell",
141
+ "Gillian Jacobs",
142
+ "Gina Carano",
143
+ "Ginnifer Goodwin",
144
+ "Glenn Close",
145
+ "Gloria Steinem",
146
+ "Gordon Ramsay",
147
+ "Greta Gerwig",
148
+ "Gugu Mbatha-Raw",
149
+ "Guy Pearce",
150
+ "Gwendoline Christie",
151
+ "Hailee Steinfeld",
152
+ "Hans Zimmer",
153
+ "Harry Connick Jr.",
154
+ "Harvey Keitel",
155
+ "Helena Bonham Carter",
156
+ "Henry Cavill",
157
+ "Hilary Swank",
158
+ "Howie Mandel",
159
+ "Hugh Bonneville",
160
+ "Hugh Jackman",
161
+ "Hugh Laurie",
162
+ "Idina Menzel",
163
+ "Imelda Staunton",
164
+ "Ingrid Bergman",
165
+ "Irrfan Khan",
166
+ "Isla Fisher",
167
+ "Iwan Rheon",
168
+ "J. K. Simmons",
169
+ "J.J. Abrams",
170
+ "Jack Black",
171
+ "Jack Lemmon",
172
+ "James Earl Jones",
173
+ "Janet Jackson",
174
+ "Jared Leto",
175
+ "Jason Bateman",
176
+ "Jason Segel",
177
+ "Jeff Goldblum",
178
+ "Jennifer Carpenter",
179
+ "Jennifer Coolidge",
180
+ "Jimmy Fallon",
20
181
  "Joe Biden",
21
182
  "Joe Rogan",
183
+ "John F. Kennedy",
184
+ "Johnny Galecki",
185
+ "Jon Favreau",
186
+ "Joseph Gordon-Levitt",
187
+ "Josh Brolin",
188
+ "Josh Gad",
189
+ "Josh Groban",
190
+ "Julia Louis-Dreyfus",
191
+ "Julia Roberts",
22
192
  "Kanye West",
193
+ "Katy Perry",
194
+ "Kesha",
195
+ "Kevin Bacon",
23
196
  "Kim Kardashian",
197
+ "Kris Jenner",
198
+ "Kristen Bell",
199
+ "Kristen Stewart",
200
+ "Kristen Wiig",
201
+ "Lorde",
202
+ "Lucille Ball",
203
+ "Marilyn Monroe",
24
204
  "Mark Zuckerberg",
205
+ "Matt Smith",
25
206
  "Morgan Freeman",
207
+ "Natalie Portman",
208
+ "Prince",
209
+ "Rooney Mara",
210
+ "Samuel L. Jackson",
211
+ "Sean Connery",
212
+ "Stephen Colbert",
213
+ "Steve Carell",
26
214
  "Taylor Swift",
215
+ "Tom Hiddleston",
216
+ "Zoe Saldana",
27
217
  ]
28
218
  ]
29
219
  """
30
- The voice to use for the speech. Available voices: Elon Musk, Mark Zuckerberg, Joe Rogan, Barack Obama, Morgan Freeman, Kanye West, Donald Trump, Joe Biden, Kim Kardashian, Taylor Swift
220
+ The voice to use for the speech. Available voices: Elon Musk, Mark Zuckerberg, Joe Rogan, Barack Obama, Morgan Freeman, Kanye West, Donald Trump, Joe Biden, Kim Kardashian, Taylor Swift, James Earl Jones, Samuel L. Jackson, Jeff Goldblum, David Attenborough, Sean Connery, Cillian Murphy, Anne Hathaway, Julia Roberts, Natalie Portman, Steve Carell, Amy Poehler, Stephen Colbert, Jimmy Fallon, David Letterman, Alex Trebek, Katy Perry, Prince, Kevin Bacon, Tom Hiddleston, Adam Driver, Alan Rickman, Alexz Johnson, Ana Gasteyer, Andrew Rannells, Arden Cho, Bear Grylls, Ben McKenzie, Ben Stiller, Ben Whishaw, Billie Joe Armstrong, Bingbing Li, Bob Barker, Booboo Stewart, Bradley Steven Perry, Bruno Mars, Caity Lotz, Cameron Boyce, Candice Accola, Carrie Underwood, Casey Affleck, Caterina Scorsone, Cedric the Entertainer, Chace Crawford, Chadwick Boseman, Charlie Day, Chris Hemsworth, Chris Martin, Christopher Mintz-Plasse, Dan Fogler, Dan Stevens, Daniel Dae Kim, Danielle Panabaker, Dave Bautista, David Schwimmer, Denis Leary, Derek Mears, Diego Luna, Donald Glover, Donnie Yen, Doutzen Kroes, Dove Cameron, Dr. Dre, Drake Bell, Elle Fanning, Ernie Hudson, Fergie, Forest Whitaker, Francia Raisa, Freddie Highmore, Gillian Jacobs, Gina Carano, Ginnifer Goodwin, Gordon Ramsay, Guy Pearce, Gwendoline Christie, Hailee Steinfeld, Howie Mandel, Hugh Jackman, Hugh Laurie, J. K. Simmons, Jack Black, Jared Leto, Jennifer Carpenter, Kesha, Kris Jenner, Kristen Bell, Lorde, Matt Smith, Marilyn Monroe, Charlie Chaplin, Albert Einstein, Abraham Lincoln, John F. Kennedy, Lucille Ball, A.R. Rahman, Aamir Khan, Ajay Devgn, Akshay Kumar, Alain Delon, Alan Alda, Alan Cumming, Amitabh Bachchan, Ang Lee, Ansel Elgort, Anthony Anderson, Anthony Mackie, Armie Hammer, Asa Butterfield, B.J. Novak, Barbara Eden, Betty White, Bill Nighy, Bill Pullman, Blake Shelton, Bonnie Wright, Brad Paisley, Brendan Gleeson, Brian Cox, Bruno Ganz, Burt Reynolds, Carrie Fisher, Charles Dance, Chiwetel Ejiofor, Chris Pine, Christina Hendricks, Christina Ricci, Cyndi Lauper, Dakota Fanning, Damian Lewis, Dan Aykroyd, Daniel Craig, David Oyelowo, David Tennant, Diane Keaton, Diane Kruger, Dick Van Dyke, Domhnall Gleeson, Dominic Cooper, Donald Sutherland, Drew Carey, Eartha Kitt, Eddie Izzard, Edward Asner, Eli Roth, Elisabeth Moss, Ellen Burstyn, Emile Hirsch, Ezra Miller, Felicity Jones, Fiona Shaw, Florence Henderson, Freida Pinto, Geena Davis, Gemma Arterton, Geri Halliwell, Glenn Close, Gloria Steinem, Greta Gerwig, Gugu Mbatha-Raw, Hans Zimmer, Harry Connick Jr., Harvey Keitel, Helena Bonham Carter, Henry Cavill, Hilary Swank, Hugh Bonneville, Idina Menzel, Imelda Staunton, Ingrid Bergman, Irrfan Khan, Isla Fisher, Iwan Rheon, Jack Lemmon, Janet Jackson, Jason Bateman, Jason Segel, Jennifer Coolidge, Johnny Galecki, Jon Favreau, Joseph Gordon-Levitt, Josh Brolin, Josh Gad, Josh Groban, Julia Louis-Dreyfus, Kristen Stewart, Kristen Wiig, Rooney Mara, Caitriona Balfe, J.J. Abrams, Zoe Saldana
31
221
  """
32
222
 
33
223
 
@@ -45,16 +235,206 @@ class _SerializerV1AiVoiceGeneratorCreateBodyStyle(pydantic.BaseModel):
45
235
  alias="prompt",
46
236
  )
47
237
  voice_name: typing_extensions.Literal[
238
+ "A.R. Rahman",
239
+ "Aamir Khan",
240
+ "Abraham Lincoln",
241
+ "Adam Driver",
242
+ "Ajay Devgn",
243
+ "Akshay Kumar",
244
+ "Alain Delon",
245
+ "Alan Alda",
246
+ "Alan Cumming",
247
+ "Alan Rickman",
248
+ "Albert Einstein",
249
+ "Alex Trebek",
250
+ "Alexz Johnson",
251
+ "Amitabh Bachchan",
252
+ "Amy Poehler",
253
+ "Ana Gasteyer",
254
+ "Andrew Rannells",
255
+ "Ang Lee",
256
+ "Anne Hathaway",
257
+ "Ansel Elgort",
258
+ "Anthony Anderson",
259
+ "Anthony Mackie",
260
+ "Arden Cho",
261
+ "Armie Hammer",
262
+ "Asa Butterfield",
263
+ "B.J. Novak",
48
264
  "Barack Obama",
265
+ "Barbara Eden",
266
+ "Bear Grylls",
267
+ "Ben McKenzie",
268
+ "Ben Stiller",
269
+ "Ben Whishaw",
270
+ "Betty White",
271
+ "Bill Nighy",
272
+ "Bill Pullman",
273
+ "Billie Joe Armstrong",
274
+ "Bingbing Li",
275
+ "Blake Shelton",
276
+ "Bob Barker",
277
+ "Bonnie Wright",
278
+ "Booboo Stewart",
279
+ "Brad Paisley",
280
+ "Bradley Steven Perry",
281
+ "Brendan Gleeson",
282
+ "Brian Cox",
283
+ "Bruno Ganz",
284
+ "Bruno Mars",
285
+ "Burt Reynolds",
286
+ "Caitriona Balfe",
287
+ "Caity Lotz",
288
+ "Cameron Boyce",
289
+ "Candice Accola",
290
+ "Carrie Fisher",
291
+ "Carrie Underwood",
292
+ "Casey Affleck",
293
+ "Caterina Scorsone",
294
+ "Cedric the Entertainer",
295
+ "Chace Crawford",
296
+ "Chadwick Boseman",
297
+ "Charles Dance",
298
+ "Charlie Chaplin",
299
+ "Charlie Day",
300
+ "Chiwetel Ejiofor",
301
+ "Chris Hemsworth",
302
+ "Chris Martin",
303
+ "Chris Pine",
304
+ "Christina Hendricks",
305
+ "Christina Ricci",
306
+ "Christopher Mintz-Plasse",
307
+ "Cillian Murphy",
308
+ "Cyndi Lauper",
309
+ "Dakota Fanning",
310
+ "Damian Lewis",
311
+ "Dan Aykroyd",
312
+ "Dan Fogler",
313
+ "Dan Stevens",
314
+ "Daniel Craig",
315
+ "Daniel Dae Kim",
316
+ "Danielle Panabaker",
317
+ "Dave Bautista",
318
+ "David Attenborough",
319
+ "David Letterman",
320
+ "David Oyelowo",
321
+ "David Schwimmer",
322
+ "David Tennant",
323
+ "Denis Leary",
324
+ "Derek Mears",
325
+ "Diane Keaton",
326
+ "Diane Kruger",
327
+ "Dick Van Dyke",
328
+ "Diego Luna",
329
+ "Domhnall Gleeson",
330
+ "Dominic Cooper",
331
+ "Donald Glover",
332
+ "Donald Sutherland",
49
333
  "Donald Trump",
334
+ "Donnie Yen",
335
+ "Doutzen Kroes",
336
+ "Dove Cameron",
337
+ "Dr. Dre",
338
+ "Drake Bell",
339
+ "Drew Carey",
340
+ "Eartha Kitt",
341
+ "Eddie Izzard",
342
+ "Edward Asner",
343
+ "Eli Roth",
344
+ "Elisabeth Moss",
345
+ "Elle Fanning",
346
+ "Ellen Burstyn",
50
347
  "Elon Musk",
348
+ "Emile Hirsch",
349
+ "Ernie Hudson",
350
+ "Ezra Miller",
351
+ "Felicity Jones",
352
+ "Fergie",
353
+ "Fiona Shaw",
354
+ "Florence Henderson",
355
+ "Forest Whitaker",
356
+ "Francia Raisa",
357
+ "Freddie Highmore",
358
+ "Freida Pinto",
359
+ "Geena Davis",
360
+ "Gemma Arterton",
361
+ "Geri Halliwell",
362
+ "Gillian Jacobs",
363
+ "Gina Carano",
364
+ "Ginnifer Goodwin",
365
+ "Glenn Close",
366
+ "Gloria Steinem",
367
+ "Gordon Ramsay",
368
+ "Greta Gerwig",
369
+ "Gugu Mbatha-Raw",
370
+ "Guy Pearce",
371
+ "Gwendoline Christie",
372
+ "Hailee Steinfeld",
373
+ "Hans Zimmer",
374
+ "Harry Connick Jr.",
375
+ "Harvey Keitel",
376
+ "Helena Bonham Carter",
377
+ "Henry Cavill",
378
+ "Hilary Swank",
379
+ "Howie Mandel",
380
+ "Hugh Bonneville",
381
+ "Hugh Jackman",
382
+ "Hugh Laurie",
383
+ "Idina Menzel",
384
+ "Imelda Staunton",
385
+ "Ingrid Bergman",
386
+ "Irrfan Khan",
387
+ "Isla Fisher",
388
+ "Iwan Rheon",
389
+ "J. K. Simmons",
390
+ "J.J. Abrams",
391
+ "Jack Black",
392
+ "Jack Lemmon",
393
+ "James Earl Jones",
394
+ "Janet Jackson",
395
+ "Jared Leto",
396
+ "Jason Bateman",
397
+ "Jason Segel",
398
+ "Jeff Goldblum",
399
+ "Jennifer Carpenter",
400
+ "Jennifer Coolidge",
401
+ "Jimmy Fallon",
51
402
  "Joe Biden",
52
403
  "Joe Rogan",
404
+ "John F. Kennedy",
405
+ "Johnny Galecki",
406
+ "Jon Favreau",
407
+ "Joseph Gordon-Levitt",
408
+ "Josh Brolin",
409
+ "Josh Gad",
410
+ "Josh Groban",
411
+ "Julia Louis-Dreyfus",
412
+ "Julia Roberts",
53
413
  "Kanye West",
414
+ "Katy Perry",
415
+ "Kesha",
416
+ "Kevin Bacon",
54
417
  "Kim Kardashian",
418
+ "Kris Jenner",
419
+ "Kristen Bell",
420
+ "Kristen Stewart",
421
+ "Kristen Wiig",
422
+ "Lorde",
423
+ "Lucille Ball",
424
+ "Marilyn Monroe",
55
425
  "Mark Zuckerberg",
426
+ "Matt Smith",
56
427
  "Morgan Freeman",
428
+ "Natalie Portman",
429
+ "Prince",
430
+ "Rooney Mara",
431
+ "Samuel L. Jackson",
432
+ "Sean Connery",
433
+ "Stephen Colbert",
434
+ "Steve Carell",
57
435
  "Taylor Swift",
436
+ "Tom Hiddleston",
437
+ "Zoe Saldana",
58
438
  ] = pydantic.Field(
59
439
  alias="voice_name",
60
440
  )
@@ -13,7 +13,7 @@ class V1FaceSwapCreateBodyStyle(typing_extensions.TypedDict):
13
13
  ]
14
14
  """
15
15
  * `v1` - May preserve skin detail and texture better, but weaker identity preservation.
16
- * `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation. (Recommended)
16
+ * `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation.
17
17
  * `default` - Use the version we recommend, which will change over time. This is recommended unless you need a specific earlier version. This is the default behavior.
18
18
  """
19
19
 
@@ -9,7 +9,7 @@ class V1FilesUploadUrlsCreateBodyItemsItem(typing_extensions.TypedDict):
9
9
 
10
10
  extension: typing_extensions.Required[str]
11
11
  """
12
- The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,mpeg,wav,aac,aiff,flac,png,jpg,jpeg,webp,avif,jp2,tiff,bmp
12
+ The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,png,jpg,jpeg,heic,webp,avif,jp2,tiff,bmp,gif,webp,webm
13
13
  """
14
14
 
15
15
  type_: typing_extensions.Required[
@@ -6,6 +6,10 @@ from .v1_lip_sync_create_body_assets import (
6
6
  V1LipSyncCreateBodyAssets,
7
7
  _SerializerV1LipSyncCreateBodyAssets,
8
8
  )
9
+ from .v1_lip_sync_create_body_style import (
10
+ V1LipSyncCreateBodyStyle,
11
+ _SerializerV1LipSyncCreateBodyStyle,
12
+ )
9
13
 
10
14
 
11
15
  class V1LipSyncCreateBody(typing_extensions.TypedDict):
@@ -49,6 +53,11 @@ class V1LipSyncCreateBody(typing_extensions.TypedDict):
49
53
  The start time of the input video in seconds. This value is used to trim the input video. The value must be greater than 0.
50
54
  """
51
55
 
56
+ style: typing_extensions.NotRequired[V1LipSyncCreateBodyStyle]
57
+ """
58
+ Attributes used to dictate the style of the output
59
+ """
60
+
52
61
  width: typing_extensions.NotRequired[typing.Optional[int]]
53
62
  """
54
63
  `width` is deprecated and no longer influences the output video's resolution.
@@ -85,4 +94,7 @@ class _SerializerV1LipSyncCreateBody(pydantic.BaseModel):
85
94
  start_seconds: float = pydantic.Field(
86
95
  alias="start_seconds",
87
96
  )
97
+ style: typing.Optional[_SerializerV1LipSyncCreateBodyStyle] = pydantic.Field(
98
+ alias="style", default=None
99
+ )
88
100
  width: typing.Optional[int] = pydantic.Field(alias="width", default=None)
@@ -0,0 +1,37 @@
1
+ import pydantic
2
+ import typing
3
+ import typing_extensions
4
+
5
+
6
+ class V1LipSyncCreateBodyStyle(typing_extensions.TypedDict):
7
+ """
8
+ Attributes used to dictate the style of the output
9
+ """
10
+
11
+ generation_mode: typing_extensions.NotRequired[
12
+ typing_extensions.Literal["lite", "pro", "standard"]
13
+ ]
14
+ """
15
+ A specific version of our lip sync system, optimized for different needs.
16
+ * `lite` - Fast and affordable lip sync - best for simple videos. Costs 1 credit per frame of video.
17
+ * `standard` - Natural, accurate lip sync - best for most creators. Costs 1 credit per frame of video.
18
+ * `pro` - Premium fidelity with enhanced detail - best for professionals. Costs 2 credits per frame of video.
19
+
20
+ Note: `standard` and `pro` are only available for users on Creator, Pro, and Business tiers.
21
+
22
+ """
23
+
24
+
25
+ class _SerializerV1LipSyncCreateBodyStyle(pydantic.BaseModel):
26
+ """
27
+ Serializer for V1LipSyncCreateBodyStyle handling case conversions
28
+ and file omissions as dictated by the API
29
+ """
30
+
31
+ model_config = pydantic.ConfigDict(
32
+ populate_by_name=True,
33
+ )
34
+
35
+ generation_mode: typing.Optional[
36
+ typing_extensions.Literal["lite", "pro", "standard"]
37
+ ] = pydantic.Field(alias="generation_mode", default=None)
@@ -31,7 +31,7 @@ class V1VideoToVideoCreateBody(typing_extensions.TypedDict):
31
31
  typing_extensions.Literal["FULL", "HALF"]
32
32
  ]
33
33
  """
34
- Determines whether the resulting video will have the same frame per second as the original video, or half.
34
+ Determines whether the resulting video will have the same frame per second as the original video, or half.
35
35
  * `FULL` - the result video will have the same FPS as the input video
36
36
  * `HALF` - the result video will have half the FPS as the input video
37
37
  """
@@ -31,6 +31,7 @@ class V1VideoToVideoCreateBodyStyle(typing_extensions.TypedDict):
31
31
  "Future Bot",
32
32
  "Futuristic Fantasy",
33
33
  "GTA",
34
+ "Ghibli Anime",
34
35
  "Ghost",
35
36
  "Gundam",
36
37
  "Hologram",
@@ -59,11 +60,15 @@ class V1VideoToVideoCreateBodyStyle(typing_extensions.TypedDict):
59
60
  "Pixel",
60
61
  "Power Armor",
61
62
  "Power Ranger",
63
+ "Radiant Anime",
62
64
  "Realistic Anime",
65
+ "Realistic Pixar",
63
66
  "Retro Anime",
64
67
  "Retro Sci-Fi",
65
68
  "Samurai",
66
69
  "Samurai Bot",
70
+ "Sharp Anime",
71
+ "Soft Anime",
67
72
  "Solid Snake",
68
73
  "Spartan",
69
74
  "Starfield",
@@ -76,19 +81,28 @@ class V1VideoToVideoCreateBodyStyle(typing_extensions.TypedDict):
76
81
  "Van Gogh",
77
82
  "Viking",
78
83
  "Watercolor",
84
+ "Western Anime",
79
85
  "Wu Kong",
86
+ "Wuxia Anime",
80
87
  "Zelda",
81
88
  ]
82
89
  ]
83
90
 
84
91
  model: typing_extensions.NotRequired[
85
92
  typing_extensions.Literal[
86
- "Absolute Reality", "Dreamshaper", "Flat 2D Anime", "default"
93
+ "3D Anime",
94
+ "Absolute Reality",
95
+ "Dreamshaper",
96
+ "Flat 2D Anime",
97
+ "Kaywaii",
98
+ "Soft Anime",
99
+ "Western Anime",
100
+ "default",
87
101
  ]
88
102
  ]
89
103
  """
90
- * `Dreamshaper` - a good all-around model that works for both animations as well as realism.
91
- * `Absolute Reality` - better at realism, but you'll often get similar results with Dreamshaper as well.
104
+ * `Dreamshaper` - a good all-around model that works for both animations as well as realism.
105
+ * `Absolute Reality` - better at realism, but you'll often get similar results with Dreamshaper as well.
92
106
  * `Flat 2D Anime` - best for a flat illustration style that's common in most anime.
93
107
  * `default` - use the default recommended model for the selected art style.
94
108
  """
@@ -149,6 +163,7 @@ class _SerializerV1VideoToVideoCreateBodyStyle(pydantic.BaseModel):
149
163
  "Future Bot",
150
164
  "Futuristic Fantasy",
151
165
  "GTA",
166
+ "Ghibli Anime",
152
167
  "Ghost",
153
168
  "Gundam",
154
169
  "Hologram",
@@ -177,11 +192,15 @@ class _SerializerV1VideoToVideoCreateBodyStyle(pydantic.BaseModel):
177
192
  "Pixel",
178
193
  "Power Armor",
179
194
  "Power Ranger",
195
+ "Radiant Anime",
180
196
  "Realistic Anime",
197
+ "Realistic Pixar",
181
198
  "Retro Anime",
182
199
  "Retro Sci-Fi",
183
200
  "Samurai",
184
201
  "Samurai Bot",
202
+ "Sharp Anime",
203
+ "Soft Anime",
185
204
  "Solid Snake",
186
205
  "Spartan",
187
206
  "Starfield",
@@ -194,14 +213,23 @@ class _SerializerV1VideoToVideoCreateBodyStyle(pydantic.BaseModel):
194
213
  "Van Gogh",
195
214
  "Viking",
196
215
  "Watercolor",
216
+ "Western Anime",
197
217
  "Wu Kong",
218
+ "Wuxia Anime",
198
219
  "Zelda",
199
220
  ] = pydantic.Field(
200
221
  alias="art_style",
201
222
  )
202
223
  model: typing.Optional[
203
224
  typing_extensions.Literal[
204
- "Absolute Reality", "Dreamshaper", "Flat 2D Anime", "default"
225
+ "3D Anime",
226
+ "Absolute Reality",
227
+ "Dreamshaper",
228
+ "Flat 2D Anime",
229
+ "Kaywaii",
230
+ "Soft Anime",
231
+ "Western Anime",
232
+ "default",
205
233
  ]
206
234
  ] = pydantic.Field(alias="model", default=None)
207
235
  prompt: typing.Optional[str] = pydantic.Field(alias="prompt", default=None)