magic-hour 0.56.1 → 0.58.0

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 (38) hide show
  1. package/README.md +4 -0
  2. package/dist/environment.d.ts +1 -1
  3. package/dist/environment.js +1 -1
  4. package/dist/resources/v1/head-swap/index.d.ts +2 -0
  5. package/dist/resources/v1/head-swap/index.js +5 -0
  6. package/dist/resources/v1/head-swap/request-types.d.ts +33 -0
  7. package/dist/resources/v1/head-swap/request-types.js +76 -0
  8. package/dist/resources/v1/head-swap/resource-client.d.ts +64 -0
  9. package/dist/resources/v1/head-swap/resource-client.js +105 -0
  10. package/dist/resources/v1/image-to-video/request-types.d.ts +7 -3
  11. package/dist/resources/v1/image-to-video/request-types.js +2 -0
  12. package/dist/resources/v1/index.d.ts +1 -0
  13. package/dist/resources/v1/index.js +2 -1
  14. package/dist/resources/v1/resource-client.d.ts +3 -0
  15. package/dist/resources/v1/resource-client.js +5 -0
  16. package/dist/resources/v1/text-to-video/request-types.d.ts +8 -3
  17. package/dist/resources/v1/text-to-video/request-types.js +2 -0
  18. package/dist/types/index.d.ts +3 -0
  19. package/dist/types/v1-ai-voice-generator-create-body-style-voice-name-enum.d.ts +2 -2
  20. package/dist/types/v1-ai-voice-generator-create-body-style.d.ts +3 -3
  21. package/dist/types/v1-ai-voice-generator-create-body-style.js +0 -2
  22. package/dist/types/v1-head-swap-create-body-assets.d.ts +37 -0
  23. package/dist/types/v1-head-swap-create-body-assets.js +71 -0
  24. package/dist/types/v1-head-swap-create-body.d.ts +33 -0
  25. package/dist/types/v1-head-swap-create-body.js +76 -0
  26. package/dist/types/v1-head-swap-create-response.d.ts +34 -0
  27. package/dist/types/v1-head-swap-create-response.js +75 -0
  28. package/dist/types/v1-image-to-video-create-body-assets.d.ts +1 -0
  29. package/dist/types/v1-image-to-video-create-body-model-enum.d.ts +3 -2
  30. package/dist/types/v1-image-to-video-create-body-resolution-enum.d.ts +1 -0
  31. package/dist/types/v1-image-to-video-create-body.d.ts +7 -3
  32. package/dist/types/v1-image-to-video-create-body.js +2 -0
  33. package/dist/types/v1-text-to-video-create-body-aspect-ratio-enum.d.ts +1 -0
  34. package/dist/types/v1-text-to-video-create-body-model-enum.d.ts +3 -2
  35. package/dist/types/v1-text-to-video-create-body-resolution-enum.d.ts +1 -0
  36. package/dist/types/v1-text-to-video-create-body.d.ts +8 -3
  37. package/dist/types/v1-text-to-video-create-body.js +2 -0
  38. package/package.json +1 -1
package/README.md CHANGED
@@ -301,6 +301,10 @@ Valid values are: `none`, `error`, `warn`, `info`, `debug` (case insensitive). I
301
301
 
