@wix/auto_sdk_ai-gateway_generators 1.0.71 → 1.0.73
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/build/cjs/index.d.ts +936 -381
- package/build/cjs/index.js +25 -11
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +25 -11
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +927 -380
- package/build/cjs/meta.js +21 -9
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +936 -381
- package/build/es/index.mjs +25 -11
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +25 -11
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +927 -380
- package/build/es/meta.mjs +21 -9
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +25 -11
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +949 -394
- package/build/internal/cjs/index.typings.js +25 -11
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +927 -380
- package/build/internal/cjs/meta.js +21 -9
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.mjs +25 -11
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +949 -394
- package/build/internal/es/index.typings.mjs +25 -11
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +927 -380
- package/build/internal/es/meta.mjs +21 -9
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/meta.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ interface Prompt extends PromptModelRequestOneOf {
|
|
|
43
43
|
/** Perplexity chat completion request */
|
|
44
44
|
perplexityChatCompletionRequest?: InvokeChatCompletionRequest;
|
|
45
45
|
/** Google AI - generate image request */
|
|
46
|
-
googleGenerateImageRequest?:
|
|
46
|
+
googleGenerateImageRequest?: V1GenerateImageRequest;
|
|
47
47
|
/** ML platform - generate image request */
|
|
48
48
|
mlPlatformGenerateImageRequest?: GenerateImageMlPlatformRequest;
|
|
49
49
|
/** OpenAI image creation response. */
|
|
@@ -66,6 +66,10 @@ interface Prompt extends PromptModelRequestOneOf {
|
|
|
66
66
|
openAiCreateVideoRequest?: CreateVideoRequest;
|
|
67
67
|
/** Fireworks - OpenAI payload */
|
|
68
68
|
fireworksInvokeCustomOpenAiRequest?: InvokeCustomOpenAiModelRequest;
|
|
69
|
+
/** Bytedance - Create content task request (video generation) */
|
|
70
|
+
bytedanceCreateContentTaskRequest?: CreateContentTaskRequest;
|
|
71
|
+
/** Bytedance - Generate image request (Seedream models) */
|
|
72
|
+
bytedanceGenerateImageRequest?: GenerateImageRequest;
|
|
69
73
|
/**
|
|
70
74
|
* Prompt id.
|
|
71
75
|
* @format GUID
|
|
@@ -129,7 +133,7 @@ interface PromptModelRequestOneOf {
|
|
|
129
133
|
/** Perplexity chat completion request */
|
|
130
134
|
perplexityChatCompletionRequest?: InvokeChatCompletionRequest;
|
|
131
135
|
/** Google AI - generate image request */
|
|
132
|
-
googleGenerateImageRequest?:
|
|
136
|
+
googleGenerateImageRequest?: V1GenerateImageRequest;
|
|
133
137
|
/** ML platform - generate image request */
|
|
134
138
|
mlPlatformGenerateImageRequest?: GenerateImageMlPlatformRequest;
|
|
135
139
|
/** OpenAI image creation response. */
|
|
@@ -152,6 +156,10 @@ interface PromptModelRequestOneOf {
|
|
|
152
156
|
openAiCreateVideoRequest?: CreateVideoRequest;
|
|
153
157
|
/** Fireworks - OpenAI payload */
|
|
154
158
|
fireworksInvokeCustomOpenAiRequest?: InvokeCustomOpenAiModelRequest;
|
|
159
|
+
/** Bytedance - Create content task request (video generation) */
|
|
160
|
+
bytedanceCreateContentTaskRequest?: CreateContentTaskRequest;
|
|
161
|
+
/** Bytedance - Generate image request (Seedream models) */
|
|
162
|
+
bytedanceGenerateImageRequest?: GenerateImageRequest;
|
|
155
163
|
}
|
|
156
164
|
interface FallbackPromptConfig {
|
|
157
165
|
/**
|
|
@@ -365,10 +373,11 @@ declare enum OpenaiproxyV1Model {
|
|
|
365
373
|
GPT_5_MINI_2025_08_07 = "GPT_5_MINI_2025_08_07",
|
|
366
374
|
GPT_5_NANO_2025_08_07 = "GPT_5_NANO_2025_08_07",
|
|
367
375
|
GPT_5_2_2025_12_11_COMPLETION = "GPT_5_2_2025_12_11_COMPLETION",
|
|
368
|
-
GPT_5_1_2025_11_13_COMPLETION = "GPT_5_1_2025_11_13_COMPLETION"
|
|
376
|
+
GPT_5_1_2025_11_13_COMPLETION = "GPT_5_1_2025_11_13_COMPLETION",
|
|
377
|
+
GPT_5_4_2026_03_05_COMPLETION = "GPT_5_4_2026_03_05_COMPLETION"
|
|
369
378
|
}
|
|
370
379
|
/** @enumType */
|
|
371
|
-
type OpenaiproxyV1ModelWithLiterals = OpenaiproxyV1Model | 'UNKNOWN' | 'GPT_3_5_TURBO' | 'GPT_3_5_TURBO_0301' | 'GPT_4' | 'GPT_4_0314' | 'GPT_4_32K' | 'GPT_4_32K_0314' | 'GPT_3_5_TURBO_0613' | 'GPT_3_5_TURBO_16K' | 'GPT_3_5_TURBO_16K_0613' | 'GPT_4_0613' | 'GPT_4_32K_0613' | 'GPT_3_5_TURBO_1106' | 'GPT_4_1106_PREVIEW' | 'GPT_4_VISION_PREVIEW' | 'GPT_4_TURBO_PREVIEW' | 'GPT_4_0125_PREVIEW' | 'GPT_3_5_TURBO_0125' | 'GPT_4_TURBO_2024_04_09' | 'GPT_4O_2024_05_13' | 'GPT_4O_MINI_2024_07_18' | 'GPT_4O_2024_08_06' | 'O1_PREVIEW' | 'O1_PREVIEW_2024_09_12' | 'O1_MINI' | 'O1_MINI_2024_09_12' | 'GPT_4O_2024_11_20' | 'O1_2024_12_17' | 'O3_MINI_2025_01_31' | 'GPT_4_OLD' | 'GPT_4_1_2025_04_14' | 'GPT_4_1_MINI_2025_04_14' | 'GPT_4_1_NANO_2025_04_14' | 'O3_2025_04_16' | 'O4_MINI_2025_04_16' | 'GPT_EXP' | 'GPT_EXP_2' | 'GPT_5_2025_08_07' | 'GPT_5_MINI_2025_08_07' | 'GPT_5_NANO_2025_08_07' | 'GPT_5_2_2025_12_11_COMPLETION' | 'GPT_5_1_2025_11_13_COMPLETION';
|
|
380
|
+
type OpenaiproxyV1ModelWithLiterals = OpenaiproxyV1Model | 'UNKNOWN' | 'GPT_3_5_TURBO' | 'GPT_3_5_TURBO_0301' | 'GPT_4' | 'GPT_4_0314' | 'GPT_4_32K' | 'GPT_4_32K_0314' | 'GPT_3_5_TURBO_0613' | 'GPT_3_5_TURBO_16K' | 'GPT_3_5_TURBO_16K_0613' | 'GPT_4_0613' | 'GPT_4_32K_0613' | 'GPT_3_5_TURBO_1106' | 'GPT_4_1106_PREVIEW' | 'GPT_4_VISION_PREVIEW' | 'GPT_4_TURBO_PREVIEW' | 'GPT_4_0125_PREVIEW' | 'GPT_3_5_TURBO_0125' | 'GPT_4_TURBO_2024_04_09' | 'GPT_4O_2024_05_13' | 'GPT_4O_MINI_2024_07_18' | 'GPT_4O_2024_08_06' | 'O1_PREVIEW' | 'O1_PREVIEW_2024_09_12' | 'O1_MINI' | 'O1_MINI_2024_09_12' | 'GPT_4O_2024_11_20' | 'O1_2024_12_17' | 'O3_MINI_2025_01_31' | 'GPT_4_OLD' | 'GPT_4_1_2025_04_14' | 'GPT_4_1_MINI_2025_04_14' | 'GPT_4_1_NANO_2025_04_14' | 'O3_2025_04_16' | 'O4_MINI_2025_04_16' | 'GPT_EXP' | 'GPT_EXP_2' | 'GPT_5_2025_08_07' | 'GPT_5_MINI_2025_08_07' | 'GPT_5_NANO_2025_08_07' | 'GPT_5_2_2025_12_11_COMPLETION' | 'GPT_5_1_2025_11_13_COMPLETION' | 'GPT_5_4_2026_03_05_COMPLETION';
|
|
372
381
|
interface OpenaiproxyV1ChatCompletionMessage {
|
|
373
382
|
/** The role of the message author. */
|
|
374
383
|
role?: OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals;
|
|
@@ -1015,10 +1024,11 @@ declare enum GoogleproxyV1Model {
|
|
|
1015
1024
|
GEMINI_2_5_COMPUTER_USE = "GEMINI_2_5_COMPUTER_USE",
|
|
1016
1025
|
GEMINI_3_0_PRO = "GEMINI_3_0_PRO",
|
|
1017
1026
|
GEMINI_3_0_PRO_IMAGE = "GEMINI_3_0_PRO_IMAGE",
|
|
1018
|
-
GEMINI_3_0_FLASH = "GEMINI_3_0_FLASH"
|
|
1027
|
+
GEMINI_3_0_FLASH = "GEMINI_3_0_FLASH",
|
|
1028
|
+
GEMINI_3_1_PRO = "GEMINI_3_1_PRO"
|
|
1019
1029
|
}
|
|
1020
1030
|
/** @enumType */
|
|
1021
|
-
type GoogleproxyV1ModelWithLiterals = GoogleproxyV1Model | 'UNKNOWN_MODEL' | 'GEMINI_1_0_PRO' | 'GEMINI_1_0_PRO_VISION' | 'GEMINI_1_5_PRO' | 'GEMINI_1_5_FLASH' | 'GEMINI_2_0_FLASH' | 'GEMINI_2_0_FLASH_LITE' | 'GEMINI_2_5_PRO' | 'GEMINI_2_5_FLASH' | 'GEMINI_2_5_FLASH_LITE' | 'GEMINI_2_5_FLASH_IMAGE' | 'GEMINI_2_5_COMPUTER_USE' | 'GEMINI_3_0_PRO' | 'GEMINI_3_0_PRO_IMAGE' | 'GEMINI_3_0_FLASH';
|
|
1031
|
+
type GoogleproxyV1ModelWithLiterals = GoogleproxyV1Model | 'UNKNOWN_MODEL' | 'GEMINI_1_0_PRO' | 'GEMINI_1_0_PRO_VISION' | 'GEMINI_1_5_PRO' | 'GEMINI_1_5_FLASH' | 'GEMINI_2_0_FLASH' | 'GEMINI_2_0_FLASH_LITE' | 'GEMINI_2_5_PRO' | 'GEMINI_2_5_FLASH' | 'GEMINI_2_5_FLASH_LITE' | 'GEMINI_2_5_FLASH_IMAGE' | 'GEMINI_2_5_COMPUTER_USE' | 'GEMINI_3_0_PRO' | 'GEMINI_3_0_PRO_IMAGE' | 'GEMINI_3_0_FLASH' | 'GEMINI_3_1_PRO';
|
|
1022
1032
|
interface Content {
|
|
1023
1033
|
/**
|
|
1024
1034
|
* The role in a conversation associated with the content.
|
|
@@ -1666,10 +1676,12 @@ declare enum Model {
|
|
|
1666
1676
|
CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
|
|
1667
1677
|
/** us.anthropic.claude-haiku-4-5-20251001-v1:0 */
|
|
1668
1678
|
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
|
|
1669
|
-
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
|
|
1679
|
+
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
|
|
1680
|
+
CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
|
|
1681
|
+
CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
|
|
1670
1682
|
}
|
|
1671
1683
|
/** @enumType */
|
|
1672
|
-
type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_5_HAIKU_1_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0';
|
|
1684
|
+
type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_5_HAIKU_1_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0' | 'CLAUDE_4_6_OPUS_1_0' | 'CLAUDE_4_6_SONNET_1_0';
|
|
1673
1685
|
interface AnthropicClaudeMessage {
|
|
1674
1686
|
/** The role of the message author. */
|
|
1675
1687
|
role?: RoleWithLiterals;
|
|
@@ -1697,7 +1709,7 @@ interface ContentBlock extends ContentBlockTypeOneOf {
|
|
|
1697
1709
|
/** Text content. */
|
|
1698
1710
|
textContent?: Text;
|
|
1699
1711
|
/** Image image = 2; // Image content. */
|
|
1700
|
-
imageUrl?:
|
|
1712
|
+
imageUrl?: V1ImageUrl;
|
|
1701
1713
|
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
1702
1714
|
toolUse?: ToolUse;
|
|
1703
1715
|
/** Tool result content, describes the result of tool invocation. */
|
|
@@ -1722,7 +1734,7 @@ interface ContentBlockTypeOneOf {
|
|
|
1722
1734
|
/** Text content. */
|
|
1723
1735
|
textContent?: Text;
|
|
1724
1736
|
/** Image image = 2; // Image content. */
|
|
1725
|
-
imageUrl?:
|
|
1737
|
+
imageUrl?: V1ImageUrl;
|
|
1726
1738
|
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
1727
1739
|
toolUse?: ToolUse;
|
|
1728
1740
|
/** Tool result content, describes the result of tool invocation. */
|
|
@@ -1744,7 +1756,7 @@ interface Text {
|
|
|
1744
1756
|
/** Enables prompt caching: https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching. */
|
|
1745
1757
|
cacheControl?: CacheControl;
|
|
1746
1758
|
}
|
|
1747
|
-
interface
|
|
1759
|
+
interface V1ImageUrl {
|
|
1748
1760
|
/**
|
|
1749
1761
|
* The URL must be a valid wix mp or wix static URL.
|
|
1750
1762
|
* @maxLength 100000
|
|
@@ -1811,7 +1823,7 @@ interface SimpleContentBlock extends SimpleContentBlockTypeOneOf {
|
|
|
1811
1823
|
/** Text content. */
|
|
1812
1824
|
textContent?: Text;
|
|
1813
1825
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
1814
|
-
imageUrl?:
|
|
1826
|
+
imageUrl?: V1ImageUrl;
|
|
1815
1827
|
}
|
|
1816
1828
|
/** @oneof */
|
|
1817
1829
|
interface SimpleContentBlockTypeOneOf {
|
|
@@ -1825,7 +1837,7 @@ interface SimpleContentBlockTypeOneOf {
|
|
|
1825
1837
|
/** Text content. */
|
|
1826
1838
|
textContent?: Text;
|
|
1827
1839
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
1828
|
-
imageUrl?:
|
|
1840
|
+
imageUrl?: V1ImageUrl;
|
|
1829
1841
|
}
|
|
1830
1842
|
interface Thinking {
|
|
1831
1843
|
/**
|
|
@@ -2059,10 +2071,12 @@ declare enum ClaudeModel {
|
|
|
2059
2071
|
CLAUDE_4_OPUS_1_0 = "CLAUDE_4_OPUS_1_0",
|
|
2060
2072
|
CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
|
|
2061
2073
|
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
|
|
2062
|
-
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
|
|
2074
|
+
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
|
|
2075
|
+
CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
|
|
2076
|
+
CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
|
|
2063
2077
|
}
|
|
2064
2078
|
/** @enumType */
|
|
2065
|
-
type ClaudeModelWithLiterals = ClaudeModel | 'UNKNOWN_CLAUDE_MODEL' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_OPUS_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0';
|
|
2079
|
+
type ClaudeModelWithLiterals = ClaudeModel | 'UNKNOWN_CLAUDE_MODEL' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_OPUS_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0' | 'CLAUDE_4_6_OPUS_1_0' | 'CLAUDE_4_6_SONNET_1_0';
|
|
2066
2080
|
interface V1AnthropicClaudeMessage {
|
|
2067
2081
|
/** The role of the message author. */
|
|
2068
2082
|
role?: V1MessageRoleRoleWithLiterals;
|
|
@@ -2431,10 +2445,12 @@ declare enum AnthropicModel {
|
|
|
2431
2445
|
CLAUDE_4_1_OPUS_1_0 = "CLAUDE_4_1_OPUS_1_0",
|
|
2432
2446
|
CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
|
|
2433
2447
|
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
|
|
2434
|
-
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
|
|
2448
|
+
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
|
|
2449
|
+
CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
|
|
2450
|
+
CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
|
|
2435
2451
|
}
|
|
2436
2452
|
/** @enumType */
|
|
2437
|
-
type AnthropicModelWithLiterals = AnthropicModel | 'UNKNOWN_ANTHROPIC_MODEL' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_1_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0';
|
|
2453
|
+
type AnthropicModelWithLiterals = AnthropicModel | 'UNKNOWN_ANTHROPIC_MODEL' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_1_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0' | 'CLAUDE_4_6_OPUS_1_0' | 'CLAUDE_4_6_SONNET_1_0';
|
|
2438
2454
|
interface AnthropicMessage {
|
|
2439
2455
|
/** The role of the message author. */
|
|
2440
2456
|
role?: MessageRoleRoleWithLiterals;
|
|
@@ -2456,7 +2472,7 @@ interface V1ContentBlock extends V1ContentBlockTypeOneOf {
|
|
|
2456
2472
|
/** Text content. */
|
|
2457
2473
|
textContent?: V1Text;
|
|
2458
2474
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
2459
|
-
image?:
|
|
2475
|
+
image?: AnthropicV1ImageUrl;
|
|
2460
2476
|
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
2461
2477
|
toolUse?: V1ToolUse;
|
|
2462
2478
|
/** Tool result content, describes the result of tool invocation. */
|
|
@@ -2493,7 +2509,7 @@ interface V1ContentBlockTypeOneOf {
|
|
|
2493
2509
|
/** Text content. */
|
|
2494
2510
|
textContent?: V1Text;
|
|
2495
2511
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
2496
|
-
image?:
|
|
2512
|
+
image?: AnthropicV1ImageUrl;
|
|
2497
2513
|
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
2498
2514
|
toolUse?: V1ToolUse;
|
|
2499
2515
|
/** Tool result content, describes the result of tool invocation. */
|
|
@@ -2707,7 +2723,7 @@ interface SearchResultLocationCitation {
|
|
|
2707
2723
|
*/
|
|
2708
2724
|
citedText?: string | null;
|
|
2709
2725
|
}
|
|
2710
|
-
interface
|
|
2726
|
+
interface AnthropicV1ImageUrl {
|
|
2711
2727
|
/**
|
|
2712
2728
|
* The URL must be a valid wix mp or wix static URL.
|
|
2713
2729
|
* @maxLength 100000
|
|
@@ -2767,7 +2783,7 @@ interface ToolResultContentBlock extends ToolResultContentBlockTypeOneOf {
|
|
|
2767
2783
|
/** Text content. */
|
|
2768
2784
|
text?: V1Text;
|
|
2769
2785
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
2770
|
-
image?:
|
|
2786
|
+
image?: AnthropicV1ImageUrl;
|
|
2771
2787
|
/** Document content block. */
|
|
2772
2788
|
document?: DocumentContent;
|
|
2773
2789
|
/** Search result block with snippets/citations. */
|
|
@@ -2778,7 +2794,7 @@ interface ToolResultContentBlockTypeOneOf {
|
|
|
2778
2794
|
/** Text content. */
|
|
2779
2795
|
text?: V1Text;
|
|
2780
2796
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
2781
|
-
image?:
|
|
2797
|
+
image?: AnthropicV1ImageUrl;
|
|
2782
2798
|
/** Document content block. */
|
|
2783
2799
|
document?: DocumentContent;
|
|
2784
2800
|
/** Search result block with snippets/citations. */
|
|
@@ -3724,7 +3740,7 @@ interface SystemContentBlock {
|
|
|
3724
3740
|
interface CreateImageRequest {
|
|
3725
3741
|
/**
|
|
3726
3742
|
* A text description of the desired image(s). The maximum length is 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
|
|
3727
|
-
* @maxLength
|
|
3743
|
+
* @maxLength 50000
|
|
3728
3744
|
*/
|
|
3729
3745
|
prompt?: string | null;
|
|
3730
3746
|
/** The model to use for image generation. */
|
|
@@ -4992,7 +5008,7 @@ interface InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf {
|
|
|
4992
5008
|
regex?: string;
|
|
4993
5009
|
}
|
|
4994
5010
|
/** mimics https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api */
|
|
4995
|
-
interface
|
|
5011
|
+
interface V1GenerateImageRequest {
|
|
4996
5012
|
/** ID of the model to use. */
|
|
4997
5013
|
model?: ImagenModelWithLiterals;
|
|
4998
5014
|
/**
|
|
@@ -5165,8 +5181,9 @@ interface V1FluxPulid {
|
|
|
5165
5181
|
}
|
|
5166
5182
|
interface CreateImageOpenAiRequest {
|
|
5167
5183
|
/**
|
|
5168
|
-
* A text description of the desired image(s). The maximum length is
|
|
5169
|
-
*
|
|
5184
|
+
* A text description of the desired image(s). The maximum length is 32000 characters for the GPT image models,
|
|
5185
|
+
* 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
|
|
5186
|
+
* @maxLength 50000
|
|
5170
5187
|
*/
|
|
5171
5188
|
prompt?: string | null;
|
|
5172
5189
|
/** The model to use for image generation. */
|
|
@@ -5229,8 +5246,9 @@ declare enum OpenAiImageModel {
|
|
|
5229
5246
|
type OpenAiImageModelWithLiterals = OpenAiImageModel | 'UNKNOWN_IMAGE_CREATION_MODEL' | 'GPT_4O_IMAGE' | 'GPT_IMAGE_1' | 'GPT_IMAGE_EXP' | 'GPT_IMAGE_EXP_2' | 'GPT_IMAGE_EXP_3' | 'GPT_IMAGE_1_5';
|
|
5230
5247
|
interface EditImageOpenAiRequest {
|
|
5231
5248
|
/**
|
|
5232
|
-
* A text description of the desired image(s). The maximum length is
|
|
5233
|
-
*
|
|
5249
|
+
* A text description of the desired image(s). The maximum length is 32000 characters for the GPT image models,
|
|
5250
|
+
* 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
|
|
5251
|
+
* @maxLength 50000
|
|
5234
5252
|
*/
|
|
5235
5253
|
prompt?: string | null;
|
|
5236
5254
|
/** The model to use for image generation. */
|
|
@@ -5902,10 +5920,14 @@ declare enum V1ResponsesModel {
|
|
|
5902
5920
|
GPT_EXP_RESPONSES_2 = "GPT_EXP_RESPONSES_2",
|
|
5903
5921
|
GPT_EXP_RESPONSES_3 = "GPT_EXP_RESPONSES_3",
|
|
5904
5922
|
GPT_5_1_CODEX_MAX = "GPT_5_1_CODEX_MAX",
|
|
5905
|
-
GPT_5_2_2025_12_11 = "GPT_5_2_2025_12_11"
|
|
5923
|
+
GPT_5_2_2025_12_11 = "GPT_5_2_2025_12_11",
|
|
5924
|
+
GPT_5_2_CODEX = "GPT_5_2_CODEX",
|
|
5925
|
+
GPT_5_3_CODEX = "GPT_5_3_CODEX",
|
|
5926
|
+
GPT_5_4_2026_03_05 = "GPT_5_4_2026_03_05",
|
|
5927
|
+
GPT_5_4_PRO_2026_03_05 = "GPT_5_4_PRO_2026_03_05"
|
|
5906
5928
|
}
|
|
5907
5929
|
/** @enumType */
|
|
5908
|
-
type V1ResponsesModelWithLiterals = V1ResponsesModel | 'MODEL_UNSPECIFIED' | 'GPT_5_2025_08_07_RESPONSES' | 'GPT_5_MINI_2025_08_07_RESPONSES' | 'GPT_5_NANO_2025_08_07_RESPONSES' | 'O3_PRO_2025_06_10' | 'O3_DEEP_RESEARCH_2025_06_26' | 'GPT_5_CODEX' | 'GPT_5_1_2025_11_13' | 'GPT_5_1_CODEX' | 'GPT_5_1_CODEX_MINI' | 'GPT_EXP_RESPONSES' | 'GPT_EXP_RESPONSES_2' | 'GPT_EXP_RESPONSES_3' | 'GPT_5_1_CODEX_MAX' | 'GPT_5_2_2025_12_11';
|
|
5930
|
+
type V1ResponsesModelWithLiterals = V1ResponsesModel | 'MODEL_UNSPECIFIED' | 'GPT_5_2025_08_07_RESPONSES' | 'GPT_5_MINI_2025_08_07_RESPONSES' | 'GPT_5_NANO_2025_08_07_RESPONSES' | 'O3_PRO_2025_06_10' | 'O3_DEEP_RESEARCH_2025_06_26' | 'GPT_5_CODEX' | 'GPT_5_1_2025_11_13' | 'GPT_5_1_CODEX' | 'GPT_5_1_CODEX_MINI' | 'GPT_EXP_RESPONSES' | 'GPT_EXP_RESPONSES_2' | 'GPT_EXP_RESPONSES_3' | 'GPT_5_1_CODEX_MAX' | 'GPT_5_2_2025_12_11' | 'GPT_5_2_CODEX' | 'GPT_5_3_CODEX' | 'GPT_5_4_2026_03_05' | 'GPT_5_4_PRO_2026_03_05';
|
|
5909
5931
|
interface V1ResponsesInputItem extends V1ResponsesInputItemItemOneOf {
|
|
5910
5932
|
/**
|
|
5911
5933
|
* A message input to the model with a role indicating instruction following hierarchy.
|
|
@@ -7504,6 +7526,242 @@ interface InvokeCustomOpenAiModelRequestResponseFormat {
|
|
|
7504
7526
|
/** The schema object describes the output object for the model. Currently, only the JSON Schema Object is supported. */
|
|
7505
7527
|
schema?: Record<string, any> | null;
|
|
7506
7528
|
}
|
|
7529
|
+
interface CreateContentTaskRequest {
|
|
7530
|
+
/**
|
|
7531
|
+
* The model to use for content creation.
|
|
7532
|
+
* @maxLength 255
|
|
7533
|
+
*/
|
|
7534
|
+
model?: string;
|
|
7535
|
+
/**
|
|
7536
|
+
* The context items to create the content from.
|
|
7537
|
+
* @maxSize 50
|
|
7538
|
+
*/
|
|
7539
|
+
content?: ContentItem[];
|
|
7540
|
+
/**
|
|
7541
|
+
* Returns the last frame image of the generated video. Default: false
|
|
7542
|
+
* Useful for generating multiple consecutive videos using the last frame as the first frame of the next video.
|
|
7543
|
+
*/
|
|
7544
|
+
returnLastFrame?: boolean | null;
|
|
7545
|
+
/**
|
|
7546
|
+
* Service tier for processing the request. Default: default
|
|
7547
|
+
* can be one of:
|
|
7548
|
+
* default: Online inference mode (lower RPM, lower latency)
|
|
7549
|
+
* flex: Offline inference mode (higher TPD quota, 50% price, higher latency)
|
|
7550
|
+
* @maxLength 255
|
|
7551
|
+
*/
|
|
7552
|
+
serviceTier?: string | null;
|
|
7553
|
+
/**
|
|
7554
|
+
* Whether the generated video includes audio synchronized with the visuals. Default: true
|
|
7555
|
+
* Only supported by Seedance 1.5 pro
|
|
7556
|
+
*/
|
|
7557
|
+
generateAudio?: boolean | null;
|
|
7558
|
+
/**
|
|
7559
|
+
* Whether to enable Draft sample mode. Default: false
|
|
7560
|
+
* Only supported by Seedance 1.5 pro
|
|
7561
|
+
* true: Generate a 480p preview video (lower cost)
|
|
7562
|
+
* false: Generate a standard video
|
|
7563
|
+
*/
|
|
7564
|
+
draft?: boolean | null;
|
|
7565
|
+
/**
|
|
7566
|
+
* The resolution of the output video. Default: 720p for Seedance 1.5 pro/lite, 1080p for pro/pro-fast
|
|
7567
|
+
* Valid values: 480p, 720p, 1080p
|
|
7568
|
+
* @maxLength 255
|
|
7569
|
+
*/
|
|
7570
|
+
resolution?: string | null;
|
|
7571
|
+
/**
|
|
7572
|
+
* The aspect ratio of the output video. Default varies by model and scenario.
|
|
7573
|
+
* Valid values: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive
|
|
7574
|
+
* @maxLength 255
|
|
7575
|
+
*/
|
|
7576
|
+
ratio?: string | null;
|
|
7577
|
+
/**
|
|
7578
|
+
* The duration of the output video in seconds. Default: 5
|
|
7579
|
+
* Value range: 2-12s
|
|
7580
|
+
* Seedance 1.5 pro: Use -1 to let the model decide duration (4-12s)
|
|
7581
|
+
* set max to to 120 for future changes
|
|
7582
|
+
* Choose either duration or frames; frames takes priority.
|
|
7583
|
+
* @min -1
|
|
7584
|
+
* @max 120
|
|
7585
|
+
*/
|
|
7586
|
+
duration?: number | null;
|
|
7587
|
+
/**
|
|
7588
|
+
* Number of frames for the output video. Not supported by Seedance 1.5 pro.
|
|
7589
|
+
* Valid range: integers within [29, 289] that conform to format 25 + 4n (where n is positive integer)
|
|
7590
|
+
* Choose either duration or frames; frames takes priority.
|
|
7591
|
+
* Set max to 2890 for fuure changes
|
|
7592
|
+
* @min 29
|
|
7593
|
+
* @max 2890
|
|
7594
|
+
*/
|
|
7595
|
+
frames?: number | null;
|
|
7596
|
+
/**
|
|
7597
|
+
* The seed controls randomness of output. Default: -1 (random)
|
|
7598
|
+
* Valid values: integers within [-1, 2^32-1]
|
|
7599
|
+
* @min -1
|
|
7600
|
+
* @max 4294967295
|
|
7601
|
+
*/
|
|
7602
|
+
seed?: number | null;
|
|
7603
|
+
/**
|
|
7604
|
+
* Specifies whether to fix the camera. Default: false
|
|
7605
|
+
* Not supported for reference-image-to-video
|
|
7606
|
+
*/
|
|
7607
|
+
cameraFixed?: boolean | null;
|
|
7608
|
+
/** Specifies whether to add watermarks to the output video. Default: false */
|
|
7609
|
+
watermark?: boolean | null;
|
|
7610
|
+
/**
|
|
7611
|
+
* Skip polling flag - if set to false, will poll until video generation is complete
|
|
7612
|
+
* If not set or true, returns immediately with task ID for manual polling
|
|
7613
|
+
*/
|
|
7614
|
+
skipPolling?: boolean | null;
|
|
7615
|
+
}
|
|
7616
|
+
interface ContentItem {
|
|
7617
|
+
/**
|
|
7618
|
+
* The type of the input content
|
|
7619
|
+
* Can be ont of 'text', 'image_url', 'draft_task'
|
|
7620
|
+
* @maxLength 255
|
|
7621
|
+
*/
|
|
7622
|
+
type?: string | null;
|
|
7623
|
+
/**
|
|
7624
|
+
* The input text information for the model (required when type=TEXT)
|
|
7625
|
+
* Describes the video to be generated. Can include text prompt and optional parameters.
|
|
7626
|
+
* @maxLength 100000
|
|
7627
|
+
*/
|
|
7628
|
+
text?: string | null;
|
|
7629
|
+
/** The input image object for the model (required when type=IMAGE_URL) */
|
|
7630
|
+
imageUrl?: ImageUrl;
|
|
7631
|
+
/**
|
|
7632
|
+
* The location or purpose of the image (required under certain conditions when type=IMAGE_URL)
|
|
7633
|
+
* Used for Image-to-Video scenarios
|
|
7634
|
+
* available values are:
|
|
7635
|
+
* 'last_frame', 'first_frame', 'reference_image'
|
|
7636
|
+
* @maxLength 255
|
|
7637
|
+
*/
|
|
7638
|
+
role?: string | null;
|
|
7639
|
+
/**
|
|
7640
|
+
* The draft task object for generating official video from a draft.
|
|
7641
|
+
* Only supported by Seedance 1.5 Pro.
|
|
7642
|
+
* The platform will reuse the inputs from the draft video to generate the official video.
|
|
7643
|
+
*/
|
|
7644
|
+
draftTask?: DraftTask;
|
|
7645
|
+
}
|
|
7646
|
+
interface ImageUrl {
|
|
7647
|
+
/**
|
|
7648
|
+
* The image information, can be an image URL or Base64-encoded content
|
|
7649
|
+
* URL: Must be accessible
|
|
7650
|
+
* Base64: Format must be data:image/<format>;base64,<content> (e.g., data:image/png;base64,...)
|
|
7651
|
+
* Requirements: JPEG/PNG/WebP/BMP/TIFF/GIF (Seedance 1.5 Pro also supports HEIC/HEIF)
|
|
7652
|
+
* Aspect ratio: 0.4 to 2.5, shorter side > 300px, longer side < 6000px, size < 30MB
|
|
7653
|
+
* @maxLength 100000
|
|
7654
|
+
*/
|
|
7655
|
+
url?: string | null;
|
|
7656
|
+
}
|
|
7657
|
+
interface DraftTask {
|
|
7658
|
+
/**
|
|
7659
|
+
* The draft video task ID.
|
|
7660
|
+
* The platform will automatically reuse the user inputs applied by the draft video
|
|
7661
|
+
* (including model, content.text, content.image_url, generate_audio, seed, ratio, duration, frames, camera_fixed)
|
|
7662
|
+
* to generate the official video.
|
|
7663
|
+
* @maxLength 1000
|
|
7664
|
+
*/
|
|
7665
|
+
id?: string | null;
|
|
7666
|
+
}
|
|
7667
|
+
interface GenerateImageRequest {
|
|
7668
|
+
/**
|
|
7669
|
+
* The model to use for image generation.
|
|
7670
|
+
* Accepts a model ID (e.g. "seedream-5.0-lite", "seedream-4.5", "seedream-4.0") or an Endpoint ID.
|
|
7671
|
+
* @maxLength 255
|
|
7672
|
+
*/
|
|
7673
|
+
model?: string;
|
|
7674
|
+
/**
|
|
7675
|
+
* Text prompt describing the image to generate.
|
|
7676
|
+
* Recommended: keep under 600 English words. Excessively long prompts may cause the model
|
|
7677
|
+
* to overlook details and focus only on major elements.
|
|
7678
|
+
* @maxLength 100000
|
|
7679
|
+
*/
|
|
7680
|
+
prompt?: string;
|
|
7681
|
+
/**
|
|
7682
|
+
* Reference image(s) as URL or base64-encoded string. Max 14 reference images.
|
|
7683
|
+
*
|
|
7684
|
+
* Input formats:
|
|
7685
|
+
* - Image URL: must be publicly accessible.
|
|
7686
|
+
* - Base64: format must be "data:image/<format>;base64,<content>" (e.g. "data:image/png;base64,...").
|
|
7687
|
+
*
|
|
7688
|
+
* Image requirements:
|
|
7689
|
+
* - Formats: JPEG, PNG, WEBP, BMP, TIFF, GIF
|
|
7690
|
+
* - Aspect ratio (width/height): between [1/16, 16]
|
|
7691
|
+
* - Width and height: > 14px
|
|
7692
|
+
* - Size: up to 10 MB per image
|
|
7693
|
+
* - Total pixels: no more than 6000x6000 = 36,000,000 per image
|
|
7694
|
+
* @maxLength 3825
|
|
7695
|
+
* @maxSize 15
|
|
7696
|
+
*/
|
|
7697
|
+
image?: string[];
|
|
7698
|
+
/**
|
|
7699
|
+
* Output image dimensions. Two methods available (cannot be combined):
|
|
7700
|
+
*
|
|
7701
|
+
* Method 1 - Resolution shorthand (let the model determine width/height from prompt context):
|
|
7702
|
+
* seedream-5.0-lite: "2K", "3K"
|
|
7703
|
+
* seedream-4.5: "2K", "4K"
|
|
7704
|
+
* seedream-4.0: "1K", "2K", "4K"
|
|
7705
|
+
*
|
|
7706
|
+
* Method 2 - Explicit pixel dimensions (e.g. "2048x2048"):
|
|
7707
|
+
* Both total pixel range AND aspect ratio [1/16, 16] must be satisfied.
|
|
7708
|
+
* seedream-5.0-lite: total pixels [3,686,400 .. 10,404,496], default "2048x2048"
|
|
7709
|
+
* seedream-4.5: total pixels [3,686,400 .. 16,777,216], default "2048x2048"
|
|
7710
|
+
* seedream-4.0: total pixels [921,600 .. 16,777,216], default "2048x2048"
|
|
7711
|
+
*
|
|
7712
|
+
* Common recommended dimensions (2K):
|
|
7713
|
+
* 1:1 = 2048x2048, 4:3 = 2304x1728, 3:4 = 1728x2304,
|
|
7714
|
+
* 16:9 = 2848x1600, 9:16 = 1600x2848, 21:9 = 3136x1344
|
|
7715
|
+
* @maxLength 255
|
|
7716
|
+
*/
|
|
7717
|
+
size?: string | null;
|
|
7718
|
+
/**
|
|
7719
|
+
* How the generated images are returned. Default: "url".
|
|
7720
|
+
* "url": returns a download link valid for 24 hours after generation.
|
|
7721
|
+
* "b64_json": returns the image data as a Base64-encoded string in JSON.
|
|
7722
|
+
* @maxLength 255
|
|
7723
|
+
*/
|
|
7724
|
+
responseFormat?: string | null;
|
|
7725
|
+
/** Whether to add an "AI generated" watermark on the bottom-right corner. Default: true. */
|
|
7726
|
+
watermark?: boolean | null;
|
|
7727
|
+
/**
|
|
7728
|
+
* Whether to enable batch (sequential) image generation. Default: "disabled".
|
|
7729
|
+
* "auto": the model decides whether to return multiple images and how many, based on the prompt.
|
|
7730
|
+
* "disabled": only one image is generated.
|
|
7731
|
+
* @maxLength 255
|
|
7732
|
+
*/
|
|
7733
|
+
sequentialImageGeneration?: string | null;
|
|
7734
|
+
/** Configuration for batch image generation. Only effective when sequential_image_generation = "auto". */
|
|
7735
|
+
sequentialImageGenerationOptions?: SequentialImageGenerationOptions;
|
|
7736
|
+
/**
|
|
7737
|
+
* Output image file format. Default: "jpeg".
|
|
7738
|
+
* "jpeg": supported by all models (default, cannot be changed on seedream-4.5/4.0).
|
|
7739
|
+
* "png": only supported by seedream-5.0-lite.
|
|
7740
|
+
* @maxLength 255
|
|
7741
|
+
*/
|
|
7742
|
+
outputFormat?: string | null;
|
|
7743
|
+
/**
|
|
7744
|
+
* Configuration for prompt optimization.
|
|
7745
|
+
* Supported by seedream-5.0-lite, seedream-4.5 (standard mode only), and seedream-4.0.
|
|
7746
|
+
*/
|
|
7747
|
+
optimizePromptOptions?: OptimizePromptOptions;
|
|
7748
|
+
}
|
|
7749
|
+
interface SequentialImageGenerationOptions {
|
|
7750
|
+
/**
|
|
7751
|
+
* Maximum number of images to generate in this request. Default: 15. Range: [1, 15].
|
|
7752
|
+
* Actual count is constrained by: number of input reference images + generated images <= 15.
|
|
7753
|
+
*/
|
|
7754
|
+
maxImages?: number | null;
|
|
7755
|
+
}
|
|
7756
|
+
interface OptimizePromptOptions {
|
|
7757
|
+
/**
|
|
7758
|
+
* Prompt optimization mode. Default: "standard".
|
|
7759
|
+
* "standard": higher quality, longer generation time.
|
|
7760
|
+
* "fast": faster but lower quality.
|
|
7761
|
+
* @maxLength 255
|
|
7762
|
+
*/
|
|
7763
|
+
mode?: string | null;
|
|
7764
|
+
}
|
|
7507
7765
|
interface ContentGenerationRequestedEvent {
|
|
7508
7766
|
/** Prompt that the generation was requested for. */
|
|
7509
7767
|
prompt?: Prompt;
|
|
@@ -7518,6 +7776,8 @@ interface ContentGenerationRequestedEvent {
|
|
|
7518
7776
|
* @format GUID
|
|
7519
7777
|
*/
|
|
7520
7778
|
eventChainId?: string;
|
|
7779
|
+
/** Dynamic request configuration, including dynamic tools and messages. */
|
|
7780
|
+
dynamicRequestConfig?: DynamicRequestConfig;
|
|
7521
7781
|
}
|
|
7522
7782
|
interface UserRequestInfo {
|
|
7523
7783
|
/**
|
|
@@ -7543,185 +7803,97 @@ interface UserRequestInfo {
|
|
|
7543
7803
|
*/
|
|
7544
7804
|
costAttributionOverrideId?: string | null;
|
|
7545
7805
|
}
|
|
7546
|
-
interface
|
|
7547
|
-
/** Model response object that describes the content generation result. */
|
|
7548
|
-
response?: GenerateContentModelResponse;
|
|
7549
|
-
/** Prompt's final form that was used to issue a GenerateContent request. */
|
|
7550
|
-
materializedPrompt?: Prompt;
|
|
7806
|
+
interface DynamicRequestConfig {
|
|
7551
7807
|
/**
|
|
7552
|
-
*
|
|
7553
|
-
* @
|
|
7808
|
+
* List of GatewayToolDefinition's, used to overwrite tools in the prompt.
|
|
7809
|
+
* @maxSize 1000
|
|
7554
7810
|
*/
|
|
7555
|
-
|
|
7811
|
+
gatewayToolDefinitions?: GatewayToolDefinition[];
|
|
7812
|
+
/**
|
|
7813
|
+
* List of GatewayMessageDefinition's, which will be converted to model-specific format and appended to the messages saved in the prompt.
|
|
7814
|
+
* @maxSize 10000
|
|
7815
|
+
*/
|
|
7816
|
+
gatewayMessageDefinitions?: GatewayMessageDefinition[];
|
|
7556
7817
|
}
|
|
7557
|
-
interface
|
|
7558
|
-
/**
|
|
7559
|
-
|
|
7560
|
-
/**
|
|
7561
|
-
|
|
7562
|
-
/** Google bison chat completion response. */
|
|
7563
|
-
googleChatBisonResponse?: ChatBisonPredictResponse;
|
|
7564
|
-
/** Azure OpenAI chat completion response. */
|
|
7565
|
-
azureChatCompletionResponse?: CreateChatCompletionResponse;
|
|
7566
|
-
/** Google Gemini generate content response. */
|
|
7567
|
-
googleGeminiGenerateContentResponse?: GenerateContentResponse;
|
|
7568
|
-
/** Anthropic Claude via Amazon Bedrock generate content response. */
|
|
7569
|
-
anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
|
|
7570
|
-
/** Anthropic Claude via Google vertex generate content response. */
|
|
7571
|
-
googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
|
|
7572
|
-
/** Native Anthropic API proxy generate content response. */
|
|
7573
|
-
invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
|
|
7574
|
-
/** Llama via Amazon Bedrock text completion response. */
|
|
7575
|
-
llamaModelResponse?: InvokeLlamaModelResponse;
|
|
7576
|
-
/** Invoke Amazon Converse API response. */
|
|
7577
|
-
amazonConverseResponse?: InvokeConverseResponse;
|
|
7578
|
-
/** Llama via ML Platform text completion response. */
|
|
7579
|
-
mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
|
|
7580
|
-
/** Perplexity chat completion response. */
|
|
7581
|
-
perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
|
|
7582
|
-
/** OpenAI image generation response. */
|
|
7583
|
-
openAiCreateImageResponse?: CreateImageResponse;
|
|
7584
|
-
/** Stability AI text to image response. */
|
|
7585
|
-
stabilityAiTextToImageResponse?: V1TextToImageResponse;
|
|
7586
|
-
/** Stability AI generate core response. */
|
|
7587
|
-
stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
|
|
7588
|
-
/** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
|
|
7589
|
-
stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
|
|
7590
|
-
/** Black Forest Labs image generation response. */
|
|
7591
|
-
blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
|
|
7592
|
-
/** Replicate image generation response. */
|
|
7593
|
-
replicateCreatePredictionResponse?: CreatePredictionResponse;
|
|
7594
|
-
/** Stability AI - Edit Image with prompt response. */
|
|
7595
|
-
stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
|
|
7596
|
-
/** Runware AI - Flux TextToImage response. */
|
|
7597
|
-
runwareTextToImageResponse?: TextToImageResponse;
|
|
7598
|
-
/** Google AI - Generate Image with Imagen Model response. */
|
|
7599
|
-
googleGenerateImageResponse?: GenerateImageResponse;
|
|
7600
|
-
/** Google AI - Generate Video response. */
|
|
7601
|
-
googleGenerateVideoResponse?: GenerateVideoResponse;
|
|
7602
|
-
/** ML generate image response. */
|
|
7603
|
-
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
7604
|
-
/** OpenAI image creation response. */
|
|
7605
|
-
openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
|
|
7606
|
-
/** OpenAI image edit response. */
|
|
7607
|
-
openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
|
|
7608
|
-
/** Google create chat completion response. */
|
|
7609
|
-
googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
|
|
7610
|
-
/** ML Platform - invoke an OpenAI-type interface with a JSON string */
|
|
7611
|
-
mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
|
|
7612
|
-
/** Runware Video inference response */
|
|
7613
|
-
runwareVideoInferenceResponse?: VideoInferenceResponse;
|
|
7614
|
-
/** Open AI Responses API response */
|
|
7615
|
-
openAiResponsesResponse?: V1OpenAiResponsesResponse;
|
|
7616
|
-
/** Open AI Responses API response via Azure */
|
|
7617
|
-
azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
|
|
7618
|
-
/** OpenAI video generation response */
|
|
7619
|
-
openAiCreateVideoResponse?: CreateVideoResponse;
|
|
7620
|
-
/** Fireworks - OpenAI payload */
|
|
7621
|
-
fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
|
|
7622
|
-
/** Extracted generated content data from the model's response. */
|
|
7623
|
-
generatedContent?: GeneratedContent;
|
|
7624
|
-
/** Extracted cost of the request in microcents. */
|
|
7625
|
-
cost?: string | null;
|
|
7626
|
-
/** Token usage information. */
|
|
7627
|
-
tokenUsage?: V1TokenUsage;
|
|
7628
|
-
/** Metadata about the response, such as finish reason. */
|
|
7629
|
-
responseMetadata?: ResponseMetadata;
|
|
7818
|
+
interface GatewayToolDefinition extends GatewayToolDefinitionToolOneOf {
|
|
7819
|
+
/** Custom tool */
|
|
7820
|
+
customTool?: GatewayToolDefinitionCustomTool;
|
|
7821
|
+
/** Built-in tool */
|
|
7822
|
+
builtInTool?: BuiltInTool;
|
|
7630
7823
|
}
|
|
7631
7824
|
/** @oneof */
|
|
7632
|
-
interface
|
|
7633
|
-
/**
|
|
7634
|
-
|
|
7635
|
-
/**
|
|
7636
|
-
|
|
7637
|
-
/** Google bison chat completion response. */
|
|
7638
|
-
googleChatBisonResponse?: ChatBisonPredictResponse;
|
|
7639
|
-
/** Azure OpenAI chat completion response. */
|
|
7640
|
-
azureChatCompletionResponse?: CreateChatCompletionResponse;
|
|
7641
|
-
/** Google Gemini generate content response. */
|
|
7642
|
-
googleGeminiGenerateContentResponse?: GenerateContentResponse;
|
|
7643
|
-
/** Anthropic Claude via Amazon Bedrock generate content response. */
|
|
7644
|
-
anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
|
|
7645
|
-
/** Anthropic Claude via Google vertex generate content response. */
|
|
7646
|
-
googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
|
|
7647
|
-
/** Native Anthropic API proxy generate content response. */
|
|
7648
|
-
invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
|
|
7649
|
-
/** Llama via Amazon Bedrock text completion response. */
|
|
7650
|
-
llamaModelResponse?: InvokeLlamaModelResponse;
|
|
7651
|
-
/** Invoke Amazon Converse API response. */
|
|
7652
|
-
amazonConverseResponse?: InvokeConverseResponse;
|
|
7653
|
-
/** Llama via ML Platform text completion response. */
|
|
7654
|
-
mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
|
|
7655
|
-
/** Perplexity chat completion response. */
|
|
7656
|
-
perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
|
|
7657
|
-
/** OpenAI image generation response. */
|
|
7658
|
-
openAiCreateImageResponse?: CreateImageResponse;
|
|
7659
|
-
/** Stability AI text to image response. */
|
|
7660
|
-
stabilityAiTextToImageResponse?: V1TextToImageResponse;
|
|
7661
|
-
/** Stability AI generate core response. */
|
|
7662
|
-
stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
|
|
7663
|
-
/** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
|
|
7664
|
-
stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
|
|
7665
|
-
/** Black Forest Labs image generation response. */
|
|
7666
|
-
blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
|
|
7667
|
-
/** Replicate image generation response. */
|
|
7668
|
-
replicateCreatePredictionResponse?: CreatePredictionResponse;
|
|
7669
|
-
/** Stability AI - Edit Image with prompt response. */
|
|
7670
|
-
stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
|
|
7671
|
-
/** Runware AI - Flux TextToImage response. */
|
|
7672
|
-
runwareTextToImageResponse?: TextToImageResponse;
|
|
7673
|
-
/** Google AI - Generate Image with Imagen Model response. */
|
|
7674
|
-
googleGenerateImageResponse?: GenerateImageResponse;
|
|
7675
|
-
/** Google AI - Generate Video response. */
|
|
7676
|
-
googleGenerateVideoResponse?: GenerateVideoResponse;
|
|
7677
|
-
/** ML generate image response. */
|
|
7678
|
-
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
7679
|
-
/** OpenAI image creation response. */
|
|
7680
|
-
openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
|
|
7681
|
-
/** OpenAI image edit response. */
|
|
7682
|
-
openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
|
|
7683
|
-
/** Google create chat completion response. */
|
|
7684
|
-
googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
|
|
7685
|
-
/** ML Platform - invoke an OpenAI-type interface with a JSON string */
|
|
7686
|
-
mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
|
|
7687
|
-
/** Runware Video inference response */
|
|
7688
|
-
runwareVideoInferenceResponse?: VideoInferenceResponse;
|
|
7689
|
-
/** Open AI Responses API response */
|
|
7690
|
-
openAiResponsesResponse?: V1OpenAiResponsesResponse;
|
|
7691
|
-
/** Open AI Responses API response via Azure */
|
|
7692
|
-
azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
|
|
7693
|
-
/** OpenAI video generation response */
|
|
7694
|
-
openAiCreateVideoResponse?: CreateVideoResponse;
|
|
7695
|
-
/** Fireworks - OpenAI payload */
|
|
7696
|
-
fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
|
|
7825
|
+
interface GatewayToolDefinitionToolOneOf {
|
|
7826
|
+
/** Custom tool */
|
|
7827
|
+
customTool?: GatewayToolDefinitionCustomTool;
|
|
7828
|
+
/** Built-in tool */
|
|
7829
|
+
builtInTool?: BuiltInTool;
|
|
7697
7830
|
}
|
|
7698
|
-
|
|
7699
|
-
interface GeneratedContent {
|
|
7700
|
-
/**
|
|
7701
|
-
* Zero or more textual results. Only present when the model returned a text.
|
|
7702
|
-
* @maxSize 1000
|
|
7703
|
-
*/
|
|
7704
|
-
texts?: TextContent[];
|
|
7831
|
+
interface GatewayToolDefinitionCustomTool {
|
|
7705
7832
|
/**
|
|
7706
|
-
*
|
|
7707
|
-
* @
|
|
7833
|
+
* The name of the tool to be called.
|
|
7834
|
+
* @maxLength 64
|
|
7708
7835
|
*/
|
|
7709
|
-
|
|
7836
|
+
name?: string | null;
|
|
7710
7837
|
/**
|
|
7711
|
-
*
|
|
7712
|
-
* @
|
|
7838
|
+
* The description of what the tool does.
|
|
7839
|
+
* @maxLength 100000
|
|
7713
7840
|
*/
|
|
7714
|
-
|
|
7841
|
+
description?: string | null;
|
|
7842
|
+
/** The parameters the tool accepts, described as a JSON Schema object. */
|
|
7843
|
+
parameters?: Record<string, any> | null;
|
|
7844
|
+
}
|
|
7845
|
+
interface BuiltInTool {
|
|
7715
7846
|
/**
|
|
7716
|
-
*
|
|
7717
|
-
* @
|
|
7847
|
+
* The name of the tool to be called.
|
|
7848
|
+
* @maxLength 64
|
|
7718
7849
|
*/
|
|
7719
|
-
|
|
7850
|
+
name?: string | null;
|
|
7851
|
+
/** Optional parameters specific to the built-in tool. */
|
|
7852
|
+
parameters?: Record<string, any> | null;
|
|
7853
|
+
}
|
|
7854
|
+
interface GatewayMessageDefinition {
|
|
7855
|
+
/** The role of the message author. */
|
|
7856
|
+
role?: GatewayMessageDefinitionRoleWithLiterals;
|
|
7720
7857
|
/**
|
|
7721
|
-
*
|
|
7722
|
-
* @maxSize
|
|
7858
|
+
* The content of the message.
|
|
7859
|
+
* @maxSize 4096
|
|
7723
7860
|
*/
|
|
7724
|
-
|
|
7861
|
+
content?: GatewayContentBlock[];
|
|
7862
|
+
}
|
|
7863
|
+
declare enum GatewayMessageDefinitionRole {
|
|
7864
|
+
UNKNOWN = "UNKNOWN",
|
|
7865
|
+
USER = "USER",
|
|
7866
|
+
ASSISTANT = "ASSISTANT",
|
|
7867
|
+
SYSTEM = "SYSTEM",
|
|
7868
|
+
TOOL = "TOOL",
|
|
7869
|
+
DEVELOPER = "DEVELOPER"
|
|
7870
|
+
}
|
|
7871
|
+
/** @enumType */
|
|
7872
|
+
type GatewayMessageDefinitionRoleWithLiterals = GatewayMessageDefinitionRole | 'UNKNOWN' | 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL' | 'DEVELOPER';
|
|
7873
|
+
interface GatewayContentBlock extends GatewayContentBlockTypeOneOf {
|
|
7874
|
+
/** Text content. */
|
|
7875
|
+
text?: TextContent;
|
|
7876
|
+
/** Media content, represented as URL. */
|
|
7877
|
+
media?: MediaContent;
|
|
7878
|
+
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
7879
|
+
toolUse?: ToolUseContent;
|
|
7880
|
+
/** Tool result content, describes the result of tool invocation. */
|
|
7881
|
+
toolResult?: ToolResultContent;
|
|
7882
|
+
/** Represents model's internal thought process. */
|
|
7883
|
+
thinking?: ThinkingTextContent;
|
|
7884
|
+
}
|
|
7885
|
+
/** @oneof */
|
|
7886
|
+
interface GatewayContentBlockTypeOneOf {
|
|
7887
|
+
/** Text content. */
|
|
7888
|
+
text?: TextContent;
|
|
7889
|
+
/** Media content, represented as URL. */
|
|
7890
|
+
media?: MediaContent;
|
|
7891
|
+
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
7892
|
+
toolUse?: ToolUseContent;
|
|
7893
|
+
/** Tool result content, describes the result of tool invocation. */
|
|
7894
|
+
toolResult?: ToolResultContent;
|
|
7895
|
+
/** Represents model's internal thought process. */
|
|
7896
|
+
thinking?: ThinkingTextContent;
|
|
7725
7897
|
}
|
|
7726
7898
|
interface TextContent {
|
|
7727
7899
|
/**
|
|
@@ -7752,37 +7924,239 @@ interface MediaContent {
|
|
|
7752
7924
|
*/
|
|
7753
7925
|
thoughtSignature?: string | null;
|
|
7754
7926
|
}
|
|
7755
|
-
interface
|
|
7927
|
+
interface ToolUseContent {
|
|
7756
7928
|
/**
|
|
7757
|
-
*
|
|
7758
|
-
* @maxLength
|
|
7929
|
+
* Tool use id
|
|
7930
|
+
* @maxLength 100
|
|
7759
7931
|
*/
|
|
7760
|
-
|
|
7932
|
+
id?: string | null;
|
|
7933
|
+
/**
|
|
7934
|
+
* Tool use name
|
|
7935
|
+
* @maxLength 1000
|
|
7936
|
+
*/
|
|
7937
|
+
name?: string;
|
|
7938
|
+
/** Tool use input */
|
|
7939
|
+
input?: Record<string, any> | null;
|
|
7761
7940
|
/**
|
|
7762
7941
|
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7763
7942
|
* @maxLength 10000000
|
|
7764
7943
|
*/
|
|
7765
7944
|
thoughtSignature?: string | null;
|
|
7766
7945
|
}
|
|
7767
|
-
interface
|
|
7946
|
+
interface ToolResultContent {
|
|
7768
7947
|
/**
|
|
7769
7948
|
* Tool use id
|
|
7770
7949
|
* @maxLength 100
|
|
7771
7950
|
*/
|
|
7772
|
-
|
|
7951
|
+
toolUseId?: string | null;
|
|
7952
|
+
/** Tool result is error. */
|
|
7953
|
+
error?: boolean | null;
|
|
7773
7954
|
/**
|
|
7774
|
-
* Tool
|
|
7775
|
-
* @
|
|
7955
|
+
* Tool result content.
|
|
7956
|
+
* @maxSize 4096
|
|
7776
7957
|
*/
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7958
|
+
content?: GatewayContentBlock[];
|
|
7959
|
+
}
|
|
7960
|
+
interface ThinkingTextContent {
|
|
7961
|
+
/**
|
|
7962
|
+
* The thought text of the model thinking
|
|
7963
|
+
* @maxLength 1000000
|
|
7964
|
+
*/
|
|
7965
|
+
thoughtText?: string | null;
|
|
7780
7966
|
/**
|
|
7781
7967
|
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7782
7968
|
* @maxLength 10000000
|
|
7783
7969
|
*/
|
|
7784
7970
|
thoughtSignature?: string | null;
|
|
7785
7971
|
}
|
|
7972
|
+
interface ContentGenerationSucceededEvent {
|
|
7973
|
+
/** Model response object that describes the content generation result. */
|
|
7974
|
+
response?: GenerateContentModelResponse;
|
|
7975
|
+
/** Prompt's final form that was used to issue a GenerateContent request. */
|
|
7976
|
+
materializedPrompt?: Prompt;
|
|
7977
|
+
/**
|
|
7978
|
+
* Event chain identifier id. Uniquely generated for each Generate* endpoint call, and stays consistent throughout its lifecycle. Used for correspondence between request events and response events.
|
|
7979
|
+
* @format GUID
|
|
7980
|
+
*/
|
|
7981
|
+
eventChainId?: string;
|
|
7982
|
+
}
|
|
7983
|
+
interface GenerateContentModelResponse extends GenerateContentModelResponseResponseOneOf {
|
|
7984
|
+
/** OpenAI chat completion response. */
|
|
7985
|
+
openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
|
|
7986
|
+
/** Google bison text completion response. */
|
|
7987
|
+
googleTextBisonResponse?: TextBisonPredictResponse;
|
|
7988
|
+
/** Google bison chat completion response. */
|
|
7989
|
+
googleChatBisonResponse?: ChatBisonPredictResponse;
|
|
7990
|
+
/** Azure OpenAI chat completion response. */
|
|
7991
|
+
azureChatCompletionResponse?: CreateChatCompletionResponse;
|
|
7992
|
+
/** Google Gemini generate content response. */
|
|
7993
|
+
googleGeminiGenerateContentResponse?: GenerateContentResponse;
|
|
7994
|
+
/** Anthropic Claude via Amazon Bedrock generate content response. */
|
|
7995
|
+
anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
|
|
7996
|
+
/** Anthropic Claude via Google vertex generate content response. */
|
|
7997
|
+
googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
|
|
7998
|
+
/** Native Anthropic API proxy generate content response. */
|
|
7999
|
+
invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
|
|
8000
|
+
/** Llama via Amazon Bedrock text completion response. */
|
|
8001
|
+
llamaModelResponse?: InvokeLlamaModelResponse;
|
|
8002
|
+
/** Invoke Amazon Converse API response. */
|
|
8003
|
+
amazonConverseResponse?: InvokeConverseResponse;
|
|
8004
|
+
/** Llama via ML Platform text completion response. */
|
|
8005
|
+
mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
|
|
8006
|
+
/** Perplexity chat completion response. */
|
|
8007
|
+
perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
|
|
8008
|
+
/** OpenAI image generation response. */
|
|
8009
|
+
openAiCreateImageResponse?: CreateImageResponse;
|
|
8010
|
+
/** Stability AI text to image response. */
|
|
8011
|
+
stabilityAiTextToImageResponse?: V1TextToImageResponse;
|
|
8012
|
+
/** Stability AI generate core response. */
|
|
8013
|
+
stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
|
|
8014
|
+
/** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
|
|
8015
|
+
stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
|
|
8016
|
+
/** Black Forest Labs image generation response. */
|
|
8017
|
+
blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
|
|
8018
|
+
/** Replicate image generation response. */
|
|
8019
|
+
replicateCreatePredictionResponse?: CreatePredictionResponse;
|
|
8020
|
+
/** Stability AI - Edit Image with prompt response. */
|
|
8021
|
+
stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
|
|
8022
|
+
/** Runware AI - Flux TextToImage response. */
|
|
8023
|
+
runwareTextToImageResponse?: TextToImageResponse;
|
|
8024
|
+
/** Google AI - Generate Image with Imagen Model response. */
|
|
8025
|
+
googleGenerateImageResponse?: V1GenerateImageResponse;
|
|
8026
|
+
/** Google AI - Generate Video response. */
|
|
8027
|
+
googleGenerateVideoResponse?: GenerateVideoResponse;
|
|
8028
|
+
/** ML generate image response. */
|
|
8029
|
+
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
8030
|
+
/** OpenAI image creation response. */
|
|
8031
|
+
openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
|
|
8032
|
+
/** OpenAI image edit response. */
|
|
8033
|
+
openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
|
|
8034
|
+
/** Google create chat completion response. */
|
|
8035
|
+
googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
|
|
8036
|
+
/** ML Platform - invoke an OpenAI-type interface with a JSON string */
|
|
8037
|
+
mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
|
|
8038
|
+
/** Runware Video inference response */
|
|
8039
|
+
runwareVideoInferenceResponse?: VideoInferenceResponse;
|
|
8040
|
+
/** Open AI Responses API response */
|
|
8041
|
+
openAiResponsesResponse?: V1OpenAiResponsesResponse;
|
|
8042
|
+
/** Open AI Responses API response via Azure */
|
|
8043
|
+
azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
|
|
8044
|
+
/** OpenAI video generation response */
|
|
8045
|
+
openAiCreateVideoResponse?: CreateVideoResponse;
|
|
8046
|
+
/** Fireworks - OpenAI payload */
|
|
8047
|
+
fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
|
|
8048
|
+
/** Bytedance - Create content task response (video generation) */
|
|
8049
|
+
bytedanceCreateContentTaskResponse?: CreateContentTaskResponse;
|
|
8050
|
+
/** Bytedance - Generate image response (Seedream models) */
|
|
8051
|
+
bytedanceGenerateImageResponse?: GenerateImageResponse;
|
|
8052
|
+
/** Extracted generated content data from the model's response. */
|
|
8053
|
+
generatedContent?: GeneratedContent;
|
|
8054
|
+
/** Extracted cost of the request in microcents. */
|
|
8055
|
+
cost?: string | null;
|
|
8056
|
+
/** Token usage information. */
|
|
8057
|
+
tokenUsage?: V1TokenUsage;
|
|
8058
|
+
/** Metadata about the response, such as finish reason. */
|
|
8059
|
+
responseMetadata?: ResponseMetadata;
|
|
8060
|
+
}
|
|
8061
|
+
/** @oneof */
|
|
8062
|
+
interface GenerateContentModelResponseResponseOneOf {
|
|
8063
|
+
/** OpenAI chat completion response. */
|
|
8064
|
+
openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
|
|
8065
|
+
/** Google bison text completion response. */
|
|
8066
|
+
googleTextBisonResponse?: TextBisonPredictResponse;
|
|
8067
|
+
/** Google bison chat completion response. */
|
|
8068
|
+
googleChatBisonResponse?: ChatBisonPredictResponse;
|
|
8069
|
+
/** Azure OpenAI chat completion response. */
|
|
8070
|
+
azureChatCompletionResponse?: CreateChatCompletionResponse;
|
|
8071
|
+
/** Google Gemini generate content response. */
|
|
8072
|
+
googleGeminiGenerateContentResponse?: GenerateContentResponse;
|
|
8073
|
+
/** Anthropic Claude via Amazon Bedrock generate content response. */
|
|
8074
|
+
anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
|
|
8075
|
+
/** Anthropic Claude via Google vertex generate content response. */
|
|
8076
|
+
googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
|
|
8077
|
+
/** Native Anthropic API proxy generate content response. */
|
|
8078
|
+
invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
|
|
8079
|
+
/** Llama via Amazon Bedrock text completion response. */
|
|
8080
|
+
llamaModelResponse?: InvokeLlamaModelResponse;
|
|
8081
|
+
/** Invoke Amazon Converse API response. */
|
|
8082
|
+
amazonConverseResponse?: InvokeConverseResponse;
|
|
8083
|
+
/** Llama via ML Platform text completion response. */
|
|
8084
|
+
mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
|
|
8085
|
+
/** Perplexity chat completion response. */
|
|
8086
|
+
perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
|
|
8087
|
+
/** OpenAI image generation response. */
|
|
8088
|
+
openAiCreateImageResponse?: CreateImageResponse;
|
|
8089
|
+
/** Stability AI text to image response. */
|
|
8090
|
+
stabilityAiTextToImageResponse?: V1TextToImageResponse;
|
|
8091
|
+
/** Stability AI generate core response. */
|
|
8092
|
+
stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
|
|
8093
|
+
/** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
|
|
8094
|
+
stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
|
|
8095
|
+
/** Black Forest Labs image generation response. */
|
|
8096
|
+
blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
|
|
8097
|
+
/** Replicate image generation response. */
|
|
8098
|
+
replicateCreatePredictionResponse?: CreatePredictionResponse;
|
|
8099
|
+
/** Stability AI - Edit Image with prompt response. */
|
|
8100
|
+
stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
|
|
8101
|
+
/** Runware AI - Flux TextToImage response. */
|
|
8102
|
+
runwareTextToImageResponse?: TextToImageResponse;
|
|
8103
|
+
/** Google AI - Generate Image with Imagen Model response. */
|
|
8104
|
+
googleGenerateImageResponse?: V1GenerateImageResponse;
|
|
8105
|
+
/** Google AI - Generate Video response. */
|
|
8106
|
+
googleGenerateVideoResponse?: GenerateVideoResponse;
|
|
8107
|
+
/** ML generate image response. */
|
|
8108
|
+
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
8109
|
+
/** OpenAI image creation response. */
|
|
8110
|
+
openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
|
|
8111
|
+
/** OpenAI image edit response. */
|
|
8112
|
+
openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
|
|
8113
|
+
/** Google create chat completion response. */
|
|
8114
|
+
googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
|
|
8115
|
+
/** ML Platform - invoke an OpenAI-type interface with a JSON string */
|
|
8116
|
+
mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
|
|
8117
|
+
/** Runware Video inference response */
|
|
8118
|
+
runwareVideoInferenceResponse?: VideoInferenceResponse;
|
|
8119
|
+
/** Open AI Responses API response */
|
|
8120
|
+
openAiResponsesResponse?: V1OpenAiResponsesResponse;
|
|
8121
|
+
/** Open AI Responses API response via Azure */
|
|
8122
|
+
azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
|
|
8123
|
+
/** OpenAI video generation response */
|
|
8124
|
+
openAiCreateVideoResponse?: CreateVideoResponse;
|
|
8125
|
+
/** Fireworks - OpenAI payload */
|
|
8126
|
+
fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
|
|
8127
|
+
/** Bytedance - Create content task response (video generation) */
|
|
8128
|
+
bytedanceCreateContentTaskResponse?: CreateContentTaskResponse;
|
|
8129
|
+
/** Bytedance - Generate image response (Seedream models) */
|
|
8130
|
+
bytedanceGenerateImageResponse?: GenerateImageResponse;
|
|
8131
|
+
}
|
|
8132
|
+
/** Model generation result, at least one of the fields should be present */
|
|
8133
|
+
interface GeneratedContent {
|
|
8134
|
+
/**
|
|
8135
|
+
* Zero or more textual results. Only present when the model returned a text.
|
|
8136
|
+
* @maxSize 1000
|
|
8137
|
+
*/
|
|
8138
|
+
texts?: TextContent[];
|
|
8139
|
+
/**
|
|
8140
|
+
* Zero or more images. Only present when the model returned an image.
|
|
8141
|
+
* @maxSize 1000
|
|
8142
|
+
*/
|
|
8143
|
+
images?: MediaContent[];
|
|
8144
|
+
/**
|
|
8145
|
+
* Zero or more videos. Only present when the model returned a video.
|
|
8146
|
+
* @maxSize 1000
|
|
8147
|
+
*/
|
|
8148
|
+
videos?: MediaContent[];
|
|
8149
|
+
/**
|
|
8150
|
+
* Zero or more thinking texts. Only present when the model returned a thought.
|
|
8151
|
+
* @maxSize 1000
|
|
8152
|
+
*/
|
|
8153
|
+
thinkingTexts?: ThinkingTextContent[];
|
|
8154
|
+
/**
|
|
8155
|
+
* Zero or more tool call requests. Only present when the model requested to call a tool.
|
|
8156
|
+
* @maxSize 1000
|
|
8157
|
+
*/
|
|
8158
|
+
tools?: ToolUseContent[];
|
|
8159
|
+
}
|
|
7786
8160
|
interface V1TokenUsage {
|
|
7787
8161
|
/** Number of input tokens used in the request. */
|
|
7788
8162
|
inputTokens?: number | null;
|
|
@@ -8095,6 +8469,13 @@ interface Candidate {
|
|
|
8095
8469
|
* @maxLength 100000
|
|
8096
8470
|
*/
|
|
8097
8471
|
finishMessage?: string | null;
|
|
8472
|
+
/**
|
|
8473
|
+
* The raw finish reason string as returned by Google's API.
|
|
8474
|
+
* Preserves the original value even when it cannot be mapped to the FinishReason enum,
|
|
8475
|
+
* ensuring forward compatibility when Google adds new finish reason values.
|
|
8476
|
+
* @maxLength 1000
|
|
8477
|
+
*/
|
|
8478
|
+
finishReasonStr?: string | null;
|
|
8098
8479
|
}
|
|
8099
8480
|
interface CandidateContent {
|
|
8100
8481
|
/**
|
|
@@ -9000,7 +9381,7 @@ interface TextToImageTaskResult {
|
|
|
9000
9381
|
*/
|
|
9001
9382
|
seed?: string | null;
|
|
9002
9383
|
}
|
|
9003
|
-
interface
|
|
9384
|
+
interface V1GenerateImageResponse {
|
|
9004
9385
|
/**
|
|
9005
9386
|
* Array of generated image results, one for each requested sampleCount
|
|
9006
9387
|
* @maxSize 8
|
|
@@ -9107,9 +9488,9 @@ interface CreateImageOpenAiResponse {
|
|
|
9107
9488
|
/** Cost of the request in micro cents. */
|
|
9108
9489
|
microcentsSpent?: string | null;
|
|
9109
9490
|
/** Usage information from the API response */
|
|
9110
|
-
usage?:
|
|
9491
|
+
usage?: V1ImageUsage;
|
|
9111
9492
|
}
|
|
9112
|
-
interface
|
|
9493
|
+
interface V1ImageUsage {
|
|
9113
9494
|
/** Number of tokens in the input */
|
|
9114
9495
|
inputTokens?: number | null;
|
|
9115
9496
|
/** Details about input tokens */
|
|
@@ -9138,7 +9519,7 @@ interface EditImageOpenAiResponse {
|
|
|
9138
9519
|
/** Cost of the request in micro cents. */
|
|
9139
9520
|
microcentsSpent?: string | null;
|
|
9140
9521
|
/** Usage information from the API response */
|
|
9141
|
-
usage?:
|
|
9522
|
+
usage?: V1ImageUsage;
|
|
9142
9523
|
}
|
|
9143
9524
|
interface V1CreateChatCompletionResponse {
|
|
9144
9525
|
/**
|
|
@@ -9579,75 +9960,255 @@ interface ErrorInfo {
|
|
|
9579
9960
|
*/
|
|
9580
9961
|
message?: string | null;
|
|
9581
9962
|
}
|
|
9582
|
-
interface InvokeCustomOpenAiModelResponse {
|
|
9963
|
+
interface InvokeCustomOpenAiModelResponse {
|
|
9964
|
+
/**
|
|
9965
|
+
* A unique identifier for the chat completion.
|
|
9966
|
+
* @maxLength 100
|
|
9967
|
+
*/
|
|
9968
|
+
responseId?: string | null;
|
|
9969
|
+
/**
|
|
9970
|
+
* Description of the response object. Will be equal to "chat.completion" for chat completion.
|
|
9971
|
+
* @maxLength 100
|
|
9972
|
+
*/
|
|
9973
|
+
object?: string | null;
|
|
9974
|
+
/** Timestamp for when the response was created. */
|
|
9975
|
+
created?: number | null;
|
|
9976
|
+
/**
|
|
9977
|
+
* Model that produced the completion.
|
|
9978
|
+
* @maxLength 10000
|
|
9979
|
+
*/
|
|
9980
|
+
modelId?: string;
|
|
9981
|
+
/** A list of chat completion choices. Can be more than one if n is greater than 1. */
|
|
9982
|
+
choices?: InvokeCustomOpenAiModelResponseChoice[];
|
|
9983
|
+
/** TokenUsage object describing the tokens usage per request. */
|
|
9984
|
+
usage?: InvokeCustomOpenAiModelResponseTokenUsage;
|
|
9985
|
+
/** Cost of the request in microcents. */
|
|
9986
|
+
microcentsSpent?: string | null;
|
|
9987
|
+
/**
|
|
9988
|
+
* This fingerprint represents the backend configuration that the model runs with.
|
|
9989
|
+
* Can be used in conjunction with the seed request parameter to understand when backend changes have been made that might impact determinism.
|
|
9990
|
+
* @maxLength 10000
|
|
9991
|
+
*/
|
|
9992
|
+
systemFingerprint?: string | null;
|
|
9993
|
+
}
|
|
9994
|
+
interface InvokeCustomOpenAiModelResponsePromptTokenDetails {
|
|
9995
|
+
/** Audio input tokens present in the prompt. */
|
|
9996
|
+
audioTokens?: number | null;
|
|
9997
|
+
/** Cached tokens present in the prompt. */
|
|
9998
|
+
cachedTokens?: number | null;
|
|
9999
|
+
}
|
|
10000
|
+
interface InvokeCustomOpenAiModelResponseCompletionTokenDetails {
|
|
10001
|
+
/** Reasoning tokens present in the completion. */
|
|
10002
|
+
reasoningTokens?: number | null;
|
|
10003
|
+
/** Audio tokens present in the completion. */
|
|
10004
|
+
audioTokens?: number | null;
|
|
10005
|
+
/** Accepted prediction tokens. */
|
|
10006
|
+
acceptedPredictionTokens?: number | null;
|
|
10007
|
+
/** Rejected prediction tokens. */
|
|
10008
|
+
rejectedPredictionTokens?: number | null;
|
|
10009
|
+
}
|
|
10010
|
+
interface InvokeCustomOpenAiModelResponseChoice {
|
|
10011
|
+
/** Index of this Choice in choices array. */
|
|
10012
|
+
index?: number | null;
|
|
10013
|
+
/** ChatCompletionMessage object that defines the message. */
|
|
10014
|
+
message?: Fireworks_proxyV1ChatCompletionMessage;
|
|
10015
|
+
/**
|
|
10016
|
+
* Reason why the message generation was stopped.
|
|
10017
|
+
* @maxLength 100
|
|
10018
|
+
*/
|
|
10019
|
+
finishReason?: string | null;
|
|
10020
|
+
}
|
|
10021
|
+
interface InvokeCustomOpenAiModelResponseTokenUsage {
|
|
10022
|
+
/** Number of LLM tokens required to encode input. */
|
|
10023
|
+
inputTokens?: number | null;
|
|
10024
|
+
/** Number of LLM tokens required to encode output. */
|
|
10025
|
+
outputTokens?: number | null;
|
|
10026
|
+
/** Total number of LLM tokens used for the request. */
|
|
10027
|
+
totalTokens?: number | null;
|
|
10028
|
+
/** Breakdown of tokens used in the prompt. */
|
|
10029
|
+
promptTokenDetails?: InvokeCustomOpenAiModelResponsePromptTokenDetails;
|
|
10030
|
+
/** Breakdown of tokens used in the completion. */
|
|
10031
|
+
completionTokenDetails?: InvokeCustomOpenAiModelResponseCompletionTokenDetails;
|
|
10032
|
+
}
|
|
10033
|
+
interface CreateContentTaskResponse {
|
|
10034
|
+
task?: CommonContentTaskResponse;
|
|
10035
|
+
}
|
|
10036
|
+
interface CommonContentTaskResponse {
|
|
10037
|
+
/**
|
|
10038
|
+
* The ID of the video generation task.
|
|
10039
|
+
* @format GUID
|
|
10040
|
+
*/
|
|
10041
|
+
id?: string | null;
|
|
10042
|
+
/**
|
|
10043
|
+
* The name and version of the model used by the task.
|
|
10044
|
+
* @maxLength 255
|
|
10045
|
+
*/
|
|
10046
|
+
model?: string | null;
|
|
10047
|
+
/**
|
|
10048
|
+
* The status of the task.
|
|
10049
|
+
* Valid values: queued, running, cancelled, succeeded, failed, expired.
|
|
10050
|
+
* @maxLength 255
|
|
10051
|
+
*/
|
|
10052
|
+
status?: string | null;
|
|
10053
|
+
/** Error information. Null if the task succeeds. */
|
|
10054
|
+
error?: TaskError;
|
|
10055
|
+
/** The time when the task was created (Unix timestamp in seconds). */
|
|
10056
|
+
createdAt?: string | null;
|
|
10057
|
+
/** The time when the task was last updated (Unix timestamp in seconds). */
|
|
10058
|
+
updatedAt?: string | null;
|
|
10059
|
+
/** The output after the video generation task is completed. */
|
|
10060
|
+
content?: TaskContent;
|
|
10061
|
+
/**
|
|
10062
|
+
* The seed value used for this request.
|
|
10063
|
+
* @min -1
|
|
10064
|
+
* @max 4294967295
|
|
10065
|
+
*/
|
|
10066
|
+
seed?: number | null;
|
|
10067
|
+
/**
|
|
10068
|
+
* The resolution of the generated video.
|
|
10069
|
+
* @maxLength 255
|
|
10070
|
+
*/
|
|
10071
|
+
resolution?: string | null;
|
|
10072
|
+
/**
|
|
10073
|
+
* The width-to-height ratio of the generated video.
|
|
10074
|
+
* @maxLength 255
|
|
10075
|
+
*/
|
|
10076
|
+
ratio?: string | null;
|
|
10077
|
+
/**
|
|
10078
|
+
* The length of the generated video in seconds.
|
|
10079
|
+
* Only one of duration and frames is returned.
|
|
10080
|
+
* @min -1
|
|
10081
|
+
* @max 120
|
|
10082
|
+
*/
|
|
10083
|
+
duration?: number | null;
|
|
10084
|
+
/**
|
|
10085
|
+
* Number of frames for the generated video.
|
|
10086
|
+
* Only one of duration and frames is returned.
|
|
10087
|
+
* @min 29
|
|
10088
|
+
* @max 2890
|
|
10089
|
+
*/
|
|
10090
|
+
frames?: number | null;
|
|
10091
|
+
/** The frame rate of the generated video. */
|
|
10092
|
+
framespersecond?: number | null;
|
|
10093
|
+
/**
|
|
10094
|
+
* Whether the generated video includes audio synchronized with the visuals.
|
|
10095
|
+
* Only supported by Seedance 1.5 pro.
|
|
10096
|
+
*/
|
|
10097
|
+
generateAudio?: boolean | null;
|
|
10098
|
+
/**
|
|
10099
|
+
* Whether the generated video is a Draft video.
|
|
10100
|
+
* Only returned by Seedance 1.5 Pro.
|
|
10101
|
+
*/
|
|
10102
|
+
draft?: boolean | null;
|
|
10103
|
+
/**
|
|
10104
|
+
* Draft video task ID. Returned when generating official video from a draft.
|
|
10105
|
+
* @maxLength 1000
|
|
10106
|
+
*/
|
|
10107
|
+
draftTaskId?: string | null;
|
|
10108
|
+
/**
|
|
10109
|
+
* The service tier actually used to process the task.
|
|
10110
|
+
* @maxLength 255
|
|
10111
|
+
*/
|
|
10112
|
+
serviceTier?: string | null;
|
|
10113
|
+
/**
|
|
10114
|
+
* The expiration threshold for the task, in seconds.
|
|
10115
|
+
* @min 3600
|
|
10116
|
+
* @max 259200
|
|
10117
|
+
*/
|
|
10118
|
+
executionExpiresAfter?: number | null;
|
|
10119
|
+
/** The token usage for the request. */
|
|
10120
|
+
usage?: TaskUsage;
|
|
10121
|
+
/** The cost of the request in microcents. */
|
|
10122
|
+
microcentsSpent?: string | null;
|
|
10123
|
+
}
|
|
10124
|
+
interface TaskError {
|
|
10125
|
+
/**
|
|
10126
|
+
* The error code.
|
|
10127
|
+
* @maxLength 255
|
|
10128
|
+
*/
|
|
10129
|
+
code?: string | null;
|
|
10130
|
+
/**
|
|
10131
|
+
* The error message.
|
|
10132
|
+
* @maxLength 255
|
|
10133
|
+
*/
|
|
10134
|
+
message?: string | null;
|
|
10135
|
+
}
|
|
10136
|
+
interface TaskContent {
|
|
10137
|
+
/**
|
|
10138
|
+
* The URL of the output video. Valid for 24 hours.
|
|
10139
|
+
* @maxLength 255
|
|
10140
|
+
*/
|
|
10141
|
+
videoUrl?: string | null;
|
|
10142
|
+
/**
|
|
10143
|
+
* URL of the last frame of the generated video. Valid for 24 hours.
|
|
10144
|
+
* Returned only if return_last_frame was set to true in the creation request.
|
|
10145
|
+
* @maxLength 255
|
|
10146
|
+
*/
|
|
10147
|
+
lastFrameUrl?: string | null;
|
|
10148
|
+
}
|
|
10149
|
+
interface TaskUsage {
|
|
10150
|
+
/** The number of tokens consumed for the video output. */
|
|
10151
|
+
completionTokens?: number | null;
|
|
10152
|
+
/** Total tokens for this request (input tokens are always 0). */
|
|
10153
|
+
totalTokens?: number | null;
|
|
10154
|
+
}
|
|
10155
|
+
interface GenerateImageResponse {
|
|
9583
10156
|
/**
|
|
9584
|
-
*
|
|
9585
|
-
* @maxLength
|
|
10157
|
+
* The model ID used for generation (model name-version).
|
|
10158
|
+
* @maxLength 255
|
|
9586
10159
|
*/
|
|
9587
|
-
|
|
10160
|
+
model?: string | null;
|
|
10161
|
+
/** Unix timestamp (seconds) of the creation time of the request. */
|
|
10162
|
+
created?: string | null;
|
|
9588
10163
|
/**
|
|
9589
|
-
*
|
|
9590
|
-
*
|
|
10164
|
+
* Generated image data. May contain multiple entries for batch generation.
|
|
10165
|
+
* When batch-generating, if an image fails due to content moderation the remaining
|
|
10166
|
+
* images continue; if it fails due to an internal error (500), subsequent images are skipped.
|
|
9591
10167
|
*/
|
|
9592
|
-
|
|
9593
|
-
/**
|
|
9594
|
-
|
|
10168
|
+
data?: ImageData[];
|
|
10169
|
+
/** Token usage information for this request. */
|
|
10170
|
+
usage?: ImageUsage;
|
|
10171
|
+
/** Request-level error information, if any. */
|
|
10172
|
+
error?: ImageError;
|
|
10173
|
+
/** The cost of the request in microcents (set by proxy, not vendor). */
|
|
10174
|
+
microcentsSpent?: string | null;
|
|
10175
|
+
}
|
|
10176
|
+
interface ImageData {
|
|
9595
10177
|
/**
|
|
9596
|
-
*
|
|
10178
|
+
* URL of the generated image. Returned when response_format = "url".
|
|
10179
|
+
* The link expires 24 hours after generation.
|
|
9597
10180
|
* @maxLength 10000
|
|
9598
10181
|
*/
|
|
9599
|
-
|
|
9600
|
-
/**
|
|
9601
|
-
|
|
9602
|
-
/** TokenUsage object describing the tokens usage per request. */
|
|
9603
|
-
usage?: InvokeCustomOpenAiModelResponseTokenUsage;
|
|
9604
|
-
/** Cost of the request in microcents. */
|
|
9605
|
-
microcentsSpent?: string | null;
|
|
10182
|
+
url?: string | null;
|
|
10183
|
+
/** Base64-encoded image data. Returned when response_format = "b64_json". */
|
|
10184
|
+
b64Json?: string | null;
|
|
9606
10185
|
/**
|
|
9607
|
-
*
|
|
9608
|
-
*
|
|
9609
|
-
* @maxLength 10000
|
|
10186
|
+
* The width and height of the generated image in pixels, format "<width>x<height>" (e.g. "2048x2048").
|
|
10187
|
+
* @maxLength 255
|
|
9610
10188
|
*/
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
/** Audio input tokens present in the prompt. */
|
|
9615
|
-
audioTokens?: number | null;
|
|
9616
|
-
/** Cached tokens present in the prompt. */
|
|
9617
|
-
cachedTokens?: number | null;
|
|
9618
|
-
}
|
|
9619
|
-
interface InvokeCustomOpenAiModelResponseCompletionTokenDetails {
|
|
9620
|
-
/** Reasoning tokens present in the completion. */
|
|
9621
|
-
reasoningTokens?: number | null;
|
|
9622
|
-
/** Audio tokens present in the completion. */
|
|
9623
|
-
audioTokens?: number | null;
|
|
9624
|
-
/** Accepted prediction tokens. */
|
|
9625
|
-
acceptedPredictionTokens?: number | null;
|
|
9626
|
-
/** Rejected prediction tokens. */
|
|
9627
|
-
rejectedPredictionTokens?: number | null;
|
|
10189
|
+
size?: string | null;
|
|
10190
|
+
/** Per-image error information for a failed generation within a batch. */
|
|
10191
|
+
error?: ImageError;
|
|
9628
10192
|
}
|
|
9629
|
-
interface
|
|
9630
|
-
/** Index of this Choice in choices array. */
|
|
9631
|
-
index?: number | null;
|
|
9632
|
-
/** ChatCompletionMessage object that defines the message. */
|
|
9633
|
-
message?: Fireworks_proxyV1ChatCompletionMessage;
|
|
10193
|
+
interface ImageError {
|
|
9634
10194
|
/**
|
|
9635
|
-
*
|
|
9636
|
-
* @maxLength
|
|
10195
|
+
* Error code. See ByteDance error codes documentation.
|
|
10196
|
+
* @maxLength 255
|
|
9637
10197
|
*/
|
|
9638
|
-
|
|
10198
|
+
code?: string | null;
|
|
10199
|
+
/**
|
|
10200
|
+
* Human-readable error message.
|
|
10201
|
+
* @maxLength 1000
|
|
10202
|
+
*/
|
|
10203
|
+
message?: string | null;
|
|
9639
10204
|
}
|
|
9640
|
-
interface
|
|
9641
|
-
/** Number of
|
|
9642
|
-
|
|
9643
|
-
/** Number of
|
|
10205
|
+
interface ImageUsage {
|
|
10206
|
+
/** Number of images successfully generated, excluding failures. Billing is based on this count. */
|
|
10207
|
+
generatedImages?: number | null;
|
|
10208
|
+
/** Number of output tokens consumed. Calculated as sum(image_width * image_height) / 256, rounded. */
|
|
9644
10209
|
outputTokens?: number | null;
|
|
9645
|
-
/** Total
|
|
10210
|
+
/** Total tokens consumed by this request. Same as output_tokens (input tokens are not counted). */
|
|
9646
10211
|
totalTokens?: number | null;
|
|
9647
|
-
/** Breakdown of tokens used in the prompt. */
|
|
9648
|
-
promptTokenDetails?: InvokeCustomOpenAiModelResponsePromptTokenDetails;
|
|
9649
|
-
/** Breakdown of tokens used in the completion. */
|
|
9650
|
-
completionTokenDetails?: InvokeCustomOpenAiModelResponseCompletionTokenDetails;
|
|
9651
10212
|
}
|
|
9652
10213
|
interface ContentGenerationFailedEvent {
|
|
9653
10214
|
/**
|
|
@@ -9694,112 +10255,6 @@ interface FallbackProperties {
|
|
|
9694
10255
|
/** FallbackPromptConfig object that describes optional second Prompt that can be invoked in case main invocation fails. */
|
|
9695
10256
|
fallbackPromptConfig?: FallbackPromptConfig;
|
|
9696
10257
|
}
|
|
9697
|
-
interface DynamicRequestConfig {
|
|
9698
|
-
/**
|
|
9699
|
-
* List of GatewayToolDefinition's, used to overwrite tools in the prompt.
|
|
9700
|
-
* @maxSize 100
|
|
9701
|
-
*/
|
|
9702
|
-
gatewayToolDefinitions?: GatewayToolDefinition[];
|
|
9703
|
-
/**
|
|
9704
|
-
* List of GatewayMessageDefinition's, which will be converted to model-specific format and appended to the messages saved in the prompt.
|
|
9705
|
-
* @maxSize 100
|
|
9706
|
-
*/
|
|
9707
|
-
gatewayMessageDefinitions?: GatewayMessageDefinition[];
|
|
9708
|
-
}
|
|
9709
|
-
interface GatewayToolDefinition extends GatewayToolDefinitionToolOneOf {
|
|
9710
|
-
/** Custom tool */
|
|
9711
|
-
customTool?: GatewayToolDefinitionCustomTool;
|
|
9712
|
-
/** Built-in tool */
|
|
9713
|
-
builtInTool?: BuiltInTool;
|
|
9714
|
-
}
|
|
9715
|
-
/** @oneof */
|
|
9716
|
-
interface GatewayToolDefinitionToolOneOf {
|
|
9717
|
-
/** Custom tool */
|
|
9718
|
-
customTool?: GatewayToolDefinitionCustomTool;
|
|
9719
|
-
/** Built-in tool */
|
|
9720
|
-
builtInTool?: BuiltInTool;
|
|
9721
|
-
}
|
|
9722
|
-
interface GatewayToolDefinitionCustomTool {
|
|
9723
|
-
/**
|
|
9724
|
-
* The name of the tool to be called.
|
|
9725
|
-
* @maxLength 64
|
|
9726
|
-
*/
|
|
9727
|
-
name?: string | null;
|
|
9728
|
-
/**
|
|
9729
|
-
* The description of what the tool does.
|
|
9730
|
-
* @maxLength 100000
|
|
9731
|
-
*/
|
|
9732
|
-
description?: string | null;
|
|
9733
|
-
/** The parameters the tool accepts, described as a JSON Schema object. */
|
|
9734
|
-
parameters?: Record<string, any> | null;
|
|
9735
|
-
}
|
|
9736
|
-
interface BuiltInTool {
|
|
9737
|
-
/**
|
|
9738
|
-
* The name of the tool to be called.
|
|
9739
|
-
* @maxLength 64
|
|
9740
|
-
*/
|
|
9741
|
-
name?: string | null;
|
|
9742
|
-
/** Optional parameters specific to the built-in tool. */
|
|
9743
|
-
parameters?: Record<string, any> | null;
|
|
9744
|
-
}
|
|
9745
|
-
interface GatewayMessageDefinition {
|
|
9746
|
-
/** The role of the message author. */
|
|
9747
|
-
role?: GatewayMessageDefinitionRoleWithLiterals;
|
|
9748
|
-
/**
|
|
9749
|
-
* The content of the message.
|
|
9750
|
-
* @maxSize 4096
|
|
9751
|
-
*/
|
|
9752
|
-
content?: GatewayContentBlock[];
|
|
9753
|
-
}
|
|
9754
|
-
declare enum GatewayMessageDefinitionRole {
|
|
9755
|
-
UNKNOWN = "UNKNOWN",
|
|
9756
|
-
USER = "USER",
|
|
9757
|
-
ASSISTANT = "ASSISTANT",
|
|
9758
|
-
SYSTEM = "SYSTEM",
|
|
9759
|
-
TOOL = "TOOL",
|
|
9760
|
-
DEVELOPER = "DEVELOPER"
|
|
9761
|
-
}
|
|
9762
|
-
/** @enumType */
|
|
9763
|
-
type GatewayMessageDefinitionRoleWithLiterals = GatewayMessageDefinitionRole | 'UNKNOWN' | 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL' | 'DEVELOPER';
|
|
9764
|
-
interface GatewayContentBlock extends GatewayContentBlockTypeOneOf {
|
|
9765
|
-
/** Text content. */
|
|
9766
|
-
text?: TextContent;
|
|
9767
|
-
/** Media content, represented as URL. */
|
|
9768
|
-
media?: MediaContent;
|
|
9769
|
-
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
9770
|
-
toolUse?: ToolUseContent;
|
|
9771
|
-
/** Tool result content, describes the result of tool invocation. */
|
|
9772
|
-
toolResult?: ToolResultContent;
|
|
9773
|
-
/** Represents model's internal thought process. */
|
|
9774
|
-
thinking?: ThinkingTextContent;
|
|
9775
|
-
}
|
|
9776
|
-
/** @oneof */
|
|
9777
|
-
interface GatewayContentBlockTypeOneOf {
|
|
9778
|
-
/** Text content. */
|
|
9779
|
-
text?: TextContent;
|
|
9780
|
-
/** Media content, represented as URL. */
|
|
9781
|
-
media?: MediaContent;
|
|
9782
|
-
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
9783
|
-
toolUse?: ToolUseContent;
|
|
9784
|
-
/** Tool result content, describes the result of tool invocation. */
|
|
9785
|
-
toolResult?: ToolResultContent;
|
|
9786
|
-
/** Represents model's internal thought process. */
|
|
9787
|
-
thinking?: ThinkingTextContent;
|
|
9788
|
-
}
|
|
9789
|
-
interface ToolResultContent {
|
|
9790
|
-
/**
|
|
9791
|
-
* Tool use id
|
|
9792
|
-
* @maxLength 100
|
|
9793
|
-
*/
|
|
9794
|
-
toolUseId?: string | null;
|
|
9795
|
-
/** Tool result is error. */
|
|
9796
|
-
error?: boolean | null;
|
|
9797
|
-
/**
|
|
9798
|
-
* Tool result content.
|
|
9799
|
-
* @maxSize 4096
|
|
9800
|
-
*/
|
|
9801
|
-
content?: GatewayContentBlock[];
|
|
9802
|
-
}
|
|
9803
10258
|
interface GenerateTextByPromptResponse {
|
|
9804
10259
|
/** ModelResponse object that describes the text generation result. */
|
|
9805
10260
|
response?: ModelResponse;
|
|
@@ -9898,6 +10353,8 @@ interface GenerationRequestedEvent {
|
|
|
9898
10353
|
* @format GUID
|
|
9899
10354
|
*/
|
|
9900
10355
|
eventChainId?: string;
|
|
10356
|
+
/** Dynamic request configuration, including dynamic tools and messages. */
|
|
10357
|
+
dynamicRequestConfig?: DynamicRequestConfig;
|
|
9901
10358
|
}
|
|
9902
10359
|
interface TextGenerationSucceededEvent {
|
|
9903
10360
|
/** ModelResponse object that describes the text generation result. */
|
|
@@ -9926,7 +10383,7 @@ interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
|
|
|
9926
10383
|
/** Azure OpenAI chat completion chunk. */
|
|
9927
10384
|
azureChatCompletionChunk?: ChatCompletionChunk;
|
|
9928
10385
|
/** OpenAI chat completion chunk. */
|
|
9929
|
-
openaiChatCompletionChunk?:
|
|
10386
|
+
openaiChatCompletionChunk?: OpenaiproxyV1ChatCompletionChunk;
|
|
9930
10387
|
/** Anthropic (via Google proxy) chat completion chunk. */
|
|
9931
10388
|
googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
|
|
9932
10389
|
/** Google Gemini GenerateContentResponse chunk. */
|
|
@@ -9935,6 +10392,8 @@ interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
|
|
|
9935
10392
|
amazonAnthropicStreamChunk?: AnthropicStreamChunk;
|
|
9936
10393
|
/** Native Anthropic API proxy stream chunk. */
|
|
9937
10394
|
anthropicStreamChunk?: V1AnthropicStreamChunk;
|
|
10395
|
+
/** Fireworks chat completion chunk. */
|
|
10396
|
+
fireworksChatCompletionChunk?: V1ChatCompletionChunk;
|
|
9938
10397
|
/**
|
|
9939
10398
|
* Extracted text content from the chunk.
|
|
9940
10399
|
* @maxLength 100
|
|
@@ -9951,7 +10410,7 @@ interface GeneratedTextChunkModelChunkOneOf {
|
|
|
9951
10410
|
/** Azure OpenAI chat completion chunk. */
|
|
9952
10411
|
azureChatCompletionChunk?: ChatCompletionChunk;
|
|
9953
10412
|
/** OpenAI chat completion chunk. */
|
|
9954
|
-
openaiChatCompletionChunk?:
|
|
10413
|
+
openaiChatCompletionChunk?: OpenaiproxyV1ChatCompletionChunk;
|
|
9955
10414
|
/** Anthropic (via Google proxy) chat completion chunk. */
|
|
9956
10415
|
googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
|
|
9957
10416
|
/** Google Gemini GenerateContentResponse chunk. */
|
|
@@ -9960,6 +10419,8 @@ interface GeneratedTextChunkModelChunkOneOf {
|
|
|
9960
10419
|
amazonAnthropicStreamChunk?: AnthropicStreamChunk;
|
|
9961
10420
|
/** Native Anthropic API proxy stream chunk. */
|
|
9962
10421
|
anthropicStreamChunk?: V1AnthropicStreamChunk;
|
|
10422
|
+
/** Fireworks chat completion chunk. */
|
|
10423
|
+
fireworksChatCompletionChunk?: V1ChatCompletionChunk;
|
|
9963
10424
|
}
|
|
9964
10425
|
interface ChatCompletionChunk {
|
|
9965
10426
|
/**
|
|
@@ -10027,7 +10488,7 @@ interface ChunkChoice {
|
|
|
10027
10488
|
/** The index of the choice in the list of choices. */
|
|
10028
10489
|
index?: number | null;
|
|
10029
10490
|
}
|
|
10030
|
-
interface
|
|
10491
|
+
interface OpenaiproxyV1ChatCompletionChunk {
|
|
10031
10492
|
/**
|
|
10032
10493
|
* A unique identifier for the chat completion. Each chunk has the same ID.
|
|
10033
10494
|
* @maxLength 100
|
|
@@ -10037,7 +10498,7 @@ interface V1ChatCompletionChunk {
|
|
|
10037
10498
|
* A list of chat completion choices. Can contain more than one elements if n is greater than 1.
|
|
10038
10499
|
* Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
|
|
10039
10500
|
*/
|
|
10040
|
-
choices?:
|
|
10501
|
+
choices?: V1ChatCompletionChunkChunkChoice[];
|
|
10041
10502
|
/**
|
|
10042
10503
|
* The Unix timestamp (in seconds) of when the chat completion was created.
|
|
10043
10504
|
* Each chunk has the same timestamp.
|
|
@@ -10064,7 +10525,7 @@ interface V1ChatCompletionChunk {
|
|
|
10064
10525
|
/** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
|
|
10065
10526
|
microcentsSpent?: string | null;
|
|
10066
10527
|
}
|
|
10067
|
-
interface
|
|
10528
|
+
interface ChatCompletionChunkChunkChoiceChunkDelta {
|
|
10068
10529
|
/**
|
|
10069
10530
|
* The contents of the chunk message.
|
|
10070
10531
|
* @maxLength 1000
|
|
@@ -10078,9 +10539,9 @@ interface ChunkChoiceChunkDelta {
|
|
|
10078
10539
|
*/
|
|
10079
10540
|
toolCalls?: V1ChatCompletionMessageToolCall[];
|
|
10080
10541
|
}
|
|
10081
|
-
interface
|
|
10542
|
+
interface V1ChatCompletionChunkChunkChoice {
|
|
10082
10543
|
/** A chat completion delta generated by streamed model responses */
|
|
10083
|
-
delta?:
|
|
10544
|
+
delta?: ChatCompletionChunkChunkChoiceChunkDelta;
|
|
10084
10545
|
/**
|
|
10085
10546
|
* The reason the model stopped generating tokens. This will be
|
|
10086
10547
|
* "stop" if the model hit a natural stop point or a provided stop sequence,
|
|
@@ -10365,6 +10826,72 @@ interface AnthropicStreamChunkMessageDelta {
|
|
|
10365
10826
|
/** Cost of the request so far, in microcents. */
|
|
10366
10827
|
microcentsSpent?: string | null;
|
|
10367
10828
|
}
|
|
10829
|
+
interface V1ChatCompletionChunk {
|
|
10830
|
+
/**
|
|
10831
|
+
* A unique identifier for the chat completion. Each chunk has the same ID.
|
|
10832
|
+
* @maxLength 100
|
|
10833
|
+
*/
|
|
10834
|
+
responseId?: string | null;
|
|
10835
|
+
/**
|
|
10836
|
+
* A list of chat completion choices. Can contain more than one elements if n is greater than 1.
|
|
10837
|
+
* Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
|
|
10838
|
+
*/
|
|
10839
|
+
choices?: ChatCompletionChunkChunkChoice[];
|
|
10840
|
+
/**
|
|
10841
|
+
* The Unix timestamp (in seconds) of when the chat completion was created.
|
|
10842
|
+
* Each chunk has the same timestamp.
|
|
10843
|
+
*/
|
|
10844
|
+
created?: number | null;
|
|
10845
|
+
/** Model that produced the completion. */
|
|
10846
|
+
modelId?: string;
|
|
10847
|
+
/**
|
|
10848
|
+
* This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
|
|
10849
|
+
* seed request parameter to understand when backend changes have been made that might impact determinism.
|
|
10850
|
+
* @maxLength 10000
|
|
10851
|
+
*/
|
|
10852
|
+
systemFingerprint?: string | null;
|
|
10853
|
+
/**
|
|
10854
|
+
* The object type, which is always chat.completion.chunk.
|
|
10855
|
+
* @maxLength 100
|
|
10856
|
+
*/
|
|
10857
|
+
object?: string | null;
|
|
10858
|
+
/**
|
|
10859
|
+
* An optional field that will only be present when you set stream_options: {"include_usage": true} in your request.
|
|
10860
|
+
* When present, it contains a null value except for the last chunk which contains the token usage statistics for the entire request.
|
|
10861
|
+
*/
|
|
10862
|
+
usage?: InvokeCustomOpenAiModelResponseTokenUsage;
|
|
10863
|
+
/** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
|
|
10864
|
+
microcentsSpent?: string | null;
|
|
10865
|
+
}
|
|
10866
|
+
interface ChunkChoiceChunkDelta {
|
|
10867
|
+
/**
|
|
10868
|
+
* The contents of the chunk message.
|
|
10869
|
+
* @maxLength 1000
|
|
10870
|
+
*/
|
|
10871
|
+
content?: string | null;
|
|
10872
|
+
/** The role of the author of this message. */
|
|
10873
|
+
role?: Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals;
|
|
10874
|
+
/**
|
|
10875
|
+
* Tool call requested by the model. Function arguments can be partial jsons and have to be assembled manually.
|
|
10876
|
+
* @maxSize 100
|
|
10877
|
+
*/
|
|
10878
|
+
toolCalls?: ChatCompletionMessageToolCall[];
|
|
10879
|
+
}
|
|
10880
|
+
interface ChatCompletionChunkChunkChoice {
|
|
10881
|
+
/** A chat completion delta generated by streamed model responses */
|
|
10882
|
+
delta?: ChunkChoiceChunkDelta;
|
|
10883
|
+
/**
|
|
10884
|
+
* The reason the model stopped generating tokens. This will be
|
|
10885
|
+
* "stop" if the model hit a natural stop point or a provided stop sequence,
|
|
10886
|
+
* "length" if the maximum number of tokens specified in the request was reached,
|
|
10887
|
+
* "content_filter" if content was omitted due to a flag from our content filters,
|
|
10888
|
+
* "tool_calls" if the model called a tool
|
|
10889
|
+
* @maxLength 100
|
|
10890
|
+
*/
|
|
10891
|
+
finishReason?: string | null;
|
|
10892
|
+
/** The index of the choice in the list of choices. */
|
|
10893
|
+
index?: number | null;
|
|
10894
|
+
}
|
|
10368
10895
|
interface GenerateTextByPromptObjectRequest {
|
|
10369
10896
|
/** Prompt object that describes the text generation request. */
|
|
10370
10897
|
prompt?: Prompt;
|
|
@@ -10930,7 +11457,7 @@ interface ImageModelResponse extends ImageModelResponseResponseOneOf {
|
|
|
10930
11457
|
/** Runware AI - Flux TextToImage response. */
|
|
10931
11458
|
runwareTextToImageResponse?: TextToImageResponse;
|
|
10932
11459
|
/** Google AI - Generate Image with Imagen Model response. */
|
|
10933
|
-
googleGenerateImageResponse?:
|
|
11460
|
+
googleGenerateImageResponse?: V1GenerateImageResponse;
|
|
10934
11461
|
/** ML generate image response. */
|
|
10935
11462
|
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
10936
11463
|
/** OpenAI image creation response. */
|
|
@@ -10959,7 +11486,7 @@ interface ImageModelResponseResponseOneOf {
|
|
|
10959
11486
|
/** Runware AI - Flux TextToImage response. */
|
|
10960
11487
|
runwareTextToImageResponse?: TextToImageResponse;
|
|
10961
11488
|
/** Google AI - Generate Image with Imagen Model response. */
|
|
10962
|
-
googleGenerateImageResponse?:
|
|
11489
|
+
googleGenerateImageResponse?: V1GenerateImageResponse;
|
|
10963
11490
|
/** ML generate image response. */
|
|
10964
11491
|
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
10965
11492
|
/** OpenAI image creation response. */
|
|
@@ -10981,6 +11508,8 @@ interface ImageGenerationRequestedEvent {
|
|
|
10981
11508
|
* @format GUID
|
|
10982
11509
|
*/
|
|
10983
11510
|
eventChainId?: string;
|
|
11511
|
+
/** Dynamic request configuration, including dynamic tools and messages. */
|
|
11512
|
+
dynamicRequestConfig?: DynamicRequestConfig;
|
|
10984
11513
|
}
|
|
10985
11514
|
interface ImageGenerationSucceededEvent {
|
|
10986
11515
|
/** ModelResponse object that describes the image generation result. */
|
|
@@ -12577,6 +13106,8 @@ interface PollImageGenerationResultRequest extends PollImageGenerationResultRequ
|
|
|
12577
13106
|
runwareGetTaskResultRequest?: GetTaskResultRequest;
|
|
12578
13107
|
/** OpenAI getVideoResult request */
|
|
12579
13108
|
openAiGetVideoResultRequest?: GetVideoResultRequest;
|
|
13109
|
+
/** Bytedance getContentTask request */
|
|
13110
|
+
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
12580
13111
|
/** Contains additional information for the request. */
|
|
12581
13112
|
userRequestInfo?: UserRequestInfo;
|
|
12582
13113
|
}
|
|
@@ -12590,6 +13121,8 @@ interface PollImageGenerationResultRequestRequestOneOf {
|
|
|
12590
13121
|
runwareGetTaskResultRequest?: GetTaskResultRequest;
|
|
12591
13122
|
/** OpenAI getVideoResult request */
|
|
12592
13123
|
openAiGetVideoResultRequest?: GetVideoResultRequest;
|
|
13124
|
+
/** Bytedance getContentTask request */
|
|
13125
|
+
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
12593
13126
|
}
|
|
12594
13127
|
interface V1GetResultRequest {
|
|
12595
13128
|
/**
|
|
@@ -12619,6 +13152,13 @@ interface GetVideoResultRequest {
|
|
|
12619
13152
|
*/
|
|
12620
13153
|
id?: string;
|
|
12621
13154
|
}
|
|
13155
|
+
interface GetContentTaskRequest {
|
|
13156
|
+
/**
|
|
13157
|
+
* The ID of the video generation task to query.
|
|
13158
|
+
* @maxLength 255
|
|
13159
|
+
*/
|
|
13160
|
+
taskId?: string;
|
|
13161
|
+
}
|
|
12622
13162
|
interface PollImageGenerationResultResponse extends PollImageGenerationResultResponseResponseOneOf {
|
|
12623
13163
|
/** replicate proxy getResult response */
|
|
12624
13164
|
replicateGetResultResponse?: V1GetResultResponse;
|
|
@@ -12628,6 +13168,8 @@ interface PollImageGenerationResultResponse extends PollImageGenerationResultRes
|
|
|
12628
13168
|
runwareGetTaskResultResponse?: GetTaskResultResponse;
|
|
12629
13169
|
/** OpenAI getVideoResult response */
|
|
12630
13170
|
openAiGetVideoResultResponse?: GetVideoResultResponse;
|
|
13171
|
+
/** Bytedance getContentTask response */
|
|
13172
|
+
bytedanceGetContentTaskResponse?: GetContentTaskResponse;
|
|
12631
13173
|
}
|
|
12632
13174
|
/** @oneof */
|
|
12633
13175
|
interface PollImageGenerationResultResponseResponseOneOf {
|
|
@@ -12639,6 +13181,8 @@ interface PollImageGenerationResultResponseResponseOneOf {
|
|
|
12639
13181
|
runwareGetTaskResultResponse?: GetTaskResultResponse;
|
|
12640
13182
|
/** OpenAI getVideoResult response */
|
|
12641
13183
|
openAiGetVideoResultResponse?: GetVideoResultResponse;
|
|
13184
|
+
/** Bytedance getContentTask response */
|
|
13185
|
+
bytedanceGetContentTaskResponse?: GetContentTaskResponse;
|
|
12642
13186
|
}
|
|
12643
13187
|
interface V1GetResultResponse {
|
|
12644
13188
|
/**
|
|
@@ -12701,6 +13245,9 @@ interface GetTaskResultResponseResponseOneOf {
|
|
|
12701
13245
|
interface GetVideoResultResponse {
|
|
12702
13246
|
videoJob?: VideoJob;
|
|
12703
13247
|
}
|
|
13248
|
+
interface GetContentTaskResponse {
|
|
13249
|
+
task?: CommonContentTaskResponse;
|
|
13250
|
+
}
|
|
12704
13251
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
12705
13252
|
createdEvent?: EntityCreatedEvent;
|
|
12706
13253
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -12919,4 +13466,4 @@ declare function getApplicationUsage(): __PublicMethodMetaInfo<'GET', {}, GetApp
|
|
|
12919
13466
|
declare function editImage(): __PublicMethodMetaInfo<'POST', {}, Wix_ai_gatewayV1EditImageRequest$1, Wix_ai_gatewayV1EditImageRequest, Wix_ai_gatewayV1EditImageResponse$1, Wix_ai_gatewayV1EditImageResponse>;
|
|
12920
13467
|
declare function pollImageGenerationResult(): __PublicMethodMetaInfo<'POST', {}, PollImageGenerationResultRequest$1, PollImageGenerationResultRequest, PollImageGenerationResultResponse$1, PollImageGenerationResultResponse>;
|
|
12921
13468
|
|
|
12922
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type Action as ActionOriginal, type AlignmentInfoInChunk as AlignmentInfoInChunkOriginal, type AnthropicClaudeMessage as AnthropicClaudeMessageOriginal, type AnthropicMessage as AnthropicMessageOriginal, AnthropicModel as AnthropicModelOriginal, type AnthropicModelWithLiterals as AnthropicModelWithLiteralsOriginal, type AnthropicStreamChunkContentOneOf as AnthropicStreamChunkContentOneOfOriginal, type AnthropicStreamChunkMessageDelta as AnthropicStreamChunkMessageDeltaOriginal, type AnthropicStreamChunk as AnthropicStreamChunkOriginal, type ApplicationBudgetInfo as ApplicationBudgetInfoOriginal, type AsyncGenerationConfig as AsyncGenerationConfigOriginal, type Background as BackgroundOriginal, type BashTool as BashToolOriginal, type Blob as BlobOriginal, type BuiltInTool as BuiltInToolOriginal, type CacheControl as CacheControlOriginal, CacheControlType as CacheControlTypeOriginal, type CacheControlTypeWithLiterals as CacheControlTypeWithLiteralsOriginal, type CandidateCitationMetadataCitation as CandidateCitationMetadataCitationOriginal, type CandidateCitationMetadata as CandidateCitationMetadataOriginal, type CandidateContent as CandidateContentOriginal, type CandidateContentPart as CandidateContentPartOriginal, type Candidate as CandidateOriginal, type CharLocationCitation as CharLocationCitationOriginal, ChatBisonModel as ChatBisonModelOriginal, type ChatBisonModelWithLiterals as ChatBisonModelWithLiteralsOriginal, type ChatBisonPredictRequest as ChatBisonPredictRequestOriginal, type ChatBisonPredictResponse as ChatBisonPredictResponseOriginal, type ChatBisonPrediction as ChatBisonPredictionOriginal, type ChatCompletionChunkChunkChoice as ChatCompletionChunkChunkChoiceOriginal, type ChatCompletionChunk as ChatCompletionChunkOriginal, type ChatCompletionMessageContentPartContentValueOneOf as ChatCompletionMessageContentPartContentValueOneOfOriginal, type ChatCompletionMessageContentPart as ChatCompletionMessageContentPartOriginal, type ChatCompletionMessageFunctionWithArgs as ChatCompletionMessageFunctionWithArgsOriginal, type ChatCompletionMessageImageUrlContent as ChatCompletionMessageImageUrlContentOriginal, ChatCompletionMessageMessageRole as ChatCompletionMessageMessageRoleOriginal, type ChatCompletionMessageMessageRoleWithLiterals as ChatCompletionMessageMessageRoleWithLiteralsOriginal, type ChatCompletionMessage as ChatCompletionMessageOriginal, type ChatCompletionMessageToolCall as ChatCompletionMessageToolCallOriginal, ChatCompletionModel as ChatCompletionModelOriginal, type ChatCompletionModelWithLiterals as ChatCompletionModelWithLiteralsOriginal, type ChatInstance as ChatInstanceOriginal, type ChatMessage as ChatMessageOriginal, type Choice as ChoiceOriginal, type ChunkChoiceChunkDelta as ChunkChoiceChunkDeltaOriginal, type ChunkChoice as ChunkChoiceOriginal, type ChunkDelta as ChunkDeltaOriginal, type CitationMetadata as CitationMetadataOriginal, type Citation as CitationOriginal, type CitationTypeOneOf as CitationTypeOneOfOriginal, type CitationsEnabled as CitationsEnabledOriginal, ClaudeModel as ClaudeModelOriginal, type ClaudeModelWithLiterals as ClaudeModelWithLiteralsOriginal, ClipGuidancePreset as ClipGuidancePresetOriginal, type ClipGuidancePresetWithLiterals as ClipGuidancePresetWithLiteralsOriginal, type CodeExecution as CodeExecutionOriginal, type CodeExecutionResult as CodeExecutionResultOriginal, type CodeExecutionTool as CodeExecutionToolOriginal, type CodeExecutionToolResultContentOneOf as CodeExecutionToolResultContentOneOfOriginal, type CodeExecutionToolResultError as CodeExecutionToolResultErrorOriginal, type CodeExecutionToolResult as CodeExecutionToolResultOriginal, type CompletionTokenDetails as CompletionTokenDetailsOriginal, type ComputerUse as ComputerUseOriginal, type ComputerUseTool as ComputerUseToolOriginal, type Container as ContainerOriginal, type ContainerUpload as ContainerUploadOriginal, type ContentBlockDeltaDeltaOneOf as ContentBlockDeltaDeltaOneOfOriginal, type ContentBlockDelta as ContentBlockDeltaOriginal, type ContentBlockLocationCitation as ContentBlockLocationCitationOriginal, type ContentBlock as ContentBlockOriginal, type ContentBlockTypeOneOf as ContentBlockTypeOneOfOriginal, type ContentData as ContentDataOriginal, type ContentGenerationFailedEvent as ContentGenerationFailedEventOriginal, type ContentGenerationRequestedEvent as ContentGenerationRequestedEventOriginal, type ContentGenerationSucceededEvent as ContentGenerationSucceededEventOriginal, type Content as ContentOriginal, type ContentPartContentValueOneOf as ContentPartContentValueOneOfOriginal, type ContentPart as ContentPartOriginal, ContentRole as ContentRoleOriginal, type ContentRoleWithLiterals as ContentRoleWithLiteralsOriginal, type ConverseContentBlockContentOneOf as ConverseContentBlockContentOneOfOriginal, type ConverseContentBlock as ConverseContentBlockOriginal, type ConverseInferenceConfig as ConverseInferenceConfigOriginal, type ConverseInputSchema as ConverseInputSchemaOriginal, type ConverseMessage as ConverseMessageOriginal, ConverseModel as ConverseModelOriginal, type ConverseModelWithLiterals as ConverseModelWithLiteralsOriginal, type ConversePerformanceConfig as ConversePerformanceConfigOriginal, type ConverseReasoningContent as ConverseReasoningContentOriginal, type ConverseTool as ConverseToolOriginal, type ConverseToolResultContentContentOneOf as ConverseToolResultContentContentOneOfOriginal, type ConverseToolResultContent as ConverseToolResultContentOriginal, type ConverseToolResult as ConverseToolResultOriginal, type ConverseToolUse as ConverseToolUseOriginal, type CreateChatCompletionRequestFunctionCallOneOf as CreateChatCompletionRequestFunctionCallOneOfOriginal, type CreateChatCompletionRequestFunctionSignature as CreateChatCompletionRequestFunctionSignatureOriginal, type CreateChatCompletionRequest as CreateChatCompletionRequestOriginal, type CreateChatCompletionRequestResponseFormat as CreateChatCompletionRequestResponseFormatOriginal, type CreateChatCompletionRequestTool as CreateChatCompletionRequestToolOriginal, type CreateChatCompletionResponseChoice as CreateChatCompletionResponseChoiceOriginal, type CreateChatCompletionResponseCompletionTokenDetails as CreateChatCompletionResponseCompletionTokenDetailsOriginal, type CreateChatCompletionResponse as CreateChatCompletionResponseOriginal, type CreateChatCompletionResponsePromptTokenDetails as CreateChatCompletionResponsePromptTokenDetailsOriginal, type CreateChatCompletionResponseTokenUsage as CreateChatCompletionResponseTokenUsageOriginal, type CreateEmbeddingsRequest as CreateEmbeddingsRequestOriginal, type CreateEmbeddingsResponseEmbeddingUsage as CreateEmbeddingsResponseEmbeddingUsageOriginal, type CreateEmbeddingsResponse as CreateEmbeddingsResponseOriginal, type CreateImageOpenAiRequest as CreateImageOpenAiRequestOriginal, type CreateImageOpenAiResponse as CreateImageOpenAiResponseOriginal, type CreateImageRequest as CreateImageRequestOriginal, type CreateImageResponse as CreateImageResponseOriginal, type CreateModerationRequest as CreateModerationRequestOriginal, type CreateModerationResponse as CreateModerationResponseOriginal, CreatePredictionModel as CreatePredictionModelOriginal, type CreatePredictionModelWithLiterals as CreatePredictionModelWithLiteralsOriginal, type CreatePredictionRequestInputOneOf as CreatePredictionRequestInputOneOfOriginal, type CreatePredictionRequest as CreatePredictionRequestOriginal, type CreatePredictionResponse as CreatePredictionResponseOriginal, type CreatePredictionResponseTokenUsage as CreatePredictionResponseTokenUsageOriginal, type CreateSpeechRequest as CreateSpeechRequestOriginal, type CreateSpeechResponse as CreateSpeechResponseOriginal, type CreateTranscriptionRequest as CreateTranscriptionRequestOriginal, CreateTranscriptionRequestResponseFormat as CreateTranscriptionRequestResponseFormatOriginal, type CreateTranscriptionRequestResponseFormatWithLiterals as CreateTranscriptionRequestResponseFormatWithLiteralsOriginal, type CreateTranscriptionResponse as CreateTranscriptionResponseOriginal, type CreateVideoRequest as CreateVideoRequestOriginal, type CreateVideoResponse as CreateVideoResponseOriginal, type CustomTool as CustomToolOriginal, type DatalabOcr as DatalabOcrOriginal, type DatalabOcrOutput as DatalabOcrOutputOriginal, type DocumentContent as DocumentContentOriginal, type DocumentSource as DocumentSourceOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DynamicRequestConfig as DynamicRequestConfigOriginal, DynamicRetrievalConfigMode as DynamicRetrievalConfigModeOriginal, type DynamicRetrievalConfigModeWithLiterals as DynamicRetrievalConfigModeWithLiteralsOriginal, type DynamicRetrievalConfig as DynamicRetrievalConfigOriginal, EditAction as EditActionOriginal, type EditActionWithLiterals as EditActionWithLiteralsOriginal, type EditImageInput as EditImageInputOriginal, EditImageModel as EditImageModelOriginal, type EditImageModelWithLiterals as EditImageModelWithLiteralsOriginal, type EditImageOpenAiRequest as EditImageOpenAiRequestOriginal, type EditImageOpenAiResponse as EditImageOpenAiResponseOriginal, type EditImageRequest as EditImageRequestOriginal, type EditImageResponse as EditImageResponseOriginal, EditImageWithPromptRequestModel as EditImageWithPromptRequestModelOriginal, type EditImageWithPromptRequestModelWithLiterals as EditImageWithPromptRequestModelWithLiteralsOriginal, type EditImageWithPromptRequest as EditImageWithPromptRequestOriginal, type EditImageWithPromptResponse as EditImageWithPromptResponseOriginal, ElevenLabsTextToSpeechModel as ElevenLabsTextToSpeechModelOriginal, type ElevenLabsTextToSpeechModelWithLiterals as ElevenLabsTextToSpeechModelWithLiteralsOriginal, EmbeddingEncodingFormat as EmbeddingEncodingFormatOriginal, type EmbeddingEncodingFormatWithLiterals as EmbeddingEncodingFormatWithLiteralsOriginal, type EmbeddingInfoEmbeddingResultOneOf as EmbeddingInfoEmbeddingResultOneOfOriginal, type EmbeddingInfo as EmbeddingInfoOriginal, type EmbeddingInstance as EmbeddingInstanceOriginal, EmbeddingModel as EmbeddingModelOriginal, type EmbeddingModelWithLiterals as EmbeddingModelWithLiteralsOriginal, type EmbeddingPrediction as EmbeddingPredictionOriginal, type EmbeddingUsage as EmbeddingUsageOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, EntityType as EntityTypeOriginal, type EntityTypeWithLiterals as EntityTypeWithLiteralsOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Environment as EnvironmentOriginal, type EnvironmentWithLiterals as EnvironmentWithLiteralsOriginal, type ErrorInfo as ErrorInfoOriginal, type Example as ExampleOriginal, type ExecutableCode as ExecutableCodeOriginal, type Expand as ExpandOriginal, type ExperimentalPromptConfig as ExperimentalPromptConfigOriginal, type Export as ExportOriginal, type ExtractFromImageMetrics as ExtractFromImageMetricsOriginal, ExtractFromImageModel as ExtractFromImageModelOriginal, type ExtractFromImageModelWithLiterals as ExtractFromImageModelWithLiteralsOriginal, type ExtractFromImageRequestInputOneOf as ExtractFromImageRequestInputOneOfOriginal, type ExtractFromImageRequest as ExtractFromImageRequestOriginal, type ExtractFromImageResponse as ExtractFromImageResponseOriginal, type ExtractFromImageResponseOutputOneOf as ExtractFromImageResponseOutputOneOfOriginal, type ExtractFromImageResponseTokenUsage as ExtractFromImageResponseTokenUsageOriginal, type ExtractFromImageUrls as ExtractFromImageUrlsOriginal, type FallbackPromptConfig as FallbackPromptConfigOriginal, type FallbackProperties as FallbackPropertiesOriginal, type FileContent as FileContentOriginal, type FileInput as FileInputOriginal, type FineTuningSpec as FineTuningSpecOriginal, FinishReason as FinishReasonOriginal, type FinishReasonWithLiterals as FinishReasonWithLiteralsOriginal, type Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOf as Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOfOriginal, type Fireworks_proxyV1ChatCompletionMessageContentPart as Fireworks_proxyV1ChatCompletionMessageContentPartOriginal, type Fireworks_proxyV1ChatCompletionMessageImageUrlContent as Fireworks_proxyV1ChatCompletionMessageImageUrlContentOriginal, Fireworks_proxyV1ChatCompletionMessageMessageRole as Fireworks_proxyV1ChatCompletionMessageMessageRoleOriginal, type Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals as Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type Fireworks_proxyV1ChatCompletionMessage as Fireworks_proxyV1ChatCompletionMessageOriginal, type FloatEmbedding as FloatEmbeddingOriginal, type FluxDevControlnet as FluxDevControlnetOriginal, type FluxPulid as FluxPulidOriginal, type FrameImage as FrameImageOriginal, type FunctionCall as FunctionCallOriginal, type FunctionCallingConfig as FunctionCallingConfigOriginal, type FunctionDeclaration as FunctionDeclarationOriginal, type FunctionResponseBlob as FunctionResponseBlobOriginal, type FunctionResponse as FunctionResponseOriginal, type FunctionResponsePartDataOneOf as FunctionResponsePartDataOneOfOriginal, type FunctionResponsePart as FunctionResponsePartOriginal, type FunctionSignature as FunctionSignatureOriginal, type FunctionWithArgs as FunctionWithArgsOriginal, type GatewayContentBlock as GatewayContentBlockOriginal, type GatewayContentBlockTypeOneOf as GatewayContentBlockTypeOneOfOriginal, type GatewayMessageDefinition as GatewayMessageDefinitionOriginal, GatewayMessageDefinitionRole as GatewayMessageDefinitionRoleOriginal, type GatewayMessageDefinitionRoleWithLiterals as GatewayMessageDefinitionRoleWithLiteralsOriginal, type GatewayToolDefinitionCustomTool as GatewayToolDefinitionCustomToolOriginal, type GatewayToolDefinition as GatewayToolDefinitionOriginal, type GatewayToolDefinitionToolOneOf as GatewayToolDefinitionToolOneOfOriginal, GenerateAnImageModel as GenerateAnImageModelOriginal, type GenerateAnImageModelWithLiterals as GenerateAnImageModelWithLiteralsOriginal, type GenerateAnImageRequest as GenerateAnImageRequestOriginal, type GenerateAnImageResponse as GenerateAnImageResponseOriginal, type GenerateAudioRequestAudioRequestOneOf as GenerateAudioRequestAudioRequestOneOfOriginal, type GenerateAudioRequest as GenerateAudioRequestOriginal, type GenerateAudioResponseAudioResponseOneOf as GenerateAudioResponseAudioResponseOneOfOriginal, type GenerateAudioResponse as GenerateAudioResponseOriginal, type GenerateContentByProjectRequest as GenerateContentByProjectRequestOriginal, type GenerateContentByProjectResponse as GenerateContentByProjectResponseOriginal, type GenerateContentByPromptObjectRequest as GenerateContentByPromptObjectRequestOriginal, type GenerateContentByPromptObjectResponse as GenerateContentByPromptObjectResponseOriginal, type GenerateContentByPromptRequest as GenerateContentByPromptRequestOriginal, type GenerateContentByPromptResponse as GenerateContentByPromptResponseOriginal, type GenerateContentModelResponse as GenerateContentModelResponseOriginal, type GenerateContentModelResponseResponseOneOf as GenerateContentModelResponseResponseOneOfOriginal, type GenerateContentRequest as GenerateContentRequestOriginal, type GenerateContentResponse as GenerateContentResponseOriginal, type GenerateCoreRequest as GenerateCoreRequestOriginal, GenerateCoreRequestStylePreset as GenerateCoreRequestStylePresetOriginal, type GenerateCoreRequestStylePresetWithLiterals as GenerateCoreRequestStylePresetWithLiteralsOriginal, type GenerateCoreResponse as GenerateCoreResponseOriginal, type GenerateEmbeddingsRequestEmbeddingRequestOneOf as GenerateEmbeddingsRequestEmbeddingRequestOneOfOriginal, type GenerateEmbeddingsRequest as GenerateEmbeddingsRequestOriginal, type GenerateEmbeddingsResponseEmbeddingResponseOneOf as GenerateEmbeddingsResponseEmbeddingResponseOneOfOriginal, type GenerateEmbeddingsResponse as GenerateEmbeddingsResponseOriginal, type GenerateImageByProjectRequest as GenerateImageByProjectRequestOriginal, type GenerateImageByProjectResponse as GenerateImageByProjectResponseOriginal, type GenerateImageByPromptObjectRequest as GenerateImageByPromptObjectRequestOriginal, type GenerateImageByPromptObjectResponse as GenerateImageByPromptObjectResponseOriginal, type GenerateImageByPromptRequest as GenerateImageByPromptRequestOriginal, type GenerateImageByPromptResponse as GenerateImageByPromptResponseOriginal, GenerateImageMlPlatformModel as GenerateImageMlPlatformModelOriginal, type GenerateImageMlPlatformModelWithLiterals as GenerateImageMlPlatformModelWithLiteralsOriginal, type GenerateImageMlPlatformRequestInputOneOf as GenerateImageMlPlatformRequestInputOneOfOriginal, type GenerateImageMlPlatformRequest as GenerateImageMlPlatformRequestOriginal, type GenerateImageMlPlatformResponse as GenerateImageMlPlatformResponseOriginal, type GenerateImageRequest as GenerateImageRequestOriginal, type GenerateImageResponse as GenerateImageResponseOriginal, type GenerateModerationRequestModerationRequestOneOf as GenerateModerationRequestModerationRequestOneOfOriginal, type GenerateModerationRequest as GenerateModerationRequestOriginal, type GenerateModerationResponseModerationResponseOneOf as GenerateModerationResponseModerationResponseOneOfOriginal, type GenerateModerationResponse as GenerateModerationResponseOriginal, type GenerateStableDiffusionRequest as GenerateStableDiffusionRequestOriginal, GenerateStableDiffusionRequestOutputFormat as GenerateStableDiffusionRequestOutputFormatOriginal, type GenerateStableDiffusionRequestOutputFormatWithLiterals as GenerateStableDiffusionRequestOutputFormatWithLiteralsOriginal, type GenerateStableDiffusionResponse as GenerateStableDiffusionResponseOriginal, type GenerateTextByProjectRequest as GenerateTextByProjectRequestOriginal, type GenerateTextByProjectResponse as GenerateTextByProjectResponseOriginal, type GenerateTextByPromptObjectRequest as GenerateTextByPromptObjectRequestOriginal, type GenerateTextByPromptObjectResponse as GenerateTextByPromptObjectResponseOriginal, type GenerateTextByPromptRequest as GenerateTextByPromptRequestOriginal, type GenerateTextByPromptResponse as GenerateTextByPromptResponseOriginal, type GenerateTranscriptionRequest as GenerateTranscriptionRequestOriginal, type GenerateTranscriptionRequestTranscriptionRequestOneOf as GenerateTranscriptionRequestTranscriptionRequestOneOfOriginal, type GenerateTranscriptionResponse as GenerateTranscriptionResponseOriginal, type GenerateTranscriptionResponseTranscriptionResponseOneOf as GenerateTranscriptionResponseTranscriptionResponseOneOfOriginal, type GenerateVideoInstance as GenerateVideoInstanceOriginal, type GenerateVideoParameters as GenerateVideoParametersOriginal, type GenerateVideoRequest as GenerateVideoRequestOriginal, type GenerateVideoResponse as GenerateVideoResponseOriginal, type GeneratedAudioChunkAudioChunkOneOf as GeneratedAudioChunkAudioChunkOneOfOriginal, type GeneratedAudioChunk as GeneratedAudioChunkOriginal, type GeneratedContent as GeneratedContentOriginal, type GeneratedTextChunkModelChunkOneOf as GeneratedTextChunkModelChunkOneOfOriginal, type GeneratedTextChunk as GeneratedTextChunkOriginal, type GeneratedVideo as GeneratedVideoOriginal, type GenerationConfig as GenerationConfigOriginal, GenerationMode as GenerationModeOriginal, type GenerationModeWithLiterals as GenerationModeWithLiteralsOriginal, type GenerationRequestedEvent as GenerationRequestedEventOriginal, type GenerationThinkingConfig as GenerationThinkingConfigOriginal, type GetApplicationUsageRequest as GetApplicationUsageRequestOriginal, type GetApplicationUsageResponse as GetApplicationUsageResponseOriginal, type GetEmbeddingRequest as GetEmbeddingRequestOriginal, type GetEmbeddingResponse as GetEmbeddingResponseOriginal, type GetProjectRequest as GetProjectRequestOriginal, type GetProjectResponse as GetProjectResponseOriginal, type GetPromptRequest as GetPromptRequestOriginal, type GetPromptResponse as GetPromptResponseOriginal, type GetResultRequest as GetResultRequestOriginal, type GetResultResponse as GetResultResponseOriginal, type GetStatusRequest as GetStatusRequestOriginal, type GetStatusResponse as GetStatusResponseOriginal, type GetTaskResultRequest as GetTaskResultRequestOriginal, type GetTaskResultResponse as GetTaskResultResponseOriginal, type GetTaskResultResponseResponseOneOf as GetTaskResultResponseResponseOneOfOriginal, type GetVideoResultRequest as GetVideoResultRequestOriginal, type GetVideoResultResponse as GetVideoResultResponseOriginal, type GoogleSearch as GoogleSearchOriginal, type GoogleSearchRetrieval as GoogleSearchRetrievalOriginal, type GoogleproxyV1AnthropicStreamChunkContentOneOf as GoogleproxyV1AnthropicStreamChunkContentOneOfOriginal, type GoogleproxyV1AnthropicStreamChunk as GoogleproxyV1AnthropicStreamChunkOriginal, type GoogleproxyV1CacheControl as GoogleproxyV1CacheControlOriginal, type GoogleproxyV1ChatCompletionMessage as GoogleproxyV1ChatCompletionMessageOriginal, type GoogleproxyV1ContentBlockDeltaDeltaOneOf as GoogleproxyV1ContentBlockDeltaDeltaOneOfOriginal, type GoogleproxyV1ContentBlockDelta as GoogleproxyV1ContentBlockDeltaOriginal, type GoogleproxyV1ContentBlock as GoogleproxyV1ContentBlockOriginal, type GoogleproxyV1ContentBlockTypeOneOf as GoogleproxyV1ContentBlockTypeOneOfOriginal, type GoogleproxyV1ImageUrl as GoogleproxyV1ImageUrlOriginal, type GoogleproxyV1InputSchema as GoogleproxyV1InputSchemaOriginal, type GoogleproxyV1McpServer as GoogleproxyV1McpServerOriginal, GoogleproxyV1McpServerType as GoogleproxyV1McpServerTypeOriginal, type GoogleproxyV1McpServerTypeWithLiterals as GoogleproxyV1McpServerTypeWithLiteralsOriginal, GoogleproxyV1Model as GoogleproxyV1ModelOriginal, type GoogleproxyV1ModelWithLiterals as GoogleproxyV1ModelWithLiteralsOriginal, type GoogleproxyV1RedactedThinking as GoogleproxyV1RedactedThinkingOriginal, GoogleproxyV1ResponseTypeType as GoogleproxyV1ResponseTypeTypeOriginal, type GoogleproxyV1ResponseTypeTypeWithLiterals as GoogleproxyV1ResponseTypeTypeWithLiteralsOriginal, type GoogleproxyV1Text as GoogleproxyV1TextOriginal, type GoogleproxyV1ThinkingConfig as GoogleproxyV1ThinkingConfigOriginal, type GoogleproxyV1Thinking as GoogleproxyV1ThinkingOriginal, type GoogleproxyV1ToolChoice as GoogleproxyV1ToolChoiceOriginal, GoogleproxyV1ToolChoiceType as GoogleproxyV1ToolChoiceTypeOriginal, type GoogleproxyV1ToolChoiceTypeWithLiterals as GoogleproxyV1ToolChoiceTypeWithLiteralsOriginal, type GoogleproxyV1Tool as GoogleproxyV1ToolOriginal, type GoogleproxyV1ToolResult as GoogleproxyV1ToolResultOriginal, type GoogleproxyV1ToolUse as GoogleproxyV1ToolUseOriginal, type GoogleproxyV1Usage as GoogleproxyV1UsageOriginal, type GroundingChunkChunkTypeOneOf as GroundingChunkChunkTypeOneOfOriginal, type GroundingChunk as GroundingChunkOriginal, type GroundingMetadata as GroundingMetadataOriginal, type GroundingSupport as GroundingSupportOriginal, type Guidance as GuidanceOriginal, HarmCategory as HarmCategoryOriginal, type HarmCategoryWithLiterals as HarmCategoryWithLiteralsOriginal, HarmProbability as HarmProbabilityOriginal, type HarmProbabilityWithLiterals as HarmProbabilityWithLiteralsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageConfig as ImageConfigOriginal, ImageCoreModel as ImageCoreModelOriginal, type ImageCoreModelWithLiterals as ImageCoreModelWithLiteralsOriginal, ImageEditingModel as ImageEditingModelOriginal, type ImageEditingModelWithLiterals as ImageEditingModelWithLiteralsOriginal, type ImageEditingRequest as ImageEditingRequestOriginal, type ImageEditingResponse as ImageEditingResponseOriginal, type ImageGenerationFailedEvent as ImageGenerationFailedEventOriginal, type ImageGenerationRequestedEvent as ImageGenerationRequestedEventOriginal, type ImageGenerationSucceededEvent as ImageGenerationSucceededEventOriginal, type ImageInput as ImageInputOriginal, ImageMediaTypeMediaType as ImageMediaTypeMediaTypeOriginal, type ImageMediaTypeMediaTypeWithLiterals as ImageMediaTypeMediaTypeWithLiteralsOriginal, ImageModel as ImageModelOriginal, type ImageModelResponse as ImageModelResponseOriginal, type ImageModelResponseResponseOneOf as ImageModelResponseResponseOneOfOriginal, type ImageModelWithLiterals as ImageModelWithLiteralsOriginal, type ImageObject as ImageObjectOriginal, type ImageOutputOptions as ImageOutputOptionsOriginal, ImageQuality as ImageQualityOriginal, type ImageQualityWithLiterals as ImageQualityWithLiteralsOriginal, ImageSize as ImageSizeOriginal, type ImageSizeWithLiterals as ImageSizeWithLiteralsOriginal, ImageStableDiffusionModel as ImageStableDiffusionModelOriginal, type ImageStableDiffusionModelWithLiterals as ImageStableDiffusionModelWithLiteralsOriginal, ImageStyle as ImageStyleOriginal, type ImageStyleWithLiterals as ImageStyleWithLiteralsOriginal, type ImageUrlContent as ImageUrlContentOriginal, type ImageUrlInput as ImageUrlInputOriginal, type ImageUrl as ImageUrlOriginal, type ImageUsage as ImageUsageOriginal, ImagenModel as ImagenModelOriginal, type ImagenModelWithLiterals as ImagenModelWithLiteralsOriginal, type IncompleteDetails as IncompleteDetailsOriginal, type InputSchema as InputSchemaOriginal, type Inputs as InputsOriginal, type Instance as InstanceOriginal, type InvokeAnthropicClaudeModelRequest as InvokeAnthropicClaudeModelRequestOriginal, type InvokeAnthropicClaudeModelRequestTool as InvokeAnthropicClaudeModelRequestToolOriginal, type InvokeAnthropicClaudeModelResponse as InvokeAnthropicClaudeModelResponseOriginal, type InvokeAnthropicModelRequest as InvokeAnthropicModelRequestOriginal, type InvokeAnthropicModelResponse as InvokeAnthropicModelResponseOriginal, type InvokeChatCompletionRequest as InvokeChatCompletionRequestOriginal, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf as InvokeChatCompletionRequestResponseFormatFormatDetailsOneOfOriginal, type InvokeChatCompletionRequestResponseFormat as InvokeChatCompletionRequestResponseFormatOriginal, type InvokeChatCompletionResponseChoice as InvokeChatCompletionResponseChoiceOriginal, type InvokeChatCompletionResponse as InvokeChatCompletionResponseOriginal, type InvokeChatCompletionResponseUsage as InvokeChatCompletionResponseUsageOriginal, type InvokeConverseRequest as InvokeConverseRequestOriginal, type InvokeConverseResponse as InvokeConverseResponseOriginal, type InvokeConverseResponseTokenUsage as InvokeConverseResponseTokenUsageOriginal, type InvokeCustomOpenAiModelRequestFunctionCallOneOf as InvokeCustomOpenAiModelRequestFunctionCallOneOfOriginal, type InvokeCustomOpenAiModelRequestFunctionSignature as InvokeCustomOpenAiModelRequestFunctionSignatureOriginal, type InvokeCustomOpenAiModelRequest as InvokeCustomOpenAiModelRequestOriginal, type InvokeCustomOpenAiModelRequestResponseFormat as InvokeCustomOpenAiModelRequestResponseFormatOriginal, type InvokeCustomOpenAiModelRequestTool as InvokeCustomOpenAiModelRequestToolOriginal, type InvokeCustomOpenAiModelResponseChoice as InvokeCustomOpenAiModelResponseChoiceOriginal, type InvokeCustomOpenAiModelResponseCompletionTokenDetails as InvokeCustomOpenAiModelResponseCompletionTokenDetailsOriginal, type InvokeCustomOpenAiModelResponse as InvokeCustomOpenAiModelResponseOriginal, type InvokeCustomOpenAiModelResponsePromptTokenDetails as InvokeCustomOpenAiModelResponsePromptTokenDetailsOriginal, type InvokeCustomOpenAiModelResponseTokenUsage as InvokeCustomOpenAiModelResponseTokenUsageOriginal, type InvokeLlamaModelRequest as InvokeLlamaModelRequestOriginal, type InvokeLlamaModelResponse as InvokeLlamaModelResponseOriginal, type InvokeMlPlatformLlamaModelRequest as InvokeMlPlatformLlamaModelRequestOriginal, type InvokeMlPlatformLlamaModelResponse as InvokeMlPlatformLlamaModelResponseOriginal, type InvokeMlPlatformOpenAIChatCompletionRawRequest as InvokeMlPlatformOpenAIChatCompletionRawRequestOriginal, type InvokeMlPlatformOpenAIChatCompletionRawResponse as InvokeMlPlatformOpenAIChatCompletionRawResponseOriginal, type JsonSchema as JsonSchemaOriginal, Language as LanguageOriginal, type LanguageWithLiterals as LanguageWithLiteralsOriginal, type Lighting as LightingOriginal, LlamaModel as LlamaModelOriginal, type LlamaModelWithLiterals as LlamaModelWithLiteralsOriginal, type LoraModelSelect as LoraModelSelectOriginal, type LucatacoFlorence2Large as LucatacoFlorence2LargeOriginal, type Margin as MarginOriginal, type McpServer as McpServerOriginal, type McpServerToolConfiguration as McpServerToolConfigurationOriginal, McpServerType as McpServerTypeOriginal, type McpServerTypeWithLiterals as McpServerTypeWithLiteralsOriginal, type McpToolUse as McpToolUseOriginal, type MediaContent as MediaContentOriginal, MediaResolutionLevel as MediaResolutionLevelOriginal, type MediaResolutionLevelWithLiterals as MediaResolutionLevelWithLiteralsOriginal, type MediaResolution as MediaResolutionOriginal, MediaType as MediaTypeOriginal, type MediaTypeWithLiterals as MediaTypeWithLiteralsOriginal, type MessageDelta as MessageDeltaOriginal, type MessageEnvelope as MessageEnvelopeOriginal, MessageRole as MessageRoleOriginal, MessageRoleRole as MessageRoleRoleOriginal, type MessageRoleRoleWithLiterals as MessageRoleRoleWithLiteralsOriginal, type MessageRoleWithLiterals as MessageRoleWithLiteralsOriginal, type Metadata as MetadataOriginal, type Metrics as MetricsOriginal, Modality as ModalityOriginal, type ModalityTokenCount as ModalityTokenCountOriginal, type ModalityWithLiterals as ModalityWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, Model as ModelOriginal, type ModelResponse as ModelResponseOriginal, type ModelResponseResponseOneOf as ModelResponseResponseOneOfOriginal, type ModelWithLiterals as ModelWithLiteralsOriginal, type ModerationResult as ModerationResultOriginal, type MultiModalInputContentValueOneOf as MultiModalInputContentValueOneOfOriginal, type MultiModalInput as MultiModalInputOriginal, OpenAiImageModel as OpenAiImageModelOriginal, type OpenAiImageModelWithLiterals as OpenAiImageModelWithLiteralsOriginal, type OpenAiImageTokenDetails as OpenAiImageTokenDetailsOriginal, type OpenAiResponsesRequest as OpenAiResponsesRequestOriginal, type OpenAiResponsesResponseIncompleteDetails as OpenAiResponsesResponseIncompleteDetailsOriginal, type OpenAiResponsesResponse as OpenAiResponsesResponseOriginal, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf as OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOfOriginal, type OpenaiproxyV1ChatCompletionMessageContentPart as OpenaiproxyV1ChatCompletionMessageContentPartOriginal, type OpenaiproxyV1ChatCompletionMessageImageUrlContent as OpenaiproxyV1ChatCompletionMessageImageUrlContentOriginal, OpenaiproxyV1ChatCompletionMessageMessageRole as OpenaiproxyV1ChatCompletionMessageMessageRoleOriginal, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals as OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type OpenaiproxyV1ChatCompletionMessage as OpenaiproxyV1ChatCompletionMessageOriginal, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf as OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOfOriginal, type OpenaiproxyV1CreateChatCompletionRequest as OpenaiproxyV1CreateChatCompletionRequestOriginal, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat as OpenaiproxyV1CreateChatCompletionRequestResponseFormatOriginal, type OpenaiproxyV1CreateChatCompletionResponseChoice as OpenaiproxyV1CreateChatCompletionResponseChoiceOriginal, type OpenaiproxyV1CreateChatCompletionResponse as OpenaiproxyV1CreateChatCompletionResponseOriginal, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage as OpenaiproxyV1CreateChatCompletionResponseTokenUsageOriginal, OpenaiproxyV1EmbeddingModel as OpenaiproxyV1EmbeddingModelOriginal, type OpenaiproxyV1EmbeddingModelWithLiterals as OpenaiproxyV1EmbeddingModelWithLiteralsOriginal, OpenaiproxyV1Model as OpenaiproxyV1ModelOriginal, type OpenaiproxyV1ModelWithLiterals as OpenaiproxyV1ModelWithLiteralsOriginal, OutageStatus as OutageStatusOriginal, type OutageStatusWithLiterals as OutageStatusWithLiteralsOriginal, Outcome as OutcomeOriginal, type OutcomeWithLiterals as OutcomeWithLiteralsOriginal, type OutpaintDirection as OutpaintDirectionOriginal, type OutputAnnotationAnnotationTypeOneOf as OutputAnnotationAnnotationTypeOneOfOriginal, type OutputAnnotation as OutputAnnotationOriginal, type OutputContent as OutputContentOriginal, OutputFormat as OutputFormatOriginal, type OutputFormatWithLiterals as OutputFormatWithLiteralsOriginal, type OutputOptions as OutputOptionsOriginal, type Output as OutputOriginal, type Padding as PaddingOriginal, type PageLocationCitation as PageLocationCitationOriginal, type Parameters as ParametersOriginal, type PerceptronIsaac01 as PerceptronIsaac01Original, type PerplexityImageDescriptor as PerplexityImageDescriptorOriginal, PerplexityMessageMessageRole as PerplexityMessageMessageRoleOriginal, type PerplexityMessageMessageRoleWithLiterals as PerplexityMessageMessageRoleWithLiteralsOriginal, type PerplexityMessage as PerplexityMessageOriginal, PerplexityModel as PerplexityModelOriginal, type PerplexityModelWithLiterals as PerplexityModelWithLiteralsOriginal, PersonGeneration as PersonGenerationOriginal, type PersonGenerationWithLiterals as PersonGenerationWithLiteralsOriginal, type PollImageGenerationResultRequest as PollImageGenerationResultRequestOriginal, type PollImageGenerationResultRequestRequestOneOf as PollImageGenerationResultRequestRequestOneOfOriginal, type PollImageGenerationResultResponse as PollImageGenerationResultResponseOriginal, type PollImageGenerationResultResponseResponseOneOf as PollImageGenerationResultResponseResponseOneOfOriginal, type PredictParameters as PredictParametersOriginal, type PredictionMetrics as PredictionMetricsOriginal, type Prediction as PredictionOriginal, type PredictionUrls as PredictionUrlsOriginal, type ProjectConfigChangedDomainEvent as ProjectConfigChangedDomainEventOriginal, type Project as ProjectOriginal, type PromptModelRequestOneOf as PromptModelRequestOneOfOriginal, type Prompt as PromptOriginal, type PromptTokenDetails as PromptTokenDetailsOriginal, type PronunciationDictionaryLocator as PronunciationDictionaryLocatorOriginal, type PrunaaiZImageTurbo as PrunaaiZImageTurboOriginal, type PublicationDate as PublicationDateOriginal, type PublishProjectRequest as PublishProjectRequestOriginal, type PublishProjectResponse as PublishProjectResponseOriginal, type PublishPromptRequest as PublishPromptRequestOriginal, type PublishPromptResponse as PublishPromptResponseOriginal, type QwenImageLayered as QwenImageLayeredOriginal, type ReasoningText as ReasoningTextOriginal, type Recraft_proxyV1EditImageRequest as Recraft_proxyV1EditImageRequestOriginal, type Recraft_proxyV1EditImageResponse as Recraft_proxyV1EditImageResponseOriginal, type RedactedThinking as RedactedThinkingOriginal, type RemoveBackgroundRequest as RemoveBackgroundRequestOriginal, type RemoveBackgroundResponse as RemoveBackgroundResponseOriginal, type RequestMetadata as RequestMetadataOriginal, type ResponseFormat as ResponseFormatOriginal, type ResponseMetadata as ResponseMetadataOriginal, ResponseType as ResponseTypeOriginal, ResponseTypeType as ResponseTypeTypeOriginal, type ResponseTypeTypeWithLiterals as ResponseTypeTypeWithLiteralsOriginal, type ResponseTypeWithLiterals as ResponseTypeWithLiteralsOriginal, type ResponsesCodeInterpreterContainerAuto as ResponsesCodeInterpreterContainerAutoOriginal, type ResponsesCodeInterpreterContainerContainerTypeOneOf as ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type ResponsesCodeInterpreterContainer as ResponsesCodeInterpreterContainerOriginal, type ResponsesCodeInterpreterImageOutput as ResponsesCodeInterpreterImageOutputOriginal, type ResponsesCodeInterpreterLogsOutput as ResponsesCodeInterpreterLogsOutputOriginal, type ResponsesCodeInterpreter as ResponsesCodeInterpreterOriginal, type ResponsesCodeInterpreterOutput as ResponsesCodeInterpreterOutputOriginal, type ResponsesCodeInterpreterOutputOutputTypeOneOf as ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type ResponsesCodeInterpreterToolCall as ResponsesCodeInterpreterToolCallOriginal, type ResponsesFunction as ResponsesFunctionOriginal, type ResponsesFunctionToolCall as ResponsesFunctionToolCallOriginal, type ResponsesFunctionToolCallOutput as ResponsesFunctionToolCallOutputOriginal, type ResponsesInputItemItemOneOf as ResponsesInputItemItemOneOfOriginal, type ResponsesInputItem as ResponsesInputItemOriginal, type ResponsesInputMessageContentContentValueOneOf as ResponsesInputMessageContentContentValueOneOfOriginal, type ResponsesInputMessageContentFileInput as ResponsesInputMessageContentFileInputOriginal, type ResponsesInputMessageContentImageInput as ResponsesInputMessageContentImageInputOriginal, type ResponsesInputMessageContent as ResponsesInputMessageContentOriginal, type ResponsesInputMessage as ResponsesInputMessageOriginal, ResponsesInputMessageResponsesMessageRole as ResponsesInputMessageResponsesMessageRoleOriginal, type ResponsesInputMessageResponsesMessageRoleWithLiterals as ResponsesInputMessageResponsesMessageRoleWithLiteralsOriginal, type ResponsesInputTokensDetails as ResponsesInputTokensDetailsOriginal, ResponsesMessageRole as ResponsesMessageRoleOriginal, type ResponsesMessageRoleWithLiterals as ResponsesMessageRoleWithLiteralsOriginal, ResponsesModel as ResponsesModelOriginal, type ResponsesModelWithLiterals as ResponsesModelWithLiteralsOriginal, type ResponsesOutputMessage as ResponsesOutputMessageOriginal, type ResponsesOutputMessageOutputContent as ResponsesOutputMessageOutputContentOriginal, type ResponsesOutput as ResponsesOutputOriginal, type ResponsesOutputOutputOneOf as ResponsesOutputOutputOneOfOriginal, type ResponsesOutputTokensDetails as ResponsesOutputTokensDetailsOriginal, type ResponsesReasoningContent as ResponsesReasoningContentOriginal, type ResponsesReasoning as ResponsesReasoningOriginal, type ResponsesReasoningOutput as ResponsesReasoningOutputOriginal, type ResponsesReasoningSummaryContent as ResponsesReasoningSummaryContentOriginal, type ResponsesTextFormatFormatOneOf as ResponsesTextFormatFormatOneOfOriginal, type ResponsesTextFormatJsonSchema as ResponsesTextFormatJsonSchemaOriginal, type ResponsesTextFormat as ResponsesTextFormatOriginal, type ResponsesTokenUsage as ResponsesTokenUsageOriginal, type ResponsesToolChoice as ResponsesToolChoiceOriginal, type ResponsesTool as ResponsesToolOriginal, type ResponsesToolToolTypeOneOf as ResponsesToolToolTypeOneOfOriginal, type ResponsesWebSearch as ResponsesWebSearchOriginal, type ResponsesWebSearchToolCallAction as ResponsesWebSearchToolCallActionOriginal, type ResponsesWebSearchToolCall as ResponsesWebSearchToolCallOriginal, type ResponsesWebSearchUserLocation as ResponsesWebSearchUserLocationOriginal, type RestoreInfo as RestoreInfoOriginal, type ResultObject as ResultObjectOriginal, type RetrievalMetadata as RetrievalMetadataOriginal, type RetrievedContext as RetrievedContextOriginal, type ReveEdit as ReveEditOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SafetyAttribute as SafetyAttributeOriginal, type SafetyAttributes as SafetyAttributesOriginal, type SafetyRating as SafetyRatingOriginal, type SafetySetting as SafetySettingOriginal, Sampler as SamplerOriginal, type SamplerWithLiterals as SamplerWithLiteralsOriginal, type SearchEntryPoint as SearchEntryPointOriginal, type SearchResultLocationCitation as SearchResultLocationCitationOriginal, type Segment as SegmentOriginal, type Segmentation as SegmentationOriginal, type ServerToolUse as ServerToolUseOriginal, type Shadow as ShadowOriginal, type SimpleContentBlock as SimpleContentBlockOriginal, type SimpleContentBlockTypeOneOf as SimpleContentBlockTypeOneOfOriginal, type SpeechChunk as SpeechChunkOriginal, SpeechModel as SpeechModelOriginal, type SpeechModelWithLiterals as SpeechModelWithLiteralsOriginal, type SpiGenerationConfig as SpiGenerationConfigOriginal, type Statistics as StatisticsOriginal, StylePreset as StylePresetOriginal, type StylePresetWithLiterals as StylePresetWithLiteralsOriginal, type SystemContentBlock as SystemContentBlockOriginal, type SystemInstruction as SystemInstructionOriginal, TaskInput as TaskInputOriginal, type TaskInputWithLiterals as TaskInputWithLiteralsOriginal, TaskType as TaskTypeOriginal, type TaskTypeWithLiterals as TaskTypeWithLiteralsOriginal, TextBisonModel as TextBisonModelOriginal, type TextBisonModelWithLiterals as TextBisonModelWithLiteralsOriginal, type TextBisonPredictRequest as TextBisonPredictRequestOriginal, type TextBisonPredictResponse as TextBisonPredictResponseOriginal, type TextBisonPrediction as TextBisonPredictionOriginal, type TextContent as TextContentOriginal, type TextEditorTool as TextEditorToolOriginal, type TextEmbeddingInstance as TextEmbeddingInstanceOriginal, type TextEmbeddingParameters as TextEmbeddingParametersOriginal, type TextGenerationFailedEvent as TextGenerationFailedEventOriginal, type TextGenerationSucceededEvent as TextGenerationSucceededEventOriginal, type TextInstance as TextInstanceOriginal, type Text as TextOriginal, type TextPrompt as TextPromptOriginal, type TextRemoval as TextRemovalOriginal, TextToImageRequestModel as TextToImageRequestModelOriginal, type TextToImageRequestModelWithLiterals as TextToImageRequestModelWithLiteralsOriginal, type TextToImageRequest as TextToImageRequestOriginal, TextToImageRequestStylePreset as TextToImageRequestStylePresetOriginal, type TextToImageRequestStylePresetWithLiterals as TextToImageRequestStylePresetWithLiteralsOriginal, type TextToImageResponse as TextToImageResponseOriginal, type TextToImageTaskResult as TextToImageTaskResultOriginal, type TextToSpeechChunk as TextToSpeechChunkOriginal, type TextToSpeechRequest as TextToSpeechRequestOriginal, type ThinkingConfig as ThinkingConfigOriginal, type Thinking as ThinkingOriginal, type ThinkingTextContent as ThinkingTextContentOriginal, Threshold as ThresholdOriginal, type ThresholdWithLiterals as ThresholdWithLiteralsOriginal, type TimestampGranularities as TimestampGranularitiesOriginal, TimestampGranularity as TimestampGranularityOriginal, type TimestampGranularityWithLiterals as TimestampGranularityWithLiteralsOriginal, type TokenCount as TokenCountOriginal, type TokenMetadata as TokenMetadataOriginal, type TokenUsage as TokenUsageOriginal, type ToolCall as ToolCallOriginal, type ToolChoice as ToolChoiceOriginal, ToolChoiceType as ToolChoiceTypeOriginal, type ToolChoiceTypeWithLiterals as ToolChoiceTypeWithLiteralsOriginal, type ToolConfig as ToolConfigOriginal, type ToolConfiguration as ToolConfigurationOriginal, type Tool as ToolOriginal, type ToolResultContentBlock as ToolResultContentBlockOriginal, type ToolResultContentBlockTypeOneOf as ToolResultContentBlockTypeOneOfOriginal, type ToolResultContent as ToolResultContentOriginal, type ToolResult as ToolResultOriginal, type ToolResultSearchResult as ToolResultSearchResultOriginal, type ToolSpecification as ToolSpecificationOriginal, type ToolUseContent as ToolUseContentOriginal, type ToolUse as ToolUseOriginal, TranscriptionModel as TranscriptionModelOriginal, type TranscriptionModelWithLiterals as TranscriptionModelWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UrlCitation as UrlCitationOriginal, type UsageCacheCreation as UsageCacheCreationOriginal, type UsageMetadata as UsageMetadataOriginal, type Usage as UsageOriginal, type UsageServerToolUse as UsageServerToolUseOriginal, type UserLocation as UserLocationOriginal, type UserPerApplicationBudgetInfo as UserPerApplicationBudgetInfoOriginal, type UserRequestInfo as UserRequestInfoOriginal, type V1AnthropicClaudeMessage as V1AnthropicClaudeMessageOriginal, type V1AnthropicStreamChunkContentOneOf as V1AnthropicStreamChunkContentOneOfOriginal, type V1AnthropicStreamChunkMessageDelta as V1AnthropicStreamChunkMessageDeltaOriginal, type V1AnthropicStreamChunk as V1AnthropicStreamChunkOriginal, type V1CacheControl as V1CacheControlOriginal, V1CacheControlType as V1CacheControlTypeOriginal, type V1CacheControlTypeWithLiterals as V1CacheControlTypeWithLiteralsOriginal, type V1ChatCompletionChunk as V1ChatCompletionChunkOriginal, type V1ChatCompletionMessageContentPartContentValueOneOf as V1ChatCompletionMessageContentPartContentValueOneOfOriginal, type V1ChatCompletionMessageContentPart as V1ChatCompletionMessageContentPartOriginal, type V1ChatCompletionMessageFunctionWithArgs as V1ChatCompletionMessageFunctionWithArgsOriginal, type V1ChatCompletionMessageImageUrlContent as V1ChatCompletionMessageImageUrlContentOriginal, V1ChatCompletionMessageMessageRole as V1ChatCompletionMessageMessageRoleOriginal, type V1ChatCompletionMessageMessageRoleWithLiterals as V1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type V1ChatCompletionMessage as V1ChatCompletionMessageOriginal, type V1ChatCompletionMessageToolCall as V1ChatCompletionMessageToolCallOriginal, type V1Citation as V1CitationOriginal, type V1CodeExecutionResult as V1CodeExecutionResultOriginal, type V1ContentBlockDeltaDeltaOneOf as V1ContentBlockDeltaDeltaOneOfOriginal, type V1ContentBlockDelta as V1ContentBlockDeltaOriginal, type V1ContentBlock as V1ContentBlockOriginal, type V1ContentBlockTypeOneOf as V1ContentBlockTypeOneOfOriginal, type V1ContentPart as V1ContentPartOriginal, type V1CreateChatCompletionRequest as V1CreateChatCompletionRequestOriginal, type V1CreateChatCompletionRequestResponseFormat as V1CreateChatCompletionRequestResponseFormatOriginal, type V1CreateChatCompletionRequestTool as V1CreateChatCompletionRequestToolOriginal, type V1CreateChatCompletionResponseChoice as V1CreateChatCompletionResponseChoiceOriginal, type V1CreateChatCompletionResponse as V1CreateChatCompletionResponseOriginal, type V1CreateChatCompletionResponseTokenUsage as V1CreateChatCompletionResponseTokenUsageOriginal, type V1CreateEmbeddingsRequest as V1CreateEmbeddingsRequestOriginal, type V1CreateEmbeddingsResponse as V1CreateEmbeddingsResponseOriginal, V1EditImageModel as V1EditImageModelOriginal, type V1EditImageModelWithLiterals as V1EditImageModelWithLiteralsOriginal, type V1EditImageRequest as V1EditImageRequestOriginal, type V1EditImageResponse as V1EditImageResponseOriginal, V1EmbeddingEncodingFormat as V1EmbeddingEncodingFormatOriginal, type V1EmbeddingEncodingFormatWithLiterals as V1EmbeddingEncodingFormatWithLiteralsOriginal, type V1EmbeddingInfoEmbeddingResultOneOf as V1EmbeddingInfoEmbeddingResultOneOfOriginal, type V1EmbeddingInfo as V1EmbeddingInfoOriginal, V1EmbeddingModel as V1EmbeddingModelOriginal, type V1EmbeddingModelWithLiterals as V1EmbeddingModelWithLiteralsOriginal, type V1FineTuningSpec as V1FineTuningSpecOriginal, type V1FloatEmbedding as V1FloatEmbeddingOriginal, type V1FluxPulid as V1FluxPulidOriginal, type V1GetResultRequest as V1GetResultRequestOriginal, type V1GetResultResponse as V1GetResultResponseOriginal, type V1ImageInput as V1ImageInputOriginal, V1ImageMediaTypeMediaType as V1ImageMediaTypeMediaTypeOriginal, type V1ImageMediaTypeMediaTypeWithLiterals as V1ImageMediaTypeMediaTypeWithLiteralsOriginal, V1ImageModel as V1ImageModelOriginal, type V1ImageModelWithLiterals as V1ImageModelWithLiteralsOriginal, type V1ImageObject as V1ImageObjectOriginal, type V1ImageUrl as V1ImageUrlOriginal, type V1InputSchema as V1InputSchemaOriginal, type V1InvokeAnthropicClaudeModelRequest as V1InvokeAnthropicClaudeModelRequestOriginal, type V1InvokeAnthropicClaudeModelResponse as V1InvokeAnthropicClaudeModelResponseOriginal, type V1McpServer as V1McpServerOriginal, type V1McpServerToolConfiguration as V1McpServerToolConfigurationOriginal, V1McpServerType as V1McpServerTypeOriginal, type V1McpServerTypeWithLiterals as V1McpServerTypeWithLiteralsOriginal, V1MessageRoleRole as V1MessageRoleRoleOriginal, type V1MessageRoleRoleWithLiterals as V1MessageRoleRoleWithLiteralsOriginal, V1Model as V1ModelOriginal, type V1ModelWithLiterals as V1ModelWithLiteralsOriginal, type V1OpenAiResponsesRequest as V1OpenAiResponsesRequestOriginal, type V1OpenAiResponsesResponse as V1OpenAiResponsesResponseOriginal, type V1OutputAnnotationAnnotationTypeOneOf as V1OutputAnnotationAnnotationTypeOneOfOriginal, type V1OutputAnnotation as V1OutputAnnotationOriginal, type V1RedactedThinking as V1RedactedThinkingOriginal, V1ResponseTypeType as V1ResponseTypeTypeOriginal, type V1ResponseTypeTypeWithLiterals as V1ResponseTypeTypeWithLiteralsOriginal, type V1ResponsesCodeInterpreterContainerAuto as V1ResponsesCodeInterpreterContainerAutoOriginal, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf as V1ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type V1ResponsesCodeInterpreterContainer as V1ResponsesCodeInterpreterContainerOriginal, type V1ResponsesCodeInterpreterImageOutput as V1ResponsesCodeInterpreterImageOutputOriginal, type V1ResponsesCodeInterpreterLogsOutput as V1ResponsesCodeInterpreterLogsOutputOriginal, type V1ResponsesCodeInterpreter as V1ResponsesCodeInterpreterOriginal, type V1ResponsesCodeInterpreterOutput as V1ResponsesCodeInterpreterOutputOriginal, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf as V1ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type V1ResponsesCodeInterpreterToolCall as V1ResponsesCodeInterpreterToolCallOriginal, type V1ResponsesFunction as V1ResponsesFunctionOriginal, type V1ResponsesFunctionToolCall as V1ResponsesFunctionToolCallOriginal, type V1ResponsesFunctionToolCallOutput as V1ResponsesFunctionToolCallOutputOriginal, type V1ResponsesInputItemItemOneOf as V1ResponsesInputItemItemOneOfOriginal, type V1ResponsesInputItem as V1ResponsesInputItemOriginal, type V1ResponsesInputMessageContentContentValueOneOf as V1ResponsesInputMessageContentContentValueOneOfOriginal, type V1ResponsesInputMessageContent as V1ResponsesInputMessageContentOriginal, type V1ResponsesInputMessage as V1ResponsesInputMessageOriginal, type V1ResponsesInputTokensDetails as V1ResponsesInputTokensDetailsOriginal, V1ResponsesModel as V1ResponsesModelOriginal, type V1ResponsesModelWithLiterals as V1ResponsesModelWithLiteralsOriginal, type V1ResponsesOutputMessage as V1ResponsesOutputMessageOriginal, type V1ResponsesOutput as V1ResponsesOutputOriginal, type V1ResponsesOutputOutputOneOf as V1ResponsesOutputOutputOneOfOriginal, type V1ResponsesOutputTokensDetails as V1ResponsesOutputTokensDetailsOriginal, type V1ResponsesReasoningContent as V1ResponsesReasoningContentOriginal, type V1ResponsesReasoning as V1ResponsesReasoningOriginal, type V1ResponsesReasoningOutput as V1ResponsesReasoningOutputOriginal, type V1ResponsesReasoningSummaryContent as V1ResponsesReasoningSummaryContentOriginal, type V1ResponsesTextFormatFormatOneOf as V1ResponsesTextFormatFormatOneOfOriginal, type V1ResponsesTextFormat as V1ResponsesTextFormatOriginal, type V1ResponsesTokenUsage as V1ResponsesTokenUsageOriginal, type V1ResponsesToolChoice as V1ResponsesToolChoiceOriginal, type V1ResponsesTool as V1ResponsesToolOriginal, type V1ResponsesToolToolTypeOneOf as V1ResponsesToolToolTypeOneOfOriginal, type V1ResponsesWebSearch as V1ResponsesWebSearchOriginal, type V1ResponsesWebSearchToolCall as V1ResponsesWebSearchToolCallOriginal, type V1Segment as V1SegmentOriginal, type V1SimpleContentBlock as V1SimpleContentBlockOriginal, type V1SimpleContentBlockTypeOneOf as V1SimpleContentBlockTypeOneOfOriginal, type V1Text as V1TextOriginal, type V1TextToImageRequest as V1TextToImageRequestOriginal, type V1TextToImageResponse as V1TextToImageResponseOriginal, type V1ThinkingConfig as V1ThinkingConfigOriginal, type V1Thinking as V1ThinkingOriginal, type V1TokenUsage as V1TokenUsageOriginal, type V1ToolChoice as V1ToolChoiceOriginal, V1ToolChoiceType as V1ToolChoiceTypeOriginal, type V1ToolChoiceTypeWithLiterals as V1ToolChoiceTypeWithLiteralsOriginal, type V1ToolConfig as V1ToolConfigOriginal, type V1ToolKindOneOf as V1ToolKindOneOfOriginal, type V1Tool as V1ToolOriginal, type V1ToolResult as V1ToolResultOriginal, type V1ToolUse as V1ToolUseOriginal, type V1UrlCitation as V1UrlCitationOriginal, type V1Usage as V1UsageOriginal, V1VideoModel as V1VideoModelOriginal, type V1VideoModelWithLiterals as V1VideoModelWithLiteralsOriginal, VideoGenModel as VideoGenModelOriginal, type VideoGenModelWithLiterals as VideoGenModelWithLiteralsOriginal, type VideoInferenceRequest as VideoInferenceRequestOriginal, type VideoInferenceResponse as VideoInferenceResponseOriginal, type VideoInferenceTaskResult as VideoInferenceTaskResultOriginal, type VideoInputs as VideoInputsOriginal, type VideoJob as VideoJobOriginal, VideoModel as VideoModelOriginal, type VideoModelWithLiterals as VideoModelWithLiteralsOriginal, type VoiceSettings as VoiceSettingsOriginal, type WebFetchTool as WebFetchToolOriginal, type WebFetchToolResultContentError as WebFetchToolResultContentErrorOriginal, type WebFetchToolResultContentOneOf as WebFetchToolResultContentOneOfOriginal, type WebFetchToolResultContentSuccess as WebFetchToolResultContentSuccessOriginal, type WebFetchToolResult as WebFetchToolResultOriginal, type Web as WebOriginal, type WebSearchResultList as WebSearchResultListOriginal, type WebSearchResultLocationCitation as WebSearchResultLocationCitationOriginal, type WebSearchResult as WebSearchResultOriginal, type WebSearchTool as WebSearchToolOriginal, type WebSearchToolResultContentOneOf as WebSearchToolResultContentOneOfOriginal, type WebSearchToolResultError as WebSearchToolResultErrorOriginal, type WebSearchToolResult as WebSearchToolResultOriginal, type WebSearchUserLocation as WebSearchUserLocationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type Wix_ai_gatewayV1EditImageRequest as Wix_ai_gatewayV1EditImageRequestOriginal, type Wix_ai_gatewayV1EditImageRequestRequestOneOf as Wix_ai_gatewayV1EditImageRequestRequestOneOfOriginal, type Wix_ai_gatewayV1EditImageResponse as Wix_ai_gatewayV1EditImageResponseOriginal, type Wix_ai_gatewayV1EditImageResponseResponseOneOf as Wix_ai_gatewayV1EditImageResponseResponseOneOfOriginal, type Word as WordOriginal, type __PublicMethodMetaInfo, editImage, generateAudio, generateAudioStreamed, generateContentByProject, generateContentByPrompt, generateContentByPromptObject, generateEmbedding, generateImageByProject, generateImageByPrompt, generateImageByPromptObject, generateModeration, generateTextByProject, generateTextByProjectStreamed, generateTextByPrompt, generateTextByPromptObject, generateTextByPromptObjectStreamed, generateTextByPromptStreamed, generateTranscription, getApplicationUsage, getProject, getPrompt, getStatus, pollImageGenerationResult, publishProject, publishPrompt };
|
|
13469
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type Action as ActionOriginal, type AlignmentInfoInChunk as AlignmentInfoInChunkOriginal, type AnthropicClaudeMessage as AnthropicClaudeMessageOriginal, type AnthropicMessage as AnthropicMessageOriginal, AnthropicModel as AnthropicModelOriginal, type AnthropicModelWithLiterals as AnthropicModelWithLiteralsOriginal, type AnthropicStreamChunkContentOneOf as AnthropicStreamChunkContentOneOfOriginal, type AnthropicStreamChunkMessageDelta as AnthropicStreamChunkMessageDeltaOriginal, type AnthropicStreamChunk as AnthropicStreamChunkOriginal, type AnthropicV1ImageUrl as AnthropicV1ImageUrlOriginal, type ApplicationBudgetInfo as ApplicationBudgetInfoOriginal, type AsyncGenerationConfig as AsyncGenerationConfigOriginal, type Background as BackgroundOriginal, type BashTool as BashToolOriginal, type Blob as BlobOriginal, type BuiltInTool as BuiltInToolOriginal, type CacheControl as CacheControlOriginal, CacheControlType as CacheControlTypeOriginal, type CacheControlTypeWithLiterals as CacheControlTypeWithLiteralsOriginal, type CandidateCitationMetadataCitation as CandidateCitationMetadataCitationOriginal, type CandidateCitationMetadata as CandidateCitationMetadataOriginal, type CandidateContent as CandidateContentOriginal, type CandidateContentPart as CandidateContentPartOriginal, type Candidate as CandidateOriginal, type CharLocationCitation as CharLocationCitationOriginal, ChatBisonModel as ChatBisonModelOriginal, type ChatBisonModelWithLiterals as ChatBisonModelWithLiteralsOriginal, type ChatBisonPredictRequest as ChatBisonPredictRequestOriginal, type ChatBisonPredictResponse as ChatBisonPredictResponseOriginal, type ChatBisonPrediction as ChatBisonPredictionOriginal, type ChatCompletionChunkChunkChoiceChunkDelta as ChatCompletionChunkChunkChoiceChunkDeltaOriginal, type ChatCompletionChunkChunkChoice as ChatCompletionChunkChunkChoiceOriginal, type ChatCompletionChunk as ChatCompletionChunkOriginal, type ChatCompletionMessageContentPartContentValueOneOf as ChatCompletionMessageContentPartContentValueOneOfOriginal, type ChatCompletionMessageContentPart as ChatCompletionMessageContentPartOriginal, type ChatCompletionMessageFunctionWithArgs as ChatCompletionMessageFunctionWithArgsOriginal, type ChatCompletionMessageImageUrlContent as ChatCompletionMessageImageUrlContentOriginal, ChatCompletionMessageMessageRole as ChatCompletionMessageMessageRoleOriginal, type ChatCompletionMessageMessageRoleWithLiterals as ChatCompletionMessageMessageRoleWithLiteralsOriginal, type ChatCompletionMessage as ChatCompletionMessageOriginal, type ChatCompletionMessageToolCall as ChatCompletionMessageToolCallOriginal, ChatCompletionModel as ChatCompletionModelOriginal, type ChatCompletionModelWithLiterals as ChatCompletionModelWithLiteralsOriginal, type ChatInstance as ChatInstanceOriginal, type ChatMessage as ChatMessageOriginal, type Choice as ChoiceOriginal, type ChunkChoiceChunkDelta as ChunkChoiceChunkDeltaOriginal, type ChunkChoice as ChunkChoiceOriginal, type ChunkDelta as ChunkDeltaOriginal, type CitationMetadata as CitationMetadataOriginal, type Citation as CitationOriginal, type CitationTypeOneOf as CitationTypeOneOfOriginal, type CitationsEnabled as CitationsEnabledOriginal, ClaudeModel as ClaudeModelOriginal, type ClaudeModelWithLiterals as ClaudeModelWithLiteralsOriginal, ClipGuidancePreset as ClipGuidancePresetOriginal, type ClipGuidancePresetWithLiterals as ClipGuidancePresetWithLiteralsOriginal, type CodeExecution as CodeExecutionOriginal, type CodeExecutionResult as CodeExecutionResultOriginal, type CodeExecutionTool as CodeExecutionToolOriginal, type CodeExecutionToolResultContentOneOf as CodeExecutionToolResultContentOneOfOriginal, type CodeExecutionToolResultError as CodeExecutionToolResultErrorOriginal, type CodeExecutionToolResult as CodeExecutionToolResultOriginal, type CommonContentTaskResponse as CommonContentTaskResponseOriginal, type CompletionTokenDetails as CompletionTokenDetailsOriginal, type ComputerUse as ComputerUseOriginal, type ComputerUseTool as ComputerUseToolOriginal, type Container as ContainerOriginal, type ContainerUpload as ContainerUploadOriginal, type ContentBlockDeltaDeltaOneOf as ContentBlockDeltaDeltaOneOfOriginal, type ContentBlockDelta as ContentBlockDeltaOriginal, type ContentBlockLocationCitation as ContentBlockLocationCitationOriginal, type ContentBlock as ContentBlockOriginal, type ContentBlockTypeOneOf as ContentBlockTypeOneOfOriginal, type ContentData as ContentDataOriginal, type ContentGenerationFailedEvent as ContentGenerationFailedEventOriginal, type ContentGenerationRequestedEvent as ContentGenerationRequestedEventOriginal, type ContentGenerationSucceededEvent as ContentGenerationSucceededEventOriginal, type ContentItem as ContentItemOriginal, type Content as ContentOriginal, type ContentPartContentValueOneOf as ContentPartContentValueOneOfOriginal, type ContentPart as ContentPartOriginal, ContentRole as ContentRoleOriginal, type ContentRoleWithLiterals as ContentRoleWithLiteralsOriginal, type ConverseContentBlockContentOneOf as ConverseContentBlockContentOneOfOriginal, type ConverseContentBlock as ConverseContentBlockOriginal, type ConverseInferenceConfig as ConverseInferenceConfigOriginal, type ConverseInputSchema as ConverseInputSchemaOriginal, type ConverseMessage as ConverseMessageOriginal, ConverseModel as ConverseModelOriginal, type ConverseModelWithLiterals as ConverseModelWithLiteralsOriginal, type ConversePerformanceConfig as ConversePerformanceConfigOriginal, type ConverseReasoningContent as ConverseReasoningContentOriginal, type ConverseTool as ConverseToolOriginal, type ConverseToolResultContentContentOneOf as ConverseToolResultContentContentOneOfOriginal, type ConverseToolResultContent as ConverseToolResultContentOriginal, type ConverseToolResult as ConverseToolResultOriginal, type ConverseToolUse as ConverseToolUseOriginal, type CreateChatCompletionRequestFunctionCallOneOf as CreateChatCompletionRequestFunctionCallOneOfOriginal, type CreateChatCompletionRequestFunctionSignature as CreateChatCompletionRequestFunctionSignatureOriginal, type CreateChatCompletionRequest as CreateChatCompletionRequestOriginal, type CreateChatCompletionRequestResponseFormat as CreateChatCompletionRequestResponseFormatOriginal, type CreateChatCompletionRequestTool as CreateChatCompletionRequestToolOriginal, type CreateChatCompletionResponseChoice as CreateChatCompletionResponseChoiceOriginal, type CreateChatCompletionResponseCompletionTokenDetails as CreateChatCompletionResponseCompletionTokenDetailsOriginal, type CreateChatCompletionResponse as CreateChatCompletionResponseOriginal, type CreateChatCompletionResponsePromptTokenDetails as CreateChatCompletionResponsePromptTokenDetailsOriginal, type CreateChatCompletionResponseTokenUsage as CreateChatCompletionResponseTokenUsageOriginal, type CreateContentTaskRequest as CreateContentTaskRequestOriginal, type CreateContentTaskResponse as CreateContentTaskResponseOriginal, type CreateEmbeddingsRequest as CreateEmbeddingsRequestOriginal, type CreateEmbeddingsResponseEmbeddingUsage as CreateEmbeddingsResponseEmbeddingUsageOriginal, type CreateEmbeddingsResponse as CreateEmbeddingsResponseOriginal, type CreateImageOpenAiRequest as CreateImageOpenAiRequestOriginal, type CreateImageOpenAiResponse as CreateImageOpenAiResponseOriginal, type CreateImageRequest as CreateImageRequestOriginal, type CreateImageResponse as CreateImageResponseOriginal, type CreateModerationRequest as CreateModerationRequestOriginal, type CreateModerationResponse as CreateModerationResponseOriginal, CreatePredictionModel as CreatePredictionModelOriginal, type CreatePredictionModelWithLiterals as CreatePredictionModelWithLiteralsOriginal, type CreatePredictionRequestInputOneOf as CreatePredictionRequestInputOneOfOriginal, type CreatePredictionRequest as CreatePredictionRequestOriginal, type CreatePredictionResponse as CreatePredictionResponseOriginal, type CreatePredictionResponseTokenUsage as CreatePredictionResponseTokenUsageOriginal, type CreateSpeechRequest as CreateSpeechRequestOriginal, type CreateSpeechResponse as CreateSpeechResponseOriginal, type CreateTranscriptionRequest as CreateTranscriptionRequestOriginal, CreateTranscriptionRequestResponseFormat as CreateTranscriptionRequestResponseFormatOriginal, type CreateTranscriptionRequestResponseFormatWithLiterals as CreateTranscriptionRequestResponseFormatWithLiteralsOriginal, type CreateTranscriptionResponse as CreateTranscriptionResponseOriginal, type CreateVideoRequest as CreateVideoRequestOriginal, type CreateVideoResponse as CreateVideoResponseOriginal, type CustomTool as CustomToolOriginal, type DatalabOcr as DatalabOcrOriginal, type DatalabOcrOutput as DatalabOcrOutputOriginal, type DocumentContent as DocumentContentOriginal, type DocumentSource as DocumentSourceOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftTask as DraftTaskOriginal, type DynamicRequestConfig as DynamicRequestConfigOriginal, DynamicRetrievalConfigMode as DynamicRetrievalConfigModeOriginal, type DynamicRetrievalConfigModeWithLiterals as DynamicRetrievalConfigModeWithLiteralsOriginal, type DynamicRetrievalConfig as DynamicRetrievalConfigOriginal, EditAction as EditActionOriginal, type EditActionWithLiterals as EditActionWithLiteralsOriginal, type EditImageInput as EditImageInputOriginal, EditImageModel as EditImageModelOriginal, type EditImageModelWithLiterals as EditImageModelWithLiteralsOriginal, type EditImageOpenAiRequest as EditImageOpenAiRequestOriginal, type EditImageOpenAiResponse as EditImageOpenAiResponseOriginal, type EditImageRequest as EditImageRequestOriginal, type EditImageResponse as EditImageResponseOriginal, EditImageWithPromptRequestModel as EditImageWithPromptRequestModelOriginal, type EditImageWithPromptRequestModelWithLiterals as EditImageWithPromptRequestModelWithLiteralsOriginal, type EditImageWithPromptRequest as EditImageWithPromptRequestOriginal, type EditImageWithPromptResponse as EditImageWithPromptResponseOriginal, ElevenLabsTextToSpeechModel as ElevenLabsTextToSpeechModelOriginal, type ElevenLabsTextToSpeechModelWithLiterals as ElevenLabsTextToSpeechModelWithLiteralsOriginal, EmbeddingEncodingFormat as EmbeddingEncodingFormatOriginal, type EmbeddingEncodingFormatWithLiterals as EmbeddingEncodingFormatWithLiteralsOriginal, type EmbeddingInfoEmbeddingResultOneOf as EmbeddingInfoEmbeddingResultOneOfOriginal, type EmbeddingInfo as EmbeddingInfoOriginal, type EmbeddingInstance as EmbeddingInstanceOriginal, EmbeddingModel as EmbeddingModelOriginal, type EmbeddingModelWithLiterals as EmbeddingModelWithLiteralsOriginal, type EmbeddingPrediction as EmbeddingPredictionOriginal, type EmbeddingUsage as EmbeddingUsageOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, EntityType as EntityTypeOriginal, type EntityTypeWithLiterals as EntityTypeWithLiteralsOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Environment as EnvironmentOriginal, type EnvironmentWithLiterals as EnvironmentWithLiteralsOriginal, type ErrorInfo as ErrorInfoOriginal, type Example as ExampleOriginal, type ExecutableCode as ExecutableCodeOriginal, type Expand as ExpandOriginal, type ExperimentalPromptConfig as ExperimentalPromptConfigOriginal, type Export as ExportOriginal, type ExtractFromImageMetrics as ExtractFromImageMetricsOriginal, ExtractFromImageModel as ExtractFromImageModelOriginal, type ExtractFromImageModelWithLiterals as ExtractFromImageModelWithLiteralsOriginal, type ExtractFromImageRequestInputOneOf as ExtractFromImageRequestInputOneOfOriginal, type ExtractFromImageRequest as ExtractFromImageRequestOriginal, type ExtractFromImageResponse as ExtractFromImageResponseOriginal, type ExtractFromImageResponseOutputOneOf as ExtractFromImageResponseOutputOneOfOriginal, type ExtractFromImageResponseTokenUsage as ExtractFromImageResponseTokenUsageOriginal, type ExtractFromImageUrls as ExtractFromImageUrlsOriginal, type FallbackPromptConfig as FallbackPromptConfigOriginal, type FallbackProperties as FallbackPropertiesOriginal, type FileContent as FileContentOriginal, type FileInput as FileInputOriginal, type FineTuningSpec as FineTuningSpecOriginal, FinishReason as FinishReasonOriginal, type FinishReasonWithLiterals as FinishReasonWithLiteralsOriginal, type Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOf as Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOfOriginal, type Fireworks_proxyV1ChatCompletionMessageContentPart as Fireworks_proxyV1ChatCompletionMessageContentPartOriginal, type Fireworks_proxyV1ChatCompletionMessageImageUrlContent as Fireworks_proxyV1ChatCompletionMessageImageUrlContentOriginal, Fireworks_proxyV1ChatCompletionMessageMessageRole as Fireworks_proxyV1ChatCompletionMessageMessageRoleOriginal, type Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals as Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type Fireworks_proxyV1ChatCompletionMessage as Fireworks_proxyV1ChatCompletionMessageOriginal, type FloatEmbedding as FloatEmbeddingOriginal, type FluxDevControlnet as FluxDevControlnetOriginal, type FluxPulid as FluxPulidOriginal, type FrameImage as FrameImageOriginal, type FunctionCall as FunctionCallOriginal, type FunctionCallingConfig as FunctionCallingConfigOriginal, type FunctionDeclaration as FunctionDeclarationOriginal, type FunctionResponseBlob as FunctionResponseBlobOriginal, type FunctionResponse as FunctionResponseOriginal, type FunctionResponsePartDataOneOf as FunctionResponsePartDataOneOfOriginal, type FunctionResponsePart as FunctionResponsePartOriginal, type FunctionSignature as FunctionSignatureOriginal, type FunctionWithArgs as FunctionWithArgsOriginal, type GatewayContentBlock as GatewayContentBlockOriginal, type GatewayContentBlockTypeOneOf as GatewayContentBlockTypeOneOfOriginal, type GatewayMessageDefinition as GatewayMessageDefinitionOriginal, GatewayMessageDefinitionRole as GatewayMessageDefinitionRoleOriginal, type GatewayMessageDefinitionRoleWithLiterals as GatewayMessageDefinitionRoleWithLiteralsOriginal, type GatewayToolDefinitionCustomTool as GatewayToolDefinitionCustomToolOriginal, type GatewayToolDefinition as GatewayToolDefinitionOriginal, type GatewayToolDefinitionToolOneOf as GatewayToolDefinitionToolOneOfOriginal, GenerateAnImageModel as GenerateAnImageModelOriginal, type GenerateAnImageModelWithLiterals as GenerateAnImageModelWithLiteralsOriginal, type GenerateAnImageRequest as GenerateAnImageRequestOriginal, type GenerateAnImageResponse as GenerateAnImageResponseOriginal, type GenerateAudioRequestAudioRequestOneOf as GenerateAudioRequestAudioRequestOneOfOriginal, type GenerateAudioRequest as GenerateAudioRequestOriginal, type GenerateAudioResponseAudioResponseOneOf as GenerateAudioResponseAudioResponseOneOfOriginal, type GenerateAudioResponse as GenerateAudioResponseOriginal, type GenerateContentByProjectRequest as GenerateContentByProjectRequestOriginal, type GenerateContentByProjectResponse as GenerateContentByProjectResponseOriginal, type GenerateContentByPromptObjectRequest as GenerateContentByPromptObjectRequestOriginal, type GenerateContentByPromptObjectResponse as GenerateContentByPromptObjectResponseOriginal, type GenerateContentByPromptRequest as GenerateContentByPromptRequestOriginal, type GenerateContentByPromptResponse as GenerateContentByPromptResponseOriginal, type GenerateContentModelResponse as GenerateContentModelResponseOriginal, type GenerateContentModelResponseResponseOneOf as GenerateContentModelResponseResponseOneOfOriginal, type GenerateContentRequest as GenerateContentRequestOriginal, type GenerateContentResponse as GenerateContentResponseOriginal, type GenerateCoreRequest as GenerateCoreRequestOriginal, GenerateCoreRequestStylePreset as GenerateCoreRequestStylePresetOriginal, type GenerateCoreRequestStylePresetWithLiterals as GenerateCoreRequestStylePresetWithLiteralsOriginal, type GenerateCoreResponse as GenerateCoreResponseOriginal, type GenerateEmbeddingsRequestEmbeddingRequestOneOf as GenerateEmbeddingsRequestEmbeddingRequestOneOfOriginal, type GenerateEmbeddingsRequest as GenerateEmbeddingsRequestOriginal, type GenerateEmbeddingsResponseEmbeddingResponseOneOf as GenerateEmbeddingsResponseEmbeddingResponseOneOfOriginal, type GenerateEmbeddingsResponse as GenerateEmbeddingsResponseOriginal, type GenerateImageByProjectRequest as GenerateImageByProjectRequestOriginal, type GenerateImageByProjectResponse as GenerateImageByProjectResponseOriginal, type GenerateImageByPromptObjectRequest as GenerateImageByPromptObjectRequestOriginal, type GenerateImageByPromptObjectResponse as GenerateImageByPromptObjectResponseOriginal, type GenerateImageByPromptRequest as GenerateImageByPromptRequestOriginal, type GenerateImageByPromptResponse as GenerateImageByPromptResponseOriginal, GenerateImageMlPlatformModel as GenerateImageMlPlatformModelOriginal, type GenerateImageMlPlatformModelWithLiterals as GenerateImageMlPlatformModelWithLiteralsOriginal, type GenerateImageMlPlatformRequestInputOneOf as GenerateImageMlPlatformRequestInputOneOfOriginal, type GenerateImageMlPlatformRequest as GenerateImageMlPlatformRequestOriginal, type GenerateImageMlPlatformResponse as GenerateImageMlPlatformResponseOriginal, type GenerateImageRequest as GenerateImageRequestOriginal, type GenerateImageResponse as GenerateImageResponseOriginal, type GenerateModerationRequestModerationRequestOneOf as GenerateModerationRequestModerationRequestOneOfOriginal, type GenerateModerationRequest as GenerateModerationRequestOriginal, type GenerateModerationResponseModerationResponseOneOf as GenerateModerationResponseModerationResponseOneOfOriginal, type GenerateModerationResponse as GenerateModerationResponseOriginal, type GenerateStableDiffusionRequest as GenerateStableDiffusionRequestOriginal, GenerateStableDiffusionRequestOutputFormat as GenerateStableDiffusionRequestOutputFormatOriginal, type GenerateStableDiffusionRequestOutputFormatWithLiterals as GenerateStableDiffusionRequestOutputFormatWithLiteralsOriginal, type GenerateStableDiffusionResponse as GenerateStableDiffusionResponseOriginal, type GenerateTextByProjectRequest as GenerateTextByProjectRequestOriginal, type GenerateTextByProjectResponse as GenerateTextByProjectResponseOriginal, type GenerateTextByPromptObjectRequest as GenerateTextByPromptObjectRequestOriginal, type GenerateTextByPromptObjectResponse as GenerateTextByPromptObjectResponseOriginal, type GenerateTextByPromptRequest as GenerateTextByPromptRequestOriginal, type GenerateTextByPromptResponse as GenerateTextByPromptResponseOriginal, type GenerateTranscriptionRequest as GenerateTranscriptionRequestOriginal, type GenerateTranscriptionRequestTranscriptionRequestOneOf as GenerateTranscriptionRequestTranscriptionRequestOneOfOriginal, type GenerateTranscriptionResponse as GenerateTranscriptionResponseOriginal, type GenerateTranscriptionResponseTranscriptionResponseOneOf as GenerateTranscriptionResponseTranscriptionResponseOneOfOriginal, type GenerateVideoInstance as GenerateVideoInstanceOriginal, type GenerateVideoParameters as GenerateVideoParametersOriginal, type GenerateVideoRequest as GenerateVideoRequestOriginal, type GenerateVideoResponse as GenerateVideoResponseOriginal, type GeneratedAudioChunkAudioChunkOneOf as GeneratedAudioChunkAudioChunkOneOfOriginal, type GeneratedAudioChunk as GeneratedAudioChunkOriginal, type GeneratedContent as GeneratedContentOriginal, type GeneratedTextChunkModelChunkOneOf as GeneratedTextChunkModelChunkOneOfOriginal, type GeneratedTextChunk as GeneratedTextChunkOriginal, type GeneratedVideo as GeneratedVideoOriginal, type GenerationConfig as GenerationConfigOriginal, GenerationMode as GenerationModeOriginal, type GenerationModeWithLiterals as GenerationModeWithLiteralsOriginal, type GenerationRequestedEvent as GenerationRequestedEventOriginal, type GenerationThinkingConfig as GenerationThinkingConfigOriginal, type GetApplicationUsageRequest as GetApplicationUsageRequestOriginal, type GetApplicationUsageResponse as GetApplicationUsageResponseOriginal, type GetContentTaskRequest as GetContentTaskRequestOriginal, type GetContentTaskResponse as GetContentTaskResponseOriginal, type GetEmbeddingRequest as GetEmbeddingRequestOriginal, type GetEmbeddingResponse as GetEmbeddingResponseOriginal, type GetProjectRequest as GetProjectRequestOriginal, type GetProjectResponse as GetProjectResponseOriginal, type GetPromptRequest as GetPromptRequestOriginal, type GetPromptResponse as GetPromptResponseOriginal, type GetResultRequest as GetResultRequestOriginal, type GetResultResponse as GetResultResponseOriginal, type GetStatusRequest as GetStatusRequestOriginal, type GetStatusResponse as GetStatusResponseOriginal, type GetTaskResultRequest as GetTaskResultRequestOriginal, type GetTaskResultResponse as GetTaskResultResponseOriginal, type GetTaskResultResponseResponseOneOf as GetTaskResultResponseResponseOneOfOriginal, type GetVideoResultRequest as GetVideoResultRequestOriginal, type GetVideoResultResponse as GetVideoResultResponseOriginal, type GoogleSearch as GoogleSearchOriginal, type GoogleSearchRetrieval as GoogleSearchRetrievalOriginal, type GoogleproxyV1AnthropicStreamChunkContentOneOf as GoogleproxyV1AnthropicStreamChunkContentOneOfOriginal, type GoogleproxyV1AnthropicStreamChunk as GoogleproxyV1AnthropicStreamChunkOriginal, type GoogleproxyV1CacheControl as GoogleproxyV1CacheControlOriginal, type GoogleproxyV1ChatCompletionMessage as GoogleproxyV1ChatCompletionMessageOriginal, type GoogleproxyV1ContentBlockDeltaDeltaOneOf as GoogleproxyV1ContentBlockDeltaDeltaOneOfOriginal, type GoogleproxyV1ContentBlockDelta as GoogleproxyV1ContentBlockDeltaOriginal, type GoogleproxyV1ContentBlock as GoogleproxyV1ContentBlockOriginal, type GoogleproxyV1ContentBlockTypeOneOf as GoogleproxyV1ContentBlockTypeOneOfOriginal, type GoogleproxyV1ImageUrl as GoogleproxyV1ImageUrlOriginal, type GoogleproxyV1InputSchema as GoogleproxyV1InputSchemaOriginal, type GoogleproxyV1McpServer as GoogleproxyV1McpServerOriginal, GoogleproxyV1McpServerType as GoogleproxyV1McpServerTypeOriginal, type GoogleproxyV1McpServerTypeWithLiterals as GoogleproxyV1McpServerTypeWithLiteralsOriginal, GoogleproxyV1Model as GoogleproxyV1ModelOriginal, type GoogleproxyV1ModelWithLiterals as GoogleproxyV1ModelWithLiteralsOriginal, type GoogleproxyV1RedactedThinking as GoogleproxyV1RedactedThinkingOriginal, GoogleproxyV1ResponseTypeType as GoogleproxyV1ResponseTypeTypeOriginal, type GoogleproxyV1ResponseTypeTypeWithLiterals as GoogleproxyV1ResponseTypeTypeWithLiteralsOriginal, type GoogleproxyV1Text as GoogleproxyV1TextOriginal, type GoogleproxyV1ThinkingConfig as GoogleproxyV1ThinkingConfigOriginal, type GoogleproxyV1Thinking as GoogleproxyV1ThinkingOriginal, type GoogleproxyV1ToolChoice as GoogleproxyV1ToolChoiceOriginal, GoogleproxyV1ToolChoiceType as GoogleproxyV1ToolChoiceTypeOriginal, type GoogleproxyV1ToolChoiceTypeWithLiterals as GoogleproxyV1ToolChoiceTypeWithLiteralsOriginal, type GoogleproxyV1Tool as GoogleproxyV1ToolOriginal, type GoogleproxyV1ToolResult as GoogleproxyV1ToolResultOriginal, type GoogleproxyV1ToolUse as GoogleproxyV1ToolUseOriginal, type GoogleproxyV1Usage as GoogleproxyV1UsageOriginal, type GroundingChunkChunkTypeOneOf as GroundingChunkChunkTypeOneOfOriginal, type GroundingChunk as GroundingChunkOriginal, type GroundingMetadata as GroundingMetadataOriginal, type GroundingSupport as GroundingSupportOriginal, type Guidance as GuidanceOriginal, HarmCategory as HarmCategoryOriginal, type HarmCategoryWithLiterals as HarmCategoryWithLiteralsOriginal, HarmProbability as HarmProbabilityOriginal, type HarmProbabilityWithLiterals as HarmProbabilityWithLiteralsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageConfig as ImageConfigOriginal, ImageCoreModel as ImageCoreModelOriginal, type ImageCoreModelWithLiterals as ImageCoreModelWithLiteralsOriginal, type ImageData as ImageDataOriginal, ImageEditingModel as ImageEditingModelOriginal, type ImageEditingModelWithLiterals as ImageEditingModelWithLiteralsOriginal, type ImageEditingRequest as ImageEditingRequestOriginal, type ImageEditingResponse as ImageEditingResponseOriginal, type ImageError as ImageErrorOriginal, type ImageGenerationFailedEvent as ImageGenerationFailedEventOriginal, type ImageGenerationRequestedEvent as ImageGenerationRequestedEventOriginal, type ImageGenerationSucceededEvent as ImageGenerationSucceededEventOriginal, type ImageInput as ImageInputOriginal, ImageMediaTypeMediaType as ImageMediaTypeMediaTypeOriginal, type ImageMediaTypeMediaTypeWithLiterals as ImageMediaTypeMediaTypeWithLiteralsOriginal, ImageModel as ImageModelOriginal, type ImageModelResponse as ImageModelResponseOriginal, type ImageModelResponseResponseOneOf as ImageModelResponseResponseOneOfOriginal, type ImageModelWithLiterals as ImageModelWithLiteralsOriginal, type ImageObject as ImageObjectOriginal, type ImageOutputOptions as ImageOutputOptionsOriginal, ImageQuality as ImageQualityOriginal, type ImageQualityWithLiterals as ImageQualityWithLiteralsOriginal, ImageSize as ImageSizeOriginal, type ImageSizeWithLiterals as ImageSizeWithLiteralsOriginal, ImageStableDiffusionModel as ImageStableDiffusionModelOriginal, type ImageStableDiffusionModelWithLiterals as ImageStableDiffusionModelWithLiteralsOriginal, ImageStyle as ImageStyleOriginal, type ImageStyleWithLiterals as ImageStyleWithLiteralsOriginal, type ImageUrlContent as ImageUrlContentOriginal, type ImageUrlInput as ImageUrlInputOriginal, type ImageUrl as ImageUrlOriginal, type ImageUsage as ImageUsageOriginal, ImagenModel as ImagenModelOriginal, type ImagenModelWithLiterals as ImagenModelWithLiteralsOriginal, type IncompleteDetails as IncompleteDetailsOriginal, type InputSchema as InputSchemaOriginal, type Inputs as InputsOriginal, type Instance as InstanceOriginal, type InvokeAnthropicClaudeModelRequest as InvokeAnthropicClaudeModelRequestOriginal, type InvokeAnthropicClaudeModelRequestTool as InvokeAnthropicClaudeModelRequestToolOriginal, type InvokeAnthropicClaudeModelResponse as InvokeAnthropicClaudeModelResponseOriginal, type InvokeAnthropicModelRequest as InvokeAnthropicModelRequestOriginal, type InvokeAnthropicModelResponse as InvokeAnthropicModelResponseOriginal, type InvokeChatCompletionRequest as InvokeChatCompletionRequestOriginal, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf as InvokeChatCompletionRequestResponseFormatFormatDetailsOneOfOriginal, type InvokeChatCompletionRequestResponseFormat as InvokeChatCompletionRequestResponseFormatOriginal, type InvokeChatCompletionResponseChoice as InvokeChatCompletionResponseChoiceOriginal, type InvokeChatCompletionResponse as InvokeChatCompletionResponseOriginal, type InvokeChatCompletionResponseUsage as InvokeChatCompletionResponseUsageOriginal, type InvokeConverseRequest as InvokeConverseRequestOriginal, type InvokeConverseResponse as InvokeConverseResponseOriginal, type InvokeConverseResponseTokenUsage as InvokeConverseResponseTokenUsageOriginal, type InvokeCustomOpenAiModelRequestFunctionCallOneOf as InvokeCustomOpenAiModelRequestFunctionCallOneOfOriginal, type InvokeCustomOpenAiModelRequestFunctionSignature as InvokeCustomOpenAiModelRequestFunctionSignatureOriginal, type InvokeCustomOpenAiModelRequest as InvokeCustomOpenAiModelRequestOriginal, type InvokeCustomOpenAiModelRequestResponseFormat as InvokeCustomOpenAiModelRequestResponseFormatOriginal, type InvokeCustomOpenAiModelRequestTool as InvokeCustomOpenAiModelRequestToolOriginal, type InvokeCustomOpenAiModelResponseChoice as InvokeCustomOpenAiModelResponseChoiceOriginal, type InvokeCustomOpenAiModelResponseCompletionTokenDetails as InvokeCustomOpenAiModelResponseCompletionTokenDetailsOriginal, type InvokeCustomOpenAiModelResponse as InvokeCustomOpenAiModelResponseOriginal, type InvokeCustomOpenAiModelResponsePromptTokenDetails as InvokeCustomOpenAiModelResponsePromptTokenDetailsOriginal, type InvokeCustomOpenAiModelResponseTokenUsage as InvokeCustomOpenAiModelResponseTokenUsageOriginal, type InvokeLlamaModelRequest as InvokeLlamaModelRequestOriginal, type InvokeLlamaModelResponse as InvokeLlamaModelResponseOriginal, type InvokeMlPlatformLlamaModelRequest as InvokeMlPlatformLlamaModelRequestOriginal, type InvokeMlPlatformLlamaModelResponse as InvokeMlPlatformLlamaModelResponseOriginal, type InvokeMlPlatformOpenAIChatCompletionRawRequest as InvokeMlPlatformOpenAIChatCompletionRawRequestOriginal, type InvokeMlPlatformOpenAIChatCompletionRawResponse as InvokeMlPlatformOpenAIChatCompletionRawResponseOriginal, type JsonSchema as JsonSchemaOriginal, Language as LanguageOriginal, type LanguageWithLiterals as LanguageWithLiteralsOriginal, type Lighting as LightingOriginal, LlamaModel as LlamaModelOriginal, type LlamaModelWithLiterals as LlamaModelWithLiteralsOriginal, type LoraModelSelect as LoraModelSelectOriginal, type LucatacoFlorence2Large as LucatacoFlorence2LargeOriginal, type Margin as MarginOriginal, type McpServer as McpServerOriginal, type McpServerToolConfiguration as McpServerToolConfigurationOriginal, McpServerType as McpServerTypeOriginal, type McpServerTypeWithLiterals as McpServerTypeWithLiteralsOriginal, type McpToolUse as McpToolUseOriginal, type MediaContent as MediaContentOriginal, MediaResolutionLevel as MediaResolutionLevelOriginal, type MediaResolutionLevelWithLiterals as MediaResolutionLevelWithLiteralsOriginal, type MediaResolution as MediaResolutionOriginal, MediaType as MediaTypeOriginal, type MediaTypeWithLiterals as MediaTypeWithLiteralsOriginal, type MessageDelta as MessageDeltaOriginal, type MessageEnvelope as MessageEnvelopeOriginal, MessageRole as MessageRoleOriginal, MessageRoleRole as MessageRoleRoleOriginal, type MessageRoleRoleWithLiterals as MessageRoleRoleWithLiteralsOriginal, type MessageRoleWithLiterals as MessageRoleWithLiteralsOriginal, type Metadata as MetadataOriginal, type Metrics as MetricsOriginal, Modality as ModalityOriginal, type ModalityTokenCount as ModalityTokenCountOriginal, type ModalityWithLiterals as ModalityWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, Model as ModelOriginal, type ModelResponse as ModelResponseOriginal, type ModelResponseResponseOneOf as ModelResponseResponseOneOfOriginal, type ModelWithLiterals as ModelWithLiteralsOriginal, type ModerationResult as ModerationResultOriginal, type MultiModalInputContentValueOneOf as MultiModalInputContentValueOneOfOriginal, type MultiModalInput as MultiModalInputOriginal, OpenAiImageModel as OpenAiImageModelOriginal, type OpenAiImageModelWithLiterals as OpenAiImageModelWithLiteralsOriginal, type OpenAiImageTokenDetails as OpenAiImageTokenDetailsOriginal, type OpenAiResponsesRequest as OpenAiResponsesRequestOriginal, type OpenAiResponsesResponseIncompleteDetails as OpenAiResponsesResponseIncompleteDetailsOriginal, type OpenAiResponsesResponse as OpenAiResponsesResponseOriginal, type OpenaiproxyV1ChatCompletionChunk as OpenaiproxyV1ChatCompletionChunkOriginal, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf as OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOfOriginal, type OpenaiproxyV1ChatCompletionMessageContentPart as OpenaiproxyV1ChatCompletionMessageContentPartOriginal, type OpenaiproxyV1ChatCompletionMessageImageUrlContent as OpenaiproxyV1ChatCompletionMessageImageUrlContentOriginal, OpenaiproxyV1ChatCompletionMessageMessageRole as OpenaiproxyV1ChatCompletionMessageMessageRoleOriginal, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals as OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type OpenaiproxyV1ChatCompletionMessage as OpenaiproxyV1ChatCompletionMessageOriginal, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf as OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOfOriginal, type OpenaiproxyV1CreateChatCompletionRequest as OpenaiproxyV1CreateChatCompletionRequestOriginal, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat as OpenaiproxyV1CreateChatCompletionRequestResponseFormatOriginal, type OpenaiproxyV1CreateChatCompletionResponseChoice as OpenaiproxyV1CreateChatCompletionResponseChoiceOriginal, type OpenaiproxyV1CreateChatCompletionResponse as OpenaiproxyV1CreateChatCompletionResponseOriginal, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage as OpenaiproxyV1CreateChatCompletionResponseTokenUsageOriginal, OpenaiproxyV1EmbeddingModel as OpenaiproxyV1EmbeddingModelOriginal, type OpenaiproxyV1EmbeddingModelWithLiterals as OpenaiproxyV1EmbeddingModelWithLiteralsOriginal, OpenaiproxyV1Model as OpenaiproxyV1ModelOriginal, type OpenaiproxyV1ModelWithLiterals as OpenaiproxyV1ModelWithLiteralsOriginal, type OptimizePromptOptions as OptimizePromptOptionsOriginal, OutageStatus as OutageStatusOriginal, type OutageStatusWithLiterals as OutageStatusWithLiteralsOriginal, Outcome as OutcomeOriginal, type OutcomeWithLiterals as OutcomeWithLiteralsOriginal, type OutpaintDirection as OutpaintDirectionOriginal, type OutputAnnotationAnnotationTypeOneOf as OutputAnnotationAnnotationTypeOneOfOriginal, type OutputAnnotation as OutputAnnotationOriginal, type OutputContent as OutputContentOriginal, OutputFormat as OutputFormatOriginal, type OutputFormatWithLiterals as OutputFormatWithLiteralsOriginal, type OutputOptions as OutputOptionsOriginal, type Output as OutputOriginal, type Padding as PaddingOriginal, type PageLocationCitation as PageLocationCitationOriginal, type Parameters as ParametersOriginal, type PerceptronIsaac01 as PerceptronIsaac01Original, type PerplexityImageDescriptor as PerplexityImageDescriptorOriginal, PerplexityMessageMessageRole as PerplexityMessageMessageRoleOriginal, type PerplexityMessageMessageRoleWithLiterals as PerplexityMessageMessageRoleWithLiteralsOriginal, type PerplexityMessage as PerplexityMessageOriginal, PerplexityModel as PerplexityModelOriginal, type PerplexityModelWithLiterals as PerplexityModelWithLiteralsOriginal, PersonGeneration as PersonGenerationOriginal, type PersonGenerationWithLiterals as PersonGenerationWithLiteralsOriginal, type PollImageGenerationResultRequest as PollImageGenerationResultRequestOriginal, type PollImageGenerationResultRequestRequestOneOf as PollImageGenerationResultRequestRequestOneOfOriginal, type PollImageGenerationResultResponse as PollImageGenerationResultResponseOriginal, type PollImageGenerationResultResponseResponseOneOf as PollImageGenerationResultResponseResponseOneOfOriginal, type PredictParameters as PredictParametersOriginal, type PredictionMetrics as PredictionMetricsOriginal, type Prediction as PredictionOriginal, type PredictionUrls as PredictionUrlsOriginal, type ProjectConfigChangedDomainEvent as ProjectConfigChangedDomainEventOriginal, type Project as ProjectOriginal, type PromptModelRequestOneOf as PromptModelRequestOneOfOriginal, type Prompt as PromptOriginal, type PromptTokenDetails as PromptTokenDetailsOriginal, type PronunciationDictionaryLocator as PronunciationDictionaryLocatorOriginal, type PrunaaiZImageTurbo as PrunaaiZImageTurboOriginal, type PublicationDate as PublicationDateOriginal, type PublishProjectRequest as PublishProjectRequestOriginal, type PublishProjectResponse as PublishProjectResponseOriginal, type PublishPromptRequest as PublishPromptRequestOriginal, type PublishPromptResponse as PublishPromptResponseOriginal, type QwenImageLayered as QwenImageLayeredOriginal, type ReasoningText as ReasoningTextOriginal, type Recraft_proxyV1EditImageRequest as Recraft_proxyV1EditImageRequestOriginal, type Recraft_proxyV1EditImageResponse as Recraft_proxyV1EditImageResponseOriginal, type RedactedThinking as RedactedThinkingOriginal, type RemoveBackgroundRequest as RemoveBackgroundRequestOriginal, type RemoveBackgroundResponse as RemoveBackgroundResponseOriginal, type RequestMetadata as RequestMetadataOriginal, type ResponseFormat as ResponseFormatOriginal, type ResponseMetadata as ResponseMetadataOriginal, ResponseType as ResponseTypeOriginal, ResponseTypeType as ResponseTypeTypeOriginal, type ResponseTypeTypeWithLiterals as ResponseTypeTypeWithLiteralsOriginal, type ResponseTypeWithLiterals as ResponseTypeWithLiteralsOriginal, type ResponsesCodeInterpreterContainerAuto as ResponsesCodeInterpreterContainerAutoOriginal, type ResponsesCodeInterpreterContainerContainerTypeOneOf as ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type ResponsesCodeInterpreterContainer as ResponsesCodeInterpreterContainerOriginal, type ResponsesCodeInterpreterImageOutput as ResponsesCodeInterpreterImageOutputOriginal, type ResponsesCodeInterpreterLogsOutput as ResponsesCodeInterpreterLogsOutputOriginal, type ResponsesCodeInterpreter as ResponsesCodeInterpreterOriginal, type ResponsesCodeInterpreterOutput as ResponsesCodeInterpreterOutputOriginal, type ResponsesCodeInterpreterOutputOutputTypeOneOf as ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type ResponsesCodeInterpreterToolCall as ResponsesCodeInterpreterToolCallOriginal, type ResponsesFunction as ResponsesFunctionOriginal, type ResponsesFunctionToolCall as ResponsesFunctionToolCallOriginal, type ResponsesFunctionToolCallOutput as ResponsesFunctionToolCallOutputOriginal, type ResponsesInputItemItemOneOf as ResponsesInputItemItemOneOfOriginal, type ResponsesInputItem as ResponsesInputItemOriginal, type ResponsesInputMessageContentContentValueOneOf as ResponsesInputMessageContentContentValueOneOfOriginal, type ResponsesInputMessageContentFileInput as ResponsesInputMessageContentFileInputOriginal, type ResponsesInputMessageContentImageInput as ResponsesInputMessageContentImageInputOriginal, type ResponsesInputMessageContent as ResponsesInputMessageContentOriginal, type ResponsesInputMessage as ResponsesInputMessageOriginal, ResponsesInputMessageResponsesMessageRole as ResponsesInputMessageResponsesMessageRoleOriginal, type ResponsesInputMessageResponsesMessageRoleWithLiterals as ResponsesInputMessageResponsesMessageRoleWithLiteralsOriginal, type ResponsesInputTokensDetails as ResponsesInputTokensDetailsOriginal, ResponsesMessageRole as ResponsesMessageRoleOriginal, type ResponsesMessageRoleWithLiterals as ResponsesMessageRoleWithLiteralsOriginal, ResponsesModel as ResponsesModelOriginal, type ResponsesModelWithLiterals as ResponsesModelWithLiteralsOriginal, type ResponsesOutputMessage as ResponsesOutputMessageOriginal, type ResponsesOutputMessageOutputContent as ResponsesOutputMessageOutputContentOriginal, type ResponsesOutput as ResponsesOutputOriginal, type ResponsesOutputOutputOneOf as ResponsesOutputOutputOneOfOriginal, type ResponsesOutputTokensDetails as ResponsesOutputTokensDetailsOriginal, type ResponsesReasoningContent as ResponsesReasoningContentOriginal, type ResponsesReasoning as ResponsesReasoningOriginal, type ResponsesReasoningOutput as ResponsesReasoningOutputOriginal, type ResponsesReasoningSummaryContent as ResponsesReasoningSummaryContentOriginal, type ResponsesTextFormatFormatOneOf as ResponsesTextFormatFormatOneOfOriginal, type ResponsesTextFormatJsonSchema as ResponsesTextFormatJsonSchemaOriginal, type ResponsesTextFormat as ResponsesTextFormatOriginal, type ResponsesTokenUsage as ResponsesTokenUsageOriginal, type ResponsesToolChoice as ResponsesToolChoiceOriginal, type ResponsesTool as ResponsesToolOriginal, type ResponsesToolToolTypeOneOf as ResponsesToolToolTypeOneOfOriginal, type ResponsesWebSearch as ResponsesWebSearchOriginal, type ResponsesWebSearchToolCallAction as ResponsesWebSearchToolCallActionOriginal, type ResponsesWebSearchToolCall as ResponsesWebSearchToolCallOriginal, type ResponsesWebSearchUserLocation as ResponsesWebSearchUserLocationOriginal, type RestoreInfo as RestoreInfoOriginal, type ResultObject as ResultObjectOriginal, type RetrievalMetadata as RetrievalMetadataOriginal, type RetrievedContext as RetrievedContextOriginal, type ReveEdit as ReveEditOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SafetyAttribute as SafetyAttributeOriginal, type SafetyAttributes as SafetyAttributesOriginal, type SafetyRating as SafetyRatingOriginal, type SafetySetting as SafetySettingOriginal, Sampler as SamplerOriginal, type SamplerWithLiterals as SamplerWithLiteralsOriginal, type SearchEntryPoint as SearchEntryPointOriginal, type SearchResultLocationCitation as SearchResultLocationCitationOriginal, type Segment as SegmentOriginal, type Segmentation as SegmentationOriginal, type SequentialImageGenerationOptions as SequentialImageGenerationOptionsOriginal, type ServerToolUse as ServerToolUseOriginal, type Shadow as ShadowOriginal, type SimpleContentBlock as SimpleContentBlockOriginal, type SimpleContentBlockTypeOneOf as SimpleContentBlockTypeOneOfOriginal, type SpeechChunk as SpeechChunkOriginal, SpeechModel as SpeechModelOriginal, type SpeechModelWithLiterals as SpeechModelWithLiteralsOriginal, type SpiGenerationConfig as SpiGenerationConfigOriginal, type Statistics as StatisticsOriginal, StylePreset as StylePresetOriginal, type StylePresetWithLiterals as StylePresetWithLiteralsOriginal, type SystemContentBlock as SystemContentBlockOriginal, type SystemInstruction as SystemInstructionOriginal, type TaskContent as TaskContentOriginal, type TaskError as TaskErrorOriginal, TaskInput as TaskInputOriginal, type TaskInputWithLiterals as TaskInputWithLiteralsOriginal, TaskType as TaskTypeOriginal, type TaskTypeWithLiterals as TaskTypeWithLiteralsOriginal, type TaskUsage as TaskUsageOriginal, TextBisonModel as TextBisonModelOriginal, type TextBisonModelWithLiterals as TextBisonModelWithLiteralsOriginal, type TextBisonPredictRequest as TextBisonPredictRequestOriginal, type TextBisonPredictResponse as TextBisonPredictResponseOriginal, type TextBisonPrediction as TextBisonPredictionOriginal, type TextContent as TextContentOriginal, type TextEditorTool as TextEditorToolOriginal, type TextEmbeddingInstance as TextEmbeddingInstanceOriginal, type TextEmbeddingParameters as TextEmbeddingParametersOriginal, type TextGenerationFailedEvent as TextGenerationFailedEventOriginal, type TextGenerationSucceededEvent as TextGenerationSucceededEventOriginal, type TextInstance as TextInstanceOriginal, type Text as TextOriginal, type TextPrompt as TextPromptOriginal, type TextRemoval as TextRemovalOriginal, TextToImageRequestModel as TextToImageRequestModelOriginal, type TextToImageRequestModelWithLiterals as TextToImageRequestModelWithLiteralsOriginal, type TextToImageRequest as TextToImageRequestOriginal, TextToImageRequestStylePreset as TextToImageRequestStylePresetOriginal, type TextToImageRequestStylePresetWithLiterals as TextToImageRequestStylePresetWithLiteralsOriginal, type TextToImageResponse as TextToImageResponseOriginal, type TextToImageTaskResult as TextToImageTaskResultOriginal, type TextToSpeechChunk as TextToSpeechChunkOriginal, type TextToSpeechRequest as TextToSpeechRequestOriginal, type ThinkingConfig as ThinkingConfigOriginal, type Thinking as ThinkingOriginal, type ThinkingTextContent as ThinkingTextContentOriginal, Threshold as ThresholdOriginal, type ThresholdWithLiterals as ThresholdWithLiteralsOriginal, type TimestampGranularities as TimestampGranularitiesOriginal, TimestampGranularity as TimestampGranularityOriginal, type TimestampGranularityWithLiterals as TimestampGranularityWithLiteralsOriginal, type TokenCount as TokenCountOriginal, type TokenMetadata as TokenMetadataOriginal, type TokenUsage as TokenUsageOriginal, type ToolCall as ToolCallOriginal, type ToolChoice as ToolChoiceOriginal, ToolChoiceType as ToolChoiceTypeOriginal, type ToolChoiceTypeWithLiterals as ToolChoiceTypeWithLiteralsOriginal, type ToolConfig as ToolConfigOriginal, type ToolConfiguration as ToolConfigurationOriginal, type Tool as ToolOriginal, type ToolResultContentBlock as ToolResultContentBlockOriginal, type ToolResultContentBlockTypeOneOf as ToolResultContentBlockTypeOneOfOriginal, type ToolResultContent as ToolResultContentOriginal, type ToolResult as ToolResultOriginal, type ToolResultSearchResult as ToolResultSearchResultOriginal, type ToolSpecification as ToolSpecificationOriginal, type ToolUseContent as ToolUseContentOriginal, type ToolUse as ToolUseOriginal, TranscriptionModel as TranscriptionModelOriginal, type TranscriptionModelWithLiterals as TranscriptionModelWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UrlCitation as UrlCitationOriginal, type UsageCacheCreation as UsageCacheCreationOriginal, type UsageMetadata as UsageMetadataOriginal, type Usage as UsageOriginal, type UsageServerToolUse as UsageServerToolUseOriginal, type UserLocation as UserLocationOriginal, type UserPerApplicationBudgetInfo as UserPerApplicationBudgetInfoOriginal, type UserRequestInfo as UserRequestInfoOriginal, type V1AnthropicClaudeMessage as V1AnthropicClaudeMessageOriginal, type V1AnthropicStreamChunkContentOneOf as V1AnthropicStreamChunkContentOneOfOriginal, type V1AnthropicStreamChunkMessageDelta as V1AnthropicStreamChunkMessageDeltaOriginal, type V1AnthropicStreamChunk as V1AnthropicStreamChunkOriginal, type V1CacheControl as V1CacheControlOriginal, V1CacheControlType as V1CacheControlTypeOriginal, type V1CacheControlTypeWithLiterals as V1CacheControlTypeWithLiteralsOriginal, type V1ChatCompletionChunkChunkChoice as V1ChatCompletionChunkChunkChoiceOriginal, type V1ChatCompletionChunk as V1ChatCompletionChunkOriginal, type V1ChatCompletionMessageContentPartContentValueOneOf as V1ChatCompletionMessageContentPartContentValueOneOfOriginal, type V1ChatCompletionMessageContentPart as V1ChatCompletionMessageContentPartOriginal, type V1ChatCompletionMessageFunctionWithArgs as V1ChatCompletionMessageFunctionWithArgsOriginal, type V1ChatCompletionMessageImageUrlContent as V1ChatCompletionMessageImageUrlContentOriginal, V1ChatCompletionMessageMessageRole as V1ChatCompletionMessageMessageRoleOriginal, type V1ChatCompletionMessageMessageRoleWithLiterals as V1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type V1ChatCompletionMessage as V1ChatCompletionMessageOriginal, type V1ChatCompletionMessageToolCall as V1ChatCompletionMessageToolCallOriginal, type V1Citation as V1CitationOriginal, type V1CodeExecutionResult as V1CodeExecutionResultOriginal, type V1ContentBlockDeltaDeltaOneOf as V1ContentBlockDeltaDeltaOneOfOriginal, type V1ContentBlockDelta as V1ContentBlockDeltaOriginal, type V1ContentBlock as V1ContentBlockOriginal, type V1ContentBlockTypeOneOf as V1ContentBlockTypeOneOfOriginal, type V1ContentPart as V1ContentPartOriginal, type V1CreateChatCompletionRequest as V1CreateChatCompletionRequestOriginal, type V1CreateChatCompletionRequestResponseFormat as V1CreateChatCompletionRequestResponseFormatOriginal, type V1CreateChatCompletionRequestTool as V1CreateChatCompletionRequestToolOriginal, type V1CreateChatCompletionResponseChoice as V1CreateChatCompletionResponseChoiceOriginal, type V1CreateChatCompletionResponse as V1CreateChatCompletionResponseOriginal, type V1CreateChatCompletionResponseTokenUsage as V1CreateChatCompletionResponseTokenUsageOriginal, type V1CreateEmbeddingsRequest as V1CreateEmbeddingsRequestOriginal, type V1CreateEmbeddingsResponse as V1CreateEmbeddingsResponseOriginal, V1EditImageModel as V1EditImageModelOriginal, type V1EditImageModelWithLiterals as V1EditImageModelWithLiteralsOriginal, type V1EditImageRequest as V1EditImageRequestOriginal, type V1EditImageResponse as V1EditImageResponseOriginal, V1EmbeddingEncodingFormat as V1EmbeddingEncodingFormatOriginal, type V1EmbeddingEncodingFormatWithLiterals as V1EmbeddingEncodingFormatWithLiteralsOriginal, type V1EmbeddingInfoEmbeddingResultOneOf as V1EmbeddingInfoEmbeddingResultOneOfOriginal, type V1EmbeddingInfo as V1EmbeddingInfoOriginal, V1EmbeddingModel as V1EmbeddingModelOriginal, type V1EmbeddingModelWithLiterals as V1EmbeddingModelWithLiteralsOriginal, type V1FineTuningSpec as V1FineTuningSpecOriginal, type V1FloatEmbedding as V1FloatEmbeddingOriginal, type V1FluxPulid as V1FluxPulidOriginal, type V1GenerateImageRequest as V1GenerateImageRequestOriginal, type V1GenerateImageResponse as V1GenerateImageResponseOriginal, type V1GetResultRequest as V1GetResultRequestOriginal, type V1GetResultResponse as V1GetResultResponseOriginal, type V1ImageInput as V1ImageInputOriginal, V1ImageMediaTypeMediaType as V1ImageMediaTypeMediaTypeOriginal, type V1ImageMediaTypeMediaTypeWithLiterals as V1ImageMediaTypeMediaTypeWithLiteralsOriginal, V1ImageModel as V1ImageModelOriginal, type V1ImageModelWithLiterals as V1ImageModelWithLiteralsOriginal, type V1ImageObject as V1ImageObjectOriginal, type V1ImageUrl as V1ImageUrlOriginal, type V1ImageUsage as V1ImageUsageOriginal, type V1InputSchema as V1InputSchemaOriginal, type V1InvokeAnthropicClaudeModelRequest as V1InvokeAnthropicClaudeModelRequestOriginal, type V1InvokeAnthropicClaudeModelResponse as V1InvokeAnthropicClaudeModelResponseOriginal, type V1McpServer as V1McpServerOriginal, type V1McpServerToolConfiguration as V1McpServerToolConfigurationOriginal, V1McpServerType as V1McpServerTypeOriginal, type V1McpServerTypeWithLiterals as V1McpServerTypeWithLiteralsOriginal, V1MessageRoleRole as V1MessageRoleRoleOriginal, type V1MessageRoleRoleWithLiterals as V1MessageRoleRoleWithLiteralsOriginal, V1Model as V1ModelOriginal, type V1ModelWithLiterals as V1ModelWithLiteralsOriginal, type V1OpenAiResponsesRequest as V1OpenAiResponsesRequestOriginal, type V1OpenAiResponsesResponse as V1OpenAiResponsesResponseOriginal, type V1OutputAnnotationAnnotationTypeOneOf as V1OutputAnnotationAnnotationTypeOneOfOriginal, type V1OutputAnnotation as V1OutputAnnotationOriginal, type V1RedactedThinking as V1RedactedThinkingOriginal, V1ResponseTypeType as V1ResponseTypeTypeOriginal, type V1ResponseTypeTypeWithLiterals as V1ResponseTypeTypeWithLiteralsOriginal, type V1ResponsesCodeInterpreterContainerAuto as V1ResponsesCodeInterpreterContainerAutoOriginal, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf as V1ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type V1ResponsesCodeInterpreterContainer as V1ResponsesCodeInterpreterContainerOriginal, type V1ResponsesCodeInterpreterImageOutput as V1ResponsesCodeInterpreterImageOutputOriginal, type V1ResponsesCodeInterpreterLogsOutput as V1ResponsesCodeInterpreterLogsOutputOriginal, type V1ResponsesCodeInterpreter as V1ResponsesCodeInterpreterOriginal, type V1ResponsesCodeInterpreterOutput as V1ResponsesCodeInterpreterOutputOriginal, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf as V1ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type V1ResponsesCodeInterpreterToolCall as V1ResponsesCodeInterpreterToolCallOriginal, type V1ResponsesFunction as V1ResponsesFunctionOriginal, type V1ResponsesFunctionToolCall as V1ResponsesFunctionToolCallOriginal, type V1ResponsesFunctionToolCallOutput as V1ResponsesFunctionToolCallOutputOriginal, type V1ResponsesInputItemItemOneOf as V1ResponsesInputItemItemOneOfOriginal, type V1ResponsesInputItem as V1ResponsesInputItemOriginal, type V1ResponsesInputMessageContentContentValueOneOf as V1ResponsesInputMessageContentContentValueOneOfOriginal, type V1ResponsesInputMessageContent as V1ResponsesInputMessageContentOriginal, type V1ResponsesInputMessage as V1ResponsesInputMessageOriginal, type V1ResponsesInputTokensDetails as V1ResponsesInputTokensDetailsOriginal, V1ResponsesModel as V1ResponsesModelOriginal, type V1ResponsesModelWithLiterals as V1ResponsesModelWithLiteralsOriginal, type V1ResponsesOutputMessage as V1ResponsesOutputMessageOriginal, type V1ResponsesOutput as V1ResponsesOutputOriginal, type V1ResponsesOutputOutputOneOf as V1ResponsesOutputOutputOneOfOriginal, type V1ResponsesOutputTokensDetails as V1ResponsesOutputTokensDetailsOriginal, type V1ResponsesReasoningContent as V1ResponsesReasoningContentOriginal, type V1ResponsesReasoning as V1ResponsesReasoningOriginal, type V1ResponsesReasoningOutput as V1ResponsesReasoningOutputOriginal, type V1ResponsesReasoningSummaryContent as V1ResponsesReasoningSummaryContentOriginal, type V1ResponsesTextFormatFormatOneOf as V1ResponsesTextFormatFormatOneOfOriginal, type V1ResponsesTextFormat as V1ResponsesTextFormatOriginal, type V1ResponsesTokenUsage as V1ResponsesTokenUsageOriginal, type V1ResponsesToolChoice as V1ResponsesToolChoiceOriginal, type V1ResponsesTool as V1ResponsesToolOriginal, type V1ResponsesToolToolTypeOneOf as V1ResponsesToolToolTypeOneOfOriginal, type V1ResponsesWebSearch as V1ResponsesWebSearchOriginal, type V1ResponsesWebSearchToolCall as V1ResponsesWebSearchToolCallOriginal, type V1Segment as V1SegmentOriginal, type V1SimpleContentBlock as V1SimpleContentBlockOriginal, type V1SimpleContentBlockTypeOneOf as V1SimpleContentBlockTypeOneOfOriginal, type V1Text as V1TextOriginal, type V1TextToImageRequest as V1TextToImageRequestOriginal, type V1TextToImageResponse as V1TextToImageResponseOriginal, type V1ThinkingConfig as V1ThinkingConfigOriginal, type V1Thinking as V1ThinkingOriginal, type V1TokenUsage as V1TokenUsageOriginal, type V1ToolChoice as V1ToolChoiceOriginal, V1ToolChoiceType as V1ToolChoiceTypeOriginal, type V1ToolChoiceTypeWithLiterals as V1ToolChoiceTypeWithLiteralsOriginal, type V1ToolConfig as V1ToolConfigOriginal, type V1ToolKindOneOf as V1ToolKindOneOfOriginal, type V1Tool as V1ToolOriginal, type V1ToolResult as V1ToolResultOriginal, type V1ToolUse as V1ToolUseOriginal, type V1UrlCitation as V1UrlCitationOriginal, type V1Usage as V1UsageOriginal, V1VideoModel as V1VideoModelOriginal, type V1VideoModelWithLiterals as V1VideoModelWithLiteralsOriginal, VideoGenModel as VideoGenModelOriginal, type VideoGenModelWithLiterals as VideoGenModelWithLiteralsOriginal, type VideoInferenceRequest as VideoInferenceRequestOriginal, type VideoInferenceResponse as VideoInferenceResponseOriginal, type VideoInferenceTaskResult as VideoInferenceTaskResultOriginal, type VideoInputs as VideoInputsOriginal, type VideoJob as VideoJobOriginal, VideoModel as VideoModelOriginal, type VideoModelWithLiterals as VideoModelWithLiteralsOriginal, type VoiceSettings as VoiceSettingsOriginal, type WebFetchTool as WebFetchToolOriginal, type WebFetchToolResultContentError as WebFetchToolResultContentErrorOriginal, type WebFetchToolResultContentOneOf as WebFetchToolResultContentOneOfOriginal, type WebFetchToolResultContentSuccess as WebFetchToolResultContentSuccessOriginal, type WebFetchToolResult as WebFetchToolResultOriginal, type Web as WebOriginal, type WebSearchResultList as WebSearchResultListOriginal, type WebSearchResultLocationCitation as WebSearchResultLocationCitationOriginal, type WebSearchResult as WebSearchResultOriginal, type WebSearchTool as WebSearchToolOriginal, type WebSearchToolResultContentOneOf as WebSearchToolResultContentOneOfOriginal, type WebSearchToolResultError as WebSearchToolResultErrorOriginal, type WebSearchToolResult as WebSearchToolResultOriginal, type WebSearchUserLocation as WebSearchUserLocationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type Wix_ai_gatewayV1EditImageRequest as Wix_ai_gatewayV1EditImageRequestOriginal, type Wix_ai_gatewayV1EditImageRequestRequestOneOf as Wix_ai_gatewayV1EditImageRequestRequestOneOfOriginal, type Wix_ai_gatewayV1EditImageResponse as Wix_ai_gatewayV1EditImageResponseOriginal, type Wix_ai_gatewayV1EditImageResponseResponseOneOf as Wix_ai_gatewayV1EditImageResponseResponseOneOfOriginal, type Word as WordOriginal, type __PublicMethodMetaInfo, editImage, generateAudio, generateAudioStreamed, generateContentByProject, generateContentByPrompt, generateContentByPromptObject, generateEmbedding, generateImageByProject, generateImageByPrompt, generateImageByPromptObject, generateModeration, generateTextByProject, generateTextByProjectStreamed, generateTextByPrompt, generateTextByPromptObject, generateTextByPromptObjectStreamed, generateTextByPromptStreamed, generateTranscription, getApplicationUsage, getProject, getPrompt, getStatus, pollImageGenerationResult, publishProject, publishPrompt };
|