@wix/auto_sdk_ai-gateway_generators 1.0.72 → 1.0.74
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 +912 -458
- package/build/cjs/index.js +25 -112
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +25 -112
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +903 -455
- package/build/cjs/meta.js +21 -110
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +912 -458
- package/build/es/index.mjs +25 -111
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +25 -111
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +903 -455
- package/build/es/meta.mjs +21 -109
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +25 -112
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +925 -471
- package/build/internal/cjs/index.typings.js +25 -112
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +903 -455
- package/build/internal/cjs/meta.js +21 -110
- 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 -111
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +925 -471
- package/build/internal/es/index.typings.mjs +25 -111
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +903 -455
- package/build/internal/es/meta.mjs +21 -109
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -7,8 +7,6 @@ interface Prompt extends PromptModelRequestOneOf {
|
|
|
7
7
|
openAiChatCompletionRequest?: OpenaiproxyV1CreateChatCompletionRequest;
|
|
8
8
|
/** Google bison text completion request. */
|
|
9
9
|
googleTextBisonRequest?: TextBisonPredictRequest;
|
|
10
|
-
/** Google bison chat completion request. */
|
|
11
|
-
googleChatBisonRequest?: ChatBisonPredictRequest;
|
|
12
10
|
/** Azure OpenAI chat completion request. */
|
|
13
11
|
azureChatCompletionRequest?: CreateChatCompletionRequest;
|
|
14
12
|
/** Google Gemini generate content request. */
|
|
@@ -44,7 +42,7 @@ interface Prompt extends PromptModelRequestOneOf {
|
|
|
44
42
|
/** Perplexity chat completion request */
|
|
45
43
|
perplexityChatCompletionRequest?: InvokeChatCompletionRequest;
|
|
46
44
|
/** Google AI - generate image request */
|
|
47
|
-
googleGenerateImageRequest?:
|
|
45
|
+
googleGenerateImageRequest?: V1GenerateImageRequest;
|
|
48
46
|
/** ML platform - generate image request */
|
|
49
47
|
mlPlatformGenerateImageRequest?: GenerateImageMlPlatformRequest;
|
|
50
48
|
/** OpenAI image creation response. */
|
|
@@ -67,6 +65,10 @@ interface Prompt extends PromptModelRequestOneOf {
|
|
|
67
65
|
openAiCreateVideoRequest?: CreateVideoRequest;
|
|
68
66
|
/** Fireworks - OpenAI payload */
|
|
69
67
|
fireworksInvokeCustomOpenAiRequest?: InvokeCustomOpenAiModelRequest;
|
|
68
|
+
/** Bytedance - Create content task request (video generation) */
|
|
69
|
+
bytedanceCreateContentTaskRequest?: CreateContentTaskRequest;
|
|
70
|
+
/** Bytedance - Generate image request (Seedream models) */
|
|
71
|
+
bytedanceGenerateImageRequest?: GenerateImageRequest;
|
|
70
72
|
/**
|
|
71
73
|
* Prompt id.
|
|
72
74
|
* @format GUID
|
|
@@ -93,8 +95,6 @@ interface PromptModelRequestOneOf {
|
|
|
93
95
|
openAiChatCompletionRequest?: OpenaiproxyV1CreateChatCompletionRequest;
|
|
94
96
|
/** Google bison text completion request. */
|
|
95
97
|
googleTextBisonRequest?: TextBisonPredictRequest;
|
|
96
|
-
/** Google bison chat completion request. */
|
|
97
|
-
googleChatBisonRequest?: ChatBisonPredictRequest;
|
|
98
98
|
/** Azure OpenAI chat completion request. */
|
|
99
99
|
azureChatCompletionRequest?: CreateChatCompletionRequest;
|
|
100
100
|
/** Google Gemini generate content request. */
|
|
@@ -130,7 +130,7 @@ interface PromptModelRequestOneOf {
|
|
|
130
130
|
/** Perplexity chat completion request */
|
|
131
131
|
perplexityChatCompletionRequest?: InvokeChatCompletionRequest;
|
|
132
132
|
/** Google AI - generate image request */
|
|
133
|
-
googleGenerateImageRequest?:
|
|
133
|
+
googleGenerateImageRequest?: V1GenerateImageRequest;
|
|
134
134
|
/** ML platform - generate image request */
|
|
135
135
|
mlPlatformGenerateImageRequest?: GenerateImageMlPlatformRequest;
|
|
136
136
|
/** OpenAI image creation response. */
|
|
@@ -153,6 +153,10 @@ interface PromptModelRequestOneOf {
|
|
|
153
153
|
openAiCreateVideoRequest?: CreateVideoRequest;
|
|
154
154
|
/** Fireworks - OpenAI payload */
|
|
155
155
|
fireworksInvokeCustomOpenAiRequest?: InvokeCustomOpenAiModelRequest;
|
|
156
|
+
/** Bytedance - Create content task request (video generation) */
|
|
157
|
+
bytedanceCreateContentTaskRequest?: CreateContentTaskRequest;
|
|
158
|
+
/** Bytedance - Generate image request (Seedream models) */
|
|
159
|
+
bytedanceGenerateImageRequest?: GenerateImageRequest;
|
|
156
160
|
}
|
|
157
161
|
interface FallbackPromptConfig {
|
|
158
162
|
/**
|
|
@@ -366,10 +370,11 @@ declare enum OpenaiproxyV1Model {
|
|
|
366
370
|
GPT_5_MINI_2025_08_07 = "GPT_5_MINI_2025_08_07",
|
|
367
371
|
GPT_5_NANO_2025_08_07 = "GPT_5_NANO_2025_08_07",
|
|
368
372
|
GPT_5_2_2025_12_11_COMPLETION = "GPT_5_2_2025_12_11_COMPLETION",
|
|
369
|
-
GPT_5_1_2025_11_13_COMPLETION = "GPT_5_1_2025_11_13_COMPLETION"
|
|
373
|
+
GPT_5_1_2025_11_13_COMPLETION = "GPT_5_1_2025_11_13_COMPLETION",
|
|
374
|
+
GPT_5_4_2026_03_05_COMPLETION = "GPT_5_4_2026_03_05_COMPLETION"
|
|
370
375
|
}
|
|
371
376
|
/** @enumType */
|
|
372
|
-
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';
|
|
377
|
+
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';
|
|
373
378
|
interface OpenaiproxyV1ChatCompletionMessage {
|
|
374
379
|
/** The role of the message author. */
|
|
375
380
|
role?: OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals;
|
|
@@ -611,65 +616,6 @@ declare enum TextBisonModel {
|
|
|
611
616
|
}
|
|
612
617
|
/** @enumType */
|
|
613
618
|
type TextBisonModelWithLiterals = TextBisonModel | 'UNKNOWN_TEXT_BISON_MODEL' | 'TEXT_BISON' | 'TEXT_BISON_001' | 'TEXT_BISON_32K' | 'TEXT_BISON_002' | 'TEXT_BISON_32K_002';
|
|
614
|
-
interface ChatBisonPredictRequest {
|
|
615
|
-
/**
|
|
616
|
-
* ChatInstance objects containing inputs.
|
|
617
|
-
* @maxSize 100
|
|
618
|
-
*/
|
|
619
|
-
instances?: ChatInstance[];
|
|
620
|
-
/** Model parameters. */
|
|
621
|
-
parameters?: PredictParameters;
|
|
622
|
-
/** Model to be invoked. */
|
|
623
|
-
model?: ChatBisonModelWithLiterals;
|
|
624
|
-
}
|
|
625
|
-
interface ChatInstance {
|
|
626
|
-
/**
|
|
627
|
-
* Optional. Context shapes how the model responds throughout the conversation. For example, you can use context
|
|
628
|
-
* to specify words the model can or cannot use, topics to focus on or avoid, or the response format or style.
|
|
629
|
-
* @maxLength 100000
|
|
630
|
-
*/
|
|
631
|
-
context?: string | null;
|
|
632
|
-
/**
|
|
633
|
-
* Optional. Examples for the model to learn how to respond to the conversation.
|
|
634
|
-
* @maxSize 1000
|
|
635
|
-
*/
|
|
636
|
-
examples?: Example[];
|
|
637
|
-
/**
|
|
638
|
-
* Required. Conversation history provided to the model in a structured alternate-author form. Messages appear in
|
|
639
|
-
* chronological order: oldest first, newest last. When the history of messages causes the input to exceed the
|
|
640
|
-
* maximum length, the oldest messages are removed until the entire prompt is within the allowed limit.
|
|
641
|
-
* @maxSize 1000
|
|
642
|
-
*/
|
|
643
|
-
messages?: ChatMessage[];
|
|
644
|
-
}
|
|
645
|
-
interface Example {
|
|
646
|
-
/** An example of an input Message from the user. */
|
|
647
|
-
input?: ChatMessage;
|
|
648
|
-
/** An example of what the model should output given the input. */
|
|
649
|
-
output?: ChatMessage;
|
|
650
|
-
}
|
|
651
|
-
interface ChatMessage {
|
|
652
|
-
/**
|
|
653
|
-
* Author tag for the turn.
|
|
654
|
-
* @maxLength 100000
|
|
655
|
-
*/
|
|
656
|
-
author?: string | null;
|
|
657
|
-
/**
|
|
658
|
-
* Text content of the chat message.
|
|
659
|
-
* @maxLength 100000
|
|
660
|
-
*/
|
|
661
|
-
content?: string;
|
|
662
|
-
}
|
|
663
|
-
declare enum ChatBisonModel {
|
|
664
|
-
UNKNOWN_CHAT_BISON_MODEL = "UNKNOWN_CHAT_BISON_MODEL",
|
|
665
|
-
CHAT_BISON = "CHAT_BISON",
|
|
666
|
-
CHAT_BISON_001 = "CHAT_BISON_001",
|
|
667
|
-
CHAT_BISON_32K = "CHAT_BISON_32K",
|
|
668
|
-
CHAT_BISON_002 = "CHAT_BISON_002",
|
|
669
|
-
CHAT_BISON_32K_002 = "CHAT_BISON_32K_002"
|
|
670
|
-
}
|
|
671
|
-
/** @enumType */
|
|
672
|
-
type ChatBisonModelWithLiterals = ChatBisonModel | 'UNKNOWN_CHAT_BISON_MODEL' | 'CHAT_BISON' | 'CHAT_BISON_001' | 'CHAT_BISON_32K' | 'CHAT_BISON_002' | 'CHAT_BISON_32K_002';
|
|
673
619
|
interface CreateChatCompletionRequest extends CreateChatCompletionRequestFunctionCallOneOf {
|
|
674
620
|
/** Specifying a particular function via {"name":\ "my_function"} forces the model to call that function. */
|
|
675
621
|
forceCallFunctionCallConfig?: Record<string, any> | null;
|
|
@@ -1016,10 +962,11 @@ declare enum GoogleproxyV1Model {
|
|
|
1016
962
|
GEMINI_2_5_COMPUTER_USE = "GEMINI_2_5_COMPUTER_USE",
|
|
1017
963
|
GEMINI_3_0_PRO = "GEMINI_3_0_PRO",
|
|
1018
964
|
GEMINI_3_0_PRO_IMAGE = "GEMINI_3_0_PRO_IMAGE",
|
|
1019
|
-
GEMINI_3_0_FLASH = "GEMINI_3_0_FLASH"
|
|
965
|
+
GEMINI_3_0_FLASH = "GEMINI_3_0_FLASH",
|
|
966
|
+
GEMINI_3_1_PRO = "GEMINI_3_1_PRO"
|
|
1020
967
|
}
|
|
1021
968
|
/** @enumType */
|
|
1022
|
-
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';
|
|
969
|
+
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';
|
|
1023
970
|
interface Content {
|
|
1024
971
|
/**
|
|
1025
972
|
* The role in a conversation associated with the content.
|
|
@@ -1667,10 +1614,12 @@ declare enum Model {
|
|
|
1667
1614
|
CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
|
|
1668
1615
|
/** us.anthropic.claude-haiku-4-5-20251001-v1:0 */
|
|
1669
1616
|
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
|
|
1670
|
-
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
|
|
1617
|
+
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
|
|
1618
|
+
CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
|
|
1619
|
+
CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
|
|
1671
1620
|
}
|
|
1672
1621
|
/** @enumType */
|
|
1673
|
-
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';
|
|
1622
|
+
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';
|
|
1674
1623
|
interface AnthropicClaudeMessage {
|
|
1675
1624
|
/** The role of the message author. */
|
|
1676
1625
|
role?: RoleWithLiterals;
|
|
@@ -1698,7 +1647,7 @@ interface ContentBlock extends ContentBlockTypeOneOf {
|
|
|
1698
1647
|
/** Text content. */
|
|
1699
1648
|
textContent?: Text;
|
|
1700
1649
|
/** Image image = 2; // Image content. */
|
|
1701
|
-
imageUrl?:
|
|
1650
|
+
imageUrl?: V1ImageUrl;
|
|
1702
1651
|
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
1703
1652
|
toolUse?: ToolUse;
|
|
1704
1653
|
/** Tool result content, describes the result of tool invocation. */
|
|
@@ -1723,7 +1672,7 @@ interface ContentBlockTypeOneOf {
|
|
|
1723
1672
|
/** Text content. */
|
|
1724
1673
|
textContent?: Text;
|
|
1725
1674
|
/** Image image = 2; // Image content. */
|
|
1726
|
-
imageUrl?:
|
|
1675
|
+
imageUrl?: V1ImageUrl;
|
|
1727
1676
|
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
1728
1677
|
toolUse?: ToolUse;
|
|
1729
1678
|
/** Tool result content, describes the result of tool invocation. */
|
|
@@ -1745,7 +1694,7 @@ interface Text {
|
|
|
1745
1694
|
/** Enables prompt caching: https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching. */
|
|
1746
1695
|
cacheControl?: CacheControl;
|
|
1747
1696
|
}
|
|
1748
|
-
interface
|
|
1697
|
+
interface V1ImageUrl {
|
|
1749
1698
|
/**
|
|
1750
1699
|
* The URL must be a valid wix mp or wix static URL.
|
|
1751
1700
|
* @maxLength 100000
|
|
@@ -1812,7 +1761,7 @@ interface SimpleContentBlock extends SimpleContentBlockTypeOneOf {
|
|
|
1812
1761
|
/** Text content. */
|
|
1813
1762
|
textContent?: Text;
|
|
1814
1763
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
1815
|
-
imageUrl?:
|
|
1764
|
+
imageUrl?: V1ImageUrl;
|
|
1816
1765
|
}
|
|
1817
1766
|
/** @oneof */
|
|
1818
1767
|
interface SimpleContentBlockTypeOneOf {
|
|
@@ -1826,7 +1775,7 @@ interface SimpleContentBlockTypeOneOf {
|
|
|
1826
1775
|
/** Text content. */
|
|
1827
1776
|
textContent?: Text;
|
|
1828
1777
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
1829
|
-
imageUrl?:
|
|
1778
|
+
imageUrl?: V1ImageUrl;
|
|
1830
1779
|
}
|
|
1831
1780
|
interface Thinking {
|
|
1832
1781
|
/**
|
|
@@ -2060,10 +2009,12 @@ declare enum ClaudeModel {
|
|
|
2060
2009
|
CLAUDE_4_OPUS_1_0 = "CLAUDE_4_OPUS_1_0",
|
|
2061
2010
|
CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
|
|
2062
2011
|
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
|
|
2063
|
-
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
|
|
2012
|
+
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
|
|
2013
|
+
CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
|
|
2014
|
+
CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
|
|
2064
2015
|
}
|
|
2065
2016
|
/** @enumType */
|
|
2066
|
-
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';
|
|
2017
|
+
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';
|
|
2067
2018
|
interface V1AnthropicClaudeMessage {
|
|
2068
2019
|
/** The role of the message author. */
|
|
2069
2020
|
role?: V1MessageRoleRoleWithLiterals;
|
|
@@ -2432,10 +2383,12 @@ declare enum AnthropicModel {
|
|
|
2432
2383
|
CLAUDE_4_1_OPUS_1_0 = "CLAUDE_4_1_OPUS_1_0",
|
|
2433
2384
|
CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
|
|
2434
2385
|
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
|
|
2435
|
-
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
|
|
2386
|
+
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
|
|
2387
|
+
CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
|
|
2388
|
+
CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
|
|
2436
2389
|
}
|
|
2437
2390
|
/** @enumType */
|
|
2438
|
-
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';
|
|
2391
|
+
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';
|
|
2439
2392
|
interface AnthropicMessage {
|
|
2440
2393
|
/** The role of the message author. */
|
|
2441
2394
|
role?: MessageRoleRoleWithLiterals;
|
|
@@ -2457,7 +2410,7 @@ interface V1ContentBlock extends V1ContentBlockTypeOneOf {
|
|
|
2457
2410
|
/** Text content. */
|
|
2458
2411
|
textContent?: V1Text;
|
|
2459
2412
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
2460
|
-
image?:
|
|
2413
|
+
image?: AnthropicV1ImageUrl;
|
|
2461
2414
|
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
2462
2415
|
toolUse?: V1ToolUse;
|
|
2463
2416
|
/** Tool result content, describes the result of tool invocation. */
|
|
@@ -2494,7 +2447,7 @@ interface V1ContentBlockTypeOneOf {
|
|
|
2494
2447
|
/** Text content. */
|
|
2495
2448
|
textContent?: V1Text;
|
|
2496
2449
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
2497
|
-
image?:
|
|
2450
|
+
image?: AnthropicV1ImageUrl;
|
|
2498
2451
|
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
2499
2452
|
toolUse?: V1ToolUse;
|
|
2500
2453
|
/** Tool result content, describes the result of tool invocation. */
|
|
@@ -2708,7 +2661,7 @@ interface SearchResultLocationCitation {
|
|
|
2708
2661
|
*/
|
|
2709
2662
|
citedText?: string | null;
|
|
2710
2663
|
}
|
|
2711
|
-
interface
|
|
2664
|
+
interface AnthropicV1ImageUrl {
|
|
2712
2665
|
/**
|
|
2713
2666
|
* The URL must be a valid wix mp or wix static URL.
|
|
2714
2667
|
* @maxLength 100000
|
|
@@ -2768,7 +2721,7 @@ interface ToolResultContentBlock extends ToolResultContentBlockTypeOneOf {
|
|
|
2768
2721
|
/** Text content. */
|
|
2769
2722
|
text?: V1Text;
|
|
2770
2723
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
2771
|
-
image?:
|
|
2724
|
+
image?: AnthropicV1ImageUrl;
|
|
2772
2725
|
/** Document content block. */
|
|
2773
2726
|
document?: DocumentContent;
|
|
2774
2727
|
/** Search result block with snippets/citations. */
|
|
@@ -2779,7 +2732,7 @@ interface ToolResultContentBlockTypeOneOf {
|
|
|
2779
2732
|
/** Text content. */
|
|
2780
2733
|
text?: V1Text;
|
|
2781
2734
|
/** Image content, represented as URL. Will be downloaded and passed on as base64. */
|
|
2782
|
-
image?:
|
|
2735
|
+
image?: AnthropicV1ImageUrl;
|
|
2783
2736
|
/** Document content block. */
|
|
2784
2737
|
document?: DocumentContent;
|
|
2785
2738
|
/** Search result block with snippets/citations. */
|
|
@@ -3725,7 +3678,7 @@ interface SystemContentBlock {
|
|
|
3725
3678
|
interface CreateImageRequest {
|
|
3726
3679
|
/**
|
|
3727
3680
|
* 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.
|
|
3728
|
-
* @maxLength
|
|
3681
|
+
* @maxLength 50000
|
|
3729
3682
|
*/
|
|
3730
3683
|
prompt?: string | null;
|
|
3731
3684
|
/** The model to use for image generation. */
|
|
@@ -4993,7 +4946,7 @@ interface InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf {
|
|
|
4993
4946
|
regex?: string;
|
|
4994
4947
|
}
|
|
4995
4948
|
/** mimics https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api */
|
|
4996
|
-
interface
|
|
4949
|
+
interface V1GenerateImageRequest {
|
|
4997
4950
|
/** ID of the model to use. */
|
|
4998
4951
|
model?: ImagenModelWithLiterals;
|
|
4999
4952
|
/**
|
|
@@ -5166,8 +5119,9 @@ interface V1FluxPulid {
|
|
|
5166
5119
|
}
|
|
5167
5120
|
interface CreateImageOpenAiRequest {
|
|
5168
5121
|
/**
|
|
5169
|
-
* A text description of the desired image(s). The maximum length is
|
|
5170
|
-
*
|
|
5122
|
+
* A text description of the desired image(s). The maximum length is 32000 characters for the GPT image models,
|
|
5123
|
+
* 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
|
|
5124
|
+
* @maxLength 50000
|
|
5171
5125
|
*/
|
|
5172
5126
|
prompt?: string | null;
|
|
5173
5127
|
/** The model to use for image generation. */
|
|
@@ -5230,8 +5184,9 @@ declare enum OpenAiImageModel {
|
|
|
5230
5184
|
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';
|
|
5231
5185
|
interface EditImageOpenAiRequest {
|
|
5232
5186
|
/**
|
|
5233
|
-
* A text description of the desired image(s). The maximum length is
|
|
5234
|
-
*
|
|
5187
|
+
* A text description of the desired image(s). The maximum length is 32000 characters for the GPT image models,
|
|
5188
|
+
* 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
|
|
5189
|
+
* @maxLength 50000
|
|
5235
5190
|
*/
|
|
5236
5191
|
prompt?: string | null;
|
|
5237
5192
|
/** The model to use for image generation. */
|
|
@@ -5903,10 +5858,14 @@ declare enum V1ResponsesModel {
|
|
|
5903
5858
|
GPT_EXP_RESPONSES_2 = "GPT_EXP_RESPONSES_2",
|
|
5904
5859
|
GPT_EXP_RESPONSES_3 = "GPT_EXP_RESPONSES_3",
|
|
5905
5860
|
GPT_5_1_CODEX_MAX = "GPT_5_1_CODEX_MAX",
|
|
5906
|
-
GPT_5_2_2025_12_11 = "GPT_5_2_2025_12_11"
|
|
5861
|
+
GPT_5_2_2025_12_11 = "GPT_5_2_2025_12_11",
|
|
5862
|
+
GPT_5_2_CODEX = "GPT_5_2_CODEX",
|
|
5863
|
+
GPT_5_3_CODEX = "GPT_5_3_CODEX",
|
|
5864
|
+
GPT_5_4_2026_03_05 = "GPT_5_4_2026_03_05",
|
|
5865
|
+
GPT_5_4_PRO_2026_03_05 = "GPT_5_4_PRO_2026_03_05"
|
|
5907
5866
|
}
|
|
5908
5867
|
/** @enumType */
|
|
5909
|
-
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';
|
|
5868
|
+
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';
|
|
5910
5869
|
interface V1ResponsesInputItem extends V1ResponsesInputItemItemOneOf {
|
|
5911
5870
|
/**
|
|
5912
5871
|
* A message input to the model with a role indicating instruction following hierarchy.
|
|
@@ -7505,6 +7464,242 @@ interface InvokeCustomOpenAiModelRequestResponseFormat {
|
|
|
7505
7464
|
/** The schema object describes the output object for the model. Currently, only the JSON Schema Object is supported. */
|
|
7506
7465
|
schema?: Record<string, any> | null;
|
|
7507
7466
|
}
|
|
7467
|
+
interface CreateContentTaskRequest {
|
|
7468
|
+
/**
|
|
7469
|
+
* The model to use for content creation.
|
|
7470
|
+
* @maxLength 255
|
|
7471
|
+
*/
|
|
7472
|
+
model?: string;
|
|
7473
|
+
/**
|
|
7474
|
+
* The context items to create the content from.
|
|
7475
|
+
* @maxSize 50
|
|
7476
|
+
*/
|
|
7477
|
+
content?: ContentItem[];
|
|
7478
|
+
/**
|
|
7479
|
+
* Returns the last frame image of the generated video. Default: false
|
|
7480
|
+
* Useful for generating multiple consecutive videos using the last frame as the first frame of the next video.
|
|
7481
|
+
*/
|
|
7482
|
+
returnLastFrame?: boolean | null;
|
|
7483
|
+
/**
|
|
7484
|
+
* Service tier for processing the request. Default: default
|
|
7485
|
+
* can be one of:
|
|
7486
|
+
* default: Online inference mode (lower RPM, lower latency)
|
|
7487
|
+
* flex: Offline inference mode (higher TPD quota, 50% price, higher latency)
|
|
7488
|
+
* @maxLength 255
|
|
7489
|
+
*/
|
|
7490
|
+
serviceTier?: string | null;
|
|
7491
|
+
/**
|
|
7492
|
+
* Whether the generated video includes audio synchronized with the visuals. Default: true
|
|
7493
|
+
* Only supported by Seedance 1.5 pro
|
|
7494
|
+
*/
|
|
7495
|
+
generateAudio?: boolean | null;
|
|
7496
|
+
/**
|
|
7497
|
+
* Whether to enable Draft sample mode. Default: false
|
|
7498
|
+
* Only supported by Seedance 1.5 pro
|
|
7499
|
+
* true: Generate a 480p preview video (lower cost)
|
|
7500
|
+
* false: Generate a standard video
|
|
7501
|
+
*/
|
|
7502
|
+
draft?: boolean | null;
|
|
7503
|
+
/**
|
|
7504
|
+
* The resolution of the output video. Default: 720p for Seedance 1.5 pro/lite, 1080p for pro/pro-fast
|
|
7505
|
+
* Valid values: 480p, 720p, 1080p
|
|
7506
|
+
* @maxLength 255
|
|
7507
|
+
*/
|
|
7508
|
+
resolution?: string | null;
|
|
7509
|
+
/**
|
|
7510
|
+
* The aspect ratio of the output video. Default varies by model and scenario.
|
|
7511
|
+
* Valid values: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive
|
|
7512
|
+
* @maxLength 255
|
|
7513
|
+
*/
|
|
7514
|
+
ratio?: string | null;
|
|
7515
|
+
/**
|
|
7516
|
+
* The duration of the output video in seconds. Default: 5
|
|
7517
|
+
* Value range: 2-12s
|
|
7518
|
+
* Seedance 1.5 pro: Use -1 to let the model decide duration (4-12s)
|
|
7519
|
+
* set max to to 120 for future changes
|
|
7520
|
+
* Choose either duration or frames; frames takes priority.
|
|
7521
|
+
* @min -1
|
|
7522
|
+
* @max 120
|
|
7523
|
+
*/
|
|
7524
|
+
duration?: number | null;
|
|
7525
|
+
/**
|
|
7526
|
+
* Number of frames for the output video. Not supported by Seedance 1.5 pro.
|
|
7527
|
+
* Valid range: integers within [29, 289] that conform to format 25 + 4n (where n is positive integer)
|
|
7528
|
+
* Choose either duration or frames; frames takes priority.
|
|
7529
|
+
* Set max to 2890 for fuure changes
|
|
7530
|
+
* @min 29
|
|
7531
|
+
* @max 2890
|
|
7532
|
+
*/
|
|
7533
|
+
frames?: number | null;
|
|
7534
|
+
/**
|
|
7535
|
+
* The seed controls randomness of output. Default: -1 (random)
|
|
7536
|
+
* Valid values: integers within [-1, 2^32-1]
|
|
7537
|
+
* @min -1
|
|
7538
|
+
* @max 4294967295
|
|
7539
|
+
*/
|
|
7540
|
+
seed?: number | null;
|
|
7541
|
+
/**
|
|
7542
|
+
* Specifies whether to fix the camera. Default: false
|
|
7543
|
+
* Not supported for reference-image-to-video
|
|
7544
|
+
*/
|
|
7545
|
+
cameraFixed?: boolean | null;
|
|
7546
|
+
/** Specifies whether to add watermarks to the output video. Default: false */
|
|
7547
|
+
watermark?: boolean | null;
|
|
7548
|
+
/**
|
|
7549
|
+
* Skip polling flag - if set to false, will poll until video generation is complete
|
|
7550
|
+
* If not set or true, returns immediately with task ID for manual polling
|
|
7551
|
+
*/
|
|
7552
|
+
skipPolling?: boolean | null;
|
|
7553
|
+
}
|
|
7554
|
+
interface ContentItem {
|
|
7555
|
+
/**
|
|
7556
|
+
* The type of the input content
|
|
7557
|
+
* Can be ont of 'text', 'image_url', 'draft_task'
|
|
7558
|
+
* @maxLength 255
|
|
7559
|
+
*/
|
|
7560
|
+
type?: string | null;
|
|
7561
|
+
/**
|
|
7562
|
+
* The input text information for the model (required when type=TEXT)
|
|
7563
|
+
* Describes the video to be generated. Can include text prompt and optional parameters.
|
|
7564
|
+
* @maxLength 100000
|
|
7565
|
+
*/
|
|
7566
|
+
text?: string | null;
|
|
7567
|
+
/** The input image object for the model (required when type=IMAGE_URL) */
|
|
7568
|
+
imageUrl?: ImageUrl;
|
|
7569
|
+
/**
|
|
7570
|
+
* The location or purpose of the image (required under certain conditions when type=IMAGE_URL)
|
|
7571
|
+
* Used for Image-to-Video scenarios
|
|
7572
|
+
* available values are:
|
|
7573
|
+
* 'last_frame', 'first_frame', 'reference_image'
|
|
7574
|
+
* @maxLength 255
|
|
7575
|
+
*/
|
|
7576
|
+
role?: string | null;
|
|
7577
|
+
/**
|
|
7578
|
+
* The draft task object for generating official video from a draft.
|
|
7579
|
+
* Only supported by Seedance 1.5 Pro.
|
|
7580
|
+
* The platform will reuse the inputs from the draft video to generate the official video.
|
|
7581
|
+
*/
|
|
7582
|
+
draftTask?: DraftTask;
|
|
7583
|
+
}
|
|
7584
|
+
interface ImageUrl {
|
|
7585
|
+
/**
|
|
7586
|
+
* The image information, can be an image URL or Base64-encoded content
|
|
7587
|
+
* URL: Must be accessible
|
|
7588
|
+
* Base64: Format must be data:image/<format>;base64,<content> (e.g., data:image/png;base64,...)
|
|
7589
|
+
* Requirements: JPEG/PNG/WebP/BMP/TIFF/GIF (Seedance 1.5 Pro also supports HEIC/HEIF)
|
|
7590
|
+
* Aspect ratio: 0.4 to 2.5, shorter side > 300px, longer side < 6000px, size < 30MB
|
|
7591
|
+
* @maxLength 100000
|
|
7592
|
+
*/
|
|
7593
|
+
url?: string | null;
|
|
7594
|
+
}
|
|
7595
|
+
interface DraftTask {
|
|
7596
|
+
/**
|
|
7597
|
+
* The draft video task ID.
|
|
7598
|
+
* The platform will automatically reuse the user inputs applied by the draft video
|
|
7599
|
+
* (including model, content.text, content.image_url, generate_audio, seed, ratio, duration, frames, camera_fixed)
|
|
7600
|
+
* to generate the official video.
|
|
7601
|
+
* @maxLength 1000
|
|
7602
|
+
*/
|
|
7603
|
+
id?: string | null;
|
|
7604
|
+
}
|
|
7605
|
+
interface GenerateImageRequest {
|
|
7606
|
+
/**
|
|
7607
|
+
* The model to use for image generation.
|
|
7608
|
+
* Accepts a model ID (e.g. "seedream-5.0-lite", "seedream-4.5", "seedream-4.0") or an Endpoint ID.
|
|
7609
|
+
* @maxLength 255
|
|
7610
|
+
*/
|
|
7611
|
+
model?: string;
|
|
7612
|
+
/**
|
|
7613
|
+
* Text prompt describing the image to generate.
|
|
7614
|
+
* Recommended: keep under 600 English words. Excessively long prompts may cause the model
|
|
7615
|
+
* to overlook details and focus only on major elements.
|
|
7616
|
+
* @maxLength 100000
|
|
7617
|
+
*/
|
|
7618
|
+
prompt?: string;
|
|
7619
|
+
/**
|
|
7620
|
+
* Reference image(s) as URL or base64-encoded string. Max 14 reference images.
|
|
7621
|
+
*
|
|
7622
|
+
* Input formats:
|
|
7623
|
+
* - Image URL: must be publicly accessible.
|
|
7624
|
+
* - Base64: format must be "data:image/<format>;base64,<content>" (e.g. "data:image/png;base64,...").
|
|
7625
|
+
*
|
|
7626
|
+
* Image requirements:
|
|
7627
|
+
* - Formats: JPEG, PNG, WEBP, BMP, TIFF, GIF
|
|
7628
|
+
* - Aspect ratio (width/height): between [1/16, 16]
|
|
7629
|
+
* - Width and height: > 14px
|
|
7630
|
+
* - Size: up to 10 MB per image
|
|
7631
|
+
* - Total pixels: no more than 6000x6000 = 36,000,000 per image
|
|
7632
|
+
* @maxLength 3825
|
|
7633
|
+
* @maxSize 15
|
|
7634
|
+
*/
|
|
7635
|
+
image?: string[];
|
|
7636
|
+
/**
|
|
7637
|
+
* Output image dimensions. Two methods available (cannot be combined):
|
|
7638
|
+
*
|
|
7639
|
+
* Method 1 - Resolution shorthand (let the model determine width/height from prompt context):
|
|
7640
|
+
* seedream-5.0-lite: "2K", "3K"
|
|
7641
|
+
* seedream-4.5: "2K", "4K"
|
|
7642
|
+
* seedream-4.0: "1K", "2K", "4K"
|
|
7643
|
+
*
|
|
7644
|
+
* Method 2 - Explicit pixel dimensions (e.g. "2048x2048"):
|
|
7645
|
+
* Both total pixel range AND aspect ratio [1/16, 16] must be satisfied.
|
|
7646
|
+
* seedream-5.0-lite: total pixels [3,686,400 .. 10,404,496], default "2048x2048"
|
|
7647
|
+
* seedream-4.5: total pixels [3,686,400 .. 16,777,216], default "2048x2048"
|
|
7648
|
+
* seedream-4.0: total pixels [921,600 .. 16,777,216], default "2048x2048"
|
|
7649
|
+
*
|
|
7650
|
+
* Common recommended dimensions (2K):
|
|
7651
|
+
* 1:1 = 2048x2048, 4:3 = 2304x1728, 3:4 = 1728x2304,
|
|
7652
|
+
* 16:9 = 2848x1600, 9:16 = 1600x2848, 21:9 = 3136x1344
|
|
7653
|
+
* @maxLength 255
|
|
7654
|
+
*/
|
|
7655
|
+
size?: string | null;
|
|
7656
|
+
/**
|
|
7657
|
+
* How the generated images are returned. Default: "url".
|
|
7658
|
+
* "url": returns a download link valid for 24 hours after generation.
|
|
7659
|
+
* "b64_json": returns the image data as a Base64-encoded string in JSON.
|
|
7660
|
+
* @maxLength 255
|
|
7661
|
+
*/
|
|
7662
|
+
responseFormat?: string | null;
|
|
7663
|
+
/** Whether to add an "AI generated" watermark on the bottom-right corner. Default: true. */
|
|
7664
|
+
watermark?: boolean | null;
|
|
7665
|
+
/**
|
|
7666
|
+
* Whether to enable batch (sequential) image generation. Default: "disabled".
|
|
7667
|
+
* "auto": the model decides whether to return multiple images and how many, based on the prompt.
|
|
7668
|
+
* "disabled": only one image is generated.
|
|
7669
|
+
* @maxLength 255
|
|
7670
|
+
*/
|
|
7671
|
+
sequentialImageGeneration?: string | null;
|
|
7672
|
+
/** Configuration for batch image generation. Only effective when sequential_image_generation = "auto". */
|
|
7673
|
+
sequentialImageGenerationOptions?: SequentialImageGenerationOptions;
|
|
7674
|
+
/**
|
|
7675
|
+
* Output image file format. Default: "jpeg".
|
|
7676
|
+
* "jpeg": supported by all models (default, cannot be changed on seedream-4.5/4.0).
|
|
7677
|
+
* "png": only supported by seedream-5.0-lite.
|
|
7678
|
+
* @maxLength 255
|
|
7679
|
+
*/
|
|
7680
|
+
outputFormat?: string | null;
|
|
7681
|
+
/**
|
|
7682
|
+
* Configuration for prompt optimization.
|
|
7683
|
+
* Supported by seedream-5.0-lite, seedream-4.5 (standard mode only), and seedream-4.0.
|
|
7684
|
+
*/
|
|
7685
|
+
optimizePromptOptions?: OptimizePromptOptions;
|
|
7686
|
+
}
|
|
7687
|
+
interface SequentialImageGenerationOptions {
|
|
7688
|
+
/**
|
|
7689
|
+
* Maximum number of images to generate in this request. Default: 15. Range: [1, 15].
|
|
7690
|
+
* Actual count is constrained by: number of input reference images + generated images <= 15.
|
|
7691
|
+
*/
|
|
7692
|
+
maxImages?: number | null;
|
|
7693
|
+
}
|
|
7694
|
+
interface OptimizePromptOptions {
|
|
7695
|
+
/**
|
|
7696
|
+
* Prompt optimization mode. Default: "standard".
|
|
7697
|
+
* "standard": higher quality, longer generation time.
|
|
7698
|
+
* "fast": faster but lower quality.
|
|
7699
|
+
* @maxLength 255
|
|
7700
|
+
*/
|
|
7701
|
+
mode?: string | null;
|
|
7702
|
+
}
|
|
7508
7703
|
interface ContentGenerationRequestedEvent {
|
|
7509
7704
|
/** Prompt that the generation was requested for. */
|
|
7510
7705
|
prompt?: Prompt;
|
|
@@ -7519,6 +7714,8 @@ interface ContentGenerationRequestedEvent {
|
|
|
7519
7714
|
* @format GUID
|
|
7520
7715
|
*/
|
|
7521
7716
|
eventChainId?: string;
|
|
7717
|
+
/** Dynamic request configuration, including dynamic tools and messages. */
|
|
7718
|
+
dynamicRequestConfig?: DynamicRequestConfig;
|
|
7522
7719
|
}
|
|
7523
7720
|
interface UserRequestInfo {
|
|
7524
7721
|
/**
|
|
@@ -7544,106 +7741,272 @@ interface UserRequestInfo {
|
|
|
7544
7741
|
*/
|
|
7545
7742
|
costAttributionOverrideId?: string | null;
|
|
7546
7743
|
}
|
|
7547
|
-
interface
|
|
7548
|
-
/** Model response object that describes the content generation result. */
|
|
7549
|
-
response?: GenerateContentModelResponse;
|
|
7550
|
-
/** Prompt's final form that was used to issue a GenerateContent request. */
|
|
7551
|
-
materializedPrompt?: Prompt;
|
|
7744
|
+
interface DynamicRequestConfig {
|
|
7552
7745
|
/**
|
|
7553
|
-
*
|
|
7554
|
-
* @
|
|
7746
|
+
* List of GatewayToolDefinition's, used to overwrite tools in the prompt.
|
|
7747
|
+
* @maxSize 1000
|
|
7555
7748
|
*/
|
|
7556
|
-
|
|
7749
|
+
gatewayToolDefinitions?: GatewayToolDefinition[];
|
|
7750
|
+
/**
|
|
7751
|
+
* List of GatewayMessageDefinition's, which will be converted to model-specific format and appended to the messages saved in the prompt.
|
|
7752
|
+
* @maxSize 10000
|
|
7753
|
+
*/
|
|
7754
|
+
gatewayMessageDefinitions?: GatewayMessageDefinition[];
|
|
7557
7755
|
}
|
|
7558
|
-
interface
|
|
7559
|
-
/**
|
|
7560
|
-
|
|
7561
|
-
/**
|
|
7562
|
-
|
|
7563
|
-
/** Google bison chat completion response. */
|
|
7564
|
-
googleChatBisonResponse?: ChatBisonPredictResponse;
|
|
7565
|
-
/** Azure OpenAI chat completion response. */
|
|
7566
|
-
azureChatCompletionResponse?: CreateChatCompletionResponse;
|
|
7567
|
-
/** Google Gemini generate content response. */
|
|
7568
|
-
googleGeminiGenerateContentResponse?: GenerateContentResponse;
|
|
7569
|
-
/** Anthropic Claude via Amazon Bedrock generate content response. */
|
|
7570
|
-
anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
|
|
7571
|
-
/** Anthropic Claude via Google vertex generate content response. */
|
|
7572
|
-
googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
|
|
7573
|
-
/** Native Anthropic API proxy generate content response. */
|
|
7574
|
-
invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
|
|
7575
|
-
/** Llama via Amazon Bedrock text completion response. */
|
|
7576
|
-
llamaModelResponse?: InvokeLlamaModelResponse;
|
|
7577
|
-
/** Invoke Amazon Converse API response. */
|
|
7578
|
-
amazonConverseResponse?: InvokeConverseResponse;
|
|
7579
|
-
/** Llama via ML Platform text completion response. */
|
|
7580
|
-
mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
|
|
7581
|
-
/** Perplexity chat completion response. */
|
|
7582
|
-
perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
|
|
7583
|
-
/** OpenAI image generation response. */
|
|
7584
|
-
openAiCreateImageResponse?: CreateImageResponse;
|
|
7585
|
-
/** Stability AI text to image response. */
|
|
7586
|
-
stabilityAiTextToImageResponse?: V1TextToImageResponse;
|
|
7587
|
-
/** Stability AI generate core response. */
|
|
7588
|
-
stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
|
|
7589
|
-
/** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
|
|
7590
|
-
stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
|
|
7591
|
-
/** Black Forest Labs image generation response. */
|
|
7592
|
-
blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
|
|
7593
|
-
/** Replicate image generation response. */
|
|
7594
|
-
replicateCreatePredictionResponse?: CreatePredictionResponse;
|
|
7595
|
-
/** Stability AI - Edit Image with prompt response. */
|
|
7596
|
-
stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
|
|
7597
|
-
/** Runware AI - Flux TextToImage response. */
|
|
7598
|
-
runwareTextToImageResponse?: TextToImageResponse;
|
|
7599
|
-
/** Google AI - Generate Image with Imagen Model response. */
|
|
7600
|
-
googleGenerateImageResponse?: GenerateImageResponse;
|
|
7601
|
-
/** Google AI - Generate Video response. */
|
|
7602
|
-
googleGenerateVideoResponse?: GenerateVideoResponse;
|
|
7603
|
-
/** ML generate image response. */
|
|
7604
|
-
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
7605
|
-
/** OpenAI image creation response. */
|
|
7606
|
-
openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
|
|
7607
|
-
/** OpenAI image edit response. */
|
|
7608
|
-
openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
|
|
7609
|
-
/** Google create chat completion response. */
|
|
7610
|
-
googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
|
|
7611
|
-
/** ML Platform - invoke an OpenAI-type interface with a JSON string */
|
|
7612
|
-
mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
|
|
7613
|
-
/** Runware Video inference response */
|
|
7614
|
-
runwareVideoInferenceResponse?: VideoInferenceResponse;
|
|
7615
|
-
/** Open AI Responses API response */
|
|
7616
|
-
openAiResponsesResponse?: V1OpenAiResponsesResponse;
|
|
7617
|
-
/** Open AI Responses API response via Azure */
|
|
7618
|
-
azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
|
|
7619
|
-
/** OpenAI video generation response */
|
|
7620
|
-
openAiCreateVideoResponse?: CreateVideoResponse;
|
|
7621
|
-
/** Fireworks - OpenAI payload */
|
|
7622
|
-
fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
|
|
7623
|
-
/** Extracted generated content data from the model's response. */
|
|
7624
|
-
generatedContent?: GeneratedContent;
|
|
7625
|
-
/** Extracted cost of the request in microcents. */
|
|
7626
|
-
cost?: string | null;
|
|
7627
|
-
/** Token usage information. */
|
|
7628
|
-
tokenUsage?: V1TokenUsage;
|
|
7629
|
-
/** Metadata about the response, such as finish reason. */
|
|
7630
|
-
responseMetadata?: ResponseMetadata;
|
|
7756
|
+
interface GatewayToolDefinition extends GatewayToolDefinitionToolOneOf {
|
|
7757
|
+
/** Custom tool */
|
|
7758
|
+
customTool?: GatewayToolDefinitionCustomTool;
|
|
7759
|
+
/** Built-in tool */
|
|
7760
|
+
builtInTool?: BuiltInTool;
|
|
7631
7761
|
}
|
|
7632
7762
|
/** @oneof */
|
|
7633
|
-
interface
|
|
7634
|
-
/**
|
|
7635
|
-
|
|
7636
|
-
/**
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
/**
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7763
|
+
interface GatewayToolDefinitionToolOneOf {
|
|
7764
|
+
/** Custom tool */
|
|
7765
|
+
customTool?: GatewayToolDefinitionCustomTool;
|
|
7766
|
+
/** Built-in tool */
|
|
7767
|
+
builtInTool?: BuiltInTool;
|
|
7768
|
+
}
|
|
7769
|
+
interface GatewayToolDefinitionCustomTool {
|
|
7770
|
+
/**
|
|
7771
|
+
* The name of the tool to be called.
|
|
7772
|
+
* @maxLength 64
|
|
7773
|
+
*/
|
|
7774
|
+
name?: string | null;
|
|
7775
|
+
/**
|
|
7776
|
+
* The description of what the tool does.
|
|
7777
|
+
* @maxLength 100000
|
|
7778
|
+
*/
|
|
7779
|
+
description?: string | null;
|
|
7780
|
+
/** The parameters the tool accepts, described as a JSON Schema object. */
|
|
7781
|
+
parameters?: Record<string, any> | null;
|
|
7782
|
+
}
|
|
7783
|
+
interface BuiltInTool {
|
|
7784
|
+
/**
|
|
7785
|
+
* The name of the tool to be called.
|
|
7786
|
+
* @maxLength 64
|
|
7787
|
+
*/
|
|
7788
|
+
name?: string | null;
|
|
7789
|
+
/** Optional parameters specific to the built-in tool. */
|
|
7790
|
+
parameters?: Record<string, any> | null;
|
|
7791
|
+
}
|
|
7792
|
+
interface GatewayMessageDefinition {
|
|
7793
|
+
/** The role of the message author. */
|
|
7794
|
+
role?: GatewayMessageDefinitionRoleWithLiterals;
|
|
7795
|
+
/**
|
|
7796
|
+
* The content of the message.
|
|
7797
|
+
* @maxSize 4096
|
|
7798
|
+
*/
|
|
7799
|
+
content?: GatewayContentBlock[];
|
|
7800
|
+
}
|
|
7801
|
+
declare enum GatewayMessageDefinitionRole {
|
|
7802
|
+
UNKNOWN = "UNKNOWN",
|
|
7803
|
+
USER = "USER",
|
|
7804
|
+
ASSISTANT = "ASSISTANT",
|
|
7805
|
+
SYSTEM = "SYSTEM",
|
|
7806
|
+
TOOL = "TOOL",
|
|
7807
|
+
DEVELOPER = "DEVELOPER"
|
|
7808
|
+
}
|
|
7809
|
+
/** @enumType */
|
|
7810
|
+
type GatewayMessageDefinitionRoleWithLiterals = GatewayMessageDefinitionRole | 'UNKNOWN' | 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL' | 'DEVELOPER';
|
|
7811
|
+
interface GatewayContentBlock extends GatewayContentBlockTypeOneOf {
|
|
7812
|
+
/** Text content. */
|
|
7813
|
+
text?: TextContent;
|
|
7814
|
+
/** Media content, represented as URL. */
|
|
7815
|
+
media?: MediaContent;
|
|
7816
|
+
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
7817
|
+
toolUse?: ToolUseContent;
|
|
7818
|
+
/** Tool result content, describes the result of tool invocation. */
|
|
7819
|
+
toolResult?: ToolResultContent;
|
|
7820
|
+
/** Represents model's internal thought process. */
|
|
7821
|
+
thinking?: ThinkingTextContent;
|
|
7822
|
+
}
|
|
7823
|
+
/** @oneof */
|
|
7824
|
+
interface GatewayContentBlockTypeOneOf {
|
|
7825
|
+
/** Text content. */
|
|
7826
|
+
text?: TextContent;
|
|
7827
|
+
/** Media content, represented as URL. */
|
|
7828
|
+
media?: MediaContent;
|
|
7829
|
+
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
7830
|
+
toolUse?: ToolUseContent;
|
|
7831
|
+
/** Tool result content, describes the result of tool invocation. */
|
|
7832
|
+
toolResult?: ToolResultContent;
|
|
7833
|
+
/** Represents model's internal thought process. */
|
|
7834
|
+
thinking?: ThinkingTextContent;
|
|
7835
|
+
}
|
|
7836
|
+
interface TextContent {
|
|
7837
|
+
/**
|
|
7838
|
+
* Generated text
|
|
7839
|
+
* @maxLength 1000000
|
|
7840
|
+
*/
|
|
7841
|
+
generatedText?: string | null;
|
|
7842
|
+
/**
|
|
7843
|
+
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7844
|
+
* @maxLength 10000000
|
|
7845
|
+
*/
|
|
7846
|
+
thoughtSignature?: string | null;
|
|
7847
|
+
}
|
|
7848
|
+
interface MediaContent {
|
|
7849
|
+
/**
|
|
7850
|
+
* Mime type, e.g. "image/jpeg" or "video/mp4"
|
|
7851
|
+
* @maxLength 500
|
|
7852
|
+
*/
|
|
7853
|
+
mimeType?: string | null;
|
|
7854
|
+
/**
|
|
7855
|
+
* Wix Media Platform (WixMP) url where the image or video is stored.
|
|
7856
|
+
* @maxLength 5000
|
|
7857
|
+
*/
|
|
7858
|
+
url?: string;
|
|
7859
|
+
/**
|
|
7860
|
+
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7861
|
+
* @maxLength 10000000
|
|
7862
|
+
*/
|
|
7863
|
+
thoughtSignature?: string | null;
|
|
7864
|
+
}
|
|
7865
|
+
interface ToolUseContent {
|
|
7866
|
+
/**
|
|
7867
|
+
* Tool use id
|
|
7868
|
+
* @maxLength 100
|
|
7869
|
+
*/
|
|
7870
|
+
id?: string | null;
|
|
7871
|
+
/**
|
|
7872
|
+
* Tool use name
|
|
7873
|
+
* @maxLength 1000
|
|
7874
|
+
*/
|
|
7875
|
+
name?: string;
|
|
7876
|
+
/** Tool use input */
|
|
7877
|
+
input?: Record<string, any> | null;
|
|
7878
|
+
/**
|
|
7879
|
+
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7880
|
+
* @maxLength 10000000
|
|
7881
|
+
*/
|
|
7882
|
+
thoughtSignature?: string | null;
|
|
7883
|
+
}
|
|
7884
|
+
interface ToolResultContent {
|
|
7885
|
+
/**
|
|
7886
|
+
* Tool use id
|
|
7887
|
+
* @maxLength 100
|
|
7888
|
+
*/
|
|
7889
|
+
toolUseId?: string | null;
|
|
7890
|
+
/** Tool result is error. */
|
|
7891
|
+
error?: boolean | null;
|
|
7892
|
+
/**
|
|
7893
|
+
* Tool result content.
|
|
7894
|
+
* @maxSize 4096
|
|
7895
|
+
*/
|
|
7896
|
+
content?: GatewayContentBlock[];
|
|
7897
|
+
}
|
|
7898
|
+
interface ThinkingTextContent {
|
|
7899
|
+
/**
|
|
7900
|
+
* The thought text of the model thinking
|
|
7901
|
+
* @maxLength 1000000
|
|
7902
|
+
*/
|
|
7903
|
+
thoughtText?: string | null;
|
|
7904
|
+
/**
|
|
7905
|
+
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7906
|
+
* @maxLength 10000000
|
|
7907
|
+
*/
|
|
7908
|
+
thoughtSignature?: string | null;
|
|
7909
|
+
}
|
|
7910
|
+
interface ContentGenerationSucceededEvent {
|
|
7911
|
+
/** Model response object that describes the content generation result. */
|
|
7912
|
+
response?: GenerateContentModelResponse;
|
|
7913
|
+
/** Prompt's final form that was used to issue a GenerateContent request. */
|
|
7914
|
+
materializedPrompt?: Prompt;
|
|
7915
|
+
/**
|
|
7916
|
+
* 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.
|
|
7917
|
+
* @format GUID
|
|
7918
|
+
*/
|
|
7919
|
+
eventChainId?: string;
|
|
7920
|
+
}
|
|
7921
|
+
interface GenerateContentModelResponse extends GenerateContentModelResponseResponseOneOf {
|
|
7922
|
+
/** OpenAI chat completion response. */
|
|
7923
|
+
openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
|
|
7924
|
+
/** Google bison text completion response. */
|
|
7925
|
+
googleTextBisonResponse?: TextBisonPredictResponse;
|
|
7926
|
+
/** Azure OpenAI chat completion response. */
|
|
7927
|
+
azureChatCompletionResponse?: CreateChatCompletionResponse;
|
|
7928
|
+
/** Google Gemini generate content response. */
|
|
7929
|
+
googleGeminiGenerateContentResponse?: GenerateContentResponse;
|
|
7930
|
+
/** Anthropic Claude via Amazon Bedrock generate content response. */
|
|
7931
|
+
anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
|
|
7932
|
+
/** Anthropic Claude via Google vertex generate content response. */
|
|
7933
|
+
googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
|
|
7934
|
+
/** Native Anthropic API proxy generate content response. */
|
|
7935
|
+
invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
|
|
7936
|
+
/** Llama via Amazon Bedrock text completion response. */
|
|
7937
|
+
llamaModelResponse?: InvokeLlamaModelResponse;
|
|
7938
|
+
/** Invoke Amazon Converse API response. */
|
|
7939
|
+
amazonConverseResponse?: InvokeConverseResponse;
|
|
7940
|
+
/** Llama via ML Platform text completion response. */
|
|
7941
|
+
mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
|
|
7942
|
+
/** Perplexity chat completion response. */
|
|
7943
|
+
perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
|
|
7944
|
+
/** OpenAI image generation response. */
|
|
7945
|
+
openAiCreateImageResponse?: CreateImageResponse;
|
|
7946
|
+
/** Stability AI text to image response. */
|
|
7947
|
+
stabilityAiTextToImageResponse?: V1TextToImageResponse;
|
|
7948
|
+
/** Stability AI generate core response. */
|
|
7949
|
+
stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
|
|
7950
|
+
/** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
|
|
7951
|
+
stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
|
|
7952
|
+
/** Black Forest Labs image generation response. */
|
|
7953
|
+
blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
|
|
7954
|
+
/** Replicate image generation response. */
|
|
7955
|
+
replicateCreatePredictionResponse?: CreatePredictionResponse;
|
|
7956
|
+
/** Stability AI - Edit Image with prompt response. */
|
|
7957
|
+
stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
|
|
7958
|
+
/** Runware AI - Flux TextToImage response. */
|
|
7959
|
+
runwareTextToImageResponse?: TextToImageResponse;
|
|
7960
|
+
/** Google AI - Generate Image with Imagen Model response. */
|
|
7961
|
+
googleGenerateImageResponse?: V1GenerateImageResponse;
|
|
7962
|
+
/** Google AI - Generate Video response. */
|
|
7963
|
+
googleGenerateVideoResponse?: GenerateVideoResponse;
|
|
7964
|
+
/** ML generate image response. */
|
|
7965
|
+
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
7966
|
+
/** OpenAI image creation response. */
|
|
7967
|
+
openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
|
|
7968
|
+
/** OpenAI image edit response. */
|
|
7969
|
+
openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
|
|
7970
|
+
/** Google create chat completion response. */
|
|
7971
|
+
googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
|
|
7972
|
+
/** ML Platform - invoke an OpenAI-type interface with a JSON string */
|
|
7973
|
+
mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
|
|
7974
|
+
/** Runware Video inference response */
|
|
7975
|
+
runwareVideoInferenceResponse?: VideoInferenceResponse;
|
|
7976
|
+
/** Open AI Responses API response */
|
|
7977
|
+
openAiResponsesResponse?: V1OpenAiResponsesResponse;
|
|
7978
|
+
/** Open AI Responses API response via Azure */
|
|
7979
|
+
azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
|
|
7980
|
+
/** OpenAI video generation response */
|
|
7981
|
+
openAiCreateVideoResponse?: CreateVideoResponse;
|
|
7982
|
+
/** Fireworks - OpenAI payload */
|
|
7983
|
+
fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
|
|
7984
|
+
/** Bytedance - Create content task response (video generation) */
|
|
7985
|
+
bytedanceCreateContentTaskResponse?: CreateContentTaskResponse;
|
|
7986
|
+
/** Bytedance - Generate image response (Seedream models) */
|
|
7987
|
+
bytedanceGenerateImageResponse?: GenerateImageResponse;
|
|
7988
|
+
/** Extracted generated content data from the model's response. */
|
|
7989
|
+
generatedContent?: GeneratedContent;
|
|
7990
|
+
/** Extracted cost of the request in microcents. */
|
|
7991
|
+
cost?: string | null;
|
|
7992
|
+
/** Token usage information. */
|
|
7993
|
+
tokenUsage?: V1TokenUsage;
|
|
7994
|
+
/** Metadata about the response, such as finish reason. */
|
|
7995
|
+
responseMetadata?: ResponseMetadata;
|
|
7996
|
+
}
|
|
7997
|
+
/** @oneof */
|
|
7998
|
+
interface GenerateContentModelResponseResponseOneOf {
|
|
7999
|
+
/** OpenAI chat completion response. */
|
|
8000
|
+
openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
|
|
8001
|
+
/** Google bison text completion response. */
|
|
8002
|
+
googleTextBisonResponse?: TextBisonPredictResponse;
|
|
8003
|
+
/** Azure OpenAI chat completion response. */
|
|
8004
|
+
azureChatCompletionResponse?: CreateChatCompletionResponse;
|
|
8005
|
+
/** Google Gemini generate content response. */
|
|
8006
|
+
googleGeminiGenerateContentResponse?: GenerateContentResponse;
|
|
8007
|
+
/** Anthropic Claude via Amazon Bedrock generate content response. */
|
|
8008
|
+
anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
|
|
8009
|
+
/** Anthropic Claude via Google vertex generate content response. */
|
|
7647
8010
|
googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
|
|
7648
8011
|
/** Native Anthropic API proxy generate content response. */
|
|
7649
8012
|
invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
|
|
@@ -7672,7 +8035,7 @@ interface GenerateContentModelResponseResponseOneOf {
|
|
|
7672
8035
|
/** Runware AI - Flux TextToImage response. */
|
|
7673
8036
|
runwareTextToImageResponse?: TextToImageResponse;
|
|
7674
8037
|
/** Google AI - Generate Image with Imagen Model response. */
|
|
7675
|
-
googleGenerateImageResponse?:
|
|
8038
|
+
googleGenerateImageResponse?: V1GenerateImageResponse;
|
|
7676
8039
|
/** Google AI - Generate Video response. */
|
|
7677
8040
|
googleGenerateVideoResponse?: GenerateVideoResponse;
|
|
7678
8041
|
/** ML generate image response. */
|
|
@@ -7695,6 +8058,10 @@ interface GenerateContentModelResponseResponseOneOf {
|
|
|
7695
8058
|
openAiCreateVideoResponse?: CreateVideoResponse;
|
|
7696
8059
|
/** Fireworks - OpenAI payload */
|
|
7697
8060
|
fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
|
|
8061
|
+
/** Bytedance - Create content task response (video generation) */
|
|
8062
|
+
bytedanceCreateContentTaskResponse?: CreateContentTaskResponse;
|
|
8063
|
+
/** Bytedance - Generate image response (Seedream models) */
|
|
8064
|
+
bytedanceGenerateImageResponse?: GenerateImageResponse;
|
|
7698
8065
|
}
|
|
7699
8066
|
/** Model generation result, at least one of the fields should be present */
|
|
7700
8067
|
interface GeneratedContent {
|
|
@@ -7724,66 +8091,6 @@ interface GeneratedContent {
|
|
|
7724
8091
|
*/
|
|
7725
8092
|
tools?: ToolUseContent[];
|
|
7726
8093
|
}
|
|
7727
|
-
interface TextContent {
|
|
7728
|
-
/**
|
|
7729
|
-
* Generated text
|
|
7730
|
-
* @maxLength 1000000
|
|
7731
|
-
*/
|
|
7732
|
-
generatedText?: string | null;
|
|
7733
|
-
/**
|
|
7734
|
-
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7735
|
-
* @maxLength 10000000
|
|
7736
|
-
*/
|
|
7737
|
-
thoughtSignature?: string | null;
|
|
7738
|
-
}
|
|
7739
|
-
interface MediaContent {
|
|
7740
|
-
/**
|
|
7741
|
-
* Mime type, e.g. "image/jpeg" or "video/mp4"
|
|
7742
|
-
* @maxLength 500
|
|
7743
|
-
*/
|
|
7744
|
-
mimeType?: string | null;
|
|
7745
|
-
/**
|
|
7746
|
-
* Wix Media Platform (WixMP) url where the image or video is stored.
|
|
7747
|
-
* @maxLength 5000
|
|
7748
|
-
*/
|
|
7749
|
-
url?: string;
|
|
7750
|
-
/**
|
|
7751
|
-
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7752
|
-
* @maxLength 10000000
|
|
7753
|
-
*/
|
|
7754
|
-
thoughtSignature?: string | null;
|
|
7755
|
-
}
|
|
7756
|
-
interface ThinkingTextContent {
|
|
7757
|
-
/**
|
|
7758
|
-
* The thought text of the model thinking
|
|
7759
|
-
* @maxLength 1000000
|
|
7760
|
-
*/
|
|
7761
|
-
thoughtText?: string | null;
|
|
7762
|
-
/**
|
|
7763
|
-
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7764
|
-
* @maxLength 10000000
|
|
7765
|
-
*/
|
|
7766
|
-
thoughtSignature?: string | null;
|
|
7767
|
-
}
|
|
7768
|
-
interface ToolUseContent {
|
|
7769
|
-
/**
|
|
7770
|
-
* Tool use id
|
|
7771
|
-
* @maxLength 100
|
|
7772
|
-
*/
|
|
7773
|
-
id?: string | null;
|
|
7774
|
-
/**
|
|
7775
|
-
* Tool use name
|
|
7776
|
-
* @maxLength 1000
|
|
7777
|
-
*/
|
|
7778
|
-
name?: string;
|
|
7779
|
-
/** Tool use input */
|
|
7780
|
-
input?: Record<string, any> | null;
|
|
7781
|
-
/**
|
|
7782
|
-
* Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
|
|
7783
|
-
* @maxLength 10000000
|
|
7784
|
-
*/
|
|
7785
|
-
thoughtSignature?: string | null;
|
|
7786
|
-
}
|
|
7787
8094
|
interface V1TokenUsage {
|
|
7788
8095
|
/** Number of input tokens used in the request. */
|
|
7789
8096
|
inputTokens?: number | null;
|
|
@@ -7970,34 +8277,6 @@ interface TokenCount {
|
|
|
7970
8277
|
/** Number of billable characters */
|
|
7971
8278
|
totalBillableCharacters?: number | null;
|
|
7972
8279
|
}
|
|
7973
|
-
interface ChatBisonPredictResponse {
|
|
7974
|
-
/**
|
|
7975
|
-
* Response predictions
|
|
7976
|
-
* @maxSize 100
|
|
7977
|
-
*/
|
|
7978
|
-
predictions?: ChatBisonPrediction[];
|
|
7979
|
-
/** Response metadata */
|
|
7980
|
-
metadata?: Metadata;
|
|
7981
|
-
/** Cost of the request in microcents */
|
|
7982
|
-
microcentsSpent?: string | null;
|
|
7983
|
-
}
|
|
7984
|
-
interface ChatBisonPrediction {
|
|
7985
|
-
/**
|
|
7986
|
-
* The chat result generated from given message.
|
|
7987
|
-
* @maxSize 100
|
|
7988
|
-
*/
|
|
7989
|
-
candidates?: ChatMessage[];
|
|
7990
|
-
/**
|
|
7991
|
-
* Citation metadata
|
|
7992
|
-
* @maxSize 100
|
|
7993
|
-
*/
|
|
7994
|
-
citationMetadata?: CitationMetadata[];
|
|
7995
|
-
/**
|
|
7996
|
-
* An array of collections of categories and their associated confidence scores. 1-1 mapping to candidates.
|
|
7997
|
-
* @maxSize 100
|
|
7998
|
-
*/
|
|
7999
|
-
safetyAttributes?: SafetyAttribute[];
|
|
8000
|
-
}
|
|
8001
8280
|
interface CreateChatCompletionResponse {
|
|
8002
8281
|
/**
|
|
8003
8282
|
* A unique identifier for the chat completion.
|
|
@@ -8096,6 +8375,13 @@ interface Candidate {
|
|
|
8096
8375
|
* @maxLength 100000
|
|
8097
8376
|
*/
|
|
8098
8377
|
finishMessage?: string | null;
|
|
8378
|
+
/**
|
|
8379
|
+
* The raw finish reason string as returned by Google's API.
|
|
8380
|
+
* Preserves the original value even when it cannot be mapped to the FinishReason enum,
|
|
8381
|
+
* ensuring forward compatibility when Google adds new finish reason values.
|
|
8382
|
+
* @maxLength 1000
|
|
8383
|
+
*/
|
|
8384
|
+
finishReasonStr?: string | null;
|
|
8099
8385
|
}
|
|
8100
8386
|
interface CandidateContent {
|
|
8101
8387
|
/**
|
|
@@ -9001,7 +9287,7 @@ interface TextToImageTaskResult {
|
|
|
9001
9287
|
*/
|
|
9002
9288
|
seed?: string | null;
|
|
9003
9289
|
}
|
|
9004
|
-
interface
|
|
9290
|
+
interface V1GenerateImageResponse {
|
|
9005
9291
|
/**
|
|
9006
9292
|
* Array of generated image results, one for each requested sampleCount
|
|
9007
9293
|
* @maxSize 8
|
|
@@ -9108,9 +9394,9 @@ interface CreateImageOpenAiResponse {
|
|
|
9108
9394
|
/** Cost of the request in micro cents. */
|
|
9109
9395
|
microcentsSpent?: string | null;
|
|
9110
9396
|
/** Usage information from the API response */
|
|
9111
|
-
usage?:
|
|
9397
|
+
usage?: V1ImageUsage;
|
|
9112
9398
|
}
|
|
9113
|
-
interface
|
|
9399
|
+
interface V1ImageUsage {
|
|
9114
9400
|
/** Number of tokens in the input */
|
|
9115
9401
|
inputTokens?: number | null;
|
|
9116
9402
|
/** Details about input tokens */
|
|
@@ -9139,7 +9425,7 @@ interface EditImageOpenAiResponse {
|
|
|
9139
9425
|
/** Cost of the request in micro cents. */
|
|
9140
9426
|
microcentsSpent?: string | null;
|
|
9141
9427
|
/** Usage information from the API response */
|
|
9142
|
-
usage?:
|
|
9428
|
+
usage?: V1ImageUsage;
|
|
9143
9429
|
}
|
|
9144
9430
|
interface V1CreateChatCompletionResponse {
|
|
9145
9431
|
/**
|
|
@@ -9580,75 +9866,255 @@ interface ErrorInfo {
|
|
|
9580
9866
|
*/
|
|
9581
9867
|
message?: string | null;
|
|
9582
9868
|
}
|
|
9583
|
-
interface InvokeCustomOpenAiModelResponse {
|
|
9869
|
+
interface InvokeCustomOpenAiModelResponse {
|
|
9870
|
+
/**
|
|
9871
|
+
* A unique identifier for the chat completion.
|
|
9872
|
+
* @maxLength 100
|
|
9873
|
+
*/
|
|
9874
|
+
responseId?: string | null;
|
|
9875
|
+
/**
|
|
9876
|
+
* Description of the response object. Will be equal to "chat.completion" for chat completion.
|
|
9877
|
+
* @maxLength 100
|
|
9878
|
+
*/
|
|
9879
|
+
object?: string | null;
|
|
9880
|
+
/** Timestamp for when the response was created. */
|
|
9881
|
+
created?: number | null;
|
|
9882
|
+
/**
|
|
9883
|
+
* Model that produced the completion.
|
|
9884
|
+
* @maxLength 10000
|
|
9885
|
+
*/
|
|
9886
|
+
modelId?: string;
|
|
9887
|
+
/** A list of chat completion choices. Can be more than one if n is greater than 1. */
|
|
9888
|
+
choices?: InvokeCustomOpenAiModelResponseChoice[];
|
|
9889
|
+
/** TokenUsage object describing the tokens usage per request. */
|
|
9890
|
+
usage?: InvokeCustomOpenAiModelResponseTokenUsage;
|
|
9891
|
+
/** Cost of the request in microcents. */
|
|
9892
|
+
microcentsSpent?: string | null;
|
|
9893
|
+
/**
|
|
9894
|
+
* This fingerprint represents the backend configuration that the model runs with.
|
|
9895
|
+
* Can be used in conjunction with the seed request parameter to understand when backend changes have been made that might impact determinism.
|
|
9896
|
+
* @maxLength 10000
|
|
9897
|
+
*/
|
|
9898
|
+
systemFingerprint?: string | null;
|
|
9899
|
+
}
|
|
9900
|
+
interface InvokeCustomOpenAiModelResponsePromptTokenDetails {
|
|
9901
|
+
/** Audio input tokens present in the prompt. */
|
|
9902
|
+
audioTokens?: number | null;
|
|
9903
|
+
/** Cached tokens present in the prompt. */
|
|
9904
|
+
cachedTokens?: number | null;
|
|
9905
|
+
}
|
|
9906
|
+
interface InvokeCustomOpenAiModelResponseCompletionTokenDetails {
|
|
9907
|
+
/** Reasoning tokens present in the completion. */
|
|
9908
|
+
reasoningTokens?: number | null;
|
|
9909
|
+
/** Audio tokens present in the completion. */
|
|
9910
|
+
audioTokens?: number | null;
|
|
9911
|
+
/** Accepted prediction tokens. */
|
|
9912
|
+
acceptedPredictionTokens?: number | null;
|
|
9913
|
+
/** Rejected prediction tokens. */
|
|
9914
|
+
rejectedPredictionTokens?: number | null;
|
|
9915
|
+
}
|
|
9916
|
+
interface InvokeCustomOpenAiModelResponseChoice {
|
|
9917
|
+
/** Index of this Choice in choices array. */
|
|
9918
|
+
index?: number | null;
|
|
9919
|
+
/** ChatCompletionMessage object that defines the message. */
|
|
9920
|
+
message?: Fireworks_proxyV1ChatCompletionMessage;
|
|
9921
|
+
/**
|
|
9922
|
+
* Reason why the message generation was stopped.
|
|
9923
|
+
* @maxLength 100
|
|
9924
|
+
*/
|
|
9925
|
+
finishReason?: string | null;
|
|
9926
|
+
}
|
|
9927
|
+
interface InvokeCustomOpenAiModelResponseTokenUsage {
|
|
9928
|
+
/** Number of LLM tokens required to encode input. */
|
|
9929
|
+
inputTokens?: number | null;
|
|
9930
|
+
/** Number of LLM tokens required to encode output. */
|
|
9931
|
+
outputTokens?: number | null;
|
|
9932
|
+
/** Total number of LLM tokens used for the request. */
|
|
9933
|
+
totalTokens?: number | null;
|
|
9934
|
+
/** Breakdown of tokens used in the prompt. */
|
|
9935
|
+
promptTokenDetails?: InvokeCustomOpenAiModelResponsePromptTokenDetails;
|
|
9936
|
+
/** Breakdown of tokens used in the completion. */
|
|
9937
|
+
completionTokenDetails?: InvokeCustomOpenAiModelResponseCompletionTokenDetails;
|
|
9938
|
+
}
|
|
9939
|
+
interface CreateContentTaskResponse {
|
|
9940
|
+
task?: CommonContentTaskResponse;
|
|
9941
|
+
}
|
|
9942
|
+
interface CommonContentTaskResponse {
|
|
9943
|
+
/**
|
|
9944
|
+
* The ID of the video generation task.
|
|
9945
|
+
* @format GUID
|
|
9946
|
+
*/
|
|
9947
|
+
id?: string | null;
|
|
9948
|
+
/**
|
|
9949
|
+
* The name and version of the model used by the task.
|
|
9950
|
+
* @maxLength 255
|
|
9951
|
+
*/
|
|
9952
|
+
model?: string | null;
|
|
9953
|
+
/**
|
|
9954
|
+
* The status of the task.
|
|
9955
|
+
* Valid values: queued, running, cancelled, succeeded, failed, expired.
|
|
9956
|
+
* @maxLength 255
|
|
9957
|
+
*/
|
|
9958
|
+
status?: string | null;
|
|
9959
|
+
/** Error information. Null if the task succeeds. */
|
|
9960
|
+
error?: TaskError;
|
|
9961
|
+
/** The time when the task was created (Unix timestamp in seconds). */
|
|
9962
|
+
createdAt?: string | null;
|
|
9963
|
+
/** The time when the task was last updated (Unix timestamp in seconds). */
|
|
9964
|
+
updatedAt?: string | null;
|
|
9965
|
+
/** The output after the video generation task is completed. */
|
|
9966
|
+
content?: TaskContent;
|
|
9967
|
+
/**
|
|
9968
|
+
* The seed value used for this request.
|
|
9969
|
+
* @min -1
|
|
9970
|
+
* @max 4294967295
|
|
9971
|
+
*/
|
|
9972
|
+
seed?: number | null;
|
|
9973
|
+
/**
|
|
9974
|
+
* The resolution of the generated video.
|
|
9975
|
+
* @maxLength 255
|
|
9976
|
+
*/
|
|
9977
|
+
resolution?: string | null;
|
|
9978
|
+
/**
|
|
9979
|
+
* The width-to-height ratio of the generated video.
|
|
9980
|
+
* @maxLength 255
|
|
9981
|
+
*/
|
|
9982
|
+
ratio?: string | null;
|
|
9983
|
+
/**
|
|
9984
|
+
* The length of the generated video in seconds.
|
|
9985
|
+
* Only one of duration and frames is returned.
|
|
9986
|
+
* @min -1
|
|
9987
|
+
* @max 120
|
|
9988
|
+
*/
|
|
9989
|
+
duration?: number | null;
|
|
9990
|
+
/**
|
|
9991
|
+
* Number of frames for the generated video.
|
|
9992
|
+
* Only one of duration and frames is returned.
|
|
9993
|
+
* @min 29
|
|
9994
|
+
* @max 2890
|
|
9995
|
+
*/
|
|
9996
|
+
frames?: number | null;
|
|
9997
|
+
/** The frame rate of the generated video. */
|
|
9998
|
+
framespersecond?: number | null;
|
|
9999
|
+
/**
|
|
10000
|
+
* Whether the generated video includes audio synchronized with the visuals.
|
|
10001
|
+
* Only supported by Seedance 1.5 pro.
|
|
10002
|
+
*/
|
|
10003
|
+
generateAudio?: boolean | null;
|
|
10004
|
+
/**
|
|
10005
|
+
* Whether the generated video is a Draft video.
|
|
10006
|
+
* Only returned by Seedance 1.5 Pro.
|
|
10007
|
+
*/
|
|
10008
|
+
draft?: boolean | null;
|
|
10009
|
+
/**
|
|
10010
|
+
* Draft video task ID. Returned when generating official video from a draft.
|
|
10011
|
+
* @maxLength 1000
|
|
10012
|
+
*/
|
|
10013
|
+
draftTaskId?: string | null;
|
|
10014
|
+
/**
|
|
10015
|
+
* The service tier actually used to process the task.
|
|
10016
|
+
* @maxLength 255
|
|
10017
|
+
*/
|
|
10018
|
+
serviceTier?: string | null;
|
|
10019
|
+
/**
|
|
10020
|
+
* The expiration threshold for the task, in seconds.
|
|
10021
|
+
* @min 3600
|
|
10022
|
+
* @max 259200
|
|
10023
|
+
*/
|
|
10024
|
+
executionExpiresAfter?: number | null;
|
|
10025
|
+
/** The token usage for the request. */
|
|
10026
|
+
usage?: TaskUsage;
|
|
10027
|
+
/** The cost of the request in microcents. */
|
|
10028
|
+
microcentsSpent?: string | null;
|
|
10029
|
+
}
|
|
10030
|
+
interface TaskError {
|
|
10031
|
+
/**
|
|
10032
|
+
* The error code.
|
|
10033
|
+
* @maxLength 255
|
|
10034
|
+
*/
|
|
10035
|
+
code?: string | null;
|
|
10036
|
+
/**
|
|
10037
|
+
* The error message.
|
|
10038
|
+
* @maxLength 255
|
|
10039
|
+
*/
|
|
10040
|
+
message?: string | null;
|
|
10041
|
+
}
|
|
10042
|
+
interface TaskContent {
|
|
10043
|
+
/**
|
|
10044
|
+
* The URL of the output video. Valid for 24 hours.
|
|
10045
|
+
* @maxLength 255
|
|
10046
|
+
*/
|
|
10047
|
+
videoUrl?: string | null;
|
|
10048
|
+
/**
|
|
10049
|
+
* URL of the last frame of the generated video. Valid for 24 hours.
|
|
10050
|
+
* Returned only if return_last_frame was set to true in the creation request.
|
|
10051
|
+
* @maxLength 255
|
|
10052
|
+
*/
|
|
10053
|
+
lastFrameUrl?: string | null;
|
|
10054
|
+
}
|
|
10055
|
+
interface TaskUsage {
|
|
10056
|
+
/** The number of tokens consumed for the video output. */
|
|
10057
|
+
completionTokens?: number | null;
|
|
10058
|
+
/** Total tokens for this request (input tokens are always 0). */
|
|
10059
|
+
totalTokens?: number | null;
|
|
10060
|
+
}
|
|
10061
|
+
interface GenerateImageResponse {
|
|
9584
10062
|
/**
|
|
9585
|
-
*
|
|
9586
|
-
* @maxLength
|
|
10063
|
+
* The model ID used for generation (model name-version).
|
|
10064
|
+
* @maxLength 255
|
|
9587
10065
|
*/
|
|
9588
|
-
|
|
10066
|
+
model?: string | null;
|
|
10067
|
+
/** Unix timestamp (seconds) of the creation time of the request. */
|
|
10068
|
+
created?: string | null;
|
|
9589
10069
|
/**
|
|
9590
|
-
*
|
|
9591
|
-
*
|
|
10070
|
+
* Generated image data. May contain multiple entries for batch generation.
|
|
10071
|
+
* When batch-generating, if an image fails due to content moderation the remaining
|
|
10072
|
+
* images continue; if it fails due to an internal error (500), subsequent images are skipped.
|
|
9592
10073
|
*/
|
|
9593
|
-
|
|
9594
|
-
/**
|
|
9595
|
-
|
|
10074
|
+
data?: ImageData[];
|
|
10075
|
+
/** Token usage information for this request. */
|
|
10076
|
+
usage?: ImageUsage;
|
|
10077
|
+
/** Request-level error information, if any. */
|
|
10078
|
+
error?: ImageError;
|
|
10079
|
+
/** The cost of the request in microcents (set by proxy, not vendor). */
|
|
10080
|
+
microcentsSpent?: string | null;
|
|
10081
|
+
}
|
|
10082
|
+
interface ImageData {
|
|
9596
10083
|
/**
|
|
9597
|
-
*
|
|
10084
|
+
* URL of the generated image. Returned when response_format = "url".
|
|
10085
|
+
* The link expires 24 hours after generation.
|
|
9598
10086
|
* @maxLength 10000
|
|
9599
10087
|
*/
|
|
9600
|
-
|
|
9601
|
-
/**
|
|
9602
|
-
|
|
9603
|
-
/** TokenUsage object describing the tokens usage per request. */
|
|
9604
|
-
usage?: InvokeCustomOpenAiModelResponseTokenUsage;
|
|
9605
|
-
/** Cost of the request in microcents. */
|
|
9606
|
-
microcentsSpent?: string | null;
|
|
10088
|
+
url?: string | null;
|
|
10089
|
+
/** Base64-encoded image data. Returned when response_format = "b64_json". */
|
|
10090
|
+
b64Json?: string | null;
|
|
9607
10091
|
/**
|
|
9608
|
-
*
|
|
9609
|
-
*
|
|
9610
|
-
* @maxLength 10000
|
|
10092
|
+
* The width and height of the generated image in pixels, format "<width>x<height>" (e.g. "2048x2048").
|
|
10093
|
+
* @maxLength 255
|
|
9611
10094
|
*/
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
/** Audio input tokens present in the prompt. */
|
|
9616
|
-
audioTokens?: number | null;
|
|
9617
|
-
/** Cached tokens present in the prompt. */
|
|
9618
|
-
cachedTokens?: number | null;
|
|
9619
|
-
}
|
|
9620
|
-
interface InvokeCustomOpenAiModelResponseCompletionTokenDetails {
|
|
9621
|
-
/** Reasoning tokens present in the completion. */
|
|
9622
|
-
reasoningTokens?: number | null;
|
|
9623
|
-
/** Audio tokens present in the completion. */
|
|
9624
|
-
audioTokens?: number | null;
|
|
9625
|
-
/** Accepted prediction tokens. */
|
|
9626
|
-
acceptedPredictionTokens?: number | null;
|
|
9627
|
-
/** Rejected prediction tokens. */
|
|
9628
|
-
rejectedPredictionTokens?: number | null;
|
|
10095
|
+
size?: string | null;
|
|
10096
|
+
/** Per-image error information for a failed generation within a batch. */
|
|
10097
|
+
error?: ImageError;
|
|
9629
10098
|
}
|
|
9630
|
-
interface
|
|
9631
|
-
/** Index of this Choice in choices array. */
|
|
9632
|
-
index?: number | null;
|
|
9633
|
-
/** ChatCompletionMessage object that defines the message. */
|
|
9634
|
-
message?: Fireworks_proxyV1ChatCompletionMessage;
|
|
10099
|
+
interface ImageError {
|
|
9635
10100
|
/**
|
|
9636
|
-
*
|
|
9637
|
-
* @maxLength
|
|
10101
|
+
* Error code. See ByteDance error codes documentation.
|
|
10102
|
+
* @maxLength 255
|
|
9638
10103
|
*/
|
|
9639
|
-
|
|
10104
|
+
code?: string | null;
|
|
10105
|
+
/**
|
|
10106
|
+
* Human-readable error message.
|
|
10107
|
+
* @maxLength 1000
|
|
10108
|
+
*/
|
|
10109
|
+
message?: string | null;
|
|
9640
10110
|
}
|
|
9641
|
-
interface
|
|
9642
|
-
/** Number of
|
|
9643
|
-
|
|
9644
|
-
/** Number of
|
|
10111
|
+
interface ImageUsage {
|
|
10112
|
+
/** Number of images successfully generated, excluding failures. Billing is based on this count. */
|
|
10113
|
+
generatedImages?: number | null;
|
|
10114
|
+
/** Number of output tokens consumed. Calculated as sum(image_width * image_height) / 256, rounded. */
|
|
9645
10115
|
outputTokens?: number | null;
|
|
9646
|
-
/** Total
|
|
10116
|
+
/** Total tokens consumed by this request. Same as output_tokens (input tokens are not counted). */
|
|
9647
10117
|
totalTokens?: number | null;
|
|
9648
|
-
/** Breakdown of tokens used in the prompt. */
|
|
9649
|
-
promptTokenDetails?: InvokeCustomOpenAiModelResponsePromptTokenDetails;
|
|
9650
|
-
/** Breakdown of tokens used in the completion. */
|
|
9651
|
-
completionTokenDetails?: InvokeCustomOpenAiModelResponseCompletionTokenDetails;
|
|
9652
10118
|
}
|
|
9653
10119
|
interface ContentGenerationFailedEvent {
|
|
9654
10120
|
/**
|
|
@@ -9695,112 +10161,6 @@ interface FallbackProperties {
|
|
|
9695
10161
|
/** FallbackPromptConfig object that describes optional second Prompt that can be invoked in case main invocation fails. */
|
|
9696
10162
|
fallbackPromptConfig?: FallbackPromptConfig;
|
|
9697
10163
|
}
|
|
9698
|
-
interface DynamicRequestConfig {
|
|
9699
|
-
/**
|
|
9700
|
-
* List of GatewayToolDefinition's, used to overwrite tools in the prompt.
|
|
9701
|
-
* @maxSize 100
|
|
9702
|
-
*/
|
|
9703
|
-
gatewayToolDefinitions?: GatewayToolDefinition[];
|
|
9704
|
-
/**
|
|
9705
|
-
* List of GatewayMessageDefinition's, which will be converted to model-specific format and appended to the messages saved in the prompt.
|
|
9706
|
-
* @maxSize 100
|
|
9707
|
-
*/
|
|
9708
|
-
gatewayMessageDefinitions?: GatewayMessageDefinition[];
|
|
9709
|
-
}
|
|
9710
|
-
interface GatewayToolDefinition extends GatewayToolDefinitionToolOneOf {
|
|
9711
|
-
/** Custom tool */
|
|
9712
|
-
customTool?: GatewayToolDefinitionCustomTool;
|
|
9713
|
-
/** Built-in tool */
|
|
9714
|
-
builtInTool?: BuiltInTool;
|
|
9715
|
-
}
|
|
9716
|
-
/** @oneof */
|
|
9717
|
-
interface GatewayToolDefinitionToolOneOf {
|
|
9718
|
-
/** Custom tool */
|
|
9719
|
-
customTool?: GatewayToolDefinitionCustomTool;
|
|
9720
|
-
/** Built-in tool */
|
|
9721
|
-
builtInTool?: BuiltInTool;
|
|
9722
|
-
}
|
|
9723
|
-
interface GatewayToolDefinitionCustomTool {
|
|
9724
|
-
/**
|
|
9725
|
-
* The name of the tool to be called.
|
|
9726
|
-
* @maxLength 64
|
|
9727
|
-
*/
|
|
9728
|
-
name?: string | null;
|
|
9729
|
-
/**
|
|
9730
|
-
* The description of what the tool does.
|
|
9731
|
-
* @maxLength 100000
|
|
9732
|
-
*/
|
|
9733
|
-
description?: string | null;
|
|
9734
|
-
/** The parameters the tool accepts, described as a JSON Schema object. */
|
|
9735
|
-
parameters?: Record<string, any> | null;
|
|
9736
|
-
}
|
|
9737
|
-
interface BuiltInTool {
|
|
9738
|
-
/**
|
|
9739
|
-
* The name of the tool to be called.
|
|
9740
|
-
* @maxLength 64
|
|
9741
|
-
*/
|
|
9742
|
-
name?: string | null;
|
|
9743
|
-
/** Optional parameters specific to the built-in tool. */
|
|
9744
|
-
parameters?: Record<string, any> | null;
|
|
9745
|
-
}
|
|
9746
|
-
interface GatewayMessageDefinition {
|
|
9747
|
-
/** The role of the message author. */
|
|
9748
|
-
role?: GatewayMessageDefinitionRoleWithLiterals;
|
|
9749
|
-
/**
|
|
9750
|
-
* The content of the message.
|
|
9751
|
-
* @maxSize 4096
|
|
9752
|
-
*/
|
|
9753
|
-
content?: GatewayContentBlock[];
|
|
9754
|
-
}
|
|
9755
|
-
declare enum GatewayMessageDefinitionRole {
|
|
9756
|
-
UNKNOWN = "UNKNOWN",
|
|
9757
|
-
USER = "USER",
|
|
9758
|
-
ASSISTANT = "ASSISTANT",
|
|
9759
|
-
SYSTEM = "SYSTEM",
|
|
9760
|
-
TOOL = "TOOL",
|
|
9761
|
-
DEVELOPER = "DEVELOPER"
|
|
9762
|
-
}
|
|
9763
|
-
/** @enumType */
|
|
9764
|
-
type GatewayMessageDefinitionRoleWithLiterals = GatewayMessageDefinitionRole | 'UNKNOWN' | 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL' | 'DEVELOPER';
|
|
9765
|
-
interface GatewayContentBlock extends GatewayContentBlockTypeOneOf {
|
|
9766
|
-
/** Text content. */
|
|
9767
|
-
text?: TextContent;
|
|
9768
|
-
/** Media content, represented as URL. */
|
|
9769
|
-
media?: MediaContent;
|
|
9770
|
-
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
9771
|
-
toolUse?: ToolUseContent;
|
|
9772
|
-
/** Tool result content, describes the result of tool invocation. */
|
|
9773
|
-
toolResult?: ToolResultContent;
|
|
9774
|
-
/** Represents model's internal thought process. */
|
|
9775
|
-
thinking?: ThinkingTextContent;
|
|
9776
|
-
}
|
|
9777
|
-
/** @oneof */
|
|
9778
|
-
interface GatewayContentBlockTypeOneOf {
|
|
9779
|
-
/** Text content. */
|
|
9780
|
-
text?: TextContent;
|
|
9781
|
-
/** Media content, represented as URL. */
|
|
9782
|
-
media?: MediaContent;
|
|
9783
|
-
/** Tool use content, describes which tool should be used and with which parameters. */
|
|
9784
|
-
toolUse?: ToolUseContent;
|
|
9785
|
-
/** Tool result content, describes the result of tool invocation. */
|
|
9786
|
-
toolResult?: ToolResultContent;
|
|
9787
|
-
/** Represents model's internal thought process. */
|
|
9788
|
-
thinking?: ThinkingTextContent;
|
|
9789
|
-
}
|
|
9790
|
-
interface ToolResultContent {
|
|
9791
|
-
/**
|
|
9792
|
-
* Tool use id
|
|
9793
|
-
* @maxLength 100
|
|
9794
|
-
*/
|
|
9795
|
-
toolUseId?: string | null;
|
|
9796
|
-
/** Tool result is error. */
|
|
9797
|
-
error?: boolean | null;
|
|
9798
|
-
/**
|
|
9799
|
-
* Tool result content.
|
|
9800
|
-
* @maxSize 4096
|
|
9801
|
-
*/
|
|
9802
|
-
content?: GatewayContentBlock[];
|
|
9803
|
-
}
|
|
9804
10164
|
interface GenerateTextByPromptResponse {
|
|
9805
10165
|
/** ModelResponse object that describes the text generation result. */
|
|
9806
10166
|
response?: ModelResponse;
|
|
@@ -9817,8 +10177,6 @@ interface ModelResponse extends ModelResponseResponseOneOf {
|
|
|
9817
10177
|
openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
|
|
9818
10178
|
/** Google bison text completion response. */
|
|
9819
10179
|
googleTextBisonResponse?: TextBisonPredictResponse;
|
|
9820
|
-
/** Google bison chat completion response. */
|
|
9821
|
-
googleChatBisonResponse?: ChatBisonPredictResponse;
|
|
9822
10180
|
/** Azure OpenAI chat completion response. */
|
|
9823
10181
|
azureChatCompletionResponse?: CreateChatCompletionResponse;
|
|
9824
10182
|
/** Google Gemini generate content response. */
|
|
@@ -9858,8 +10216,6 @@ interface ModelResponseResponseOneOf {
|
|
|
9858
10216
|
openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
|
|
9859
10217
|
/** Google bison text completion response. */
|
|
9860
10218
|
googleTextBisonResponse?: TextBisonPredictResponse;
|
|
9861
|
-
/** Google bison chat completion response. */
|
|
9862
|
-
googleChatBisonResponse?: ChatBisonPredictResponse;
|
|
9863
10219
|
/** Azure OpenAI chat completion response. */
|
|
9864
10220
|
azureChatCompletionResponse?: CreateChatCompletionResponse;
|
|
9865
10221
|
/** Google Gemini generate content response. */
|
|
@@ -9899,6 +10255,8 @@ interface GenerationRequestedEvent {
|
|
|
9899
10255
|
* @format GUID
|
|
9900
10256
|
*/
|
|
9901
10257
|
eventChainId?: string;
|
|
10258
|
+
/** Dynamic request configuration, including dynamic tools and messages. */
|
|
10259
|
+
dynamicRequestConfig?: DynamicRequestConfig;
|
|
9902
10260
|
}
|
|
9903
10261
|
interface TextGenerationSucceededEvent {
|
|
9904
10262
|
/** ModelResponse object that describes the text generation result. */
|
|
@@ -9927,7 +10285,7 @@ interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
|
|
|
9927
10285
|
/** Azure OpenAI chat completion chunk. */
|
|
9928
10286
|
azureChatCompletionChunk?: ChatCompletionChunk;
|
|
9929
10287
|
/** OpenAI chat completion chunk. */
|
|
9930
|
-
openaiChatCompletionChunk?:
|
|
10288
|
+
openaiChatCompletionChunk?: OpenaiproxyV1ChatCompletionChunk;
|
|
9931
10289
|
/** Anthropic (via Google proxy) chat completion chunk. */
|
|
9932
10290
|
googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
|
|
9933
10291
|
/** Google Gemini GenerateContentResponse chunk. */
|
|
@@ -9936,6 +10294,8 @@ interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
|
|
|
9936
10294
|
amazonAnthropicStreamChunk?: AnthropicStreamChunk;
|
|
9937
10295
|
/** Native Anthropic API proxy stream chunk. */
|
|
9938
10296
|
anthropicStreamChunk?: V1AnthropicStreamChunk;
|
|
10297
|
+
/** Fireworks chat completion chunk. */
|
|
10298
|
+
fireworksChatCompletionChunk?: V1ChatCompletionChunk;
|
|
9939
10299
|
/**
|
|
9940
10300
|
* Extracted text content from the chunk.
|
|
9941
10301
|
* @maxLength 100
|
|
@@ -9952,7 +10312,7 @@ interface GeneratedTextChunkModelChunkOneOf {
|
|
|
9952
10312
|
/** Azure OpenAI chat completion chunk. */
|
|
9953
10313
|
azureChatCompletionChunk?: ChatCompletionChunk;
|
|
9954
10314
|
/** OpenAI chat completion chunk. */
|
|
9955
|
-
openaiChatCompletionChunk?:
|
|
10315
|
+
openaiChatCompletionChunk?: OpenaiproxyV1ChatCompletionChunk;
|
|
9956
10316
|
/** Anthropic (via Google proxy) chat completion chunk. */
|
|
9957
10317
|
googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
|
|
9958
10318
|
/** Google Gemini GenerateContentResponse chunk. */
|
|
@@ -9961,6 +10321,8 @@ interface GeneratedTextChunkModelChunkOneOf {
|
|
|
9961
10321
|
amazonAnthropicStreamChunk?: AnthropicStreamChunk;
|
|
9962
10322
|
/** Native Anthropic API proxy stream chunk. */
|
|
9963
10323
|
anthropicStreamChunk?: V1AnthropicStreamChunk;
|
|
10324
|
+
/** Fireworks chat completion chunk. */
|
|
10325
|
+
fireworksChatCompletionChunk?: V1ChatCompletionChunk;
|
|
9964
10326
|
}
|
|
9965
10327
|
interface ChatCompletionChunk {
|
|
9966
10328
|
/**
|
|
@@ -10028,7 +10390,7 @@ interface ChunkChoice {
|
|
|
10028
10390
|
/** The index of the choice in the list of choices. */
|
|
10029
10391
|
index?: number | null;
|
|
10030
10392
|
}
|
|
10031
|
-
interface
|
|
10393
|
+
interface OpenaiproxyV1ChatCompletionChunk {
|
|
10032
10394
|
/**
|
|
10033
10395
|
* A unique identifier for the chat completion. Each chunk has the same ID.
|
|
10034
10396
|
* @maxLength 100
|
|
@@ -10038,7 +10400,7 @@ interface V1ChatCompletionChunk {
|
|
|
10038
10400
|
* A list of chat completion choices. Can contain more than one elements if n is greater than 1.
|
|
10039
10401
|
* Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
|
|
10040
10402
|
*/
|
|
10041
|
-
choices?:
|
|
10403
|
+
choices?: V1ChatCompletionChunkChunkChoice[];
|
|
10042
10404
|
/**
|
|
10043
10405
|
* The Unix timestamp (in seconds) of when the chat completion was created.
|
|
10044
10406
|
* Each chunk has the same timestamp.
|
|
@@ -10065,7 +10427,7 @@ interface V1ChatCompletionChunk {
|
|
|
10065
10427
|
/** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
|
|
10066
10428
|
microcentsSpent?: string | null;
|
|
10067
10429
|
}
|
|
10068
|
-
interface
|
|
10430
|
+
interface ChatCompletionChunkChunkChoiceChunkDelta {
|
|
10069
10431
|
/**
|
|
10070
10432
|
* The contents of the chunk message.
|
|
10071
10433
|
* @maxLength 1000
|
|
@@ -10079,9 +10441,9 @@ interface ChunkChoiceChunkDelta {
|
|
|
10079
10441
|
*/
|
|
10080
10442
|
toolCalls?: V1ChatCompletionMessageToolCall[];
|
|
10081
10443
|
}
|
|
10082
|
-
interface
|
|
10444
|
+
interface V1ChatCompletionChunkChunkChoice {
|
|
10083
10445
|
/** A chat completion delta generated by streamed model responses */
|
|
10084
|
-
delta?:
|
|
10446
|
+
delta?: ChatCompletionChunkChunkChoiceChunkDelta;
|
|
10085
10447
|
/**
|
|
10086
10448
|
* The reason the model stopped generating tokens. This will be
|
|
10087
10449
|
* "stop" if the model hit a natural stop point or a provided stop sequence,
|
|
@@ -10366,6 +10728,72 @@ interface AnthropicStreamChunkMessageDelta {
|
|
|
10366
10728
|
/** Cost of the request so far, in microcents. */
|
|
10367
10729
|
microcentsSpent?: string | null;
|
|
10368
10730
|
}
|
|
10731
|
+
interface V1ChatCompletionChunk {
|
|
10732
|
+
/**
|
|
10733
|
+
* A unique identifier for the chat completion. Each chunk has the same ID.
|
|
10734
|
+
* @maxLength 100
|
|
10735
|
+
*/
|
|
10736
|
+
responseId?: string | null;
|
|
10737
|
+
/**
|
|
10738
|
+
* A list of chat completion choices. Can contain more than one elements if n is greater than 1.
|
|
10739
|
+
* Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
|
|
10740
|
+
*/
|
|
10741
|
+
choices?: ChatCompletionChunkChunkChoice[];
|
|
10742
|
+
/**
|
|
10743
|
+
* The Unix timestamp (in seconds) of when the chat completion was created.
|
|
10744
|
+
* Each chunk has the same timestamp.
|
|
10745
|
+
*/
|
|
10746
|
+
created?: number | null;
|
|
10747
|
+
/** Model that produced the completion. */
|
|
10748
|
+
modelId?: string;
|
|
10749
|
+
/**
|
|
10750
|
+
* This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
|
|
10751
|
+
* seed request parameter to understand when backend changes have been made that might impact determinism.
|
|
10752
|
+
* @maxLength 10000
|
|
10753
|
+
*/
|
|
10754
|
+
systemFingerprint?: string | null;
|
|
10755
|
+
/**
|
|
10756
|
+
* The object type, which is always chat.completion.chunk.
|
|
10757
|
+
* @maxLength 100
|
|
10758
|
+
*/
|
|
10759
|
+
object?: string | null;
|
|
10760
|
+
/**
|
|
10761
|
+
* An optional field that will only be present when you set stream_options: {"include_usage": true} in your request.
|
|
10762
|
+
* When present, it contains a null value except for the last chunk which contains the token usage statistics for the entire request.
|
|
10763
|
+
*/
|
|
10764
|
+
usage?: InvokeCustomOpenAiModelResponseTokenUsage;
|
|
10765
|
+
/** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
|
|
10766
|
+
microcentsSpent?: string | null;
|
|
10767
|
+
}
|
|
10768
|
+
interface ChunkChoiceChunkDelta {
|
|
10769
|
+
/**
|
|
10770
|
+
* The contents of the chunk message.
|
|
10771
|
+
* @maxLength 1000
|
|
10772
|
+
*/
|
|
10773
|
+
content?: string | null;
|
|
10774
|
+
/** The role of the author of this message. */
|
|
10775
|
+
role?: Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals;
|
|
10776
|
+
/**
|
|
10777
|
+
* Tool call requested by the model. Function arguments can be partial jsons and have to be assembled manually.
|
|
10778
|
+
* @maxSize 100
|
|
10779
|
+
*/
|
|
10780
|
+
toolCalls?: ChatCompletionMessageToolCall[];
|
|
10781
|
+
}
|
|
10782
|
+
interface ChatCompletionChunkChunkChoice {
|
|
10783
|
+
/** A chat completion delta generated by streamed model responses */
|
|
10784
|
+
delta?: ChunkChoiceChunkDelta;
|
|
10785
|
+
/**
|
|
10786
|
+
* The reason the model stopped generating tokens. This will be
|
|
10787
|
+
* "stop" if the model hit a natural stop point or a provided stop sequence,
|
|
10788
|
+
* "length" if the maximum number of tokens specified in the request was reached,
|
|
10789
|
+
* "content_filter" if content was omitted due to a flag from our content filters,
|
|
10790
|
+
* "tool_calls" if the model called a tool
|
|
10791
|
+
* @maxLength 100
|
|
10792
|
+
*/
|
|
10793
|
+
finishReason?: string | null;
|
|
10794
|
+
/** The index of the choice in the list of choices. */
|
|
10795
|
+
index?: number | null;
|
|
10796
|
+
}
|
|
10369
10797
|
interface GenerateTextByPromptObjectRequest {
|
|
10370
10798
|
/** Prompt object that describes the text generation request. */
|
|
10371
10799
|
prompt?: Prompt;
|
|
@@ -10931,7 +11359,7 @@ interface ImageModelResponse extends ImageModelResponseResponseOneOf {
|
|
|
10931
11359
|
/** Runware AI - Flux TextToImage response. */
|
|
10932
11360
|
runwareTextToImageResponse?: TextToImageResponse;
|
|
10933
11361
|
/** Google AI - Generate Image with Imagen Model response. */
|
|
10934
|
-
googleGenerateImageResponse?:
|
|
11362
|
+
googleGenerateImageResponse?: V1GenerateImageResponse;
|
|
10935
11363
|
/** ML generate image response. */
|
|
10936
11364
|
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
10937
11365
|
/** OpenAI image creation response. */
|
|
@@ -10960,7 +11388,7 @@ interface ImageModelResponseResponseOneOf {
|
|
|
10960
11388
|
/** Runware AI - Flux TextToImage response. */
|
|
10961
11389
|
runwareTextToImageResponse?: TextToImageResponse;
|
|
10962
11390
|
/** Google AI - Generate Image with Imagen Model response. */
|
|
10963
|
-
googleGenerateImageResponse?:
|
|
11391
|
+
googleGenerateImageResponse?: V1GenerateImageResponse;
|
|
10964
11392
|
/** ML generate image response. */
|
|
10965
11393
|
mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
|
|
10966
11394
|
/** OpenAI image creation response. */
|
|
@@ -10982,6 +11410,8 @@ interface ImageGenerationRequestedEvent {
|
|
|
10982
11410
|
* @format GUID
|
|
10983
11411
|
*/
|
|
10984
11412
|
eventChainId?: string;
|
|
11413
|
+
/** Dynamic request configuration, including dynamic tools and messages. */
|
|
11414
|
+
dynamicRequestConfig?: DynamicRequestConfig;
|
|
10985
11415
|
}
|
|
10986
11416
|
interface ImageGenerationSucceededEvent {
|
|
10987
11417
|
/** ModelResponse object that describes the image generation result. */
|
|
@@ -12578,6 +13008,8 @@ interface PollImageGenerationResultRequest extends PollImageGenerationResultRequ
|
|
|
12578
13008
|
runwareGetTaskResultRequest?: GetTaskResultRequest;
|
|
12579
13009
|
/** OpenAI getVideoResult request */
|
|
12580
13010
|
openAiGetVideoResultRequest?: GetVideoResultRequest;
|
|
13011
|
+
/** Bytedance getContentTask request */
|
|
13012
|
+
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
12581
13013
|
/** Contains additional information for the request. */
|
|
12582
13014
|
userRequestInfo?: UserRequestInfo;
|
|
12583
13015
|
}
|
|
@@ -12591,6 +13023,8 @@ interface PollImageGenerationResultRequestRequestOneOf {
|
|
|
12591
13023
|
runwareGetTaskResultRequest?: GetTaskResultRequest;
|
|
12592
13024
|
/** OpenAI getVideoResult request */
|
|
12593
13025
|
openAiGetVideoResultRequest?: GetVideoResultRequest;
|
|
13026
|
+
/** Bytedance getContentTask request */
|
|
13027
|
+
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
12594
13028
|
}
|
|
12595
13029
|
interface V1GetResultRequest {
|
|
12596
13030
|
/**
|
|
@@ -12620,6 +13054,13 @@ interface GetVideoResultRequest {
|
|
|
12620
13054
|
*/
|
|
12621
13055
|
id?: string;
|
|
12622
13056
|
}
|
|
13057
|
+
interface GetContentTaskRequest {
|
|
13058
|
+
/**
|
|
13059
|
+
* The ID of the video generation task to query.
|
|
13060
|
+
* @maxLength 255
|
|
13061
|
+
*/
|
|
13062
|
+
taskId?: string;
|
|
13063
|
+
}
|
|
12623
13064
|
interface PollImageGenerationResultResponse extends PollImageGenerationResultResponseResponseOneOf {
|
|
12624
13065
|
/** replicate proxy getResult response */
|
|
12625
13066
|
replicateGetResultResponse?: V1GetResultResponse;
|
|
@@ -12629,6 +13070,8 @@ interface PollImageGenerationResultResponse extends PollImageGenerationResultRes
|
|
|
12629
13070
|
runwareGetTaskResultResponse?: GetTaskResultResponse;
|
|
12630
13071
|
/** OpenAI getVideoResult response */
|
|
12631
13072
|
openAiGetVideoResultResponse?: GetVideoResultResponse;
|
|
13073
|
+
/** Bytedance getContentTask response */
|
|
13074
|
+
bytedanceGetContentTaskResponse?: GetContentTaskResponse;
|
|
12632
13075
|
}
|
|
12633
13076
|
/** @oneof */
|
|
12634
13077
|
interface PollImageGenerationResultResponseResponseOneOf {
|
|
@@ -12640,6 +13083,8 @@ interface PollImageGenerationResultResponseResponseOneOf {
|
|
|
12640
13083
|
runwareGetTaskResultResponse?: GetTaskResultResponse;
|
|
12641
13084
|
/** OpenAI getVideoResult response */
|
|
12642
13085
|
openAiGetVideoResultResponse?: GetVideoResultResponse;
|
|
13086
|
+
/** Bytedance getContentTask response */
|
|
13087
|
+
bytedanceGetContentTaskResponse?: GetContentTaskResponse;
|
|
12643
13088
|
}
|
|
12644
13089
|
interface V1GetResultResponse {
|
|
12645
13090
|
/**
|
|
@@ -12702,6 +13147,9 @@ interface GetTaskResultResponseResponseOneOf {
|
|
|
12702
13147
|
interface GetVideoResultResponse {
|
|
12703
13148
|
videoJob?: VideoJob;
|
|
12704
13149
|
}
|
|
13150
|
+
interface GetContentTaskResponse {
|
|
13151
|
+
task?: CommonContentTaskResponse;
|
|
13152
|
+
}
|
|
12705
13153
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
12706
13154
|
createdEvent?: EntityCreatedEvent;
|
|
12707
13155
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -12920,4 +13368,4 @@ declare function getApplicationUsage(): __PublicMethodMetaInfo<'GET', {}, GetApp
|
|
|
12920
13368
|
declare function editImage(): __PublicMethodMetaInfo<'POST', {}, Wix_ai_gatewayV1EditImageRequest$1, Wix_ai_gatewayV1EditImageRequest, Wix_ai_gatewayV1EditImageResponse$1, Wix_ai_gatewayV1EditImageResponse>;
|
|
12921
13369
|
declare function pollImageGenerationResult(): __PublicMethodMetaInfo<'POST', {}, PollImageGenerationResultRequest$1, PollImageGenerationResultRequest, PollImageGenerationResultResponse$1, PollImageGenerationResultResponse>;
|
|
12922
13370
|
|
|
12923
|
-
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 };
|
|
13371
|
+
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, 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 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 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 };
|