302
302
  - [create](src/resources/v1/files/upload-urls/README.md#create) - Generate asset upload urls
303
303
 
304
+ ### [v1.headSwap](src/resources/v1/head-swap/README.md)
305
+
306
+ - [create](src/resources/v1/head-swap/README.md#create) - Head Swap
307
+
304
308
  ### [v1.imageBackgroundRemover](src/resources/v1/image-background-remover/README.md)
305
309
 
306
310
  - [create](src/resources/v1/image-background-remover/README.md#create) - Image Background Remover
@@ -1,4 +1,4 @@
1
1
  export declare enum Environment {
2
2
  Environment = "https://api.magichour.ai",
3
- MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.57.1"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.59.0"
4
4
  }
@@ -4,5 +4,5 @@ exports.Environment = void 0;
4
4
  var Environment;
5
5
  (function (Environment) {
6
6
  Environment["Environment"] = "https://api.magichour.ai";
7
- Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.57.1";
7
+ Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.59.0";
8
8
  })(Environment || (exports.Environment = Environment = {}));
@@ -0,0 +1,2 @@
1
+ export { CreateRequest } from "./request-types";
2
+ export { HeadSwapClient } from "./resource-client";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HeadSwapClient = void 0;
4
+ var resource_client_1 = require("./resource-client");
5
+ Object.defineProperty(exports, "HeadSwapClient", { enumerable: true, get: function () { return resource_client_1.HeadSwapClient; } });
@@ -0,0 +1,33 @@
1
+ import * as z from "zod";
2
+ import { External$V1HeadSwapCreateBodyAssets, V1HeadSwapCreateBodyAssets } from "../../../types/v1-head-swap-create-body-assets";
3
+ /**
4
+ * CreateRequest
5
+ */
6
+ export type CreateRequest = {
7
+ /**
8
+ * Provide the body and head images for head swap
9
+ */
10
+ assets: V1HeadSwapCreateBodyAssets;
11
+ /**
12
+ * Constrains the larger dimension (height or width) of the output. Omit to use the maximum allowed for your plan (capped at 2048px). Values above your plan maximum are clamped down to your plan's maximum.
13
+ */
14
+ maxResolution?: number | undefined;
15
+ /**
16
+ * Give your image a custom name for easy identification.
17
+ */
18
+ name?: string | undefined;
19
+ };
20
+ /**
21
+ * @internal
22
+ * CreateRequest without any key transformation, this is what
23
+ * we expect to come in as network data
24
+ */
25
+ export type External$CreateRequest = {
26
+ assets: External$V1HeadSwapCreateBodyAssets;
27
+ max_resolution?: number | undefined;
28
+ name?: string | undefined;
29
+ };
30
+ export declare const Schemas$CreateRequest: {
31
+ in: z.ZodType<CreateRequest, z.ZodTypeDef, unknown>;
32
+ out: z.ZodType<External$CreateRequest, z.ZodTypeDef, CreateRequest>;
33
+ };
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.Schemas$CreateRequest = void 0;
37
+ const make_api_request_js_1 = require("make-api-request-js");
38
+ const z = __importStar(require("zod"));
39
+ const v1_head_swap_create_body_assets_1 = require("../../../types/v1-head-swap-create-body-assets");
40
+ /**
41
+ * Takes network data, validates it, and transforms keys to match typescript object CreateRequest
42
+ */
43
+ const SchemaIn$CreateRequest = z
44
+ .object({
45
+ assets: v1_head_swap_create_body_assets_1.Schemas$V1HeadSwapCreateBodyAssets.in,
46
+ max_resolution: z.number().int().optional(),
47
+ name: z.string().optional(),
48
+ })
49
+ .transform((obj) => {
50
+ return (0, make_api_request_js_1.zodTransform)(obj, {
51
+ assets: "assets",
52
+ max_resolution: "maxResolution",
53
+ name: "name",
54
+ });
55
+ });
56
+ /**
57
+ * @internal
58
+ * Takes typescript data, validates it, and maps keys to match the expected external object External$CreateRequest
59
+ */
60
+ const SchemaOut$CreateRequest = z
61
+ .object({
62
+ assets: v1_head_swap_create_body_assets_1.Schemas$V1HeadSwapCreateBodyAssets.out,
63
+ maxResolution: z.number().int().optional(),
64
+ name: z.string().optional(),
65
+ })
66
+ .transform((obj) => {
67
+ return (0, make_api_request_js_1.zodTransform)(obj, {
68
+ assets: "assets",
69
+ maxResolution: "max_resolution",
70
+ name: "name",
71
+ });
72
+ });
73
+ exports.Schemas$CreateRequest = {
74
+ in: SchemaIn$CreateRequest,
75
+ out: SchemaOut$CreateRequest,
76
+ };
@@ -0,0 +1,64 @@
1
+ import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions, ResourceClientOptions } from "make-api-request-js";
2
+ import { GenerateOptions, GenerateRequestType } from "../../../helpers/generate-type";
3
+ import * as requests from "../../../resources/v1/head-swap/request-types";
4
+ import * as types from "../../../types";
5
+ type GenerateRequest = GenerateRequestType<requests.CreateRequest, {
6
+ /**
7
+ * Image that receives the swapped head. This value is either
8
+ * - a direct URL to the image file
9
+ * - a path to a local file
10
+ *
11
+ * Note: if the path begins with `api-assets`, it will be assumed to already be uploaded to Magic Hour's storage, and will not be uploaded again.
12
+ */
13
+ bodyFilePath: string;
14
+ /**
15
+ * Image of the head to place on the body. This value is either
16
+ * - a direct URL to the image file
17
+ * - a path to a local file
18
+ *
19
+ * Note: if the path begins with `api-assets`, it will be assumed to already be uploaded to Magic Hour's storage, and will not be uploaded again.
20
+ */
21
+ headFilePath: string;
22
+ }>;
23
+ export declare class HeadSwapClient extends CoreResourceClient {
24
+ constructor(coreClient: CoreClient, opts: ResourceClientOptions);
25
+ /**
26
+ * Head Swap
27
+ *
28
+ * Swap a head onto a body image
29
+ *
30
+ * This method provides a convenient way to create a request and automatically wait for completion and download outputs.
31
+ *
32
+ * @example
33
+ * ```typescript
34
+ * import { Client } from "../../../index.js";
35
+ *
36
+ * const client = new Client({ token: process.env["API_TOKEN"]!! });
37
+ * const res = await client.v1.headSwap.generate(
38
+ * {
39
+ * assets: {
40
+ * bodyFilePath: "/path/to/body.png",
41
+ * headFilePath: "/path/to/head.png",
42
+ * },
43
+ * maxResolution: 1024,
44
+ * name: "My Head Swap image",
45
+ * },
46
+ * {
47
+ * waitForCompletion: true,
48
+ * downloadOutputs: true,
49
+ * downloadDirectory: ".",
50
+ * },
51
+ * );
52
+ * ```
53
+ */
54
+ generate(request: GenerateRequest, opts?: GenerateOptions): Promise<import("../image-projects/resource-client").V1ImageProjectsGetResponseWithDownloads>;
55
+ /**
56
+ * Head Swap
57
+ *
58
+ * Swap a head onto a body image. Each image costs 10 credits. Output resolution depends on your subscription; you may set `max_resolution` lower than your plan maximum if desired.
59
+ *
60
+ * POST /v1/head-swap
61
+ */
62
+ create(request: requests.CreateRequest, opts?: RequestOptions): ApiPromise<types.V1HeadSwapCreateResponse>;
63
+ }
64
+ export {};
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __rest = (this && this.__rest) || function (s, e) {
12
+ var t = {};
13
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
+ t[p] = s[p];
15
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
+ t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
21
+ };
22
+ Object.defineProperty(exports, "__esModule", { value: true });
23
+ exports.HeadSwapClient = void 0;
24
+ const make_api_request_js_1 = require("make-api-request-js");
25
+ const logger_1 = require("../../../logger");
26
+ const files_1 = require("../../../resources/v1/files");
27
+ const image_projects_1 = require("../../../resources/v1/image-projects");
28
+ const v1_head_swap_create_body_1 = require("../../../types/v1-head-swap-create-body");
29
+ const v1_head_swap_create_response_1 = require("../../../types/v1-head-swap-create-response");
30
+ class HeadSwapClient extends make_api_request_js_1.CoreResourceClient {
31
+ constructor(coreClient, opts) {
32
+ super(coreClient, opts);
33
+ }
34
+ /**
35
+ * Head Swap
36
+ *
37
+ * Swap a head onto a body image
38
+ *
39
+ * This method provides a convenient way to create a request and automatically wait for completion and download outputs.
40
+ *
41
+ * @example
42
+ * ```typescript
43
+ * import { Client } from "../../../index.js";
44
+ *
45
+ * const client = new Client({ token: process.env["API_TOKEN"]!! });
46
+ * const res = await client.v1.headSwap.generate(
47
+ * {
48
+ * assets: {
49
+ * bodyFilePath: "/path/to/body.png",
50
+ * headFilePath: "/path/to/head.png",
51
+ * },
52
+ * maxResolution: 1024,
53
+ * name: "My Head Swap image",
54
+ * },
55
+ * {
56
+ * waitForCompletion: true,
57
+ * downloadOutputs: true,
58
+ * downloadDirectory: ".",
59
+ * },
60
+ * );
61
+ * ```
62
+ */
63
+ generate(request_1) {
64
+ return __awaiter(this, arguments, void 0, function* (request, opts = {}) {
65
+ const { waitForCompletion = true, downloadOutputs = true, downloadDirectory = undefined } = opts, createOpts = __rest(opts, ["waitForCompletion", "downloadOutputs", "downloadDirectory"]);
66
+ const fileClient = new files_1.FilesClient(this._client, this._opts);
67
+ const _a = request.assets, { bodyFilePath, headFilePath } = _a, restAssets = __rest(_a, ["bodyFilePath", "headFilePath"]);
68
+ (0, logger_1.getLogger)().debug(`Uploading file ${bodyFilePath} to Magic Hour's storage`);
69
+ (0, logger_1.getLogger)().debug(`Uploading file ${headFilePath} to Magic Hour's storage`);
70
+ const [uploadedBodyFilePath, uploadedHeadFilePath] = yield Promise.all([
71
+ fileClient.uploadFile(bodyFilePath),
72
+ fileClient.uploadFile(headFilePath),
73
+ ]);
74
+ (0, logger_1.getLogger)().info(`Uploaded file ${bodyFilePath} to Magic Hour's storage as ${uploadedBodyFilePath}`);
75
+ (0, logger_1.getLogger)().info(`Uploaded file ${headFilePath} to Magic Hour's storage as ${uploadedHeadFilePath}`);
76
+ const createResponse = yield this.create(Object.assign(Object.assign({}, request), { assets: Object.assign(Object.assign({}, restAssets), { bodyFilePath: uploadedBodyFilePath, headFilePath: uploadedHeadFilePath }) }), createOpts);
77
+ (0, logger_1.getLogger)().info(`Created HeadSwapClient project ${createResponse.id}`);
78
+ const projectsClient = new image_projects_1.ImageProjectsClient(this._client, this._opts);
79
+ (0, logger_1.getLogger)().debug(`Checking result for HeadSwapClient project ${createResponse.id}`);
80
+ const result = yield projectsClient.checkResult({ id: createResponse.id }, Object.assign({ waitForCompletion,
81
+ downloadOutputs,
82
+ downloadDirectory }, createOpts));
83
+ return result;
84
+ });
85
+ }
86
+ /**
87
+ * Head Swap
88
+ *
89
+ * Swap a head onto a body image. Each image costs 10 credits. Output resolution depends on your subscription; you may set `max_resolution` lower than your plan maximum if desired.
90
+ *
91
+ * POST /v1/head-swap
92
+ */
93
+ create(request, opts) {
94
+ return this._client.makeRequest({
95
+ method: "post",
96
+ path: "/v1/head-swap",
97
+ auth: ["bearerAuth"],
98
+ contentType: "application/json",
99
+ body: v1_head_swap_create_body_1.Schemas$V1HeadSwapCreateBody.out.parse(request),
100
+ responseSchema: v1_head_swap_create_response_1.Schemas$V1HeadSwapCreateResponse.in,
101
+ opts,
102
+ });
103
+ }
104
+ }
105
+ exports.HeadSwapClient = HeadSwapClient;
@@ -14,6 +14,7 @@ export type CreateRequest = {
14
14
  *
15
15
  * Audio support varies by model:
16
16
  * * **`ltx-2`**: Automatically included with no extra credits
17
+ * * **`wan-2.2`**: Not supported
17
18
  * * **`seedance`**: Not supported
18
19
  * * **`kling-2.5`**: Automatically included with no extra credits
19
20
  * * **`kling-3.0`**: Toggle-able (can enable/disable)
@@ -28,6 +29,7 @@ export type CreateRequest = {
28
29
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
29
30
  *
30
31
  * * **`ltx-2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
32
+ * * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
31
33
  * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
32
34
  * * **`kling-2.5`**: 5, 10
33
35
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
@@ -47,8 +49,9 @@ export type CreateRequest = {
47
49
  /**
48
50
  * The AI model to use for video generation.
49
51
  *
50
- * * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-2.5`. For free tiers, it defaults to `ltx-2`.
52
+ * * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2`.
51
53
  * * `ltx-2`: Great for fast iteration with audio, lip-sync, and expressive faces
54
+ * * `wan-2.2`: Fast, medium-quality model with strong visuals and effect support.
52
55
  * * `seedance`: Great for fast iteration and start/end frame
53
56
  * * `kling-2.5`: Great for motion, action, and camera control
54
57
  * * `kling-3.0`: Great for cinematic, multi-scene storytelling with control
@@ -60,7 +63,7 @@ export type CreateRequest = {
60
63
  *
61
64
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
62
65
  */
63
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio") | undefined;
66
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
64
67
  /**
65
68
  * Give your video a custom name for easy identification.
66
69
  */
@@ -69,6 +72,7 @@ export type CreateRequest = {
69
72
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
70
73
  *
71
74
  * * **`ltx-2`**: Supports 480p, 720p, 1080p.
75
+ * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
72
76
  * * **`seedance`**: Supports 480p, 720p, 1080p.
73
77
  * * **`kling-2.5`**: Supports 720p, 1080p.
74
78
  * * **`kling-3.0`**: Supports 720p, 1080p.
@@ -100,7 +104,7 @@ export type External$CreateRequest = {
100
104
  audio?: boolean | undefined;
101
105
  end_seconds: number;
102
106
  height?: number | null | undefined;
103
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio") | undefined;
107
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
104
108
  name?: string | undefined;
105
109
  resolution?: ("1080p" | "480p" | "720p") | undefined;
106
110
  style?: External$V1ImageToVideoCreateBodyStyle | undefined;
@@ -59,6 +59,7 @@ const SchemaIn$CreateRequest = z
59
59
  "sora-2",
60
60
  "veo3.1",
61
61
  "veo3.1-audio",
62
+ "wan-2.2",
62
63
  ])
63
64
  .optional(),
64
65
  name: z.string().optional(),
@@ -101,6 +102,7 @@ const SchemaOut$CreateRequest = z
101
102
  "sora-2",
102
103
  "veo3.1",
103
104
  "veo3.1-audio",
105
+ "wan-2.2",
104
106
  ])
105
107
  .optional(),
106
108
  name: z.string().optional(),
@@ -17,6 +17,7 @@ export * as faceDetection from "./face-detection";
17
17
  export * as faceSwap from "./face-swap";
18
18
  export * as faceSwapPhoto from "./face-swap-photo";
19
19
  export * as files from "./files";
20
+ export * as headSwap from "./head-swap";
20
21
  export * as imageBackgroundRemover from "./image-background-remover";
21
22
  export * as imageProjects from "./image-projects";
22
23
  export * as imageToVideo from "./image-to-video";
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.videoToVideo = exports.videoProjects = exports.textToVideo = exports.V1Client = exports.photoColorizer = exports.lipSync = exports.imageToVideo = exports.imageProjects = exports.imageBackgroundRemover = exports.files = exports.faceSwapPhoto = exports.faceSwap = exports.faceDetection = exports.autoSubtitleGenerator = exports.audioProjects = exports.animation = exports.aiVoiceGenerator = exports.aiVoiceCloner = exports.aiTalkingPhoto = exports.aiQrCodeGenerator = exports.aiMemeGenerator = exports.aiImageUpscaler = exports.aiImageGenerator = exports.aiImageEditor = exports.aiHeadshotGenerator = exports.aiGifGenerator = exports.aiFaceEditor = exports.aiClothesChanger = void 0;
36
+ exports.videoToVideo = exports.videoProjects = exports.textToVideo = exports.V1Client = exports.photoColorizer = exports.lipSync = exports.imageToVideo = exports.imageProjects = exports.imageBackgroundRemover = exports.headSwap = exports.files = exports.faceSwapPhoto = exports.faceSwap = exports.faceDetection = exports.autoSubtitleGenerator = exports.audioProjects = exports.animation = exports.aiVoiceGenerator = exports.aiVoiceCloner = exports.aiTalkingPhoto = exports.aiQrCodeGenerator = exports.aiMemeGenerator = exports.aiImageUpscaler = exports.aiImageGenerator = exports.aiImageEditor = exports.aiHeadshotGenerator = exports.aiGifGenerator = exports.aiFaceEditor = exports.aiClothesChanger = void 0;
37
37
  exports.aiClothesChanger = __importStar(require("./ai-clothes-changer"));
38
38
  exports.aiFaceEditor = __importStar(require("./ai-face-editor"));
39
39
  exports.aiGifGenerator = __importStar(require("./ai-gif-generator"));
@@ -53,6 +53,7 @@ exports.faceDetection = __importStar(require("./face-detection"));
53
53
  exports.faceSwap = __importStar(require("./face-swap"));
54
54
  exports.faceSwapPhoto = __importStar(require("./face-swap-photo"));
55
55
  exports.files = __importStar(require("./files"));
56
+ exports.headSwap = __importStar(require("./head-swap"));
56
57
  exports.imageBackgroundRemover = __importStar(require("./image-background-remover"));
57
58
  exports.imageProjects = __importStar(require("./image-projects"));
58
59
  exports.imageToVideo = __importStar(require("./image-to-video"));
@@ -18,6 +18,7 @@ import { FaceDetectionClient } from "../../resources/v1/face-detection";
18
18
  import { FaceSwapClient } from "../../resources/v1/face-swap";
19
19
  import { FaceSwapPhotoClient } from "../../resources/v1/face-swap-photo";
20
20
  import { FilesClient } from "../../resources/v1/files";
21
+ import { HeadSwapClient } from "../../resources/v1/head-swap";
21
22
  import { ImageBackgroundRemoverClient } from "../../resources/v1/image-background-remover";
22
23
  import { ImageProjectsClient } from "../../resources/v1/image-projects";
23
24
  import { ImageToVideoClient } from "../../resources/v1/image-to-video";
@@ -27,6 +28,7 @@ import { TextToVideoClient } from "../../resources/v1/text-to-video";
27
28
  import { VideoProjectsClient } from "../../resources/v1/video-projects";
28
29
  import { VideoToVideoClient } from "../../resources/v1/video-to-video";
29
30
  export declare class V1Client extends CoreResourceClient {
31
+ private _headSwapLazy?;
30
32
  private _aiVoiceClonerLazy?;
31
33
  private _audioProjectsLazy?;
32
34
  private _aiVoiceGeneratorLazy?;
@@ -82,4 +84,5 @@ export declare class V1Client extends CoreResourceClient {
82
84
  get aiVoiceGenerator(): AiVoiceGeneratorClient;
83
85
  get audioProjects(): AudioProjectsClient;
84
86
  get aiVoiceCloner(): AiVoiceClonerClient;
87
+ get headSwap(): HeadSwapClient;
85
88
  }
@@ -25,6 +25,7 @@ class V1Client extends make_api_request_js_1.CoreResourceClient {
25
25
  this.faceSwap;
26
26
  this.faceSwapPhoto;
27
27
  this.files;
28
+ this.headSwap;
28
29
  this.imageBackgroundRemover;
29
30
  this.imageProjects;
30
31
  this.imageToVideo;
@@ -166,5 +167,9 @@ class V1Client extends make_api_request_js_1.CoreResourceClient {
166
167
  return ((_a = this._aiVoiceClonerLazy) !== null && _a !== void 0 ? _a : (this._aiVoiceClonerLazy =
167
168
  new (require("./ai-voice-cloner").AiVoiceClonerClient)(this._client, this._opts)));
168
169
  }
170
+ get headSwap() {
171
+ var _a;
172
+ return ((_a = this._headSwapLazy) !== null && _a !== void 0 ? _a : (this._headSwapLazy = new (require("./head-swap").HeadSwapClient)(this._client, this._opts)));
173
+ }
169
174
  }
170
175
  exports.V1Client = V1Client;
@@ -8,6 +8,7 @@ export type CreateRequest = {
8
8
  * Determines the aspect ratio of the output video.
9
9
  *
10
10
  * * **`ltx-2`**: Supports 9:16, 16:9, 1:1.
11
+ * * **`wan-2.2`**: Supports 9:16, 16:9, 1:1.
11
12
  * * **`seedance`**: Supports 9:16, 16:9, 1:1.
12
13
  * * **`kling-2.5`**: Supports 9:16, 16:9, 1:1.
13
14
  * * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
@@ -23,6 +24,7 @@ export type CreateRequest = {
23
24
  *
24
25
  * Audio support varies by model:
25
26
  * * **`ltx-2`**: Automatically included with no extra credits
27
+ * * **`wan-2.2`**: Not supported
26
28
  * * **`seedance`**: Not supported
27
29
  * * **`kling-2.5`**: Automatically included with no extra credits
28
30
  * * **`kling-3.0`**: Toggle-able (can enable/disable)
@@ -37,6 +39,7 @@ export type CreateRequest = {
37
39
  * The total duration of the output video in seconds. Supported durations depend on the chosen model:
38
40
  *
39
41
  * * **`ltx-2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
42
+ * * **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
40
43
  * * **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
41
44
  * * **`kling-2.5`**: 5, 10
42
45
  * * **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
@@ -50,8 +53,9 @@ export type CreateRequest = {
50
53
  /**
51
54
  * The AI model to use for video generation.
52
55
  *
53
- * * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-2.5`. For free tiers, it defaults to `ltx-2`.
56
+ * * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2`.
54
57
  * * `ltx-2`: Great for fast iteration with audio, lip-sync, and expressive faces
58
+ * * `wan-2.2`: Fast, medium-quality model with strong visuals and effect support.
55
59
  * * `seedance`: Great for fast iteration and start/end frame
56
60
  * * `kling-2.5`: Great for motion, action, and camera control
57
61
  * * `kling-3.0`: Great for cinematic, multi-scene storytelling with control
@@ -63,7 +67,7 @@ export type CreateRequest = {
63
67
  *
64
68
  * If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
65
69
  */
66
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio") | undefined;
70
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
67
71
  /**
68
72
  * Give your video a custom name for easy identification.
69
73
  */
@@ -76,6 +80,7 @@ export type CreateRequest = {
76
80
  * Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
77
81
  *
78
82
  * * **`ltx-2`**: Supports 480p, 720p, 1080p.
83
+ * * **`wan-2.2`**: Supports 480p, 720p, 1080p.
79
84
  * * **`seedance`**: Supports 480p, 720p, 1080p.
80
85
  * * **`kling-2.5`**: Supports 720p, 1080p.
81
86
  * * **`kling-3.0`**: Supports 720p, 1080p.
@@ -97,7 +102,7 @@ export type External$CreateRequest = {
97
102
  aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
98
103
  audio?: boolean | undefined;
99
104
  end_seconds: number;
100
- model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio") | undefined;
105
+ model?: ("default" | "kling-1.6" | "kling-2.5" | "kling-2.5-audio" | "kling-3.0" | "ltx-2" | "seedance" | "sora-2" | "veo3.1" | "veo3.1-audio" | "wan-2.2") | undefined;
101
106
  name?: string | undefined;
102
107
  orientation?: ("landscape" | "portrait" | "square") | undefined;
103
108
  resolution?: ("1080p" | "480p" | "720p") | undefined;
@@ -57,6 +57,7 @@ const SchemaIn$CreateRequest = z
57
57
  "sora-2",
58
58
  "veo3.1",
59
59
  "veo3.1-audio",
60
+ "wan-2.2",
60
61
  ])
61
62
  .optional(),
62
63
  name: z.string().optional(),
@@ -97,6 +98,7 @@ const SchemaOut$CreateRequest = z
97
98
  "sora-2",
98
99
  "veo3.1",
99
100
  "veo3.1-audio",
101
+ "wan-2.2",
100
102
  ])
101
103
  .optional(),
102
104
  name: z.string().optional(),
@@ -98,6 +98,9 @@ export { V1FilesUploadUrlsCreateBodyItemsItem } from "./v1-files-upload-urls-cre
98
98
  export { V1FilesUploadUrlsCreateBodyItemsItemTypeEnum } from "./v1-files-upload-urls-create-body-items-item-type-enum";
99
99
  export { V1FilesUploadUrlsCreateResponse } from "./v1-files-upload-urls-create-response";
100
100
  export { V1FilesUploadUrlsCreateResponseItemsItem } from "./v1-files-upload-urls-create-response-items-item";
101
+ export { V1HeadSwapCreateBody } from "./v1-head-swap-create-body";
102
+ export { V1HeadSwapCreateBodyAssets } from "./v1-head-swap-create-body-assets";
103
+ export { V1HeadSwapCreateResponse } from "./v1-head-swap-create-response";
101
104
  export { V1ImageBackgroundRemoverCreateBody } from "./v1-image-background-remover-create-body";
102
105
  export { V1ImageBackgroundRemoverCreateBodyAssets } from "./v1-image-background-remover-create-body-assets";
103
106
  export { V1ImageBackgroundRemoverCreateResponse } from "./v1-image-background-remover-create-response";
@@ -1,4 +1,4 @@
1
1
  /**
2
- * 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
2
+ * 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, 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
3
3
  */
4
- export type V1AiVoiceGeneratorCreateBodyStyleVoiceNameEnum = "A.R. Rahman" | "Aamir Khan" | "Abraham Lincoln" | "Adam Driver" | "Ajay Devgn" | "Akshay Kumar" | "Alain Delon" | "Alan Alda" | "Alan Cumming" | "Alan Rickman" | "Albert Einstein" | "Alex Trebek" | "Alexz Johnson" | "Amitabh Bachchan" | "Amy Poehler" | "Ana Gasteyer" | "Andrew Rannells" | "Ang Lee" | "Anne Hathaway" | "Ansel Elgort" | "Anthony Anderson" | "Anthony Mackie" | "Arden Cho" | "Armie Hammer" | "Asa Butterfield" | "B.J. Novak" | "Barack Obama" | "Barbara Eden" | "Bear Grylls" | "Ben McKenzie" | "Ben Stiller" | "Ben Whishaw" | "Betty White" | "Bill Nighy" | "Bill Pullman" | "Billie Joe Armstrong" | "Bingbing Li" | "Blake Shelton" | "Bob Barker" | "Bonnie Wright" | "Booboo Stewart" | "Brad Paisley" | "Bradley Steven Perry" | "Brendan Gleeson" | "Brian Cox" | "Bruno Ganz" | "Bruno Mars" | "Burt Reynolds" | "Caitriona Balfe" | "Caity Lotz" | "Cameron Boyce" | "Candice Accola" | "Carrie Fisher" | "Carrie Underwood" | "Casey Affleck" | "Caterina Scorsone" | "Cedric the Entertainer" | "Chace Crawford" | "Chadwick Boseman" | "Charles Dance" | "Charlie Chaplin" | "Charlie Day" | "Chiwetel Ejiofor" | "Chris Hemsworth" | "Chris Martin" | "Chris Pine" | "Christina Hendricks" | "Christina Ricci" | "Christopher Mintz-Plasse" | "Cillian Murphy" | "Cyndi Lauper" | "Dakota Fanning" | "Damian Lewis" | "Dan Aykroyd" | "Dan Fogler" | "Dan Stevens" | "Daniel Craig" | "Daniel Dae Kim" | "Danielle Panabaker" | "Dave Bautista" | "David Attenborough" | "David Letterman" | "David Oyelowo" | "David Schwimmer" | "David Tennant" | "Denis Leary" | "Derek Mears" | "Diane Keaton" | "Diane Kruger" | "Dick Van Dyke" | "Diego Luna" | "Domhnall Gleeson" | "Dominic Cooper" | "Donald Glover" | "Donald Sutherland" | "Donald Trump" | "Donnie Yen" | "Doutzen Kroes" | "Dove Cameron" | "Dr. Dre" | "Drake Bell" | "Drew Carey" | "Eartha Kitt" | "Eddie Izzard" | "Edward Asner" | "Eli Roth" | "Elisabeth Moss" | "Elle Fanning" | "Ellen Burstyn" | "Elon Musk" | "Emile Hirsch" | "Ernie Hudson" | "Ezra Miller" | "Felicity Jones" | "Fergie" | "Fiona Shaw" | "Florence Henderson" | "Forest Whitaker" | "Francia Raisa" | "Freddie Highmore" | "Freida Pinto" | "Geena Davis" | "Gemma Arterton" | "Geri Halliwell" | "Gillian Jacobs" | "Gina Carano" | "Ginnifer Goodwin" | "Glenn Close" | "Gloria Steinem" | "Gordon Ramsay" | "Greta Gerwig" | "Gugu Mbatha-Raw" | "Guy Pearce" | "Gwendoline Christie" | "Hailee Steinfeld" | "Hans Zimmer" | "Harry Connick Jr." | "Harvey Keitel" | "Helena Bonham Carter" | "Henry Cavill" | "Hilary Swank" | "Howie Mandel" | "Hugh Bonneville" | "Hugh Jackman" | "Hugh Laurie" | "Idina Menzel" | "Imelda Staunton" | "Ingrid Bergman" | "Irrfan Khan" | "Isla Fisher" | "Iwan Rheon" | "J. K. Simmons" | "J.J. Abrams" | "Jack Black" | "Jack Lemmon" | "James Earl Jones" | "Janet Jackson" | "Jared Leto" | "Jason Bateman" | "Jason Segel" | "Jeff Goldblum" | "Jennifer Carpenter" | "Jennifer Coolidge" | "Jimmy Fallon" | "Joe Biden" | "Joe Rogan" | "John F. Kennedy" | "Johnny Galecki" | "Jon Favreau" | "Joseph Gordon-Levitt" | "Josh Brolin" | "Josh Gad" | "Josh Groban" | "Julia Louis-Dreyfus" | "Julia Roberts" | "Kanye West" | "Katy Perry" | "Kesha" | "Kevin Bacon" | "Kim Kardashian" | "Kris Jenner" | "Kristen Bell" | "Kristen Stewart" | "Kristen Wiig" | "Lorde" | "Lucille Ball" | "Marilyn Monroe" | "Mark Zuckerberg" | "Matt Smith" | "Morgan Freeman" | "Natalie Portman" | "Prince" | "Rooney Mara" | "Samuel L. Jackson" | "Sean Connery" | "Stephen Colbert" | "Steve Carell" | "Taylor Swift" | "Tom Hiddleston" | "Zoe Saldana";
4
+ export type V1AiVoiceGeneratorCreateBodyStyleVoiceNameEnum = "A.R. Rahman" | "Aamir Khan" | "Abraham Lincoln" | "Adam Driver" | "Ajay Devgn" | "Akshay Kumar" | "Alain Delon" | "Alan Alda" | "Alan Cumming" | "Alan Rickman" | "Albert Einstein" | "Alex Trebek" | "Alexz Johnson" | "Amitabh Bachchan" | "Amy Poehler" | "Ana Gasteyer" | "Andrew Rannells" | "Ang Lee" | "Anne Hathaway" | "Ansel Elgort" | "Anthony Anderson" | "Anthony Mackie" | "Arden Cho" | "Armie Hammer" | "Asa Butterfield" | "B.J. Novak" | "Barack Obama" | "Barbara Eden" | "Bear Grylls" | "Ben McKenzie" | "Ben Stiller" | "Ben Whishaw" | "Betty White" | "Bill Nighy" | "Bill Pullman" | "Billie Joe Armstrong" | "Bingbing Li" | "Blake Shelton" | "Bonnie Wright" | "Booboo Stewart" | "Brad Paisley" | "Bradley Steven Perry" | "Brendan Gleeson" | "Brian Cox" | "Bruno Ganz" | "Bruno Mars" | "Burt Reynolds" | "Caitriona Balfe" | "Caity Lotz" | "Cameron Boyce" | "Candice Accola" | "Carrie Fisher" | "Carrie Underwood" | "Casey Affleck" | "Caterina Scorsone" | "Cedric the Entertainer" | "Chace Crawford" | "Chadwick Boseman" | "Charles Dance" | "Charlie Chaplin" | "Charlie Day" | "Chiwetel Ejiofor" | "Chris Hemsworth" | "Chris Martin" | "Chris Pine" | "Christina Hendricks" | "Christina Ricci" | "Christopher Mintz-Plasse" | "Cillian Murphy" | "Cyndi Lauper" | "Dakota Fanning" | "Damian Lewis" | "Dan Aykroyd" | "Dan Fogler" | "Dan Stevens" | "Daniel Craig" | "Daniel Dae Kim" | "Danielle Panabaker" | "Dave Bautista" | "David Attenborough" | "David Letterman" | "David Oyelowo" | "David Schwimmer" | "David Tennant" | "Denis Leary" | "Derek Mears" | "Diane Keaton" | "Diane Kruger" | "Dick Van Dyke" | "Diego Luna" | "Domhnall Gleeson" | "Dominic Cooper" | "Donald Glover" | "Donald Sutherland" | "Donald Trump" | "Donnie Yen" | "Doutzen Kroes" | "Dove Cameron" | "Dr. Dre" | "Drake Bell" | "Drew Carey" | "Eartha Kitt" | "Eddie Izzard" | "Edward Asner" | "Eli Roth" | "Elisabeth Moss" | "Elle Fanning" | "Ellen Burstyn" | "Elon Musk" | "Emile Hirsch" | "Ernie Hudson" | "Ezra Miller" | "Felicity Jones" | "Fergie" | "Fiona Shaw" | "Florence Henderson" | "Forest Whitaker" | "Francia Raisa" | "Freddie Highmore" | "Freida Pinto" | "Geena Davis" | "Gemma Arterton" | "Geri Halliwell" | "Gillian Jacobs" | "Gina Carano" | "Ginnifer Goodwin" | "Glenn Close" | "Gloria Steinem" | "Gordon Ramsay" | "Greta Gerwig" | "Gugu Mbatha-Raw" | "Guy Pearce" | "Gwendoline Christie" | "Hailee Steinfeld" | "Hans Zimmer" | "Harry Connick Jr." | "Harvey Keitel" | "Helena Bonham Carter" | "Henry Cavill" | "Hilary Swank" | "Howie Mandel" | "Hugh Bonneville" | "Hugh Jackman" | "Hugh Laurie" | "Idina Menzel" | "Imelda Staunton" | "Ingrid Bergman" | "Irrfan Khan" | "Isla Fisher" | "Iwan Rheon" | "J. K. Simmons" | "J.J. Abrams" | "Jack Black" | "Jack Lemmon" | "James Earl Jones" | "Janet Jackson" | "Jared Leto" | "Jason Bateman" | "Jason Segel" | "Jeff Goldblum" | "Jennifer Carpenter" | "Jennifer Coolidge" | "Jimmy Fallon" | "Joe Biden" | "Joe Rogan" | "John F. Kennedy" | "Johnny Galecki" | "Jon Favreau" | "Joseph Gordon-Levitt" | "Josh Brolin" | "Josh Gad" | "Josh Groban" | "Julia Louis-Dreyfus" | "Julia Roberts" | "Kanye West" | "Katy Perry" | "Kesha" | "Kevin Bacon" | "Kim Kardashian" | "Kris Jenner" | "Kristen Bell" | "Kristen Stewart" | "Kristen Wiig" | "Lorde" | "Lucille Ball" | "Marilyn Monroe" | "Mark Zuckerberg" | "Matt Smith" | "Morgan Freeman" | "Natalie Portman" | "Prince" | "Rooney Mara" | "Samuel L. Jackson" | "Sean Connery" | "Stephen Colbert" | "Steve Carell" | "Taylor Swift" | "Tom Hiddleston" | "Zoe Saldana";