magic-hour 0.74.1 → 0.76.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/README.md +4 -0
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/resources/v1/account/index.d.ts +1 -0
- package/dist/resources/v1/account/index.js +5 -0
- package/dist/resources/v1/account/resource-client.d.ts +13 -0
- package/dist/resources/v1/account/resource-client.js +27 -0
- package/dist/resources/v1/ai-image-editor/request-types.d.ts +7 -2
- package/dist/resources/v1/ai-image-editor/request-types.js +2 -0
- package/dist/resources/v1/ai-image-generator/request-types.d.ts +7 -2
- package/dist/resources/v1/ai-image-generator/request-types.js +2 -0
- package/dist/resources/v1/index.d.ts +1 -0
- package/dist/resources/v1/index.js +2 -1
- package/dist/resources/v1/resource-client.d.ts +3 -0
- package/dist/resources/v1/resource-client.js +5 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/v1-account-list-response-subscription-billing-interval-enum.d.ts +4 -0
- package/dist/types/v1-account-list-response-subscription-billing-interval-enum.js +2 -0
- package/dist/types/v1-account-list-response-subscription-discount.d.ts +27 -0
- package/dist/types/v1-account-list-response-subscription-discount.js +71 -0
- package/dist/types/v1-account-list-response-subscription-price.d.ts +27 -0
- package/dist/types/v1-account-list-response-subscription-price.js +71 -0
- package/dist/types/v1-account-list-response-subscription-status-enum.d.ts +6 -0
- package/dist/types/v1-account-list-response-subscription-status-enum.js +2 -0
- package/dist/types/v1-account-list-response-subscription.d.ts +55 -0
- package/dist/types/v1-account-list-response-subscription.js +93 -0
- package/dist/types/v1-account-list-response-tier-enum.d.ts +4 -0
- package/dist/types/v1-account-list-response-tier-enum.js +2 -0
- package/dist/types/v1-account-list-response.d.ts +45 -0
- package/dist/types/v1-account-list-response.js +84 -0
- package/dist/types/v1-ai-image-editor-create-body-model-enum.d.ts +5 -1
- package/dist/types/v1-ai-image-editor-create-body-resolution-enum.d.ts +1 -0
- package/dist/types/v1-ai-image-editor-create-body.d.ts +7 -2
- package/dist/types/v1-ai-image-editor-create-body.js +2 -0
- package/dist/types/v1-ai-image-generator-create-body-model-enum.d.ts +5 -1
- package/dist/types/v1-ai-image-generator-create-body-resolution-enum.d.ts +1 -0
- package/dist/types/v1-ai-image-generator-create-body.d.ts +7 -2
- package/dist/types/v1-ai-image-generator-create-body.js +2 -0
- package/dist/types/v1-ai-meme-generator-create-body-style-template-enum.d.ts +1 -1
- package/dist/types/v1-ai-meme-generator-create-body-style.d.ts +2 -2
- package/dist/types/v1-ai-meme-generator-create-body-style.js +176 -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 +3 -3
- package/dist/types/v1-ai-voice-generator-create-body-style.js +1550 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { External$V1AccountListResponseSubscription, V1AccountListResponseSubscription } from "./v1-account-list-response-subscription";
|
|
3
|
+
/**
|
|
4
|
+
* V1AccountListResponse
|
|
5
|
+
*/
|
|
6
|
+
export type V1AccountListResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* Credits currently available to spend. Includes subscription credits and any purchased credit packs.
|
|
9
|
+
*/
|
|
10
|
+
credits: number;
|
|
11
|
+
/**
|
|
12
|
+
* Email address of the account.
|
|
13
|
+
*/
|
|
14
|
+
email: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Unique ID of the account that owns the API key.
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Details of the account's subscription plan. `null` if the account has no subscription, e.g. a free account, an account that only purchased credit packs, or an account on usage-based API pricing.
|
|
21
|
+
*
|
|
22
|
+
* Reflects the plan currently configured on the subscription. If a plan change is scheduled, `tier` stays on the current plan until the next payment succeeds, so `tier` and `name` can briefly disagree.
|
|
23
|
+
*/
|
|
24
|
+
subscription: V1AccountListResponseSubscription | null;
|
|
25
|
+
/**
|
|
26
|
+
* Subscription tier in effect for the account. `free` if there is no active subscription, including while a subscription is `past_due`.
|
|
27
|
+
*/
|
|
28
|
+
tier: "business" | "creator" | "free" | "pro";
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* V1AccountListResponse without any key transformation, this is what
|
|
33
|
+
* we expect to come in as network data
|
|
34
|
+
*/
|
|
35
|
+
export type External$V1AccountListResponse = {
|
|
36
|
+
credits: number;
|
|
37
|
+
email: string | null;
|
|
38
|
+
id: string;
|
|
39
|
+
subscription: External$V1AccountListResponseSubscription | null;
|
|
40
|
+
tier: "business" | "creator" | "free" | "pro";
|
|
41
|
+
};
|
|
42
|
+
export declare const Schemas$V1AccountListResponse: {
|
|
43
|
+
in: z.ZodType<V1AccountListResponse, z.ZodTypeDef, unknown>;
|
|
44
|
+
out: z.ZodType<External$V1AccountListResponse, z.ZodTypeDef, V1AccountListResponse>;
|
|
45
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
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$V1AccountListResponse = void 0;
|
|
37
|
+
const make_api_request_js_1 = require("make-api-request-js");
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
const v1_account_list_response_subscription_1 = require("./v1-account-list-response-subscription");
|
|
40
|
+
/**
|
|
41
|
+
* Takes network data, validates it, and transforms keys to match typescript object V1AccountListResponse
|
|
42
|
+
*/
|
|
43
|
+
const SchemaIn$V1AccountListResponse = z
|
|
44
|
+
.object({
|
|
45
|
+
credits: z.number().int(),
|
|
46
|
+
email: z.string().nullable(),
|
|
47
|
+
id: z.string(),
|
|
48
|
+
subscription: v1_account_list_response_subscription_1.Schemas$V1AccountListResponseSubscription.in.nullable(),
|
|
49
|
+
tier: z.enum(["business", "creator", "free", "pro"]),
|
|
50
|
+
})
|
|
51
|
+
.transform((obj) => {
|
|
52
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
53
|
+
credits: "credits",
|
|
54
|
+
email: "email",
|
|
55
|
+
id: "id",
|
|
56
|
+
subscription: "subscription",
|
|
57
|
+
tier: "tier",
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$V1AccountListResponse
|
|
63
|
+
*/
|
|
64
|
+
const SchemaOut$V1AccountListResponse = z
|
|
65
|
+
.object({
|
|
66
|
+
credits: z.number().int(),
|
|
67
|
+
email: z.string().nullable(),
|
|
68
|
+
id: z.string(),
|
|
69
|
+
subscription: v1_account_list_response_subscription_1.Schemas$V1AccountListResponseSubscription.out.nullable(),
|
|
70
|
+
tier: z.enum(["business", "creator", "free", "pro"]),
|
|
71
|
+
})
|
|
72
|
+
.transform((obj) => {
|
|
73
|
+
return (0, make_api_request_js_1.zodTransform)(obj, {
|
|
74
|
+
credits: "credits",
|
|
75
|
+
email: "email",
|
|
76
|
+
id: "id",
|
|
77
|
+
subscription: "subscription",
|
|
78
|
+
tier: "tier",
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
exports.Schemas$V1AccountListResponse = {
|
|
82
|
+
in: SchemaIn$V1AccountListResponse,
|
|
83
|
+
out: SchemaOut$V1AccountListResponse,
|
|
84
|
+
};
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
12
12
|
* - Available for tiers: creator, pro, business
|
|
13
13
|
* - Max additional input images: 9
|
|
14
|
+
* - `gpt-image-2.5-flare` - from 100 credits/image
|
|
15
|
+
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
16
|
+
* - Available for tiers: creator, pro, business
|
|
17
|
+
* - Max additional input images: 9
|
|
14
18
|
* - `nano-banana` - from 50 credits/image
|
|
15
19
|
* - Supported resolutions: 640px, 1k
|
|
16
20
|
* - Available for tiers: creator, pro, business
|
|
@@ -45,4 +49,4 @@
|
|
|
45
49
|
* - Max additional input images: 9
|
|
46
50
|
*
|
|
47
51
|
*/
|
|
48
|
-
export type V1AiImageEditorCreateBodyModelEnum = "default" | "flux-2-klein" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro";
|
|
52
|
+
export type V1AiImageEditorCreateBodyModelEnum = "default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro";
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* **Per-model support:**
|
|
12
12
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
13
13
|
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
14
|
+
* - `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
|
|
14
15
|
* - `nano-banana` - 640px, 1k
|
|
15
16
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
16
17
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
@@ -30,6 +30,10 @@ export type V1AiImageEditorCreateBody = {
|
|
|
30
30
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
31
31
|
* - Available for tiers: creator, pro, business
|
|
32
32
|
* - Max additional input images: 9
|
|
33
|
+
* - `gpt-image-2.5-flare` - from 100 credits/image
|
|
34
|
+
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
35
|
+
* - Available for tiers: creator, pro, business
|
|
36
|
+
* - Max additional input images: 9
|
|
33
37
|
* - `nano-banana` - from 50 credits/image
|
|
34
38
|
* - Supported resolutions: 640px, 1k
|
|
35
39
|
* - Available for tiers: creator, pro, business
|
|
@@ -64,7 +68,7 @@ export type V1AiImageEditorCreateBody = {
|
|
|
64
68
|
* - Max additional input images: 9
|
|
65
69
|
*
|
|
66
70
|
*/
|
|
67
|
-
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
71
|
+
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
68
72
|
/**
|
|
69
73
|
* Give your image a custom name for easy identification.
|
|
70
74
|
*/
|
|
@@ -82,6 +86,7 @@ export type V1AiImageEditorCreateBody = {
|
|
|
82
86
|
* **Per-model support:**
|
|
83
87
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
84
88
|
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
89
|
+
* - `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
|
|
85
90
|
* - `nano-banana` - 640px, 1k
|
|
86
91
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
87
92
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
@@ -105,7 +110,7 @@ export type External$V1AiImageEditorCreateBody = {
|
|
|
105
110
|
aspect_ratio?: ("16:9" | "1:1" | "2:3" | "3:2" | "4:3" | "4:5" | "9:16" | "auto") | undefined;
|
|
106
111
|
assets: External$V1AiImageEditorCreateBodyAssets;
|
|
107
112
|
image_count?: number | undefined;
|
|
108
|
-
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
113
|
+
model?: ("default" | "flux-2-klein" | "gpt-image-2" | "gpt-image-2.5-flare" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "qwen-edit" | "seedream-v4" | "seedream-v4.5" | "seedream-v5-pro") | undefined;
|
|
109
114
|
name?: string | undefined;
|
|
110
115
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
111
116
|
style: External$V1AiImageEditorCreateBodyStyle;
|
|
@@ -53,6 +53,7 @@ const SchemaIn$V1AiImageEditorCreateBody = z
|
|
|
53
53
|
"default",
|
|
54
54
|
"flux-2-klein",
|
|
55
55
|
"gpt-image-2",
|
|
56
|
+
"gpt-image-2.5-flare",
|
|
56
57
|
"nano-banana",
|
|
57
58
|
"nano-banana-2",
|
|
58
59
|
"nano-banana-2-lite",
|
|
@@ -94,6 +95,7 @@ const SchemaOut$V1AiImageEditorCreateBody = z
|
|
|
94
95
|
"default",
|
|
95
96
|
"flux-2-klein",
|
|
96
97
|
"gpt-image-2",
|
|
98
|
+
"gpt-image-2.5-flare",
|
|
97
99
|
"nano-banana",
|
|
98
100
|
"nano-banana-2",
|
|
99
101
|
"nano-banana-2-lite",
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
16
16
|
* - Available for tiers: creator, pro, business
|
|
17
17
|
* - Image count allowed: 1, 2, 3, 4
|
|
18
|
+
* - `gpt-image-2.5-flare` - from 100 credits/image
|
|
19
|
+
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
20
|
+
* - Available for tiers: creator, pro, business
|
|
21
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
18
22
|
* - `nano-banana` - from 50 credits/image
|
|
19
23
|
* - Supported resolutions: 640px, 1k
|
|
20
24
|
* - Available for tiers: creator, pro, business
|
|
@@ -48,4 +52,4 @@
|
|
|
48
52
|
* - `seedream` - Use `seedream-v4` instead.
|
|
49
53
|
*
|
|
50
54
|
*/
|
|
51
|
-
export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo";
|
|
55
|
+
export type V1AiImageGeneratorCreateBodyModelEnum = "default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo";
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
13
13
|
* - `flux-schnell` - 640px, 1k, 2k
|
|
14
14
|
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
15
|
+
* - `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
|
|
15
16
|
* - `nano-banana` - 640px, 1k
|
|
16
17
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
17
18
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
@@ -29,6 +29,10 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
29
29
|
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
30
30
|
* - Available for tiers: creator, pro, business
|
|
31
31
|
* - Image count allowed: 1, 2, 3, 4
|
|
32
|
+
* - `gpt-image-2.5-flare` - from 100 credits/image
|
|
33
|
+
* - Supported resolutions: 640px, 1k, 2k, 4k
|
|
34
|
+
* - Available for tiers: creator, pro, business
|
|
35
|
+
* - Image count allowed: 1, 2, 3, 4
|
|
32
36
|
* - `nano-banana` - from 50 credits/image
|
|
33
37
|
* - Supported resolutions: 640px, 1k
|
|
34
38
|
* - Available for tiers: creator, pro, business
|
|
@@ -62,7 +66,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
62
66
|
* - `seedream` - Use `seedream-v4` instead.
|
|
63
67
|
*
|
|
64
68
|
*/
|
|
65
|
-
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
69
|
+
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
66
70
|
/**
|
|
67
71
|
* Give your image a custom name for easy identification.
|
|
68
72
|
*/
|
|
@@ -87,6 +91,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
87
91
|
* - `flux-2-klein` - 640px, 1k, 2k
|
|
88
92
|
* - `flux-schnell` - 640px, 1k, 2k
|
|
89
93
|
* - `gpt-image-2` - 640px, 1k, 2k, 4k
|
|
94
|
+
* - `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
|
|
90
95
|
* - `nano-banana` - 640px, 1k
|
|
91
96
|
* - `nano-banana-2` - 640px, 1k, 2k, 4k
|
|
92
97
|
* - `nano-banana-2-lite` - 640px, 1k
|
|
@@ -111,7 +116,7 @@ export type V1AiImageGeneratorCreateBody = {
|
|
|
111
116
|
export type External$V1AiImageGeneratorCreateBody = {
|
|
112
117
|
aspect_ratio?: ("16:9" | "1:1" | "9:16") | undefined;
|
|
113
118
|
image_count: number;
|
|
114
|
-
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
119
|
+
model?: ("default" | "flux-2-klein" | "flux-schnell" | "gpt-image-2" | "gpt-image-2.5-flare" | "nano-banana" | "nano-banana-2" | "nano-banana-2-lite" | "nano-banana-pro" | "seedream" | "seedream-v4" | "seedream-v5-pro" | "z-image-turbo") | undefined;
|
|
115
120
|
name?: string | undefined;
|
|
116
121
|
orientation?: ("landscape" | "portrait" | "square") | undefined;
|
|
117
122
|
resolution?: ("1k" | "2k" | "4k" | "640px" | "auto") | undefined;
|
|
@@ -50,6 +50,7 @@ const SchemaIn$V1AiImageGeneratorCreateBody = z
|
|
|
50
50
|
"flux-2-klein",
|
|
51
51
|
"flux-schnell",
|
|
52
52
|
"gpt-image-2",
|
|
53
|
+
"gpt-image-2.5-flare",
|
|
53
54
|
"nano-banana",
|
|
54
55
|
"nano-banana-2",
|
|
55
56
|
"nano-banana-2-lite",
|
|
@@ -90,6 +91,7 @@ const SchemaOut$V1AiImageGeneratorCreateBody = z
|
|
|
90
91
|
"flux-2-klein",
|
|
91
92
|
"flux-schnell",
|
|
92
93
|
"gpt-image-2",
|
|
94
|
+
"gpt-image-2.5-flare",
|
|
93
95
|
"nano-banana",
|
|
94
96
|
"nano-banana-2",
|
|
95
97
|
"nano-banana-2-lite",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* To use our templates, pass in one of the enum values.
|
|
3
3
|
*/
|
|
4
|
-
export type V1AiMemeGeneratorCreateBodyStyleTemplateEnum = "Bike Fall" | "Change My Mind" | "Disappointed Guy" | "Drake Hotline Bling" | "Galaxy Brain" | "Gru's Plan" | "Is This a Pigeon" | "Panik Kalm Panik" | "Random" | "Side Eyeing Chloe" | "Tuxedo Winnie The Pooh" | "Two Buttons" | "Waiting Skeleton";
|
|
4
|
+
export type V1AiMemeGeneratorCreateBodyStyleTemplateEnum = "0 Days Without" | "A Train Hitting a School Bus" | "AJ Styles and Undertaker" | "Absolute Cinema" | "All My Homies Hate" | "Always Has Been" | "American Chopper Argument" | "Anakin Padme Four Panel" | "Ancient Aliens" | "Anime Girl Hiding from Terminator" | "Bad Luck Brian" | "Batman Slapping Robin" | "Bell Curve" | "Bernie Once Again Asking" | "Bike Fall" | "Blank Nut Button" | "Boardroom Meeting Suggestion" | "Buff Doge vs Cheems" | "But That's None of My Business" | "C'mon Do Something" | "Captain Picard Facepalm" | "Change My Mind" | "Charlie Conspiracy" | "Clown Applying Makeup" | "Creepy Condescending Wonka" | "Disappointed Guy" | "Disaster Girl" | "Distracted Boyfriend" | "Doge" | "Domino Effect" | "Drake Hotline Bling" | "Epic Handshake" | "Evil Kermit" | "First World Problems" | "Flex Tape" | "Futurama Fry" | "Galaxy Brain" | "Grandma Finds the Internet" | "Grant Gustin Over Grave" | "Grim Reaper Knocking Door" | "Gru's Plan" | "Grumpy Cat" | "Gus Fring We Are Not the Same" | "Hard to Swallow Pills" | "Hide the Pain Harold" | "I Bet He's Thinking About Other Women" | "I'm the Captain Now" | "Imagination SpongeBob" | "Inhaling Seagull" | "Is This a Pigeon" | "Laughing Leo" | "Left Exit 12 Off Ramp" | "Leonardo DiCaprio Cheers" | "Marked Safe From" | "Megamind Peeking" | "Mocking SpongeBob" | "Monkey Puppet" | "Mother Ignoring Kid Drowning in a Pool" | "One Does Not Simply" | "Oprah You Get A" | "Panik Kalm Panik" | "Pawn Stars Best I Can Do" | "Random" | "Roll Safe Think About It" | "Running Away Balloon" | "Sad Pablo Escobar" | "Say the Line Bart" | "Scooby Doo Mask Reveal" | "Scroll of Truth" | "Side Eyeing Chloe" | "Sleeping Shaq" | "Soldier Protecting Sleeping Child" | "Spiderman Pointing at Spiderman" | "Spiderman Triple" | "SpongeBob Ight Imma Head Out" | "Squidward Window" | "Star Wars Yoda" | "Success Kid" | "Surprised Pikachu" | "They Don't Know" | "They're the Same Picture" | "This Is Fine" | "This Is Where I'd Put My Trophy" | "Three-Headed Dragon" | "Trade Offer" | "Tuxedo Winnie The Pooh" | "Two Buttons" | "Two Guys on a Bus" | "Two Paths" | "Types of Headaches" | "UNO Draw 25" | "Waiting Skeleton" | "Where Monkey" | "Whisper and Goosebumps" | "Who Killed Hannibal" | "Woman Yelling at a Cat" | "X, X Everywhere" | "Y'all Got Any More of That" | "Yo Dawg Heard You" | "You Guys Are Getting Paid" | "You Know I'm Something of a Scientist Myself";
|
|
@@ -10,7 +10,7 @@ export type V1AiMemeGeneratorCreateBodyStyle = {
|
|
|
10
10
|
/**
|
|
11
11
|
* To use our templates, pass in one of the enum values.
|
|
12
12
|
*/
|
|
13
|
-
template: "Bike Fall" | "Change My Mind" | "Disappointed Guy" | "Drake Hotline Bling" | "Galaxy Brain" | "Gru's Plan" | "Is This a Pigeon" | "Panik Kalm Panik" | "Random" | "Side Eyeing Chloe" | "Tuxedo Winnie The Pooh" | "Two Buttons" | "Waiting Skeleton";
|
|
13
|
+
template: "0 Days Without" | "A Train Hitting a School Bus" | "AJ Styles and Undertaker" | "Absolute Cinema" | "All My Homies Hate" | "Always Has Been" | "American Chopper Argument" | "Anakin Padme Four Panel" | "Ancient Aliens" | "Anime Girl Hiding from Terminator" | "Bad Luck Brian" | "Batman Slapping Robin" | "Bell Curve" | "Bernie Once Again Asking" | "Bike Fall" | "Blank Nut Button" | "Boardroom Meeting Suggestion" | "Buff Doge vs Cheems" | "But That's None of My Business" | "C'mon Do Something" | "Captain Picard Facepalm" | "Change My Mind" | "Charlie Conspiracy" | "Clown Applying Makeup" | "Creepy Condescending Wonka" | "Disappointed Guy" | "Disaster Girl" | "Distracted Boyfriend" | "Doge" | "Domino Effect" | "Drake Hotline Bling" | "Epic Handshake" | "Evil Kermit" | "First World Problems" | "Flex Tape" | "Futurama Fry" | "Galaxy Brain" | "Grandma Finds the Internet" | "Grant Gustin Over Grave" | "Grim Reaper Knocking Door" | "Gru's Plan" | "Grumpy Cat" | "Gus Fring We Are Not the Same" | "Hard to Swallow Pills" | "Hide the Pain Harold" | "I Bet He's Thinking About Other Women" | "I'm the Captain Now" | "Imagination SpongeBob" | "Inhaling Seagull" | "Is This a Pigeon" | "Laughing Leo" | "Left Exit 12 Off Ramp" | "Leonardo DiCaprio Cheers" | "Marked Safe From" | "Megamind Peeking" | "Mocking SpongeBob" | "Monkey Puppet" | "Mother Ignoring Kid Drowning in a Pool" | "One Does Not Simply" | "Oprah You Get A" | "Panik Kalm Panik" | "Pawn Stars Best I Can Do" | "Random" | "Roll Safe Think About It" | "Running Away Balloon" | "Sad Pablo Escobar" | "Say the Line Bart" | "Scooby Doo Mask Reveal" | "Scroll of Truth" | "Side Eyeing Chloe" | "Sleeping Shaq" | "Soldier Protecting Sleeping Child" | "Spiderman Pointing at Spiderman" | "Spiderman Triple" | "SpongeBob Ight Imma Head Out" | "Squidward Window" | "Star Wars Yoda" | "Success Kid" | "Surprised Pikachu" | "They Don't Know" | "They're the Same Picture" | "This Is Fine" | "This Is Where I'd Put My Trophy" | "Three-Headed Dragon" | "Trade Offer" | "Tuxedo Winnie The Pooh" | "Two Buttons" | "Two Guys on a Bus" | "Two Paths" | "Types of Headaches" | "UNO Draw 25" | "Waiting Skeleton" | "Where Monkey" | "Whisper and Goosebumps" | "Who Killed Hannibal" | "Woman Yelling at a Cat" | "X, X Everywhere" | "Y'all Got Any More of That" | "Yo Dawg Heard You" | "You Guys Are Getting Paid" | "You Know I'm Something of a Scientist Myself";
|
|
14
14
|
/**
|
|
15
15
|
* The topic of the meme.
|
|
16
16
|
*/
|
|
@@ -23,7 +23,7 @@ export type V1AiMemeGeneratorCreateBodyStyle = {
|
|
|
23
23
|
*/
|
|
24
24
|
export type External$V1AiMemeGeneratorCreateBodyStyle = {
|
|
25
25
|
searchWeb?: boolean | undefined;
|
|
26
|
-
template: "Bike Fall" | "Change My Mind" | "Disappointed Guy" | "Drake Hotline Bling" | "Galaxy Brain" | "Gru's Plan" | "Is This a Pigeon" | "Panik Kalm Panik" | "Random" | "Side Eyeing Chloe" | "Tuxedo Winnie The Pooh" | "Two Buttons" | "Waiting Skeleton";
|
|
26
|
+
template: "0 Days Without" | "A Train Hitting a School Bus" | "AJ Styles and Undertaker" | "Absolute Cinema" | "All My Homies Hate" | "Always Has Been" | "American Chopper Argument" | "Anakin Padme Four Panel" | "Ancient Aliens" | "Anime Girl Hiding from Terminator" | "Bad Luck Brian" | "Batman Slapping Robin" | "Bell Curve" | "Bernie Once Again Asking" | "Bike Fall" | "Blank Nut Button" | "Boardroom Meeting Suggestion" | "Buff Doge vs Cheems" | "But That's None of My Business" | "C'mon Do Something" | "Captain Picard Facepalm" | "Change My Mind" | "Charlie Conspiracy" | "Clown Applying Makeup" | "Creepy Condescending Wonka" | "Disappointed Guy" | "Disaster Girl" | "Distracted Boyfriend" | "Doge" | "Domino Effect" | "Drake Hotline Bling" | "Epic Handshake" | "Evil Kermit" | "First World Problems" | "Flex Tape" | "Futurama Fry" | "Galaxy Brain" | "Grandma Finds the Internet" | "Grant Gustin Over Grave" | "Grim Reaper Knocking Door" | "Gru's Plan" | "Grumpy Cat" | "Gus Fring We Are Not the Same" | "Hard to Swallow Pills" | "Hide the Pain Harold" | "I Bet He's Thinking About Other Women" | "I'm the Captain Now" | "Imagination SpongeBob" | "Inhaling Seagull" | "Is This a Pigeon" | "Laughing Leo" | "Left Exit 12 Off Ramp" | "Leonardo DiCaprio Cheers" | "Marked Safe From" | "Megamind Peeking" | "Mocking SpongeBob" | "Monkey Puppet" | "Mother Ignoring Kid Drowning in a Pool" | "One Does Not Simply" | "Oprah You Get A" | "Panik Kalm Panik" | "Pawn Stars Best I Can Do" | "Random" | "Roll Safe Think About It" | "Running Away Balloon" | "Sad Pablo Escobar" | "Say the Line Bart" | "Scooby Doo Mask Reveal" | "Scroll of Truth" | "Side Eyeing Chloe" | "Sleeping Shaq" | "Soldier Protecting Sleeping Child" | "Spiderman Pointing at Spiderman" | "Spiderman Triple" | "SpongeBob Ight Imma Head Out" | "Squidward Window" | "Star Wars Yoda" | "Success Kid" | "Surprised Pikachu" | "They Don't Know" | "They're the Same Picture" | "This Is Fine" | "This Is Where I'd Put My Trophy" | "Three-Headed Dragon" | "Trade Offer" | "Tuxedo Winnie The Pooh" | "Two Buttons" | "Two Guys on a Bus" | "Two Paths" | "Types of Headaches" | "UNO Draw 25" | "Waiting Skeleton" | "Where Monkey" | "Whisper and Goosebumps" | "Who Killed Hannibal" | "Woman Yelling at a Cat" | "X, X Everywhere" | "Y'all Got Any More of That" | "Yo Dawg Heard You" | "You Guys Are Getting Paid" | "You Know I'm Something of a Scientist Myself";
|
|
27
27
|
topic: string;
|
|
28
28
|
};
|
|
29
29
|
export declare const Schemas$V1AiMemeGeneratorCreateBodyStyle: {
|
|
@@ -43,19 +43,107 @@ const SchemaIn$V1AiMemeGeneratorCreateBodyStyle = z
|
|
|
43
43
|
.object({
|
|
44
44
|
searchWeb: z.boolean().optional(),
|
|
45
45
|
template: z.enum([
|
|
46
|
+
"0 Days Without",
|
|
47
|
+
"A Train Hitting a School Bus",
|
|
48
|
+
"AJ Styles and Undertaker",
|
|
49
|
+
"Absolute Cinema",
|
|
50
|
+
"All My Homies Hate",
|
|
51
|
+
"Always Has Been",
|
|
52
|
+
"American Chopper Argument",
|
|
53
|
+
"Anakin Padme Four Panel",
|
|
54
|
+
"Ancient Aliens",
|
|
55
|
+
"Anime Girl Hiding from Terminator",
|
|
56
|
+
"Bad Luck Brian",
|
|
57
|
+
"Batman Slapping Robin",
|
|
58
|
+
"Bell Curve",
|
|
59
|
+
"Bernie Once Again Asking",
|
|
46
60
|
"Bike Fall",
|
|
61
|
+
"Blank Nut Button",
|
|
62
|
+
"Boardroom Meeting Suggestion",
|
|
63
|
+
"Buff Doge vs Cheems",
|
|
64
|
+
"But That's None of My Business",
|
|
65
|
+
"C'mon Do Something",
|
|
66
|
+
"Captain Picard Facepalm",
|
|
47
67
|
"Change My Mind",
|
|
68
|
+
"Charlie Conspiracy",
|
|
69
|
+
"Clown Applying Makeup",
|
|
70
|
+
"Creepy Condescending Wonka",
|
|
48
71
|
"Disappointed Guy",
|
|
72
|
+
"Disaster Girl",
|
|
73
|
+
"Distracted Boyfriend",
|
|
74
|
+
"Doge",
|
|
75
|
+
"Domino Effect",
|
|
49
76
|
"Drake Hotline Bling",
|
|
77
|
+
"Epic Handshake",
|
|
78
|
+
"Evil Kermit",
|
|
79
|
+
"First World Problems",
|
|
80
|
+
"Flex Tape",
|
|
81
|
+
"Futurama Fry",
|
|
50
82
|
"Galaxy Brain",
|
|
83
|
+
"Grandma Finds the Internet",
|
|
84
|
+
"Grant Gustin Over Grave",
|
|
85
|
+
"Grim Reaper Knocking Door",
|
|
51
86
|
"Gru's Plan",
|
|
87
|
+
"Grumpy Cat",
|
|
88
|
+
"Gus Fring We Are Not the Same",
|
|
89
|
+
"Hard to Swallow Pills",
|
|
90
|
+
"Hide the Pain Harold",
|
|
91
|
+
"I Bet He's Thinking About Other Women",
|
|
92
|
+
"I'm the Captain Now",
|
|
93
|
+
"Imagination SpongeBob",
|
|
94
|
+
"Inhaling Seagull",
|
|
52
95
|
"Is This a Pigeon",
|
|
96
|
+
"Laughing Leo",
|
|
97
|
+
"Left Exit 12 Off Ramp",
|
|
98
|
+
"Leonardo DiCaprio Cheers",
|
|
99
|
+
"Marked Safe From",
|
|
100
|
+
"Megamind Peeking",
|
|
101
|
+
"Mocking SpongeBob",
|
|
102
|
+
"Monkey Puppet",
|
|
103
|
+
"Mother Ignoring Kid Drowning in a Pool",
|
|
104
|
+
"One Does Not Simply",
|
|
105
|
+
"Oprah You Get A",
|
|
53
106
|
"Panik Kalm Panik",
|
|
107
|
+
"Pawn Stars Best I Can Do",
|
|
54
108
|
"Random",
|
|
109
|
+
"Roll Safe Think About It",
|
|
110
|
+
"Running Away Balloon",
|
|
111
|
+
"Sad Pablo Escobar",
|
|
112
|
+
"Say the Line Bart",
|
|
113
|
+
"Scooby Doo Mask Reveal",
|
|
114
|
+
"Scroll of Truth",
|
|
55
115
|
"Side Eyeing Chloe",
|
|
116
|
+
"Sleeping Shaq",
|
|
117
|
+
"Soldier Protecting Sleeping Child",
|
|
118
|
+
"Spiderman Pointing at Spiderman",
|
|
119
|
+
"Spiderman Triple",
|
|
120
|
+
"SpongeBob Ight Imma Head Out",
|
|
121
|
+
"Squidward Window",
|
|
122
|
+
"Star Wars Yoda",
|
|
123
|
+
"Success Kid",
|
|
124
|
+
"Surprised Pikachu",
|
|
125
|
+
"They Don't Know",
|
|
126
|
+
"They're the Same Picture",
|
|
127
|
+
"This Is Fine",
|
|
128
|
+
"This Is Where I'd Put My Trophy",
|
|
129
|
+
"Three-Headed Dragon",
|
|
130
|
+
"Trade Offer",
|
|
56
131
|
"Tuxedo Winnie The Pooh",
|
|
57
132
|
"Two Buttons",
|
|
133
|
+
"Two Guys on a Bus",
|
|
134
|
+
"Two Paths",
|
|
135
|
+
"Types of Headaches",
|
|
136
|
+
"UNO Draw 25",
|
|
58
137
|
"Waiting Skeleton",
|
|
138
|
+
"Where Monkey",
|
|
139
|
+
"Whisper and Goosebumps",
|
|
140
|
+
"Who Killed Hannibal",
|
|
141
|
+
"Woman Yelling at a Cat",
|
|
142
|
+
"X, X Everywhere",
|
|
143
|
+
"Y'all Got Any More of That",
|
|
144
|
+
"Yo Dawg Heard You",
|
|
145
|
+
"You Guys Are Getting Paid",
|
|
146
|
+
"You Know I'm Something of a Scientist Myself",
|
|
59
147
|
]),
|
|
60
148
|
topic: z.string(),
|
|
61
149
|
})
|
|
@@ -74,19 +162,107 @@ const SchemaOut$V1AiMemeGeneratorCreateBodyStyle = z
|
|
|
74
162
|
.object({
|
|
75
163
|
searchWeb: z.boolean().optional(),
|
|
76
164
|
template: z.enum([
|
|
165
|
+
"0 Days Without",
|
|
166
|
+
"A Train Hitting a School Bus",
|
|
167
|
+
"AJ Styles and Undertaker",
|
|
168
|
+
"Absolute Cinema",
|
|
169
|
+
"All My Homies Hate",
|
|
170
|
+
"Always Has Been",
|
|
171
|
+
"American Chopper Argument",
|
|
172
|
+
"Anakin Padme Four Panel",
|
|
173
|
+
"Ancient Aliens",
|
|
174
|
+
"Anime Girl Hiding from Terminator",
|
|
175
|
+
"Bad Luck Brian",
|
|
176
|
+
"Batman Slapping Robin",
|
|
177
|
+
"Bell Curve",
|
|
178
|
+
"Bernie Once Again Asking",
|
|
77
179
|
"Bike Fall",
|
|
180
|
+
"Blank Nut Button",
|
|
181
|
+
"Boardroom Meeting Suggestion",
|
|
182
|
+
"Buff Doge vs Cheems",
|
|
183
|
+
"But That's None of My Business",
|
|
184
|
+
"C'mon Do Something",
|
|
185
|
+
"Captain Picard Facepalm",
|
|
78
186
|
"Change My Mind",
|
|
187
|
+
"Charlie Conspiracy",
|
|
188
|
+
"Clown Applying Makeup",
|
|
189
|
+
"Creepy Condescending Wonka",
|
|
79
190
|
"Disappointed Guy",
|
|
191
|
+
"Disaster Girl",
|
|
192
|
+
"Distracted Boyfriend",
|
|
193
|
+
"Doge",
|
|
194
|
+
"Domino Effect",
|
|
80
195
|
"Drake Hotline Bling",
|
|
196
|
+
"Epic Handshake",
|
|
197
|
+
"Evil Kermit",
|
|
198
|
+
"First World Problems",
|
|
199
|
+
"Flex Tape",
|
|
200
|
+
"Futurama Fry",
|
|
81
201
|
"Galaxy Brain",
|
|
202
|
+
"Grandma Finds the Internet",
|
|
203
|
+
"Grant Gustin Over Grave",
|
|
204
|
+
"Grim Reaper Knocking Door",
|
|
82
205
|
"Gru's Plan",
|
|
206
|
+
"Grumpy Cat",
|
|
207
|
+
"Gus Fring We Are Not the Same",
|
|
208
|
+
"Hard to Swallow Pills",
|
|
209
|
+
"Hide the Pain Harold",
|
|
210
|
+
"I Bet He's Thinking About Other Women",
|
|
211
|
+
"I'm the Captain Now",
|
|
212
|
+
"Imagination SpongeBob",
|
|
213
|
+
"Inhaling Seagull",
|
|
83
214
|
"Is This a Pigeon",
|
|
215
|
+
"Laughing Leo",
|
|
216
|
+
"Left Exit 12 Off Ramp",
|
|
217
|
+
"Leonardo DiCaprio Cheers",
|
|
218
|
+
"Marked Safe From",
|
|
219
|
+
"Megamind Peeking",
|
|
220
|
+
"Mocking SpongeBob",
|
|
221
|
+
"Monkey Puppet",
|
|
222
|
+
"Mother Ignoring Kid Drowning in a Pool",
|
|
223
|
+
"One Does Not Simply",
|
|
224
|
+
"Oprah You Get A",
|
|
84
225
|
"Panik Kalm Panik",
|
|
226
|
+
"Pawn Stars Best I Can Do",
|
|
85
227
|
"Random",
|
|
228
|
+
"Roll Safe Think About It",
|
|
229
|
+
"Running Away Balloon",
|
|
230
|
+
"Sad Pablo Escobar",
|
|
231
|
+
"Say the Line Bart",
|
|
232
|
+
"Scooby Doo Mask Reveal",
|
|
233
|
+
"Scroll of Truth",
|
|
86
234
|
"Side Eyeing Chloe",
|
|
235
|
+
"Sleeping Shaq",
|
|
236
|
+
"Soldier Protecting Sleeping Child",
|
|
237
|
+
"Spiderman Pointing at Spiderman",
|
|
238
|
+
"Spiderman Triple",
|
|
239
|
+
"SpongeBob Ight Imma Head Out",
|
|
240
|
+
"Squidward Window",
|
|
241
|
+
"Star Wars Yoda",
|
|
242
|
+
"Success Kid",
|
|
243
|
+
"Surprised Pikachu",
|
|
244
|
+
"They Don't Know",
|
|
245
|
+
"They're the Same Picture",
|
|
246
|
+
"This Is Fine",
|
|
247
|
+
"This Is Where I'd Put My Trophy",
|
|
248
|
+
"Three-Headed Dragon",
|
|
249
|
+
"Trade Offer",
|
|
87
250
|
"Tuxedo Winnie The Pooh",
|
|
88
251
|
"Two Buttons",
|
|
252
|
+
"Two Guys on a Bus",
|
|
253
|
+
"Two Paths",
|
|
254
|
+
"Types of Headaches",
|
|
255
|
+
"UNO Draw 25",
|
|
89
256
|
"Waiting Skeleton",
|
|
257
|
+
"Where Monkey",
|
|
258
|
+
"Whisper and Goosebumps",
|
|
259
|
+
"Who Killed Hannibal",
|
|
260
|
+
"Woman Yelling at a Cat",
|
|
261
|
+
"X, X Everywhere",
|
|
262
|
+
"Y'all Got Any More of That",
|
|
263
|
+
"Yo Dawg Heard You",
|
|
264
|
+
"You Guys Are Getting Paid",
|
|
265
|
+
"You Know I'm Something of a Scientist Myself",
|
|
90
266
|
]),
|
|
91
267
|
topic: z.string(),
|
|
92
268
|
})
|