magic-hour 0.42.0 → 0.43.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.
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/helpers/generate-type.d.ts +1 -1
- package/dist/resources/v1/ai-gif-generator/resource-client.d.ts +1 -1
- package/dist/resources/v1/ai-gif-generator/resource-client.js +1 -1
- package/dist/resources/v1/ai-headshot-generator/resource-client.d.ts +1 -1
- package/dist/resources/v1/ai-headshot-generator/resource-client.js +1 -1
- package/dist/resources/v1/ai-image-editor/resource-client.d.ts +12 -2
- package/dist/resources/v1/ai-image-editor/resource-client.js +13 -7
- package/dist/resources/v1/ai-image-generator/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-image-generator/resource-client.js +2 -2
- package/dist/resources/v1/ai-qr-code-generator/resource-client.d.ts +2 -2
- package/dist/resources/v1/ai-qr-code-generator/resource-client.js +2 -2
- package/dist/resources/v1/face-swap/resource-client.d.ts +1 -1
- package/dist/resources/v1/face-swap/resource-client.js +1 -1
- package/dist/resources/v1/files/upload-urls/resource-client.d.ts +3 -2
- package/dist/resources/v1/files/upload-urls/resource-client.js +3 -2
- package/dist/types/index.d.ts +2 -0
- package/dist/types/v1-ai-image-editor-create-body-assets.d.ts +13 -3
- package/dist/types/v1-ai-image-editor-create-body-assets.js +6 -2
- package/dist/types/v1-ai-image-editor-create-body-style-model-enum.d.ts +6 -0
- package/dist/types/v1-ai-image-editor-create-body-style-model-enum.js +2 -0
- package/dist/types/v1-ai-image-editor-create-body-style.d.ts +7 -0
- package/dist/types/v1-ai-image-editor-create-body-style.js +4 -0
- package/dist/types/v1-ai-image-generator-create-body-style-quality-mode-enum.d.ts +10 -0
- package/dist/types/v1-ai-image-generator-create-body-style-quality-mode-enum.js +2 -0
- package/dist/types/v1-ai-image-generator-create-body-style.d.ts +11 -0
- package/dist/types/v1-ai-image-generator-create-body-style.js +4 -0
- package/dist/types/v1-ai-voice-generator-create-body-style-voice-name-enum.d.ts +2 -2
- package/dist/types/v1-ai-voice-generator-create-body-style.d.ts +4 -4
- package/dist/types/v1-ai-voice-generator-create-body-style.js +380 -0
- package/dist/types/v1-audio-projects-get-response.d.ts +1 -1
- package/dist/types/v1-face-swap-create-body-style-version-enum.d.ts +1 -1
- package/dist/types/v1-face-swap-create-body-style.d.ts +1 -1
- package/dist/types/v1-files-upload-urls-create-body-items-item.d.ts +1 -1
- package/dist/types/v1-video-projects-get-response.d.ts +1 -1
- package/dist/types/v1-video-to-video-create-body-style-art-style-enum.d.ts +1 -1
- package/dist/types/v1-video-to-video-create-body-style-model-enum.d.ts +1 -1
- package/dist/types/v1-video-to-video-create-body-style.d.ts +4 -4
- package/dist/types/v1-video-to-video-create-body-style.js +34 -2
- package/package.json +1 -1
package/dist/environment.d.ts
CHANGED
package/dist/environment.js
CHANGED
|
@@ -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.
|
|
7
|
+
Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.42.1";
|
|
8
8
|
})(Environment || (exports.Environment = Environment = {}));
|
|
@@ -22,7 +22,7 @@ export type GenerateOptions = RequestOptions & {
|
|
|
22
22
|
*/
|
|
23
23
|
downloadDirectory?: string | undefined;
|
|
24
24
|
};
|
|
25
|
-
type FilePathKeys<T> = Extract<keyof T, `${string}FilePath`>;
|
|
25
|
+
type FilePathKeys<T> = Extract<keyof T, `${string}FilePath` | `${string}FilePaths`>;
|
|
26
26
|
type FilePathProps<T> = Pick<T, FilePathKeys<T>>;
|
|
27
27
|
/**
|
|
28
28
|
* A type that allows you to override the `${string}FilePath` fields of the assets object.
|
|
@@ -32,7 +32,7 @@ export declare class AiGifGeneratorClient extends CoreResourceClient {
|
|
|
32
32
|
*/
|
|
33
33
|
generate(request: GenerateRequest, opts?: GenerateOptions): Promise<import("../image-projects/resource-client").V1ImageProjectsGetResponseWithDownloads>;
|
|
34
34
|
/**
|
|
35
|
-
* AI
|
|
35
|
+
* AI GIF Generator
|
|
36
36
|
*
|
|
37
37
|
* Create an AI GIF. Each GIF costs 50 credits.
|
|
38
38
|
*
|
|
@@ -41,7 +41,7 @@ export declare class AiHeadshotGeneratorClient extends CoreResourceClient {
|
|
|
41
41
|
*/
|
|
42
42
|
generate(request: GenerateRequest, opts?: GenerateOptions): Promise<import("../image-projects/resource-client").V1ImageProjectsGetResponseWithDownloads>;
|
|
43
43
|
/**
|
|
44
|
-
* AI
|
|
44
|
+
* AI Headshot Generator
|
|
45
45
|
*
|
|
46
46
|
* Create an AI headshot. Each headshot costs 50 credits.
|
|
47
47
|
*
|
|
@@ -9,8 +9,18 @@ type GenerateRequest = GenerateRequestType<requests.CreateRequest, {
|
|
|
9
9
|
* - a path to a local file
|
|
10
10
|
*
|
|
11
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
|
+
* @deprecated Please use `imageFilePaths` instead as edits with multiple images are now supported.
|
|
14
|
+
*/
|
|
15
|
+
imageFilePath?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* The image(s) used in the edit. The values in the list are either
|
|
18
|
+
* - a direct URL to the image file
|
|
19
|
+
* - a path to a local file
|
|
20
|
+
*
|
|
21
|
+
* 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
22
|
*/
|
|
13
|
-
|
|
23
|
+
imageFilePaths?: string[] | undefined;
|
|
14
24
|
}>;
|
|
15
25
|
export declare class AiImageEditorClient extends CoreResourceClient {
|
|
16
26
|
constructor(coreClient: CoreClient, opts: ResourceClientOptions);
|
|
@@ -28,7 +38,7 @@ export declare class AiImageEditorClient extends CoreResourceClient {
|
|
|
28
38
|
* const client = new Client({ token: process.env["API_TOKEN"]!! });
|
|
29
39
|
* const res = await client.v1.aiImageEditor.generate(
|
|
30
40
|
* {
|
|
31
|
-
* assets: {
|
|
41
|
+
* assets: { imageFilePaths: ["/path/to/1234.png", "/path/to/5678.png"] },
|
|
32
42
|
* name: "Ai Image Editor image",
|
|
33
43
|
* style: { prompt: "Give me sunglasses" },
|
|
34
44
|
* },
|
|
@@ -45,7 +45,7 @@ class AiImageEditorClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
45
45
|
* const client = new Client({ token: process.env["API_TOKEN"]!! });
|
|
46
46
|
* const res = await client.v1.aiImageEditor.generate(
|
|
47
47
|
* {
|
|
48
|
-
* assets: {
|
|
48
|
+
* assets: { imageFilePaths: ["/path/to/1234.png", "/path/to/5678.png"] },
|
|
49
49
|
* name: "Ai Image Editor image",
|
|
50
50
|
* style: { prompt: "Give me sunglasses" },
|
|
51
51
|
* },
|
|
@@ -61,13 +61,19 @@ class AiImageEditorClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
61
61
|
return __awaiter(this, arguments, void 0, function* (request, opts = {}) {
|
|
62
62
|
const { waitForCompletion = true, downloadOutputs = true, downloadDirectory = undefined } = opts, createOpts = __rest(opts, ["waitForCompletion", "downloadOutputs", "downloadDirectory"]);
|
|
63
63
|
const fileClient = new files_1.FilesClient(this._client, this._opts);
|
|
64
|
-
const _a = request.assets, { imageFilePath } = _a, restAssets = __rest(_a, ["imageFilePath"]);
|
|
64
|
+
const _a = request.assets, { imageFilePath, imageFilePaths } = _a, restAssets = __rest(_a, ["imageFilePath", "imageFilePaths"]);
|
|
65
65
|
(0, logger_1.getLogger)().debug(`Uploading file ${imageFilePath} to Magic Hour's storage`);
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
let imageFilePathsForApi = [];
|
|
67
|
+
if (imageFilePath) {
|
|
68
|
+
const uploadedImageFilePath = yield fileClient.uploadFile(imageFilePath);
|
|
69
|
+
imageFilePathsForApi.push(uploadedImageFilePath);
|
|
70
|
+
}
|
|
71
|
+
if (imageFilePaths) {
|
|
72
|
+
const uploadedImageFilePaths = yield Promise.all(imageFilePaths.map((filePath) => fileClient.uploadFile(filePath)));
|
|
73
|
+
imageFilePathsForApi.push(...uploadedImageFilePaths);
|
|
74
|
+
}
|
|
75
|
+
(0, logger_1.getLogger)().info(`Uploaded file ${imageFilePath} to Magic Hour's storage as ${imageFilePathsForApi.join(",")}`);
|
|
76
|
+
const createResponse = yield this.create(Object.assign(Object.assign({}, request), { assets: Object.assign(Object.assign({}, restAssets), { imageFilePaths: imageFilePathsForApi }) }), createOpts);
|
|
71
77
|
(0, logger_1.getLogger)().info(`Created AiImageEditorClient project ${createResponse.id}`);
|
|
72
78
|
const projectsClient = new image_projects_1.ImageProjectsClient(this._client, this._opts);
|
|
73
79
|
(0, logger_1.getLogger)().debug(`Checking result for AiImageEditorClient project ${createResponse.id}`);
|
|
@@ -34,9 +34,9 @@ export declare class AiImageGeneratorClient extends CoreResourceClient {
|
|
|
34
34
|
*/
|
|
35
35
|
generate(request: GenerateRequest, opts?: GenerateOptions): Promise<import("../image-projects/resource-client").V1ImageProjectsGetResponseWithDownloads>;
|
|
36
36
|
/**
|
|
37
|
-
* AI
|
|
37
|
+
* AI Image Generator
|
|
38
38
|
*
|
|
39
|
-
* Create an AI image. Each image costs 5 credits.
|
|
39
|
+
* Create an AI image. Each standard image costs 5 credits. Pro quality images cost 30 credits.
|
|
40
40
|
*
|
|
41
41
|
* POST /v1/ai-image-generator
|
|
42
42
|
*/
|
|
@@ -71,9 +71,9 @@ class AiImageGeneratorClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* AI
|
|
74
|
+
* AI Image Generator
|
|
75
75
|
*
|
|
76
|
-
* Create an AI image. Each image costs 5 credits.
|
|
76
|
+
* Create an AI image. Each standard image costs 5 credits. Pro quality images cost 30 credits.
|
|
77
77
|
*
|
|
78
78
|
* POST /v1/ai-image-generator
|
|
79
79
|
*/
|
|
@@ -33,9 +33,9 @@ export declare class AiQrCodeGeneratorClient extends CoreResourceClient {
|
|
|
33
33
|
*/
|
|
34
34
|
generate(request: GenerateRequest, opts?: GenerateOptions): Promise<import("../image-projects/resource-client").V1ImageProjectsGetResponseWithDownloads>;
|
|
35
35
|
/**
|
|
36
|
-
* AI QR Code
|
|
36
|
+
* AI QR Code Generator
|
|
37
37
|
*
|
|
38
|
-
* Create an AI QR code. Each QR code costs
|
|
38
|
+
* Create an AI QR code. Each QR code costs 0 credits.
|
|
39
39
|
*
|
|
40
40
|
* POST /v1/ai-qr-code-generator
|
|
41
41
|
*/
|
|
@@ -70,9 +70,9 @@ class AiQrCodeGeneratorClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
|
-
* AI QR Code
|
|
73
|
+
* AI QR Code Generator
|
|
74
74
|
*
|
|
75
|
-
* Create an AI QR code. Each QR code costs
|
|
75
|
+
* Create an AI QR code. Each QR code costs 0 credits.
|
|
76
76
|
*
|
|
77
77
|
* POST /v1/ai-qr-code-generator
|
|
78
78
|
*/
|
|
@@ -80,7 +80,7 @@ export declare class FaceSwapClient extends CoreResourceClient {
|
|
|
80
80
|
*/
|
|
81
81
|
generate(request: GenerateRequest, opts?: GenerateOptions): Promise<import("../video-projects/resource-client").V1VideoProjectsGetResponseWithDownloads>;
|
|
82
82
|
/**
|
|
83
|
-
* Face Swap
|
|
83
|
+
* Face Swap Video
|
|
84
84
|
*
|
|
85
85
|
* Create a Face Swap video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
86
86
|
*
|
|
@@ -134,7 +134,7 @@ class FaceSwapClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
|
-
* Face Swap
|
|
137
|
+
* Face Swap Video
|
|
138
138
|
*
|
|
139
139
|
* Create a Face Swap video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
|
|
140
140
|
*
|
|
@@ -12,8 +12,9 @@ export declare class UploadUrlsClient extends CoreResourceClient {
|
|
|
12
12
|
*
|
|
13
13
|
* **Valid file extensions per asset type**:
|
|
14
14
|
* - video: mp4, m4v, mov, webm
|
|
15
|
-
* - audio: mp3,
|
|
16
|
-
* - image: png, jpg, jpeg, webp, avif, jp2, tiff, bmp
|
|
15
|
+
* - audio: mp3, wav, aac, flac, webm
|
|
16
|
+
* - image: png, jpg, jpeg, heic, webp, avif, jp2, tiff, bmp
|
|
17
|
+
* - gif: gif, webp, webm
|
|
17
18
|
*
|
|
18
19
|
* > Note: `gif` is only supported for face swap API `video_file_path` field.
|
|
19
20
|
*
|
|
@@ -17,8 +17,9 @@ class UploadUrlsClient extends make_api_request_js_1.CoreResourceClient {
|
|
|
17
17
|
*
|
|
18
18
|
* **Valid file extensions per asset type**:
|
|
19
19
|
* - video: mp4, m4v, mov, webm
|
|
20
|
-
* - audio: mp3,
|
|
21
|
-
* - image: png, jpg, jpeg, webp, avif, jp2, tiff, bmp
|
|
20
|
+
* - audio: mp3, wav, aac, flac, webm
|
|
21
|
+
* - image: png, jpg, jpeg, heic, webp, avif, jp2, tiff, bmp
|
|
22
|
+
* - gif: gif, webp, webm
|
|
22
23
|
*
|
|
23
24
|
* > Note: `gif` is only supported for face swap API `video_file_path` field.
|
|
24
25
|
*
|
package/dist/types/index.d.ts
CHANGED
|
@@ -17,10 +17,12 @@ export { V1AiHeadshotGeneratorCreateResponse } from "./v1-ai-headshot-generator-
|
|
|
17
17
|
export { V1AiImageEditorCreateBody } from "./v1-ai-image-editor-create-body";
|
|
18
18
|
export { V1AiImageEditorCreateBodyAssets } from "./v1-ai-image-editor-create-body-assets";
|
|
19
19
|
export { V1AiImageEditorCreateBodyStyle } from "./v1-ai-image-editor-create-body-style";
|
|
20
|
+
export { V1AiImageEditorCreateBodyStyleModelEnum } from "./v1-ai-image-editor-create-body-style-model-enum";
|
|
20
21
|
export { V1AiImageEditorCreateResponse } from "./v1-ai-image-editor-create-response";
|
|
21
22
|
export { V1AiImageGeneratorCreateBody } from "./v1-ai-image-generator-create-body";
|
|
22
23
|
export { V1AiImageGeneratorCreateBodyOrientationEnum } from "./v1-ai-image-generator-create-body-orientation-enum";
|
|
23
24
|
export { V1AiImageGeneratorCreateBodyStyle } from "./v1-ai-image-generator-create-body-style";
|
|
25
|
+
export { V1AiImageGeneratorCreateBodyStyleQualityModeEnum } from "./v1-ai-image-generator-create-body-style-quality-mode-enum";
|
|
24
26
|
export { V1AiImageGeneratorCreateBodyStyleToolEnum } from "./v1-ai-image-generator-create-body-style-tool-enum";
|
|
25
27
|
export { V1AiImageGeneratorCreateResponse } from "./v1-ai-image-generator-create-response";
|
|
26
28
|
export { V1AiImageUpscalerCreateBody } from "./v1-ai-image-upscaler-create-body";
|
|
@@ -4,14 +4,23 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type V1AiImageEditorCreateBodyAssets = {
|
|
6
6
|
/**
|
|
7
|
-
* The image used in the edit. This value is either
|
|
7
|
+
* Deprecated: Please use `image_file_paths` instead as edits with multiple images are now supported. The image used in the edit. This value is either
|
|
8
8
|
* - a direct URL to the video file
|
|
9
9
|
* - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
|
|
10
10
|
*
|
|
11
11
|
* Please refer to the [Input File documentation](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) to learn more.
|
|
12
12
|
*
|
|
13
13
|
*/
|
|
14
|
-
imageFilePath
|
|
14
|
+
imageFilePath?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The image(s) used in the edit, maximum of 10 images. This value is either
|
|
17
|
+
* - a direct URL to the video file
|
|
18
|
+
* - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
|
|
19
|
+
*
|
|
20
|
+
* Please refer to the [Input File documentation](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) to learn more.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
imageFilePaths?: string[] | undefined;
|
|
15
24
|
};
|
|
16
25
|
/**
|
|
17
26
|
* @internal
|
|
@@ -19,7 +28,8 @@ export type V1AiImageEditorCreateBodyAssets = {
|
|
|
19
28
|
* we expect to come in as network data
|
|
20
29
|
*/
|
|
21
30
|
export type External$V1AiImageEditorCreateBodyAssets = {
|
|
22
|
-
image_file_path
|
|
31
|
+
image_file_path?: string | undefined;
|
|
32
|
+
image_file_paths?: string[] | undefined;
|
|
23
33
|
};
|
|
24
34
|
export declare const Schemas$V1AiImageEditorCreateBodyAssets: {
|
|
25
35
|
in: z.ZodType<V1AiImageEditorCreateBodyAssets, z.ZodTypeDef, unknown>;
|
|
@@ -41,11 +41,13 @@ const z = __importStar(require("zod"));
|
|
|
41
41
|
*/
|
|
42
42
|
const SchemaIn$V1AiImageEditorCreateBodyAssets = z
|
|
43
43
|
.object({
|
|
44
|
-
image_file_path: z.string(),
|
|
44
|
+
image_file_path: z.string().optional(),
|
|
45
|
+
image_file_paths: z.array(z.string()).optional(),
|
|
45
46
|
})
|
|
46
47
|
.transform((obj) => {
|
|
47
48
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
48
49
|
image_file_path: "imageFilePath",
|
|
50
|
+
image_file_paths: "imageFilePaths",
|
|
49
51
|
});
|
|
50
52
|
});
|
|
51
53
|
/**
|
|
@@ -54,11 +56,13 @@ const SchemaIn$V1AiImageEditorCreateBodyAssets = z
|
|
|
54
56
|
*/
|
|
55
57
|
const SchemaOut$V1AiImageEditorCreateBodyAssets = z
|
|
56
58
|
.object({
|
|
57
|
-
imageFilePath: z.string(),
|
|
59
|
+
imageFilePath: z.string().optional(),
|
|
60
|
+
imageFilePaths: z.array(z.string()).optional(),
|
|
58
61
|
})
|
|
59
62
|
.transform((obj) => {
|
|
60
63
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
61
64
|
imageFilePath: "image_file_path",
|
|
65
|
+
imageFilePaths: "image_file_paths",
|
|
62
66
|
});
|
|
63
67
|
});
|
|
64
68
|
exports.Schemas$V1AiImageEditorCreateBodyAssets = {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The AI model to use for image editing. * `Nano Banana` - Precise, realistic edits with consistent results
|
|
3
|
+
* * `Seedream` - Creative, imaginative images with artistic freedom
|
|
4
|
+
* * `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.
|
|
5
|
+
*/
|
|
6
|
+
export type V1AiImageEditorCreateBodyStyleModelEnum = "Nano Banana" | "Seedream" | "default";
|
|
@@ -3,6 +3,12 @@ import * as z from "zod";
|
|
|
3
3
|
* V1AiImageEditorCreateBodyStyle
|
|
4
4
|
*/
|
|
5
5
|
export type V1AiImageEditorCreateBodyStyle = {
|
|
6
|
+
/**
|
|
7
|
+
* The AI model to use for image editing. * `Nano Banana` - Precise, realistic edits with consistent results
|
|
8
|
+
* * `Seedream` - Creative, imaginative images with artistic freedom
|
|
9
|
+
* * `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.
|
|
10
|
+
*/
|
|
11
|
+
model?: ("Nano Banana" | "Seedream" | "default") | undefined;
|
|
6
12
|
/**
|
|
7
13
|
* The prompt used to edit the image.
|
|
8
14
|
*/
|
|
@@ -14,6 +20,7 @@ export type V1AiImageEditorCreateBodyStyle = {
|
|
|
14
20
|
* we expect to come in as network data
|
|
15
21
|
*/
|
|
16
22
|
export type External$V1AiImageEditorCreateBodyStyle = {
|
|
23
|
+
model?: ("Nano Banana" | "Seedream" | "default") | undefined;
|
|
17
24
|
prompt: string;
|
|
18
25
|
};
|
|
19
26
|
export declare const Schemas$V1AiImageEditorCreateBodyStyle: {
|
|
@@ -41,10 +41,12 @@ const z = __importStar(require("zod"));
|
|
|
41
41
|
*/
|
|
42
42
|
const SchemaIn$V1AiImageEditorCreateBodyStyle = z
|
|
43
43
|
.object({
|
|
44
|
+
model: z.enum(["Nano Banana", "Seedream", "default"]).optional(),
|
|
44
45
|
prompt: z.string(),
|
|
45
46
|
})
|
|
46
47
|
.transform((obj) => {
|
|
47
48
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
49
|
+
model: "model",
|
|
48
50
|
prompt: "prompt",
|
|
49
51
|
});
|
|
50
52
|
});
|
|
@@ -54,10 +56,12 @@ const SchemaIn$V1AiImageEditorCreateBodyStyle = z
|
|
|
54
56
|
*/
|
|
55
57
|
const SchemaOut$V1AiImageEditorCreateBodyStyle = z
|
|
56
58
|
.object({
|
|
59
|
+
model: z.enum(["Nano Banana", "Seedream", "default"]).optional(),
|
|
57
60
|
prompt: z.string(),
|
|
58
61
|
})
|
|
59
62
|
.transform((obj) => {
|
|
60
63
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
64
|
+
model: "model",
|
|
61
65
|
prompt: "prompt",
|
|
62
66
|
});
|
|
63
67
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Controls the quality of the generated image. Defaults to 'standard' if not specified.
|
|
3
|
+
*
|
|
4
|
+
* **Options:**
|
|
5
|
+
* - `standard` - Standard quality generation. Cost: 5 credits per image.
|
|
6
|
+
* - `pro` - Pro quality generation with enhanced details and quality. Cost: 30 credits per image.
|
|
7
|
+
*
|
|
8
|
+
* Note: Pro mode is available for users on Creator, Pro, or Business tier.
|
|
9
|
+
*/
|
|
10
|
+
export type V1AiImageGeneratorCreateBodyStyleQualityModeEnum = "pro" | "standard";
|
|
@@ -7,6 +7,16 @@ export type V1AiImageGeneratorCreateBodyStyle = {
|
|
|
7
7
|
* The prompt used for the image(s).
|
|
8
8
|
*/
|
|
9
9
|
prompt: string;
|
|
10
|
+
/**
|
|
11
|
+
* Controls the quality of the generated image. Defaults to 'standard' if not specified.
|
|
12
|
+
*
|
|
13
|
+
* **Options:**
|
|
14
|
+
* - `standard` - Standard quality generation. Cost: 5 credits per image.
|
|
15
|
+
* - `pro` - Pro quality generation with enhanced details and quality. Cost: 30 credits per image.
|
|
16
|
+
*
|
|
17
|
+
* Note: Pro mode is available for users on Creator, Pro, or Business tier.
|
|
18
|
+
*/
|
|
19
|
+
qualityMode?: ("pro" | "standard") | undefined;
|
|
10
20
|
/**
|
|
11
21
|
* The art style to use for image generation. Defaults to 'general' if not provided.
|
|
12
22
|
*/
|
|
@@ -19,6 +29,7 @@ export type V1AiImageGeneratorCreateBodyStyle = {
|
|
|
19
29
|
*/
|
|
20
30
|
export type External$V1AiImageGeneratorCreateBodyStyle = {
|
|
21
31
|
prompt: string;
|
|
32
|
+
quality_mode?: ("pro" | "standard") | undefined;
|
|
22
33
|
tool?: ("ai-anime-generator" | "ai-art-generator" | "ai-background-generator" | "ai-character-generator" | "ai-face-generator" | "ai-fashion-generator" | "ai-icon-generator" | "ai-illustration-generator" | "ai-interior-design-generator" | "ai-landscape-generator" | "ai-logo-generator" | "ai-manga-generator" | "ai-outfit-generator" | "ai-pattern-generator" | "ai-photo-generator" | "ai-sketch-generator" | "ai-tattoo-generator" | "album-cover-generator" | "animated-characters-generator" | "architecture-generator" | "book-cover-generator" | "comic-book-generator" | "dark-fantasy-ai" | "disney-ai-generator" | "dnd-ai-art-generator" | "emoji-generator" | "fantasy-map-generator" | "general" | "graffiti-generator" | "movie-poster-generator" | "optical-illusion-generator" | "pokemon-generator" | "south-park-character-generator" | "superhero-generator" | "thumbnail-maker") | undefined;
|
|
23
34
|
};
|
|
24
35
|
export declare const Schemas$V1AiImageGeneratorCreateBodyStyle: {
|
|
@@ -42,6 +42,7 @@ const z = __importStar(require("zod"));
|
|
|
42
42
|
const SchemaIn$V1AiImageGeneratorCreateBodyStyle = z
|
|
43
43
|
.object({
|
|
44
44
|
prompt: z.string(),
|
|
45
|
+
quality_mode: z.enum(["pro", "standard"]).optional(),
|
|
45
46
|
tool: z
|
|
46
47
|
.enum([
|
|
47
48
|
"ai-anime-generator",
|
|
@@ -85,6 +86,7 @@ const SchemaIn$V1AiImageGeneratorCreateBodyStyle = z
|
|
|
85
86
|
.transform((obj) => {
|
|
86
87
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
87
88
|
prompt: "prompt",
|
|
89
|
+
quality_mode: "qualityMode",
|
|
88
90
|
tool: "tool",
|
|
89
91
|
});
|
|
90
92
|
});
|
|
@@ -95,6 +97,7 @@ const SchemaIn$V1AiImageGeneratorCreateBodyStyle = z
|
|
|
95
97
|
const SchemaOut$V1AiImageGeneratorCreateBodyStyle = z
|
|
96
98
|
.object({
|
|
97
99
|
prompt: z.string(),
|
|
100
|
+
qualityMode: z.enum(["pro", "standard"]).optional(),
|
|
98
101
|
tool: z
|
|
99
102
|
.enum([
|
|
100
103
|
"ai-anime-generator",
|
|
@@ -138,6 +141,7 @@ const SchemaOut$V1AiImageGeneratorCreateBodyStyle = z
|
|
|
138
141
|
.transform((obj) => {
|
|
139
142
|
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
140
143
|
prompt: "prompt",
|
|
144
|
+
qualityMode: "quality_mode",
|
|
141
145
|
tool: "tool",
|
|
142
146
|
});
|
|
143
147
|
});
|
|
@@ -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
|
|
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
|
|
3
3
|
*/
|
|
4
|
-
export type V1AiVoiceGeneratorCreateBodyStyleVoiceNameEnum = "Barack Obama" | "Donald Trump" | "Elon Musk" | "Joe Biden" | "Joe Rogan" | "Kanye West" | "Kim Kardashian" | "Mark Zuckerberg" | "Morgan Freeman" | "Taylor Swift";
|
|
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,13 +4,13 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type V1AiVoiceGeneratorCreateBodyStyle = {
|
|
6
6
|
/**
|
|
7
|
-
* Text used to generate speech. Starter tier users can use up to
|
|
7
|
+
* 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.
|
|
8
8
|
*/
|
|
9
9
|
prompt: string;
|
|
10
10
|
/**
|
|
11
|
-
* 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
|
|
11
|
+
* 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
|
|
12
12
|
*/
|
|
13
|
-
voiceName: "Barack Obama" | "Donald Trump" | "Elon Musk" | "Joe Biden" | "Joe Rogan" | "Kanye West" | "Kim Kardashian" | "Mark Zuckerberg" | "Morgan Freeman" | "Taylor Swift";
|
|
13
|
+
voiceName: "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";
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* @internal
|
|
@@ -19,7 +19,7 @@ export type V1AiVoiceGeneratorCreateBodyStyle = {
|
|
|
19
19
|
*/
|
|
20
20
|
export type External$V1AiVoiceGeneratorCreateBodyStyle = {
|
|
21
21
|
prompt: string;
|
|
22
|
-
voice_name: "Barack Obama" | "Donald Trump" | "Elon Musk" | "Joe Biden" | "Joe Rogan" | "Kanye West" | "Kim Kardashian" | "Mark Zuckerberg" | "Morgan Freeman" | "Taylor Swift";
|
|
22
|
+
voice_name: "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";
|
|
23
23
|
};
|
|
24
24
|
export declare const Schemas$V1AiVoiceGeneratorCreateBodyStyle: {
|
|
25
25
|
in: z.ZodType<V1AiVoiceGeneratorCreateBodyStyle, z.ZodTypeDef, unknown>;
|
|
@@ -43,16 +43,206 @@ const SchemaIn$V1AiVoiceGeneratorCreateBodyStyle = z
|
|
|
43
43
|
.object({
|
|
44
44
|
prompt: z.string(),
|
|
45
45
|
voice_name: z.enum([
|
|
46
|
+
"A.R. Rahman",
|
|
47
|
+
"Aamir Khan",
|
|
48
|
+
"Abraham Lincoln",
|
|
49
|
+
"Adam Driver",
|
|
50
|
+
"Ajay Devgn",
|
|
51
|
+
"Akshay Kumar",
|
|
52
|
+
"Alain Delon",
|
|
53
|
+
"Alan Alda",
|
|
54
|
+
"Alan Cumming",
|
|
55
|
+
"Alan Rickman",
|
|
56
|
+
"Albert Einstein",
|
|
57
|
+
"Alex Trebek",
|
|
58
|
+
"Alexz Johnson",
|
|
59
|
+
"Amitabh Bachchan",
|
|
60
|
+
"Amy Poehler",
|
|
61
|
+
"Ana Gasteyer",
|
|
62
|
+
"Andrew Rannells",
|
|
63
|
+
"Ang Lee",
|
|
64
|
+
"Anne Hathaway",
|
|
65
|
+
"Ansel Elgort",
|
|
66
|
+
"Anthony Anderson",
|
|
67
|
+
"Anthony Mackie",
|
|
68
|
+
"Arden Cho",
|
|
69
|
+
"Armie Hammer",
|
|
70
|
+
"Asa Butterfield",
|
|
71
|
+
"B.J. Novak",
|
|
46
72
|
"Barack Obama",
|
|
73
|
+
"Barbara Eden",
|
|
74
|
+
"Bear Grylls",
|
|
75
|
+
"Ben McKenzie",
|
|
76
|
+
"Ben Stiller",
|
|
77
|
+
"Ben Whishaw",
|
|
78
|
+
"Betty White",
|
|
79
|
+
"Bill Nighy",
|
|
80
|
+
"Bill Pullman",
|
|
81
|
+
"Billie Joe Armstrong",
|
|
82
|
+
"Bingbing Li",
|
|
83
|
+
"Blake Shelton",
|
|
84
|
+
"Bob Barker",
|
|
85
|
+
"Bonnie Wright",
|
|
86
|
+
"Booboo Stewart",
|
|
87
|
+
"Brad Paisley",
|
|
88
|
+
"Bradley Steven Perry",
|
|
89
|
+
"Brendan Gleeson",
|
|
90
|
+
"Brian Cox",
|
|
91
|
+
"Bruno Ganz",
|
|
92
|
+
"Bruno Mars",
|
|
93
|
+
"Burt Reynolds",
|
|
94
|
+
"Caitriona Balfe",
|
|
95
|
+
"Caity Lotz",
|
|
96
|
+
"Cameron Boyce",
|
|
97
|
+
"Candice Accola",
|
|
98
|
+
"Carrie Fisher",
|
|
99
|
+
"Carrie Underwood",
|
|
100
|
+
"Casey Affleck",
|
|
101
|
+
"Caterina Scorsone",
|
|
102
|
+
"Cedric the Entertainer",
|
|
103
|
+
"Chace Crawford",
|
|
104
|
+
"Chadwick Boseman",
|
|
105
|
+
"Charles Dance",
|
|
106
|
+
"Charlie Chaplin",
|
|
107
|
+
"Charlie Day",
|
|
108
|
+
"Chiwetel Ejiofor",
|
|
109
|
+
"Chris Hemsworth",
|
|
110
|
+
"Chris Martin",
|
|
111
|
+
"Chris Pine",
|
|
112
|
+
"Christina Hendricks",
|
|
113
|
+
"Christina Ricci",
|
|
114
|
+
"Christopher Mintz-Plasse",
|
|
115
|
+
"Cillian Murphy",
|
|
116
|
+
"Cyndi Lauper",
|
|
117
|
+
"Dakota Fanning",
|
|
118
|
+
"Damian Lewis",
|
|
119
|
+
"Dan Aykroyd",
|
|
120
|
+
"Dan Fogler",
|
|
121
|
+
"Dan Stevens",
|
|
122
|
+
"Daniel Craig",
|
|
123
|
+
"Daniel Dae Kim",
|
|
124
|
+
"Danielle Panabaker",
|
|
125
|
+
"Dave Bautista",
|
|
126
|
+
"David Attenborough",
|
|
127
|
+
"David Letterman",
|
|
128
|
+
"David Oyelowo",
|
|
129
|
+
"David Schwimmer",
|
|
130
|
+
"David Tennant",
|
|
131
|
+
"Denis Leary",
|
|
132
|
+
"Derek Mears",
|
|
133
|
+
"Diane Keaton",
|
|
134
|
+
"Diane Kruger",
|
|
135
|
+
"Dick Van Dyke",
|
|
136
|
+
"Diego Luna",
|
|
137
|
+
"Domhnall Gleeson",
|
|
138
|
+
"Dominic Cooper",
|
|
139
|
+
"Donald Glover",
|
|
140
|
+
"Donald Sutherland",
|
|
47
141
|
"Donald Trump",
|
|
142
|
+
"Donnie Yen",
|
|
143
|
+
"Doutzen Kroes",
|
|
144
|
+
"Dove Cameron",
|
|
145
|
+
"Dr. Dre",
|
|
146
|
+
"Drake Bell",
|
|
147
|
+
"Drew Carey",
|
|
148
|
+
"Eartha Kitt",
|
|
149
|
+
"Eddie Izzard",
|
|
150
|
+
"Edward Asner",
|
|
151
|
+
"Eli Roth",
|
|
152
|
+
"Elisabeth Moss",
|
|
153
|
+
"Elle Fanning",
|
|
154
|
+
"Ellen Burstyn",
|
|
48
155
|
"Elon Musk",
|
|
156
|
+
"Emile Hirsch",
|
|
157
|
+
"Ernie Hudson",
|
|
158
|
+
"Ezra Miller",
|
|
159
|
+
"Felicity Jones",
|
|
160
|
+
"Fergie",
|
|
161
|
+
"Fiona Shaw",
|
|
162
|
+
"Florence Henderson",
|
|
163
|
+
"Forest Whitaker",
|
|
164
|
+
"Francia Raisa",
|
|
165
|
+
"Freddie Highmore",
|
|
166
|
+
"Freida Pinto",
|
|
167
|
+
"Geena Davis",
|
|
168
|
+
"Gemma Arterton",
|
|
169
|
+
"Geri Halliwell",
|
|
170
|
+
"Gillian Jacobs",
|
|
171
|
+
"Gina Carano",
|
|
172
|
+
"Ginnifer Goodwin",
|
|
173
|
+
"Glenn Close",
|
|
174
|
+
"Gloria Steinem",
|
|
175
|
+
"Gordon Ramsay",
|
|
176
|
+
"Greta Gerwig",
|
|
177
|
+
"Gugu Mbatha-Raw",
|
|
178
|
+
"Guy Pearce",
|
|
179
|
+
"Gwendoline Christie",
|
|
180
|
+
"Hailee Steinfeld",
|
|
181
|
+
"Hans Zimmer",
|
|
182
|
+
"Harry Connick Jr.",
|
|
183
|
+
"Harvey Keitel",
|
|
184
|
+
"Helena Bonham Carter",
|
|
185
|
+
"Henry Cavill",
|
|
186
|
+
"Hilary Swank",
|
|
187
|
+
"Howie Mandel",
|
|
188
|
+
"Hugh Bonneville",
|
|
189
|
+
"Hugh Jackman",
|
|
190
|
+
"Hugh Laurie",
|
|
191
|
+
"Idina Menzel",
|
|
192
|
+
"Imelda Staunton",
|
|
193
|
+
"Ingrid Bergman",
|
|
194
|
+
"Irrfan Khan",
|
|
195
|
+
"Isla Fisher",
|
|
196
|
+
"Iwan Rheon",
|
|
197
|
+
"J. K. Simmons",
|
|
198
|
+
"J.J. Abrams",
|
|
199
|
+
"Jack Black",
|
|
200
|
+
"Jack Lemmon",
|
|
201
|
+
"James Earl Jones",
|
|
202
|
+
"Janet Jackson",
|
|
203
|
+
"Jared Leto",
|
|
204
|
+
"Jason Bateman",
|
|
205
|
+
"Jason Segel",
|
|
206
|
+
"Jeff Goldblum",
|
|
207
|
+
"Jennifer Carpenter",
|
|
208
|
+
"Jennifer Coolidge",
|
|
209
|
+
"Jimmy Fallon",
|
|
49
210
|
"Joe Biden",
|
|
50
211
|
"Joe Rogan",
|
|
212
|
+
"John F. Kennedy",
|
|
213
|
+
"Johnny Galecki",
|
|
214
|
+
"Jon Favreau",
|
|
215
|
+
"Joseph Gordon-Levitt",
|
|
216
|
+
"Josh Brolin",
|
|
217
|
+
"Josh Gad",
|
|
218
|
+
"Josh Groban",
|
|
219
|
+
"Julia Louis-Dreyfus",
|
|
220
|
+
"Julia Roberts",
|
|
51
221
|
"Kanye West",
|
|
222
|
+
"Katy Perry",
|
|
223
|
+
"Kesha",
|
|
224
|
+
"Kevin Bacon",
|
|
52
225
|
"Kim Kardashian",
|
|
226
|
+
"Kris Jenner",
|
|
227
|
+
"Kristen Bell",
|
|
228
|
+
"Kristen Stewart",
|
|
229
|
+
"Kristen Wiig",
|
|
230
|
+
"Lorde",
|
|
231
|
+
"Lucille Ball",
|
|
232
|
+
"Marilyn Monroe",
|
|
53
233
|
"Mark Zuckerberg",
|
|
234
|
+
"Matt Smith",
|
|
54
235
|
"Morgan Freeman",
|
|
236
|
+
"Natalie Portman",
|
|
237
|
+
"Prince",
|
|
238
|
+
"Rooney Mara",
|
|
239
|
+
"Samuel L. Jackson",
|
|
240
|
+
"Sean Connery",
|
|
241
|
+
"Stephen Colbert",
|
|
242
|
+
"Steve Carell",
|
|
55
243
|
"Taylor Swift",
|
|
244
|
+
"Tom Hiddleston",
|
|
245
|
+
"Zoe Saldana",
|
|
56
246
|
]),
|
|
57
247
|
})
|
|
58
248
|
.transform((obj) => {
|
|
@@ -69,16 +259,206 @@ const SchemaOut$V1AiVoiceGeneratorCreateBodyStyle = z
|
|
|
69
259
|
.object({
|
|
70
260
|
prompt: z.string(),
|
|
71
261
|
voiceName: z.enum([
|
|
262
|
+
"A.R. Rahman",
|
|
263
|
+
"Aamir Khan",
|
|
264
|
+
"Abraham Lincoln",
|
|
265
|
+
"Adam Driver",
|
|
266
|
+
"Ajay Devgn",
|
|
267
|
+
"Akshay Kumar",
|
|
268
|
+
"Alain Delon",
|
|
269
|
+
"Alan Alda",
|
|
270
|
+
"Alan Cumming",
|
|
271
|
+
"Alan Rickman",
|
|
272
|
+
"Albert Einstein",
|
|
273
|
+
"Alex Trebek",
|
|
274
|
+
"Alexz Johnson",
|
|
275
|
+
"Amitabh Bachchan",
|
|
276
|
+
"Amy Poehler",
|
|
277
|
+
"Ana Gasteyer",
|
|
278
|
+
"Andrew Rannells",
|
|
279
|
+
"Ang Lee",
|
|
280
|
+
"Anne Hathaway",
|
|
281
|
+
"Ansel Elgort",
|
|
282
|
+
"Anthony Anderson",
|
|
283
|
+
"Anthony Mackie",
|
|
284
|
+
"Arden Cho",
|
|
285
|
+
"Armie Hammer",
|
|
286
|
+
"Asa Butterfield",
|
|
287
|
+
"B.J. Novak",
|
|
72
288
|
"Barack Obama",
|
|
289
|
+
"Barbara Eden",
|
|
290
|
+
"Bear Grylls",
|
|
291
|
+
"Ben McKenzie",
|
|
292
|
+
"Ben Stiller",
|
|
293
|
+
"Ben Whishaw",
|
|
294
|
+
"Betty White",
|
|
295
|
+
"Bill Nighy",
|
|
296
|
+
"Bill Pullman",
|
|
297
|
+
"Billie Joe Armstrong",
|
|
298
|
+
"Bingbing Li",
|
|
299
|
+
"Blake Shelton",
|
|
300
|
+
"Bob Barker",
|
|
301
|
+
"Bonnie Wright",
|
|
302
|
+
"Booboo Stewart",
|
|
303
|
+
"Brad Paisley",
|
|
304
|
+
"Bradley Steven Perry",
|
|
305
|
+
"Brendan Gleeson",
|
|
306
|
+
"Brian Cox",
|
|
307
|
+
"Bruno Ganz",
|
|
308
|
+
"Bruno Mars",
|
|
309
|
+
"Burt Reynolds",
|
|
310
|
+
"Caitriona Balfe",
|
|
311
|
+
"Caity Lotz",
|
|
312
|
+
"Cameron Boyce",
|
|
313
|
+
"Candice Accola",
|
|
314
|
+
"Carrie Fisher",
|
|
315
|
+
"Carrie Underwood",
|
|
316
|
+
"Casey Affleck",
|
|
317
|
+
"Caterina Scorsone",
|
|
318
|
+
"Cedric the Entertainer",
|
|
319
|
+
"Chace Crawford",
|
|
320
|
+
"Chadwick Boseman",
|
|
321
|
+
"Charles Dance",
|
|
322
|
+
"Charlie Chaplin",
|
|
323
|
+
"Charlie Day",
|
|
324
|
+
"Chiwetel Ejiofor",
|
|
325
|
+
"Chris Hemsworth",
|
|
326
|
+
"Chris Martin",
|
|
327
|
+
"Chris Pine",
|
|
328
|
+
"Christina Hendricks",
|
|
329
|
+
"Christina Ricci",
|
|
330
|
+
"Christopher Mintz-Plasse",
|
|
331
|
+
"Cillian Murphy",
|
|
332
|
+
"Cyndi Lauper",
|
|
333
|
+
"Dakota Fanning",
|
|
334
|
+
"Damian Lewis",
|
|
335
|
+
"Dan Aykroyd",
|
|
336
|
+
"Dan Fogler",
|
|
337
|
+
"Dan Stevens",
|
|
338
|
+
"Daniel Craig",
|
|
339
|
+
"Daniel Dae Kim",
|
|
340
|
+
"Danielle Panabaker",
|
|
341
|
+
"Dave Bautista",
|
|
342
|
+
"David Attenborough",
|
|
343
|
+
"David Letterman",
|
|
344
|
+
"David Oyelowo",
|
|
345
|
+
"David Schwimmer",
|
|
346
|
+
"David Tennant",
|
|
347
|
+
"Denis Leary",
|
|
348
|
+
"Derek Mears",
|
|
349
|
+
"Diane Keaton",
|
|
350
|
+
"Diane Kruger",
|
|
351
|
+
"Dick Van Dyke",
|
|
352
|
+
"Diego Luna",
|
|
353
|
+
"Domhnall Gleeson",
|
|
354
|
+
"Dominic Cooper",
|
|
355
|
+
"Donald Glover",
|
|
356
|
+
"Donald Sutherland",
|
|
73
357
|
"Donald Trump",
|
|
358
|
+
"Donnie Yen",
|
|
359
|
+
"Doutzen Kroes",
|
|
360
|
+
"Dove Cameron",
|
|
361
|
+
"Dr. Dre",
|
|
362
|
+
"Drake Bell",
|
|
363
|
+
"Drew Carey",
|
|
364
|
+
"Eartha Kitt",
|
|
365
|
+
"Eddie Izzard",
|
|
366
|
+
"Edward Asner",
|
|
367
|
+
"Eli Roth",
|
|
368
|
+
"Elisabeth Moss",
|
|
369
|
+
"Elle Fanning",
|
|
370
|
+
"Ellen Burstyn",
|
|
74
371
|
"Elon Musk",
|
|
372
|
+
"Emile Hirsch",
|
|
373
|
+
"Ernie Hudson",
|
|
374
|
+
"Ezra Miller",
|
|
375
|
+
"Felicity Jones",
|
|
376
|
+
"Fergie",
|
|
377
|
+
"Fiona Shaw",
|
|
378
|
+
"Florence Henderson",
|
|
379
|
+
"Forest Whitaker",
|
|
380
|
+
"Francia Raisa",
|
|
381
|
+
"Freddie Highmore",
|
|
382
|
+
"Freida Pinto",
|
|
383
|
+
"Geena Davis",
|
|
384
|
+
"Gemma Arterton",
|
|
385
|
+
"Geri Halliwell",
|
|
386
|
+
"Gillian Jacobs",
|
|
387
|
+
"Gina Carano",
|
|
388
|
+
"Ginnifer Goodwin",
|
|
389
|
+
"Glenn Close",
|
|
390
|
+
"Gloria Steinem",
|
|
391
|
+
"Gordon Ramsay",
|
|
392
|
+
"Greta Gerwig",
|
|
393
|
+
"Gugu Mbatha-Raw",
|
|
394
|
+
"Guy Pearce",
|
|
395
|
+
"Gwendoline Christie",
|
|
396
|
+
"Hailee Steinfeld",
|
|
397
|
+
"Hans Zimmer",
|
|
398
|
+
"Harry Connick Jr.",
|
|
399
|
+
"Harvey Keitel",
|
|
400
|
+
"Helena Bonham Carter",
|
|
401
|
+
"Henry Cavill",
|
|
402
|
+
"Hilary Swank",
|
|
403
|
+
"Howie Mandel",
|
|
404
|
+
"Hugh Bonneville",
|
|
405
|
+
"Hugh Jackman",
|
|
406
|
+
"Hugh Laurie",
|
|
407
|
+
"Idina Menzel",
|
|
408
|
+
"Imelda Staunton",
|
|
409
|
+
"Ingrid Bergman",
|
|
410
|
+
"Irrfan Khan",
|
|
411
|
+
"Isla Fisher",
|
|
412
|
+
"Iwan Rheon",
|
|
413
|
+
"J. K. Simmons",
|
|
414
|
+
"J.J. Abrams",
|
|
415
|
+
"Jack Black",
|
|
416
|
+
"Jack Lemmon",
|
|
417
|
+
"James Earl Jones",
|
|
418
|
+
"Janet Jackson",
|
|
419
|
+
"Jared Leto",
|
|
420
|
+
"Jason Bateman",
|
|
421
|
+
"Jason Segel",
|
|
422
|
+
"Jeff Goldblum",
|
|
423
|
+
"Jennifer Carpenter",
|
|
424
|
+
"Jennifer Coolidge",
|
|
425
|
+
"Jimmy Fallon",
|
|
75
426
|
"Joe Biden",
|
|
76
427
|
"Joe Rogan",
|
|
428
|
+
"John F. Kennedy",
|
|
429
|
+
"Johnny Galecki",
|
|
430
|
+
"Jon Favreau",
|
|
431
|
+
"Joseph Gordon-Levitt",
|
|
432
|
+
"Josh Brolin",
|
|
433
|
+
"Josh Gad",
|
|
434
|
+
"Josh Groban",
|
|
435
|
+
"Julia Louis-Dreyfus",
|
|
436
|
+
"Julia Roberts",
|
|
77
437
|
"Kanye West",
|
|
438
|
+
"Katy Perry",
|
|
439
|
+
"Kesha",
|
|
440
|
+
"Kevin Bacon",
|
|
78
441
|
"Kim Kardashian",
|
|
442
|
+
"Kris Jenner",
|
|
443
|
+
"Kristen Bell",
|
|
444
|
+
"Kristen Stewart",
|
|
445
|
+
"Kristen Wiig",
|
|
446
|
+
"Lorde",
|
|
447
|
+
"Lucille Ball",
|
|
448
|
+
"Marilyn Monroe",
|
|
79
449
|
"Mark Zuckerberg",
|
|
450
|
+
"Matt Smith",
|
|
80
451
|
"Morgan Freeman",
|
|
452
|
+
"Natalie Portman",
|
|
453
|
+
"Prince",
|
|
454
|
+
"Rooney Mara",
|
|
455
|
+
"Samuel L. Jackson",
|
|
456
|
+
"Sean Connery",
|
|
457
|
+
"Stephen Colbert",
|
|
458
|
+
"Steve Carell",
|
|
81
459
|
"Taylor Swift",
|
|
460
|
+
"Tom Hiddleston",
|
|
461
|
+
"Zoe Saldana",
|
|
82
462
|
]),
|
|
83
463
|
})
|
|
84
464
|
.transform((obj) => {
|
|
@@ -34,7 +34,7 @@ export type V1AudioProjectsGetResponse = {
|
|
|
34
34
|
*/
|
|
35
35
|
status: "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
|
|
36
36
|
/**
|
|
37
|
-
* The type of the audio project. Possible values are VOICE_GENERATOR, VOICE_CHANGER
|
|
37
|
+
* The type of the audio project. Possible values are VOICE_GENERATOR, VOICE_CHANGER, VOICE_CLONER
|
|
38
38
|
*/
|
|
39
39
|
type: string;
|
|
40
40
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* * `v1` - May preserve skin detail and texture better, but weaker identity preservation.
|
|
3
|
-
* * `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation.
|
|
3
|
+
* * `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation.
|
|
4
4
|
* * `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.
|
|
5
5
|
*/
|
|
6
6
|
export type V1FaceSwapCreateBodyStyleVersionEnum = "default" | "v1" | "v2";
|
|
@@ -5,7 +5,7 @@ import * as z from "zod";
|
|
|
5
5
|
export type V1FaceSwapCreateBodyStyle = {
|
|
6
6
|
/**
|
|
7
7
|
* * `v1` - May preserve skin detail and texture better, but weaker identity preservation.
|
|
8
|
-
* * `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation.
|
|
8
|
+
* * `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation.
|
|
9
9
|
* * `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.
|
|
10
10
|
*/
|
|
11
11
|
version?: ("default" | "v1" | "v2") | undefined;
|
|
@@ -4,7 +4,7 @@ import * as z from "zod";
|
|
|
4
4
|
*/
|
|
5
5
|
export type V1FilesUploadUrlsCreateBodyItemsItem = {
|
|
6
6
|
/**
|
|
7
|
-
* The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,
|
|
7
|
+
* 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
|
|
8
8
|
*/
|
|
9
9
|
extension: string;
|
|
10
10
|
/**
|
|
@@ -61,7 +61,7 @@ export type V1VideoProjectsGetResponse = {
|
|
|
61
61
|
*/
|
|
62
62
|
totalFrameCost: number;
|
|
63
63
|
/**
|
|
64
|
-
* The type of the video project. Possible values are ANIMATION, IMAGE_TO_VIDEO, VIDEO_TO_VIDEO, TEXT_TO_VIDEO, FACE_SWAP, LIP_SYNC, AUTO_SUBTITLE, TALKING_PHOTO
|
|
64
|
+
* The type of the video project. Possible values are ANIMATION, IMAGE_TO_VIDEO, VIDEO_TO_VIDEO, TEXT_TO_VIDEO, FACE_SWAP, LIP_SYNC, AUTO_SUBTITLE, TALKING_PHOTO, UGC_AD
|
|
65
65
|
*/
|
|
66
66
|
type: string;
|
|
67
67
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* V1VideoToVideoCreateBodyStyleArtStyleEnum
|
|
3
3
|
*/
|
|
4
|
-
export type V1VideoToVideoCreateBodyStyleArtStyleEnum = "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Bold Anime" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Painterly Anime" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Realistic Anime" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
|
|
4
|
+
export type V1VideoToVideoCreateBodyStyleArtStyleEnum = "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Bold Anime" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghibli Anime" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Painterly Anime" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Radiant Anime" | "Realistic Anime" | "Realistic Pixar" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Sharp Anime" | "Soft Anime" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Western Anime" | "Wu Kong" | "Wuxia Anime" | "Zelda";
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* * `Flat 2D Anime` - best for a flat illustration style that's common in most anime.
|
|
5
5
|
* * `default` - use the default recommended model for the selected art style.
|
|
6
6
|
*/
|
|
7
|
-
export type V1VideoToVideoCreateBodyStyleModelEnum = "Absolute Reality" | "Dreamshaper" | "Flat 2D Anime" | "default";
|
|
7
|
+
export type V1VideoToVideoCreateBodyStyleModelEnum = "3D Anime" | "Absolute Reality" | "Dreamshaper" | "Flat 2D Anime" | "Kaywaii" | "Soft Anime" | "Western Anime" | "default";
|
|
@@ -3,14 +3,14 @@ import * as z from "zod";
|
|
|
3
3
|
* V1VideoToVideoCreateBodyStyle
|
|
4
4
|
*/
|
|
5
5
|
export type V1VideoToVideoCreateBodyStyle = {
|
|
6
|
-
artStyle: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Bold Anime" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Painterly Anime" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Realistic Anime" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
|
|
6
|
+
artStyle: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Bold Anime" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghibli Anime" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Painterly Anime" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Radiant Anime" | "Realistic Anime" | "Realistic Pixar" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Sharp Anime" | "Soft Anime" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Western Anime" | "Wu Kong" | "Wuxia Anime" | "Zelda";
|
|
7
7
|
/**
|
|
8
8
|
* * `Dreamshaper` - a good all-around model that works for both animations as well as realism.
|
|
9
9
|
* * `Absolute Reality` - better at realism, but you'll often get similar results with Dreamshaper as well.
|
|
10
10
|
* * `Flat 2D Anime` - best for a flat illustration style that's common in most anime.
|
|
11
11
|
* * `default` - use the default recommended model for the selected art style.
|
|
12
12
|
*/
|
|
13
|
-
model?: ("Absolute Reality" | "Dreamshaper" | "Flat 2D Anime" | "default") | undefined;
|
|
13
|
+
model?: ("3D Anime" | "Absolute Reality" | "Dreamshaper" | "Flat 2D Anime" | "Kaywaii" | "Soft Anime" | "Western Anime" | "default") | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* The prompt used for the video. Prompt is required if `prompt_type` is `custom` or `append_default`. If `prompt_type` is `default`, then the `prompt` value passed will be ignored.
|
|
16
16
|
*/
|
|
@@ -34,8 +34,8 @@ export type V1VideoToVideoCreateBodyStyle = {
|
|
|
34
34
|
* we expect to come in as network data
|
|
35
35
|
*/
|
|
36
36
|
export type External$V1VideoToVideoCreateBodyStyle = {
|
|
37
|
-
art_style: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Bold Anime" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Painterly Anime" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Realistic Anime" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
|
|
38
|
-
model?: ("Absolute Reality" | "Dreamshaper" | "Flat 2D Anime" | "default") | undefined;
|
|
37
|
+
art_style: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Bold Anime" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghibli Anime" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Painterly Anime" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Radiant Anime" | "Realistic Anime" | "Realistic Pixar" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Sharp Anime" | "Soft Anime" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Western Anime" | "Wu Kong" | "Wuxia Anime" | "Zelda";
|
|
38
|
+
model?: ("3D Anime" | "Absolute Reality" | "Dreamshaper" | "Flat 2D Anime" | "Kaywaii" | "Soft Anime" | "Western Anime" | "default") | undefined;
|
|
39
39
|
prompt?: string | null | undefined;
|
|
40
40
|
prompt_type?: ("append_default" | "custom" | "default") | undefined;
|
|
41
41
|
version?: ("default" | "v1" | "v2") | undefined;
|
|
@@ -63,6 +63,7 @@ const SchemaIn$V1VideoToVideoCreateBodyStyle = z
|
|
|
63
63
|
"Future Bot",
|
|
64
64
|
"Futuristic Fantasy",
|
|
65
65
|
"GTA",
|
|
66
|
+
"Ghibli Anime",
|
|
66
67
|
"Ghost",
|
|
67
68
|
"Gundam",
|
|
68
69
|
"Hologram",
|
|
@@ -91,11 +92,15 @@ const SchemaIn$V1VideoToVideoCreateBodyStyle = z
|
|
|
91
92
|
"Pixel",
|
|
92
93
|
"Power Armor",
|
|
93
94
|
"Power Ranger",
|
|
95
|
+
"Radiant Anime",
|
|
94
96
|
"Realistic Anime",
|
|
97
|
+
"Realistic Pixar",
|
|
95
98
|
"Retro Anime",
|
|
96
99
|
"Retro Sci-Fi",
|
|
97
100
|
"Samurai",
|
|
98
101
|
"Samurai Bot",
|
|
102
|
+
"Sharp Anime",
|
|
103
|
+
"Soft Anime",
|
|
99
104
|
"Solid Snake",
|
|
100
105
|
"Spartan",
|
|
101
106
|
"Starfield",
|
|
@@ -108,11 +113,22 @@ const SchemaIn$V1VideoToVideoCreateBodyStyle = z
|
|
|
108
113
|
"Van Gogh",
|
|
109
114
|
"Viking",
|
|
110
115
|
"Watercolor",
|
|
116
|
+
"Western Anime",
|
|
111
117
|
"Wu Kong",
|
|
118
|
+
"Wuxia Anime",
|
|
112
119
|
"Zelda",
|
|
113
120
|
]),
|
|
114
121
|
model: z
|
|
115
|
-
.enum([
|
|
122
|
+
.enum([
|
|
123
|
+
"3D Anime",
|
|
124
|
+
"Absolute Reality",
|
|
125
|
+
"Dreamshaper",
|
|
126
|
+
"Flat 2D Anime",
|
|
127
|
+
"Kaywaii",
|
|
128
|
+
"Soft Anime",
|
|
129
|
+
"Western Anime",
|
|
130
|
+
"default",
|
|
131
|
+
])
|
|
116
132
|
.optional(),
|
|
117
133
|
prompt: z.string().nullable().optional(),
|
|
118
134
|
prompt_type: z.enum(["append_default", "custom", "default"]).optional(),
|
|
@@ -155,6 +171,7 @@ const SchemaOut$V1VideoToVideoCreateBodyStyle = z
|
|
|
155
171
|
"Future Bot",
|
|
156
172
|
"Futuristic Fantasy",
|
|
157
173
|
"GTA",
|
|
174
|
+
"Ghibli Anime",
|
|
158
175
|
"Ghost",
|
|
159
176
|
"Gundam",
|
|
160
177
|
"Hologram",
|
|
@@ -183,11 +200,15 @@ const SchemaOut$V1VideoToVideoCreateBodyStyle = z
|
|
|
183
200
|
"Pixel",
|
|
184
201
|
"Power Armor",
|
|
185
202
|
"Power Ranger",
|
|
203
|
+
"Radiant Anime",
|
|
186
204
|
"Realistic Anime",
|
|
205
|
+
"Realistic Pixar",
|
|
187
206
|
"Retro Anime",
|
|
188
207
|
"Retro Sci-Fi",
|
|
189
208
|
"Samurai",
|
|
190
209
|
"Samurai Bot",
|
|
210
|
+
"Sharp Anime",
|
|
211
|
+
"Soft Anime",
|
|
191
212
|
"Solid Snake",
|
|
192
213
|
"Spartan",
|
|
193
214
|
"Starfield",
|
|
@@ -200,11 +221,22 @@ const SchemaOut$V1VideoToVideoCreateBodyStyle = z
|
|
|
200
221
|
"Van Gogh",
|
|
201
222
|
"Viking",
|
|
202
223
|
"Watercolor",
|
|
224
|
+
"Western Anime",
|
|
203
225
|
"Wu Kong",
|
|
226
|
+
"Wuxia Anime",
|
|
204
227
|
"Zelda",
|
|
205
228
|
]),
|
|
206
229
|
model: z
|
|
207
|
-
.enum([
|
|
230
|
+
.enum([
|
|
231
|
+
"3D Anime",
|
|
232
|
+
"Absolute Reality",
|
|
233
|
+
"Dreamshaper",
|
|
234
|
+
"Flat 2D Anime",
|
|
235
|
+
"Kaywaii",
|
|
236
|
+
"Soft Anime",
|
|
237
|
+
"Western Anime",
|
|
238
|
+
"default",
|
|
239
|
+
])
|
|
208
240
|
.optional(),
|
|
209
241
|
prompt: z.string().nullable().optional(),
|
|
210
242
|
promptType: z.enum(["append_default", "custom", "default"]).optional(),
|