@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +912 -458
  2. package/build/cjs/index.js +25 -112
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -1
  5. package/build/cjs/index.typings.js +25 -112
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +903 -455
  8. package/build/cjs/meta.js +21 -110
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +912 -458
  11. package/build/es/index.mjs +25 -111
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -1
  14. package/build/es/index.typings.mjs +25 -111
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +903 -455
  17. package/build/es/meta.mjs +21 -109
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +14 -14
  20. package/build/internal/cjs/index.js +25 -112
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +925 -471
  23. package/build/internal/cjs/index.typings.js +25 -112
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +903 -455
  26. package/build/internal/cjs/meta.js +21 -110
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +14 -14
  29. package/build/internal/es/index.mjs +25 -111
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +925 -471
  32. package/build/internal/es/index.typings.mjs +25 -111
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +903 -455
  35. package/build/internal/es/meta.mjs +21 -109
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -6,8 +6,6 @@ interface Prompt extends PromptModelRequestOneOf {
6
6
  openAiChatCompletionRequest?: OpenaiproxyV1CreateChatCompletionRequest;
7
7
  /** Google bison text completion request. */
8
8
  googleTextBisonRequest?: TextBisonPredictRequest;
9
- /** Google bison chat completion request. */
10
- googleChatBisonRequest?: ChatBisonPredictRequest;
11
9
  /** Azure OpenAI chat completion request. */
12
10
  azureChatCompletionRequest?: CreateChatCompletionRequest;
13
11
  /** Google Gemini generate content request. */
@@ -43,7 +41,7 @@ interface Prompt extends PromptModelRequestOneOf {
43
41
  /** Perplexity chat completion request */
44
42
  perplexityChatCompletionRequest?: InvokeChatCompletionRequest;
45
43
  /** Google AI - generate image request */
46
- googleGenerateImageRequest?: GenerateImageRequest;
44
+ googleGenerateImageRequest?: V1GenerateImageRequest;
47
45
  /** ML platform - generate image request */
48
46
  mlPlatformGenerateImageRequest?: GenerateImageMlPlatformRequest;
49
47
  /** OpenAI image creation response. */
@@ -66,6 +64,10 @@ interface Prompt extends PromptModelRequestOneOf {
66
64
  openAiCreateVideoRequest?: CreateVideoRequest;
67
65
  /** Fireworks - OpenAI payload */
68
66
  fireworksInvokeCustomOpenAiRequest?: InvokeCustomOpenAiModelRequest;
67
+ /** Bytedance - Create content task request (video generation) */
68
+ bytedanceCreateContentTaskRequest?: CreateContentTaskRequest;
69
+ /** Bytedance - Generate image request (Seedream models) */
70
+ bytedanceGenerateImageRequest?: GenerateImageRequest;
69
71
  /**
70
72
  * Prompt id.
71
73
  * @format GUID
@@ -92,8 +94,6 @@ interface PromptModelRequestOneOf {
92
94
  openAiChatCompletionRequest?: OpenaiproxyV1CreateChatCompletionRequest;
93
95
  /** Google bison text completion request. */
94
96
  googleTextBisonRequest?: TextBisonPredictRequest;
95
- /** Google bison chat completion request. */
96
- googleChatBisonRequest?: ChatBisonPredictRequest;
97
97
  /** Azure OpenAI chat completion request. */
98
98
  azureChatCompletionRequest?: CreateChatCompletionRequest;
99
99
  /** Google Gemini generate content request. */
@@ -129,7 +129,7 @@ interface PromptModelRequestOneOf {
129
129
  /** Perplexity chat completion request */
130
130
  perplexityChatCompletionRequest?: InvokeChatCompletionRequest;
131
131
  /** Google AI - generate image request */
132
- googleGenerateImageRequest?: GenerateImageRequest;
132
+ googleGenerateImageRequest?: V1GenerateImageRequest;
133
133
  /** ML platform - generate image request */
134
134
  mlPlatformGenerateImageRequest?: GenerateImageMlPlatformRequest;
135
135
  /** OpenAI image creation response. */
@@ -152,6 +152,10 @@ interface PromptModelRequestOneOf {
152
152
  openAiCreateVideoRequest?: CreateVideoRequest;
153
153
  /** Fireworks - OpenAI payload */
154
154
  fireworksInvokeCustomOpenAiRequest?: InvokeCustomOpenAiModelRequest;
155
+ /** Bytedance - Create content task request (video generation) */
156
+ bytedanceCreateContentTaskRequest?: CreateContentTaskRequest;
157
+ /** Bytedance - Generate image request (Seedream models) */
158
+ bytedanceGenerateImageRequest?: GenerateImageRequest;
155
159
  }
156
160
  interface FallbackPromptConfig {
157
161
  /**
@@ -365,10 +369,11 @@ declare enum OpenaiproxyV1Model {
365
369
  GPT_5_MINI_2025_08_07 = "GPT_5_MINI_2025_08_07",
366
370
  GPT_5_NANO_2025_08_07 = "GPT_5_NANO_2025_08_07",
367
371
  GPT_5_2_2025_12_11_COMPLETION = "GPT_5_2_2025_12_11_COMPLETION",
368
- GPT_5_1_2025_11_13_COMPLETION = "GPT_5_1_2025_11_13_COMPLETION"
372
+ GPT_5_1_2025_11_13_COMPLETION = "GPT_5_1_2025_11_13_COMPLETION",
373
+ GPT_5_4_2026_03_05_COMPLETION = "GPT_5_4_2026_03_05_COMPLETION"
369
374
  }
370
375
  /** @enumType */
371
- type OpenaiproxyV1ModelWithLiterals = OpenaiproxyV1Model | 'UNKNOWN' | 'GPT_3_5_TURBO' | 'GPT_3_5_TURBO_0301' | 'GPT_4' | 'GPT_4_0314' | 'GPT_4_32K' | 'GPT_4_32K_0314' | 'GPT_3_5_TURBO_0613' | 'GPT_3_5_TURBO_16K' | 'GPT_3_5_TURBO_16K_0613' | 'GPT_4_0613' | 'GPT_4_32K_0613' | 'GPT_3_5_TURBO_1106' | 'GPT_4_1106_PREVIEW' | 'GPT_4_VISION_PREVIEW' | 'GPT_4_TURBO_PREVIEW' | 'GPT_4_0125_PREVIEW' | 'GPT_3_5_TURBO_0125' | 'GPT_4_TURBO_2024_04_09' | 'GPT_4O_2024_05_13' | 'GPT_4O_MINI_2024_07_18' | 'GPT_4O_2024_08_06' | 'O1_PREVIEW' | 'O1_PREVIEW_2024_09_12' | 'O1_MINI' | 'O1_MINI_2024_09_12' | 'GPT_4O_2024_11_20' | 'O1_2024_12_17' | 'O3_MINI_2025_01_31' | 'GPT_4_OLD' | 'GPT_4_1_2025_04_14' | 'GPT_4_1_MINI_2025_04_14' | 'GPT_4_1_NANO_2025_04_14' | 'O3_2025_04_16' | 'O4_MINI_2025_04_16' | 'GPT_EXP' | 'GPT_EXP_2' | 'GPT_5_2025_08_07' | 'GPT_5_MINI_2025_08_07' | 'GPT_5_NANO_2025_08_07' | 'GPT_5_2_2025_12_11_COMPLETION' | 'GPT_5_1_2025_11_13_COMPLETION';
376
+ type OpenaiproxyV1ModelWithLiterals = OpenaiproxyV1Model | 'UNKNOWN' | 'GPT_3_5_TURBO' | 'GPT_3_5_TURBO_0301' | 'GPT_4' | 'GPT_4_0314' | 'GPT_4_32K' | 'GPT_4_32K_0314' | 'GPT_3_5_TURBO_0613' | 'GPT_3_5_TURBO_16K' | 'GPT_3_5_TURBO_16K_0613' | 'GPT_4_0613' | 'GPT_4_32K_0613' | 'GPT_3_5_TURBO_1106' | 'GPT_4_1106_PREVIEW' | 'GPT_4_VISION_PREVIEW' | 'GPT_4_TURBO_PREVIEW' | 'GPT_4_0125_PREVIEW' | 'GPT_3_5_TURBO_0125' | 'GPT_4_TURBO_2024_04_09' | 'GPT_4O_2024_05_13' | 'GPT_4O_MINI_2024_07_18' | 'GPT_4O_2024_08_06' | 'O1_PREVIEW' | 'O1_PREVIEW_2024_09_12' | 'O1_MINI' | 'O1_MINI_2024_09_12' | 'GPT_4O_2024_11_20' | 'O1_2024_12_17' | 'O3_MINI_2025_01_31' | 'GPT_4_OLD' | 'GPT_4_1_2025_04_14' | 'GPT_4_1_MINI_2025_04_14' | 'GPT_4_1_NANO_2025_04_14' | 'O3_2025_04_16' | 'O4_MINI_2025_04_16' | 'GPT_EXP' | 'GPT_EXP_2' | 'GPT_5_2025_08_07' | 'GPT_5_MINI_2025_08_07' | 'GPT_5_NANO_2025_08_07' | 'GPT_5_2_2025_12_11_COMPLETION' | 'GPT_5_1_2025_11_13_COMPLETION' | 'GPT_5_4_2026_03_05_COMPLETION';
372
377
  interface OpenaiproxyV1ChatCompletionMessage {
373
378
  /** The role of the message author. */
374
379
  role?: OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals;
@@ -610,65 +615,6 @@ declare enum TextBisonModel {
610
615
  }
611
616
  /** @enumType */
612
617
  type TextBisonModelWithLiterals = TextBisonModel | 'UNKNOWN_TEXT_BISON_MODEL' | 'TEXT_BISON' | 'TEXT_BISON_001' | 'TEXT_BISON_32K' | 'TEXT_BISON_002' | 'TEXT_BISON_32K_002';
613
- interface ChatBisonPredictRequest {
614
- /**
615
- * ChatInstance objects containing inputs.
616
- * @maxSize 100
617
- */
618
- instances?: ChatInstance[];
619
- /** Model parameters. */
620
- parameters?: PredictParameters;
621
- /** Model to be invoked. */
622
- model?: ChatBisonModelWithLiterals;
623
- }
624
- interface ChatInstance {
625
- /**
626
- * Optional. Context shapes how the model responds throughout the conversation. For example, you can use context
627
- * to specify words the model can or cannot use, topics to focus on or avoid, or the response format or style.
628
- * @maxLength 100000
629
- */
630
- context?: string | null;
631
- /**
632
- * Optional. Examples for the model to learn how to respond to the conversation.
633
- * @maxSize 1000
634
- */
635
- examples?: Example[];
636
- /**
637
- * Required. Conversation history provided to the model in a structured alternate-author form. Messages appear in
638
- * chronological order: oldest first, newest last. When the history of messages causes the input to exceed the
639
- * maximum length, the oldest messages are removed until the entire prompt is within the allowed limit.
640
- * @maxSize 1000
641
- */
642
- messages?: ChatMessage[];
643
- }
644
- interface Example {
645
- /** An example of an input Message from the user. */
646
- input?: ChatMessage;
647
- /** An example of what the model should output given the input. */
648
- output?: ChatMessage;
649
- }
650
- interface ChatMessage {
651
- /**
652
- * Author tag for the turn.
653
- * @maxLength 100000
654
- */
655
- author?: string | null;
656
- /**
657
- * Text content of the chat message.
658
- * @maxLength 100000
659
- */
660
- content?: string;
661
- }
662
- declare enum ChatBisonModel {
663
- UNKNOWN_CHAT_BISON_MODEL = "UNKNOWN_CHAT_BISON_MODEL",
664
- CHAT_BISON = "CHAT_BISON",
665
- CHAT_BISON_001 = "CHAT_BISON_001",
666
- CHAT_BISON_32K = "CHAT_BISON_32K",
667
- CHAT_BISON_002 = "CHAT_BISON_002",
668
- CHAT_BISON_32K_002 = "CHAT_BISON_32K_002"
669
- }
670
- /** @enumType */
671
- type ChatBisonModelWithLiterals = ChatBisonModel | 'UNKNOWN_CHAT_BISON_MODEL' | 'CHAT_BISON' | 'CHAT_BISON_001' | 'CHAT_BISON_32K' | 'CHAT_BISON_002' | 'CHAT_BISON_32K_002';
672
618
  interface CreateChatCompletionRequest extends CreateChatCompletionRequestFunctionCallOneOf {
673
619
  /** Specifying a particular function via {"name":\ "my_function"} forces the model to call that function. */
674
620
  forceCallFunctionCallConfig?: Record<string, any> | null;
@@ -1015,10 +961,11 @@ declare enum GoogleproxyV1Model {
1015
961
  GEMINI_2_5_COMPUTER_USE = "GEMINI_2_5_COMPUTER_USE",
1016
962
  GEMINI_3_0_PRO = "GEMINI_3_0_PRO",
1017
963
  GEMINI_3_0_PRO_IMAGE = "GEMINI_3_0_PRO_IMAGE",
1018
- GEMINI_3_0_FLASH = "GEMINI_3_0_FLASH"
964
+ GEMINI_3_0_FLASH = "GEMINI_3_0_FLASH",
965
+ GEMINI_3_1_PRO = "GEMINI_3_1_PRO"
1019
966
  }
1020
967
  /** @enumType */
1021
- type GoogleproxyV1ModelWithLiterals = GoogleproxyV1Model | 'UNKNOWN_MODEL' | 'GEMINI_1_0_PRO' | 'GEMINI_1_0_PRO_VISION' | 'GEMINI_1_5_PRO' | 'GEMINI_1_5_FLASH' | 'GEMINI_2_0_FLASH' | 'GEMINI_2_0_FLASH_LITE' | 'GEMINI_2_5_PRO' | 'GEMINI_2_5_FLASH' | 'GEMINI_2_5_FLASH_LITE' | 'GEMINI_2_5_FLASH_IMAGE' | 'GEMINI_2_5_COMPUTER_USE' | 'GEMINI_3_0_PRO' | 'GEMINI_3_0_PRO_IMAGE' | 'GEMINI_3_0_FLASH';
968
+ type GoogleproxyV1ModelWithLiterals = GoogleproxyV1Model | 'UNKNOWN_MODEL' | 'GEMINI_1_0_PRO' | 'GEMINI_1_0_PRO_VISION' | 'GEMINI_1_5_PRO' | 'GEMINI_1_5_FLASH' | 'GEMINI_2_0_FLASH' | 'GEMINI_2_0_FLASH_LITE' | 'GEMINI_2_5_PRO' | 'GEMINI_2_5_FLASH' | 'GEMINI_2_5_FLASH_LITE' | 'GEMINI_2_5_FLASH_IMAGE' | 'GEMINI_2_5_COMPUTER_USE' | 'GEMINI_3_0_PRO' | 'GEMINI_3_0_PRO_IMAGE' | 'GEMINI_3_0_FLASH' | 'GEMINI_3_1_PRO';
1022
969
  interface Content {
1023
970
  /**
1024
971
  * The role in a conversation associated with the content.
@@ -1666,10 +1613,12 @@ declare enum Model {
1666
1613
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
1667
1614
  /** us.anthropic.claude-haiku-4-5-20251001-v1:0 */
1668
1615
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
1669
- CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
1616
+ CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
1617
+ CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
1618
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
1670
1619
  }
1671
1620
  /** @enumType */
1672
- type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_5_HAIKU_1_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0';
1621
+ type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_5_HAIKU_1_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0' | 'CLAUDE_4_6_OPUS_1_0' | 'CLAUDE_4_6_SONNET_1_0';
1673
1622
  interface AnthropicClaudeMessage {
1674
1623
  /** The role of the message author. */
1675
1624
  role?: RoleWithLiterals;
@@ -1697,7 +1646,7 @@ interface ContentBlock extends ContentBlockTypeOneOf {
1697
1646
  /** Text content. */
1698
1647
  textContent?: Text;
1699
1648
  /** Image image = 2; // Image content. */
1700
- imageUrl?: ImageUrl;
1649
+ imageUrl?: V1ImageUrl;
1701
1650
  /** Tool use content, describes which tool should be used and with which parameters. */
1702
1651
  toolUse?: ToolUse;
1703
1652
  /** Tool result content, describes the result of tool invocation. */
@@ -1722,7 +1671,7 @@ interface ContentBlockTypeOneOf {
1722
1671
  /** Text content. */
1723
1672
  textContent?: Text;
1724
1673
  /** Image image = 2; // Image content. */
1725
- imageUrl?: ImageUrl;
1674
+ imageUrl?: V1ImageUrl;
1726
1675
  /** Tool use content, describes which tool should be used and with which parameters. */
1727
1676
  toolUse?: ToolUse;
1728
1677
  /** Tool result content, describes the result of tool invocation. */
@@ -1744,7 +1693,7 @@ interface Text {
1744
1693
  /** Enables prompt caching: https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching. */
1745
1694
  cacheControl?: CacheControl;
1746
1695
  }
1747
- interface ImageUrl {
1696
+ interface V1ImageUrl {
1748
1697
  /**
1749
1698
  * The URL must be a valid wix mp or wix static URL.
1750
1699
  * @maxLength 100000
@@ -1811,7 +1760,7 @@ interface SimpleContentBlock extends SimpleContentBlockTypeOneOf {
1811
1760
  /** Text content. */
1812
1761
  textContent?: Text;
1813
1762
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
1814
- imageUrl?: ImageUrl;
1763
+ imageUrl?: V1ImageUrl;
1815
1764
  }
1816
1765
  /** @oneof */
1817
1766
  interface SimpleContentBlockTypeOneOf {
@@ -1825,7 +1774,7 @@ interface SimpleContentBlockTypeOneOf {
1825
1774
  /** Text content. */
1826
1775
  textContent?: Text;
1827
1776
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
1828
- imageUrl?: ImageUrl;
1777
+ imageUrl?: V1ImageUrl;
1829
1778
  }
1830
1779
  interface Thinking {
1831
1780
  /**
@@ -2059,10 +2008,12 @@ declare enum ClaudeModel {
2059
2008
  CLAUDE_4_OPUS_1_0 = "CLAUDE_4_OPUS_1_0",
2060
2009
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
2061
2010
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
2062
- CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
2011
+ CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
2012
+ CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
2013
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
2063
2014
  }
2064
2015
  /** @enumType */
2065
- type ClaudeModelWithLiterals = ClaudeModel | 'UNKNOWN_CLAUDE_MODEL' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_OPUS_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0';
2016
+ type ClaudeModelWithLiterals = ClaudeModel | 'UNKNOWN_CLAUDE_MODEL' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_OPUS_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0' | 'CLAUDE_4_6_OPUS_1_0' | 'CLAUDE_4_6_SONNET_1_0';
2066
2017
  interface V1AnthropicClaudeMessage {
2067
2018
  /** The role of the message author. */
2068
2019
  role?: V1MessageRoleRoleWithLiterals;
@@ -2431,10 +2382,12 @@ declare enum AnthropicModel {
2431
2382
  CLAUDE_4_1_OPUS_1_0 = "CLAUDE_4_1_OPUS_1_0",
2432
2383
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
2433
2384
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
2434
- CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
2385
+ CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
2386
+ CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
2387
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
2435
2388
  }
2436
2389
  /** @enumType */
2437
- type AnthropicModelWithLiterals = AnthropicModel | 'UNKNOWN_ANTHROPIC_MODEL' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_1_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0';
2390
+ type AnthropicModelWithLiterals = AnthropicModel | 'UNKNOWN_ANTHROPIC_MODEL' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_1_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0' | 'CLAUDE_4_6_OPUS_1_0' | 'CLAUDE_4_6_SONNET_1_0';
2438
2391
  interface AnthropicMessage {
2439
2392
  /** The role of the message author. */
2440
2393
  role?: MessageRoleRoleWithLiterals;
@@ -2456,7 +2409,7 @@ interface V1ContentBlock extends V1ContentBlockTypeOneOf {
2456
2409
  /** Text content. */
2457
2410
  textContent?: V1Text;
2458
2411
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
2459
- image?: V1ImageUrl;
2412
+ image?: AnthropicV1ImageUrl;
2460
2413
  /** Tool use content, describes which tool should be used and with which parameters. */
2461
2414
  toolUse?: V1ToolUse;
2462
2415
  /** Tool result content, describes the result of tool invocation. */
@@ -2493,7 +2446,7 @@ interface V1ContentBlockTypeOneOf {
2493
2446
  /** Text content. */
2494
2447
  textContent?: V1Text;
2495
2448
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
2496
- image?: V1ImageUrl;
2449
+ image?: AnthropicV1ImageUrl;
2497
2450
  /** Tool use content, describes which tool should be used and with which parameters. */
2498
2451
  toolUse?: V1ToolUse;
2499
2452
  /** Tool result content, describes the result of tool invocation. */
@@ -2707,7 +2660,7 @@ interface SearchResultLocationCitation {
2707
2660
  */
2708
2661
  citedText?: string | null;
2709
2662
  }
2710
- interface V1ImageUrl {
2663
+ interface AnthropicV1ImageUrl {
2711
2664
  /**
2712
2665
  * The URL must be a valid wix mp or wix static URL.
2713
2666
  * @maxLength 100000
@@ -2767,7 +2720,7 @@ interface ToolResultContentBlock extends ToolResultContentBlockTypeOneOf {
2767
2720
  /** Text content. */
2768
2721
  text?: V1Text;
2769
2722
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
2770
- image?: V1ImageUrl;
2723
+ image?: AnthropicV1ImageUrl;
2771
2724
  /** Document content block. */
2772
2725
  document?: DocumentContent;
2773
2726
  /** Search result block with snippets/citations. */
@@ -2778,7 +2731,7 @@ interface ToolResultContentBlockTypeOneOf {
2778
2731
  /** Text content. */
2779
2732
  text?: V1Text;
2780
2733
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
2781
- image?: V1ImageUrl;
2734
+ image?: AnthropicV1ImageUrl;
2782
2735
  /** Document content block. */
2783
2736
  document?: DocumentContent;
2784
2737
  /** Search result block with snippets/citations. */
@@ -3724,7 +3677,7 @@ interface SystemContentBlock {
3724
3677
  interface CreateImageRequest {
3725
3678
  /**
3726
3679
  * A text description of the desired image(s). The maximum length is 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
3727
- * @maxLength 4000
3680
+ * @maxLength 50000
3728
3681
  */
3729
3682
  prompt?: string | null;
3730
3683
  /** The model to use for image generation. */
@@ -4992,7 +4945,7 @@ interface InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf {
4992
4945
  regex?: string;
4993
4946
  }
4994
4947
  /** mimics https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api */
4995
- interface GenerateImageRequest {
4948
+ interface V1GenerateImageRequest {
4996
4949
  /** ID of the model to use. */
4997
4950
  model?: ImagenModelWithLiterals;
4998
4951
  /**
@@ -5165,8 +5118,9 @@ interface V1FluxPulid {
5165
5118
  }
5166
5119
  interface CreateImageOpenAiRequest {
5167
5120
  /**
5168
- * 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.
5169
- * @maxLength 4000
5121
+ * A text description of the desired image(s). The maximum length is 32000 characters for the GPT image models,
5122
+ * 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
5123
+ * @maxLength 50000
5170
5124
  */
5171
5125
  prompt?: string | null;
5172
5126
  /** The model to use for image generation. */
@@ -5229,8 +5183,9 @@ declare enum OpenAiImageModel {
5229
5183
  type OpenAiImageModelWithLiterals = OpenAiImageModel | 'UNKNOWN_IMAGE_CREATION_MODEL' | 'GPT_4O_IMAGE' | 'GPT_IMAGE_1' | 'GPT_IMAGE_EXP' | 'GPT_IMAGE_EXP_2' | 'GPT_IMAGE_EXP_3' | 'GPT_IMAGE_1_5';
5230
5184
  interface EditImageOpenAiRequest {
5231
5185
  /**
5232
- * 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.
5233
- * @maxLength 4000
5186
+ * A text description of the desired image(s). The maximum length is 32000 characters for the GPT image models,
5187
+ * 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
5188
+ * @maxLength 50000
5234
5189
  */
5235
5190
  prompt?: string | null;
5236
5191
  /** The model to use for image generation. */
@@ -5902,10 +5857,14 @@ declare enum V1ResponsesModel {
5902
5857
  GPT_EXP_RESPONSES_2 = "GPT_EXP_RESPONSES_2",
5903
5858
  GPT_EXP_RESPONSES_3 = "GPT_EXP_RESPONSES_3",
5904
5859
  GPT_5_1_CODEX_MAX = "GPT_5_1_CODEX_MAX",
5905
- GPT_5_2_2025_12_11 = "GPT_5_2_2025_12_11"
5860
+ GPT_5_2_2025_12_11 = "GPT_5_2_2025_12_11",
5861
+ GPT_5_2_CODEX = "GPT_5_2_CODEX",
5862
+ GPT_5_3_CODEX = "GPT_5_3_CODEX",
5863
+ GPT_5_4_2026_03_05 = "GPT_5_4_2026_03_05",
5864
+ GPT_5_4_PRO_2026_03_05 = "GPT_5_4_PRO_2026_03_05"
5906
5865
  }
5907
5866
  /** @enumType */
5908
- type V1ResponsesModelWithLiterals = V1ResponsesModel | 'MODEL_UNSPECIFIED' | 'GPT_5_2025_08_07_RESPONSES' | 'GPT_5_MINI_2025_08_07_RESPONSES' | 'GPT_5_NANO_2025_08_07_RESPONSES' | 'O3_PRO_2025_06_10' | 'O3_DEEP_RESEARCH_2025_06_26' | 'GPT_5_CODEX' | 'GPT_5_1_2025_11_13' | 'GPT_5_1_CODEX' | 'GPT_5_1_CODEX_MINI' | 'GPT_EXP_RESPONSES' | 'GPT_EXP_RESPONSES_2' | 'GPT_EXP_RESPONSES_3' | 'GPT_5_1_CODEX_MAX' | 'GPT_5_2_2025_12_11';
5867
+ type V1ResponsesModelWithLiterals = V1ResponsesModel | 'MODEL_UNSPECIFIED' | 'GPT_5_2025_08_07_RESPONSES' | 'GPT_5_MINI_2025_08_07_RESPONSES' | 'GPT_5_NANO_2025_08_07_RESPONSES' | 'O3_PRO_2025_06_10' | 'O3_DEEP_RESEARCH_2025_06_26' | 'GPT_5_CODEX' | 'GPT_5_1_2025_11_13' | 'GPT_5_1_CODEX' | 'GPT_5_1_CODEX_MINI' | 'GPT_EXP_RESPONSES' | 'GPT_EXP_RESPONSES_2' | 'GPT_EXP_RESPONSES_3' | 'GPT_5_1_CODEX_MAX' | 'GPT_5_2_2025_12_11' | 'GPT_5_2_CODEX' | 'GPT_5_3_CODEX' | 'GPT_5_4_2026_03_05' | 'GPT_5_4_PRO_2026_03_05';
5909
5868
  interface V1ResponsesInputItem extends V1ResponsesInputItemItemOneOf {
5910
5869
  /**
5911
5870
  * A message input to the model with a role indicating instruction following hierarchy.
@@ -7504,6 +7463,242 @@ interface InvokeCustomOpenAiModelRequestResponseFormat {
7504
7463
  /** The schema object describes the output object for the model. Currently, only the JSON Schema Object is supported. */
7505
7464
  schema?: Record<string, any> | null;
7506
7465
  }
7466
+ interface CreateContentTaskRequest {
7467
+ /**
7468
+ * The model to use for content creation.
7469
+ * @maxLength 255
7470
+ */
7471
+ model?: string;
7472
+ /**
7473
+ * The context items to create the content from.
7474
+ * @maxSize 50
7475
+ */
7476
+ content?: ContentItem[];
7477
+ /**
7478
+ * Returns the last frame image of the generated video. Default: false
7479
+ * Useful for generating multiple consecutive videos using the last frame as the first frame of the next video.
7480
+ */
7481
+ returnLastFrame?: boolean | null;
7482
+ /**
7483
+ * Service tier for processing the request. Default: default
7484
+ * can be one of:
7485
+ * default: Online inference mode (lower RPM, lower latency)
7486
+ * flex: Offline inference mode (higher TPD quota, 50% price, higher latency)
7487
+ * @maxLength 255
7488
+ */
7489
+ serviceTier?: string | null;
7490
+ /**
7491
+ * Whether the generated video includes audio synchronized with the visuals. Default: true
7492
+ * Only supported by Seedance 1.5 pro
7493
+ */
7494
+ generateAudio?: boolean | null;
7495
+ /**
7496
+ * Whether to enable Draft sample mode. Default: false
7497
+ * Only supported by Seedance 1.5 pro
7498
+ * true: Generate a 480p preview video (lower cost)
7499
+ * false: Generate a standard video
7500
+ */
7501
+ draft?: boolean | null;
7502
+ /**
7503
+ * The resolution of the output video. Default: 720p for Seedance 1.5 pro/lite, 1080p for pro/pro-fast
7504
+ * Valid values: 480p, 720p, 1080p
7505
+ * @maxLength 255
7506
+ */
7507
+ resolution?: string | null;
7508
+ /**
7509
+ * The aspect ratio of the output video. Default varies by model and scenario.
7510
+ * Valid values: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive
7511
+ * @maxLength 255
7512
+ */
7513
+ ratio?: string | null;
7514
+ /**
7515
+ * The duration of the output video in seconds. Default: 5
7516
+ * Value range: 2-12s
7517
+ * Seedance 1.5 pro: Use -1 to let the model decide duration (4-12s)
7518
+ * set max to to 120 for future changes
7519
+ * Choose either duration or frames; frames takes priority.
7520
+ * @min -1
7521
+ * @max 120
7522
+ */
7523
+ duration?: number | null;
7524
+ /**
7525
+ * Number of frames for the output video. Not supported by Seedance 1.5 pro.
7526
+ * Valid range: integers within [29, 289] that conform to format 25 + 4n (where n is positive integer)
7527
+ * Choose either duration or frames; frames takes priority.
7528
+ * Set max to 2890 for fuure changes
7529
+ * @min 29
7530
+ * @max 2890
7531
+ */
7532
+ frames?: number | null;
7533
+ /**
7534
+ * The seed controls randomness of output. Default: -1 (random)
7535
+ * Valid values: integers within [-1, 2^32-1]
7536
+ * @min -1
7537
+ * @max 4294967295
7538
+ */
7539
+ seed?: number | null;
7540
+ /**
7541
+ * Specifies whether to fix the camera. Default: false
7542
+ * Not supported for reference-image-to-video
7543
+ */
7544
+ cameraFixed?: boolean | null;
7545
+ /** Specifies whether to add watermarks to the output video. Default: false */
7546
+ watermark?: boolean | null;
7547
+ /**
7548
+ * Skip polling flag - if set to false, will poll until video generation is complete
7549
+ * If not set or true, returns immediately with task ID for manual polling
7550
+ */
7551
+ skipPolling?: boolean | null;
7552
+ }
7553
+ interface ContentItem {
7554
+ /**
7555
+ * The type of the input content
7556
+ * Can be ont of 'text', 'image_url', 'draft_task'
7557
+ * @maxLength 255
7558
+ */
7559
+ type?: string | null;
7560
+ /**
7561
+ * The input text information for the model (required when type=TEXT)
7562
+ * Describes the video to be generated. Can include text prompt and optional parameters.
7563
+ * @maxLength 100000
7564
+ */
7565
+ text?: string | null;
7566
+ /** The input image object for the model (required when type=IMAGE_URL) */
7567
+ imageUrl?: ImageUrl;
7568
+ /**
7569
+ * The location or purpose of the image (required under certain conditions when type=IMAGE_URL)
7570
+ * Used for Image-to-Video scenarios
7571
+ * available values are:
7572
+ * 'last_frame', 'first_frame', 'reference_image'
7573
+ * @maxLength 255
7574
+ */
7575
+ role?: string | null;
7576
+ /**
7577
+ * The draft task object for generating official video from a draft.
7578
+ * Only supported by Seedance 1.5 Pro.
7579
+ * The platform will reuse the inputs from the draft video to generate the official video.
7580
+ */
7581
+ draftTask?: DraftTask;
7582
+ }
7583
+ interface ImageUrl {
7584
+ /**
7585
+ * The image information, can be an image URL or Base64-encoded content
7586
+ * URL: Must be accessible
7587
+ * Base64: Format must be data:image/<format>;base64,<content> (e.g., data:image/png;base64,...)
7588
+ * Requirements: JPEG/PNG/WebP/BMP/TIFF/GIF (Seedance 1.5 Pro also supports HEIC/HEIF)
7589
+ * Aspect ratio: 0.4 to 2.5, shorter side > 300px, longer side < 6000px, size < 30MB
7590
+ * @maxLength 100000
7591
+ */
7592
+ url?: string | null;
7593
+ }
7594
+ interface DraftTask {
7595
+ /**
7596
+ * The draft video task ID.
7597
+ * The platform will automatically reuse the user inputs applied by the draft video
7598
+ * (including model, content.text, content.image_url, generate_audio, seed, ratio, duration, frames, camera_fixed)
7599
+ * to generate the official video.
7600
+ * @maxLength 1000
7601
+ */
7602
+ id?: string | null;
7603
+ }
7604
+ interface GenerateImageRequest {
7605
+ /**
7606
+ * The model to use for image generation.
7607
+ * Accepts a model ID (e.g. "seedream-5.0-lite", "seedream-4.5", "seedream-4.0") or an Endpoint ID.
7608
+ * @maxLength 255
7609
+ */
7610
+ model?: string;
7611
+ /**
7612
+ * Text prompt describing the image to generate.
7613
+ * Recommended: keep under 600 English words. Excessively long prompts may cause the model
7614
+ * to overlook details and focus only on major elements.
7615
+ * @maxLength 100000
7616
+ */
7617
+ prompt?: string;
7618
+ /**
7619
+ * Reference image(s) as URL or base64-encoded string. Max 14 reference images.
7620
+ *
7621
+ * Input formats:
7622
+ * - Image URL: must be publicly accessible.
7623
+ * - Base64: format must be "data:image/<format>;base64,<content>" (e.g. "data:image/png;base64,...").
7624
+ *
7625
+ * Image requirements:
7626
+ * - Formats: JPEG, PNG, WEBP, BMP, TIFF, GIF
7627
+ * - Aspect ratio (width/height): between [1/16, 16]
7628
+ * - Width and height: > 14px
7629
+ * - Size: up to 10 MB per image
7630
+ * - Total pixels: no more than 6000x6000 = 36,000,000 per image
7631
+ * @maxLength 3825
7632
+ * @maxSize 15
7633
+ */
7634
+ image?: string[];
7635
+ /**
7636
+ * Output image dimensions. Two methods available (cannot be combined):
7637
+ *
7638
+ * Method 1 - Resolution shorthand (let the model determine width/height from prompt context):
7639
+ * seedream-5.0-lite: "2K", "3K"
7640
+ * seedream-4.5: "2K", "4K"
7641
+ * seedream-4.0: "1K", "2K", "4K"
7642
+ *
7643
+ * Method 2 - Explicit pixel dimensions (e.g. "2048x2048"):
7644
+ * Both total pixel range AND aspect ratio [1/16, 16] must be satisfied.
7645
+ * seedream-5.0-lite: total pixels [3,686,400 .. 10,404,496], default "2048x2048"
7646
+ * seedream-4.5: total pixels [3,686,400 .. 16,777,216], default "2048x2048"
7647
+ * seedream-4.0: total pixels [921,600 .. 16,777,216], default "2048x2048"
7648
+ *
7649
+ * Common recommended dimensions (2K):
7650
+ * 1:1 = 2048x2048, 4:3 = 2304x1728, 3:4 = 1728x2304,
7651
+ * 16:9 = 2848x1600, 9:16 = 1600x2848, 21:9 = 3136x1344
7652
+ * @maxLength 255
7653
+ */
7654
+ size?: string | null;
7655
+ /**
7656
+ * How the generated images are returned. Default: "url".
7657
+ * "url": returns a download link valid for 24 hours after generation.
7658
+ * "b64_json": returns the image data as a Base64-encoded string in JSON.
7659
+ * @maxLength 255
7660
+ */
7661
+ responseFormat?: string | null;
7662
+ /** Whether to add an "AI generated" watermark on the bottom-right corner. Default: true. */
7663
+ watermark?: boolean | null;
7664
+ /**
7665
+ * Whether to enable batch (sequential) image generation. Default: "disabled".
7666
+ * "auto": the model decides whether to return multiple images and how many, based on the prompt.
7667
+ * "disabled": only one image is generated.
7668
+ * @maxLength 255
7669
+ */
7670
+ sequentialImageGeneration?: string | null;
7671
+ /** Configuration for batch image generation. Only effective when sequential_image_generation = "auto". */
7672
+ sequentialImageGenerationOptions?: SequentialImageGenerationOptions;
7673
+ /**
7674
+ * Output image file format. Default: "jpeg".
7675
+ * "jpeg": supported by all models (default, cannot be changed on seedream-4.5/4.0).
7676
+ * "png": only supported by seedream-5.0-lite.
7677
+ * @maxLength 255
7678
+ */
7679
+ outputFormat?: string | null;
7680
+ /**
7681
+ * Configuration for prompt optimization.
7682
+ * Supported by seedream-5.0-lite, seedream-4.5 (standard mode only), and seedream-4.0.
7683
+ */
7684
+ optimizePromptOptions?: OptimizePromptOptions;
7685
+ }
7686
+ interface SequentialImageGenerationOptions {
7687
+ /**
7688
+ * Maximum number of images to generate in this request. Default: 15. Range: [1, 15].
7689
+ * Actual count is constrained by: number of input reference images + generated images <= 15.
7690
+ */
7691
+ maxImages?: number | null;
7692
+ }
7693
+ interface OptimizePromptOptions {
7694
+ /**
7695
+ * Prompt optimization mode. Default: "standard".
7696
+ * "standard": higher quality, longer generation time.
7697
+ * "fast": faster but lower quality.
7698
+ * @maxLength 255
7699
+ */
7700
+ mode?: string | null;
7701
+ }
7507
7702
  interface ContentGenerationRequestedEvent {
7508
7703
  /** Prompt that the generation was requested for. */
7509
7704
  prompt?: Prompt;
@@ -7518,6 +7713,8 @@ interface ContentGenerationRequestedEvent {
7518
7713
  * @format GUID
7519
7714
  */
7520
7715
  eventChainId?: string;
7716
+ /** Dynamic request configuration, including dynamic tools and messages. */
7717
+ dynamicRequestConfig?: DynamicRequestConfig;
7521
7718
  }
7522
7719
  interface UserRequestInfo {
7523
7720
  /**
@@ -7543,106 +7740,272 @@ interface UserRequestInfo {
7543
7740
  */
7544
7741
  costAttributionOverrideId?: string | null;
7545
7742
  }
7546
- interface ContentGenerationSucceededEvent {
7547
- /** Model response object that describes the content generation result. */
7548
- response?: GenerateContentModelResponse;
7549
- /** Prompt's final form that was used to issue a GenerateContent request. */
7550
- materializedPrompt?: Prompt;
7743
+ interface DynamicRequestConfig {
7551
7744
  /**
7552
- * 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.
7553
- * @format GUID
7745
+ * List of GatewayToolDefinition's, used to overwrite tools in the prompt.
7746
+ * @maxSize 1000
7554
7747
  */
7555
- eventChainId?: string;
7748
+ gatewayToolDefinitions?: GatewayToolDefinition[];
7749
+ /**
7750
+ * List of GatewayMessageDefinition's, which will be converted to model-specific format and appended to the messages saved in the prompt.
7751
+ * @maxSize 10000
7752
+ */
7753
+ gatewayMessageDefinitions?: GatewayMessageDefinition[];
7556
7754
  }
7557
- interface GenerateContentModelResponse extends GenerateContentModelResponseResponseOneOf {
7558
- /** OpenAI chat completion response. */
7559
- openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
7560
- /** Google bison text completion response. */
7561
- googleTextBisonResponse?: TextBisonPredictResponse;
7562
- /** Google bison chat completion response. */
7563
- googleChatBisonResponse?: ChatBisonPredictResponse;
7564
- /** Azure OpenAI chat completion response. */
7565
- azureChatCompletionResponse?: CreateChatCompletionResponse;
7566
- /** Google Gemini generate content response. */
7567
- googleGeminiGenerateContentResponse?: GenerateContentResponse;
7568
- /** Anthropic Claude via Amazon Bedrock generate content response. */
7569
- anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
7570
- /** Anthropic Claude via Google vertex generate content response. */
7571
- googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
7572
- /** Native Anthropic API proxy generate content response. */
7573
- invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
7574
- /** Llama via Amazon Bedrock text completion response. */
7575
- llamaModelResponse?: InvokeLlamaModelResponse;
7576
- /** Invoke Amazon Converse API response. */
7577
- amazonConverseResponse?: InvokeConverseResponse;
7578
- /** Llama via ML Platform text completion response. */
7579
- mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
7580
- /** Perplexity chat completion response. */
7581
- perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
7582
- /** OpenAI image generation response. */
7583
- openAiCreateImageResponse?: CreateImageResponse;
7584
- /** Stability AI text to image response. */
7585
- stabilityAiTextToImageResponse?: V1TextToImageResponse;
7586
- /** Stability AI generate core response. */
7587
- stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
7588
- /** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
7589
- stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
7590
- /** Black Forest Labs image generation response. */
7591
- blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
7592
- /** Replicate image generation response. */
7593
- replicateCreatePredictionResponse?: CreatePredictionResponse;
7594
- /** Stability AI - Edit Image with prompt response. */
7595
- stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
7596
- /** Runware AI - Flux TextToImage response. */
7597
- runwareTextToImageResponse?: TextToImageResponse;
7598
- /** Google AI - Generate Image with Imagen Model response. */
7599
- googleGenerateImageResponse?: GenerateImageResponse;
7600
- /** Google AI - Generate Video response. */
7601
- googleGenerateVideoResponse?: GenerateVideoResponse;
7602
- /** ML generate image response. */
7603
- mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
7604
- /** OpenAI image creation response. */
7605
- openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
7606
- /** OpenAI image edit response. */
7607
- openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
7608
- /** Google create chat completion response. */
7609
- googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
7610
- /** ML Platform - invoke an OpenAI-type interface with a JSON string */
7611
- mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
7612
- /** Runware Video inference response */
7613
- runwareVideoInferenceResponse?: VideoInferenceResponse;
7614
- /** Open AI Responses API response */
7615
- openAiResponsesResponse?: V1OpenAiResponsesResponse;
7616
- /** Open AI Responses API response via Azure */
7617
- azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
7618
- /** OpenAI video generation response */
7619
- openAiCreateVideoResponse?: CreateVideoResponse;
7620
- /** Fireworks - OpenAI payload */
7621
- fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
7622
- /** Extracted generated content data from the model's response. */
7623
- generatedContent?: GeneratedContent;
7624
- /** Extracted cost of the request in microcents. */
7625
- cost?: string | null;
7626
- /** Token usage information. */
7627
- tokenUsage?: V1TokenUsage;
7628
- /** Metadata about the response, such as finish reason. */
7629
- responseMetadata?: ResponseMetadata;
7755
+ interface GatewayToolDefinition extends GatewayToolDefinitionToolOneOf {
7756
+ /** Custom tool */
7757
+ customTool?: GatewayToolDefinitionCustomTool;
7758
+ /** Built-in tool */
7759
+ builtInTool?: BuiltInTool;
7630
7760
  }
7631
7761
  /** @oneof */
7632
- interface GenerateContentModelResponseResponseOneOf {
7633
- /** OpenAI chat completion response. */
7634
- openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
7635
- /** Google bison text completion response. */
7636
- googleTextBisonResponse?: TextBisonPredictResponse;
7637
- /** Google bison chat completion response. */
7638
- googleChatBisonResponse?: ChatBisonPredictResponse;
7639
- /** Azure OpenAI chat completion response. */
7640
- azureChatCompletionResponse?: CreateChatCompletionResponse;
7641
- /** Google Gemini generate content response. */
7642
- googleGeminiGenerateContentResponse?: GenerateContentResponse;
7643
- /** Anthropic Claude via Amazon Bedrock generate content response. */
7644
- anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
7645
- /** Anthropic Claude via Google vertex generate content response. */
7762
+ interface GatewayToolDefinitionToolOneOf {
7763
+ /** Custom tool */
7764
+ customTool?: GatewayToolDefinitionCustomTool;
7765
+ /** Built-in tool */
7766
+ builtInTool?: BuiltInTool;
7767
+ }
7768
+ interface GatewayToolDefinitionCustomTool {
7769
+ /**
7770
+ * The name of the tool to be called.
7771
+ * @maxLength 64
7772
+ */
7773
+ name?: string | null;
7774
+ /**
7775
+ * The description of what the tool does.
7776
+ * @maxLength 100000
7777
+ */
7778
+ description?: string | null;
7779
+ /** The parameters the tool accepts, described as a JSON Schema object. */
7780
+ parameters?: Record<string, any> | null;
7781
+ }
7782
+ interface BuiltInTool {
7783
+ /**
7784
+ * The name of the tool to be called.
7785
+ * @maxLength 64
7786
+ */
7787
+ name?: string | null;
7788
+ /** Optional parameters specific to the built-in tool. */
7789
+ parameters?: Record<string, any> | null;
7790
+ }
7791
+ interface GatewayMessageDefinition {
7792
+ /** The role of the message author. */
7793
+ role?: GatewayMessageDefinitionRoleWithLiterals;
7794
+ /**
7795
+ * The content of the message.
7796
+ * @maxSize 4096
7797
+ */
7798
+ content?: GatewayContentBlock[];
7799
+ }
7800
+ declare enum GatewayMessageDefinitionRole {
7801
+ UNKNOWN = "UNKNOWN",
7802
+ USER = "USER",
7803
+ ASSISTANT = "ASSISTANT",
7804
+ SYSTEM = "SYSTEM",
7805
+ TOOL = "TOOL",
7806
+ DEVELOPER = "DEVELOPER"
7807
+ }
7808
+ /** @enumType */
7809
+ type GatewayMessageDefinitionRoleWithLiterals = GatewayMessageDefinitionRole | 'UNKNOWN' | 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL' | 'DEVELOPER';
7810
+ interface GatewayContentBlock extends GatewayContentBlockTypeOneOf {
7811
+ /** Text content. */
7812
+ text?: TextContent;
7813
+ /** Media content, represented as URL. */
7814
+ media?: MediaContent;
7815
+ /** Tool use content, describes which tool should be used and with which parameters. */
7816
+ toolUse?: ToolUseContent;
7817
+ /** Tool result content, describes the result of tool invocation. */
7818
+ toolResult?: ToolResultContent;
7819
+ /** Represents model's internal thought process. */
7820
+ thinking?: ThinkingTextContent;
7821
+ }
7822
+ /** @oneof */
7823
+ interface GatewayContentBlockTypeOneOf {
7824
+ /** Text content. */
7825
+ text?: TextContent;
7826
+ /** Media content, represented as URL. */
7827
+ media?: MediaContent;
7828
+ /** Tool use content, describes which tool should be used and with which parameters. */
7829
+ toolUse?: ToolUseContent;
7830
+ /** Tool result content, describes the result of tool invocation. */
7831
+ toolResult?: ToolResultContent;
7832
+ /** Represents model's internal thought process. */
7833
+ thinking?: ThinkingTextContent;
7834
+ }
7835
+ interface TextContent {
7836
+ /**
7837
+ * Generated text
7838
+ * @maxLength 1000000
7839
+ */
7840
+ generatedText?: string | null;
7841
+ /**
7842
+ * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7843
+ * @maxLength 10000000
7844
+ */
7845
+ thoughtSignature?: string | null;
7846
+ }
7847
+ interface MediaContent {
7848
+ /**
7849
+ * Mime type, e.g. "image/jpeg" or "video/mp4"
7850
+ * @maxLength 500
7851
+ */
7852
+ mimeType?: string | null;
7853
+ /**
7854
+ * Wix Media Platform (WixMP) url where the image or video is stored.
7855
+ * @maxLength 5000
7856
+ */
7857
+ url?: string;
7858
+ /**
7859
+ * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7860
+ * @maxLength 10000000
7861
+ */
7862
+ thoughtSignature?: string | null;
7863
+ }
7864
+ interface ToolUseContent {
7865
+ /**
7866
+ * Tool use id
7867
+ * @maxLength 100
7868
+ */
7869
+ id?: string | null;
7870
+ /**
7871
+ * Tool use name
7872
+ * @maxLength 1000
7873
+ */
7874
+ name?: string;
7875
+ /** Tool use input */
7876
+ input?: Record<string, any> | null;
7877
+ /**
7878
+ * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7879
+ * @maxLength 10000000
7880
+ */
7881
+ thoughtSignature?: string | null;
7882
+ }
7883
+ interface ToolResultContent {
7884
+ /**
7885
+ * Tool use id
7886
+ * @maxLength 100
7887
+ */
7888
+ toolUseId?: string | null;
7889
+ /** Tool result is error. */
7890
+ error?: boolean | null;
7891
+ /**
7892
+ * Tool result content.
7893
+ * @maxSize 4096
7894
+ */
7895
+ content?: GatewayContentBlock[];
7896
+ }
7897
+ interface ThinkingTextContent {
7898
+ /**
7899
+ * The thought text of the model thinking
7900
+ * @maxLength 1000000
7901
+ */
7902
+ thoughtText?: string | null;
7903
+ /**
7904
+ * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7905
+ * @maxLength 10000000
7906
+ */
7907
+ thoughtSignature?: string | null;
7908
+ }
7909
+ interface ContentGenerationSucceededEvent {
7910
+ /** Model response object that describes the content generation result. */
7911
+ response?: GenerateContentModelResponse;
7912
+ /** Prompt's final form that was used to issue a GenerateContent request. */
7913
+ materializedPrompt?: Prompt;
7914
+ /**
7915
+ * 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.
7916
+ * @format GUID
7917
+ */
7918
+ eventChainId?: string;
7919
+ }
7920
+ interface GenerateContentModelResponse extends GenerateContentModelResponseResponseOneOf {
7921
+ /** OpenAI chat completion response. */
7922
+ openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
7923
+ /** Google bison text completion response. */
7924
+ googleTextBisonResponse?: TextBisonPredictResponse;
7925
+ /** Azure OpenAI chat completion response. */
7926
+ azureChatCompletionResponse?: CreateChatCompletionResponse;
7927
+ /** Google Gemini generate content response. */
7928
+ googleGeminiGenerateContentResponse?: GenerateContentResponse;
7929
+ /** Anthropic Claude via Amazon Bedrock generate content response. */
7930
+ anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
7931
+ /** Anthropic Claude via Google vertex generate content response. */
7932
+ googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
7933
+ /** Native Anthropic API proxy generate content response. */
7934
+ invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
7935
+ /** Llama via Amazon Bedrock text completion response. */
7936
+ llamaModelResponse?: InvokeLlamaModelResponse;
7937
+ /** Invoke Amazon Converse API response. */
7938
+ amazonConverseResponse?: InvokeConverseResponse;
7939
+ /** Llama via ML Platform text completion response. */
7940
+ mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
7941
+ /** Perplexity chat completion response. */
7942
+ perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
7943
+ /** OpenAI image generation response. */
7944
+ openAiCreateImageResponse?: CreateImageResponse;
7945
+ /** Stability AI text to image response. */
7946
+ stabilityAiTextToImageResponse?: V1TextToImageResponse;
7947
+ /** Stability AI generate core response. */
7948
+ stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
7949
+ /** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
7950
+ stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
7951
+ /** Black Forest Labs image generation response. */
7952
+ blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
7953
+ /** Replicate image generation response. */
7954
+ replicateCreatePredictionResponse?: CreatePredictionResponse;
7955
+ /** Stability AI - Edit Image with prompt response. */
7956
+ stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
7957
+ /** Runware AI - Flux TextToImage response. */
7958
+ runwareTextToImageResponse?: TextToImageResponse;
7959
+ /** Google AI - Generate Image with Imagen Model response. */
7960
+ googleGenerateImageResponse?: V1GenerateImageResponse;
7961
+ /** Google AI - Generate Video response. */
7962
+ googleGenerateVideoResponse?: GenerateVideoResponse;
7963
+ /** ML generate image response. */
7964
+ mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
7965
+ /** OpenAI image creation response. */
7966
+ openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
7967
+ /** OpenAI image edit response. */
7968
+ openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
7969
+ /** Google create chat completion response. */
7970
+ googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
7971
+ /** ML Platform - invoke an OpenAI-type interface with a JSON string */
7972
+ mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
7973
+ /** Runware Video inference response */
7974
+ runwareVideoInferenceResponse?: VideoInferenceResponse;
7975
+ /** Open AI Responses API response */
7976
+ openAiResponsesResponse?: V1OpenAiResponsesResponse;
7977
+ /** Open AI Responses API response via Azure */
7978
+ azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
7979
+ /** OpenAI video generation response */
7980
+ openAiCreateVideoResponse?: CreateVideoResponse;
7981
+ /** Fireworks - OpenAI payload */
7982
+ fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
7983
+ /** Bytedance - Create content task response (video generation) */
7984
+ bytedanceCreateContentTaskResponse?: CreateContentTaskResponse;
7985
+ /** Bytedance - Generate image response (Seedream models) */
7986
+ bytedanceGenerateImageResponse?: GenerateImageResponse;
7987
+ /** Extracted generated content data from the model's response. */
7988
+ generatedContent?: GeneratedContent;
7989
+ /** Extracted cost of the request in microcents. */
7990
+ cost?: string | null;
7991
+ /** Token usage information. */
7992
+ tokenUsage?: V1TokenUsage;
7993
+ /** Metadata about the response, such as finish reason. */
7994
+ responseMetadata?: ResponseMetadata;
7995
+ }
7996
+ /** @oneof */
7997
+ interface GenerateContentModelResponseResponseOneOf {
7998
+ /** OpenAI chat completion response. */
7999
+ openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
8000
+ /** Google bison text completion response. */
8001
+ googleTextBisonResponse?: TextBisonPredictResponse;
8002
+ /** Azure OpenAI chat completion response. */
8003
+ azureChatCompletionResponse?: CreateChatCompletionResponse;
8004
+ /** Google Gemini generate content response. */
8005
+ googleGeminiGenerateContentResponse?: GenerateContentResponse;
8006
+ /** Anthropic Claude via Amazon Bedrock generate content response. */
8007
+ anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
8008
+ /** Anthropic Claude via Google vertex generate content response. */
7646
8009
  googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
7647
8010
  /** Native Anthropic API proxy generate content response. */
7648
8011
  invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
@@ -7671,7 +8034,7 @@ interface GenerateContentModelResponseResponseOneOf {
7671
8034
  /** Runware AI - Flux TextToImage response. */
7672
8035
  runwareTextToImageResponse?: TextToImageResponse;
7673
8036
  /** Google AI - Generate Image with Imagen Model response. */
7674
- googleGenerateImageResponse?: GenerateImageResponse;
8037
+ googleGenerateImageResponse?: V1GenerateImageResponse;
7675
8038
  /** Google AI - Generate Video response. */
7676
8039
  googleGenerateVideoResponse?: GenerateVideoResponse;
7677
8040
  /** ML generate image response. */
@@ -7694,6 +8057,10 @@ interface GenerateContentModelResponseResponseOneOf {
7694
8057
  openAiCreateVideoResponse?: CreateVideoResponse;
7695
8058
  /** Fireworks - OpenAI payload */
7696
8059
  fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
8060
+ /** Bytedance - Create content task response (video generation) */
8061
+ bytedanceCreateContentTaskResponse?: CreateContentTaskResponse;
8062
+ /** Bytedance - Generate image response (Seedream models) */
8063
+ bytedanceGenerateImageResponse?: GenerateImageResponse;
7697
8064
  }
7698
8065
  /** Model generation result, at least one of the fields should be present */
7699
8066
  interface GeneratedContent {
@@ -7723,66 +8090,6 @@ interface GeneratedContent {
7723
8090
  */
7724
8091
  tools?: ToolUseContent[];
7725
8092
  }
7726
- interface TextContent {
7727
- /**
7728
- * Generated text
7729
- * @maxLength 1000000
7730
- */
7731
- generatedText?: string | null;
7732
- /**
7733
- * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7734
- * @maxLength 10000000
7735
- */
7736
- thoughtSignature?: string | null;
7737
- }
7738
- interface MediaContent {
7739
- /**
7740
- * Mime type, e.g. "image/jpeg" or "video/mp4"
7741
- * @maxLength 500
7742
- */
7743
- mimeType?: string | null;
7744
- /**
7745
- * Wix Media Platform (WixMP) url where the image or video is stored.
7746
- * @maxLength 5000
7747
- */
7748
- url?: string;
7749
- /**
7750
- * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7751
- * @maxLength 10000000
7752
- */
7753
- thoughtSignature?: string | null;
7754
- }
7755
- interface ThinkingTextContent {
7756
- /**
7757
- * The thought text of the model thinking
7758
- * @maxLength 1000000
7759
- */
7760
- thoughtText?: string | null;
7761
- /**
7762
- * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7763
- * @maxLength 10000000
7764
- */
7765
- thoughtSignature?: string | null;
7766
- }
7767
- interface ToolUseContent {
7768
- /**
7769
- * Tool use id
7770
- * @maxLength 100
7771
- */
7772
- id?: string | null;
7773
- /**
7774
- * Tool use name
7775
- * @maxLength 1000
7776
- */
7777
- name?: string;
7778
- /** Tool use input */
7779
- input?: Record<string, any> | null;
7780
- /**
7781
- * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7782
- * @maxLength 10000000
7783
- */
7784
- thoughtSignature?: string | null;
7785
- }
7786
8093
  interface V1TokenUsage {
7787
8094
  /** Number of input tokens used in the request. */
7788
8095
  inputTokens?: number | null;
@@ -7969,34 +8276,6 @@ interface TokenCount {
7969
8276
  /** Number of billable characters */
7970
8277
  totalBillableCharacters?: number | null;
7971
8278
  }
7972
- interface ChatBisonPredictResponse {
7973
- /**
7974
- * Response predictions
7975
- * @maxSize 100
7976
- */
7977
- predictions?: ChatBisonPrediction[];
7978
- /** Response metadata */
7979
- metadata?: Metadata;
7980
- /** Cost of the request in microcents */
7981
- microcentsSpent?: string | null;
7982
- }
7983
- interface ChatBisonPrediction {
7984
- /**
7985
- * The chat result generated from given message.
7986
- * @maxSize 100
7987
- */
7988
- candidates?: ChatMessage[];
7989
- /**
7990
- * Citation metadata
7991
- * @maxSize 100
7992
- */
7993
- citationMetadata?: CitationMetadata[];
7994
- /**
7995
- * An array of collections of categories and their associated confidence scores. 1-1 mapping to candidates.
7996
- * @maxSize 100
7997
- */
7998
- safetyAttributes?: SafetyAttribute[];
7999
- }
8000
8279
  interface CreateChatCompletionResponse {
8001
8280
  /**
8002
8281
  * A unique identifier for the chat completion.
@@ -8095,6 +8374,13 @@ interface Candidate {
8095
8374
  * @maxLength 100000
8096
8375
  */
8097
8376
  finishMessage?: string | null;
8377
+ /**
8378
+ * The raw finish reason string as returned by Google's API.
8379
+ * Preserves the original value even when it cannot be mapped to the FinishReason enum,
8380
+ * ensuring forward compatibility when Google adds new finish reason values.
8381
+ * @maxLength 1000
8382
+ */
8383
+ finishReasonStr?: string | null;
8098
8384
  }
8099
8385
  interface CandidateContent {
8100
8386
  /**
@@ -9000,7 +9286,7 @@ interface TextToImageTaskResult {
9000
9286
  */
9001
9287
  seed?: string | null;
9002
9288
  }
9003
- interface GenerateImageResponse {
9289
+ interface V1GenerateImageResponse {
9004
9290
  /**
9005
9291
  * Array of generated image results, one for each requested sampleCount
9006
9292
  * @maxSize 8
@@ -9107,9 +9393,9 @@ interface CreateImageOpenAiResponse {
9107
9393
  /** Cost of the request in micro cents. */
9108
9394
  microcentsSpent?: string | null;
9109
9395
  /** Usage information from the API response */
9110
- usage?: ImageUsage;
9396
+ usage?: V1ImageUsage;
9111
9397
  }
9112
- interface ImageUsage {
9398
+ interface V1ImageUsage {
9113
9399
  /** Number of tokens in the input */
9114
9400
  inputTokens?: number | null;
9115
9401
  /** Details about input tokens */
@@ -9138,7 +9424,7 @@ interface EditImageOpenAiResponse {
9138
9424
  /** Cost of the request in micro cents. */
9139
9425
  microcentsSpent?: string | null;
9140
9426
  /** Usage information from the API response */
9141
- usage?: ImageUsage;
9427
+ usage?: V1ImageUsage;
9142
9428
  }
9143
9429
  interface V1CreateChatCompletionResponse {
9144
9430
  /**
@@ -9579,75 +9865,255 @@ interface ErrorInfo {
9579
9865
  */
9580
9866
  message?: string | null;
9581
9867
  }
9582
- interface InvokeCustomOpenAiModelResponse {
9868
+ interface InvokeCustomOpenAiModelResponse {
9869
+ /**
9870
+ * A unique identifier for the chat completion.
9871
+ * @maxLength 100
9872
+ */
9873
+ responseId?: string | null;
9874
+ /**
9875
+ * Description of the response object. Will be equal to "chat.completion" for chat completion.
9876
+ * @maxLength 100
9877
+ */
9878
+ object?: string | null;
9879
+ /** Timestamp for when the response was created. */
9880
+ created?: number | null;
9881
+ /**
9882
+ * Model that produced the completion.
9883
+ * @maxLength 10000
9884
+ */
9885
+ modelId?: string;
9886
+ /** A list of chat completion choices. Can be more than one if n is greater than 1. */
9887
+ choices?: InvokeCustomOpenAiModelResponseChoice[];
9888
+ /** TokenUsage object describing the tokens usage per request. */
9889
+ usage?: InvokeCustomOpenAiModelResponseTokenUsage;
9890
+ /** Cost of the request in microcents. */
9891
+ microcentsSpent?: string | null;
9892
+ /**
9893
+ * This fingerprint represents the backend configuration that the model runs with.
9894
+ * Can be used in conjunction with the seed request parameter to understand when backend changes have been made that might impact determinism.
9895
+ * @maxLength 10000
9896
+ */
9897
+ systemFingerprint?: string | null;
9898
+ }
9899
+ interface InvokeCustomOpenAiModelResponsePromptTokenDetails {
9900
+ /** Audio input tokens present in the prompt. */
9901
+ audioTokens?: number | null;
9902
+ /** Cached tokens present in the prompt. */
9903
+ cachedTokens?: number | null;
9904
+ }
9905
+ interface InvokeCustomOpenAiModelResponseCompletionTokenDetails {
9906
+ /** Reasoning tokens present in the completion. */
9907
+ reasoningTokens?: number | null;
9908
+ /** Audio tokens present in the completion. */
9909
+ audioTokens?: number | null;
9910
+ /** Accepted prediction tokens. */
9911
+ acceptedPredictionTokens?: number | null;
9912
+ /** Rejected prediction tokens. */
9913
+ rejectedPredictionTokens?: number | null;
9914
+ }
9915
+ interface InvokeCustomOpenAiModelResponseChoice {
9916
+ /** Index of this Choice in choices array. */
9917
+ index?: number | null;
9918
+ /** ChatCompletionMessage object that defines the message. */
9919
+ message?: Fireworks_proxyV1ChatCompletionMessage;
9920
+ /**
9921
+ * Reason why the message generation was stopped.
9922
+ * @maxLength 100
9923
+ */
9924
+ finishReason?: string | null;
9925
+ }
9926
+ interface InvokeCustomOpenAiModelResponseTokenUsage {
9927
+ /** Number of LLM tokens required to encode input. */
9928
+ inputTokens?: number | null;
9929
+ /** Number of LLM tokens required to encode output. */
9930
+ outputTokens?: number | null;
9931
+ /** Total number of LLM tokens used for the request. */
9932
+ totalTokens?: number | null;
9933
+ /** Breakdown of tokens used in the prompt. */
9934
+ promptTokenDetails?: InvokeCustomOpenAiModelResponsePromptTokenDetails;
9935
+ /** Breakdown of tokens used in the completion. */
9936
+ completionTokenDetails?: InvokeCustomOpenAiModelResponseCompletionTokenDetails;
9937
+ }
9938
+ interface CreateContentTaskResponse {
9939
+ task?: CommonContentTaskResponse;
9940
+ }
9941
+ interface CommonContentTaskResponse {
9942
+ /**
9943
+ * The ID of the video generation task.
9944
+ * @format GUID
9945
+ */
9946
+ id?: string | null;
9947
+ /**
9948
+ * The name and version of the model used by the task.
9949
+ * @maxLength 255
9950
+ */
9951
+ model?: string | null;
9952
+ /**
9953
+ * The status of the task.
9954
+ * Valid values: queued, running, cancelled, succeeded, failed, expired.
9955
+ * @maxLength 255
9956
+ */
9957
+ status?: string | null;
9958
+ /** Error information. Null if the task succeeds. */
9959
+ error?: TaskError;
9960
+ /** The time when the task was created (Unix timestamp in seconds). */
9961
+ createdAt?: string | null;
9962
+ /** The time when the task was last updated (Unix timestamp in seconds). */
9963
+ updatedAt?: string | null;
9964
+ /** The output after the video generation task is completed. */
9965
+ content?: TaskContent;
9966
+ /**
9967
+ * The seed value used for this request.
9968
+ * @min -1
9969
+ * @max 4294967295
9970
+ */
9971
+ seed?: number | null;
9972
+ /**
9973
+ * The resolution of the generated video.
9974
+ * @maxLength 255
9975
+ */
9976
+ resolution?: string | null;
9977
+ /**
9978
+ * The width-to-height ratio of the generated video.
9979
+ * @maxLength 255
9980
+ */
9981
+ ratio?: string | null;
9982
+ /**
9983
+ * The length of the generated video in seconds.
9984
+ * Only one of duration and frames is returned.
9985
+ * @min -1
9986
+ * @max 120
9987
+ */
9988
+ duration?: number | null;
9989
+ /**
9990
+ * Number of frames for the generated video.
9991
+ * Only one of duration and frames is returned.
9992
+ * @min 29
9993
+ * @max 2890
9994
+ */
9995
+ frames?: number | null;
9996
+ /** The frame rate of the generated video. */
9997
+ framespersecond?: number | null;
9998
+ /**
9999
+ * Whether the generated video includes audio synchronized with the visuals.
10000
+ * Only supported by Seedance 1.5 pro.
10001
+ */
10002
+ generateAudio?: boolean | null;
10003
+ /**
10004
+ * Whether the generated video is a Draft video.
10005
+ * Only returned by Seedance 1.5 Pro.
10006
+ */
10007
+ draft?: boolean | null;
10008
+ /**
10009
+ * Draft video task ID. Returned when generating official video from a draft.
10010
+ * @maxLength 1000
10011
+ */
10012
+ draftTaskId?: string | null;
10013
+ /**
10014
+ * The service tier actually used to process the task.
10015
+ * @maxLength 255
10016
+ */
10017
+ serviceTier?: string | null;
10018
+ /**
10019
+ * The expiration threshold for the task, in seconds.
10020
+ * @min 3600
10021
+ * @max 259200
10022
+ */
10023
+ executionExpiresAfter?: number | null;
10024
+ /** The token usage for the request. */
10025
+ usage?: TaskUsage;
10026
+ /** The cost of the request in microcents. */
10027
+ microcentsSpent?: string | null;
10028
+ }
10029
+ interface TaskError {
10030
+ /**
10031
+ * The error code.
10032
+ * @maxLength 255
10033
+ */
10034
+ code?: string | null;
10035
+ /**
10036
+ * The error message.
10037
+ * @maxLength 255
10038
+ */
10039
+ message?: string | null;
10040
+ }
10041
+ interface TaskContent {
10042
+ /**
10043
+ * The URL of the output video. Valid for 24 hours.
10044
+ * @maxLength 255
10045
+ */
10046
+ videoUrl?: string | null;
10047
+ /**
10048
+ * URL of the last frame of the generated video. Valid for 24 hours.
10049
+ * Returned only if return_last_frame was set to true in the creation request.
10050
+ * @maxLength 255
10051
+ */
10052
+ lastFrameUrl?: string | null;
10053
+ }
10054
+ interface TaskUsage {
10055
+ /** The number of tokens consumed for the video output. */
10056
+ completionTokens?: number | null;
10057
+ /** Total tokens for this request (input tokens are always 0). */
10058
+ totalTokens?: number | null;
10059
+ }
10060
+ interface GenerateImageResponse {
9583
10061
  /**
9584
- * A unique identifier for the chat completion.
9585
- * @maxLength 100
10062
+ * The model ID used for generation (model name-version).
10063
+ * @maxLength 255
9586
10064
  */
9587
- responseId?: string | null;
10065
+ model?: string | null;
10066
+ /** Unix timestamp (seconds) of the creation time of the request. */
10067
+ created?: string | null;
9588
10068
  /**
9589
- * Description of the response object. Will be equal to "chat.completion" for chat completion.
9590
- * @maxLength 100
10069
+ * Generated image data. May contain multiple entries for batch generation.
10070
+ * When batch-generating, if an image fails due to content moderation the remaining
10071
+ * images continue; if it fails due to an internal error (500), subsequent images are skipped.
9591
10072
  */
9592
- object?: string | null;
9593
- /** Timestamp for when the response was created. */
9594
- created?: number | null;
10073
+ data?: ImageData[];
10074
+ /** Token usage information for this request. */
10075
+ usage?: ImageUsage;
10076
+ /** Request-level error information, if any. */
10077
+ error?: ImageError;
10078
+ /** The cost of the request in microcents (set by proxy, not vendor). */
10079
+ microcentsSpent?: string | null;
10080
+ }
10081
+ interface ImageData {
9595
10082
  /**
9596
- * Model that produced the completion.
10083
+ * URL of the generated image. Returned when response_format = "url".
10084
+ * The link expires 24 hours after generation.
9597
10085
  * @maxLength 10000
9598
10086
  */
9599
- modelId?: string;
9600
- /** A list of chat completion choices. Can be more than one if n is greater than 1. */
9601
- choices?: InvokeCustomOpenAiModelResponseChoice[];
9602
- /** TokenUsage object describing the tokens usage per request. */
9603
- usage?: InvokeCustomOpenAiModelResponseTokenUsage;
9604
- /** Cost of the request in microcents. */
9605
- microcentsSpent?: string | null;
10087
+ url?: string | null;
10088
+ /** Base64-encoded image data. Returned when response_format = "b64_json". */
10089
+ b64Json?: string | null;
9606
10090
  /**
9607
- * This fingerprint represents the backend configuration that the model runs with.
9608
- * Can be used in conjunction with the seed request parameter to understand when backend changes have been made that might impact determinism.
9609
- * @maxLength 10000
10091
+ * The width and height of the generated image in pixels, format "<width>x<height>" (e.g. "2048x2048").
10092
+ * @maxLength 255
9610
10093
  */
9611
- systemFingerprint?: string | null;
9612
- }
9613
- interface InvokeCustomOpenAiModelResponsePromptTokenDetails {
9614
- /** Audio input tokens present in the prompt. */
9615
- audioTokens?: number | null;
9616
- /** Cached tokens present in the prompt. */
9617
- cachedTokens?: number | null;
9618
- }
9619
- interface InvokeCustomOpenAiModelResponseCompletionTokenDetails {
9620
- /** Reasoning tokens present in the completion. */
9621
- reasoningTokens?: number | null;
9622
- /** Audio tokens present in the completion. */
9623
- audioTokens?: number | null;
9624
- /** Accepted prediction tokens. */
9625
- acceptedPredictionTokens?: number | null;
9626
- /** Rejected prediction tokens. */
9627
- rejectedPredictionTokens?: number | null;
10094
+ size?: string | null;
10095
+ /** Per-image error information for a failed generation within a batch. */
10096
+ error?: ImageError;
9628
10097
  }
9629
- interface InvokeCustomOpenAiModelResponseChoice {
9630
- /** Index of this Choice in choices array. */
9631
- index?: number | null;
9632
- /** ChatCompletionMessage object that defines the message. */
9633
- message?: Fireworks_proxyV1ChatCompletionMessage;
10098
+ interface ImageError {
9634
10099
  /**
9635
- * Reason why the message generation was stopped.
9636
- * @maxLength 100
10100
+ * Error code. See ByteDance error codes documentation.
10101
+ * @maxLength 255
9637
10102
  */
9638
- finishReason?: string | null;
10103
+ code?: string | null;
10104
+ /**
10105
+ * Human-readable error message.
10106
+ * @maxLength 1000
10107
+ */
10108
+ message?: string | null;
9639
10109
  }
9640
- interface InvokeCustomOpenAiModelResponseTokenUsage {
9641
- /** Number of LLM tokens required to encode input. */
9642
- inputTokens?: number | null;
9643
- /** Number of LLM tokens required to encode output. */
10110
+ interface ImageUsage {
10111
+ /** Number of images successfully generated, excluding failures. Billing is based on this count. */
10112
+ generatedImages?: number | null;
10113
+ /** Number of output tokens consumed. Calculated as sum(image_width * image_height) / 256, rounded. */
9644
10114
  outputTokens?: number | null;
9645
- /** Total number of LLM tokens used for the request. */
10115
+ /** Total tokens consumed by this request. Same as output_tokens (input tokens are not counted). */
9646
10116
  totalTokens?: number | null;
9647
- /** Breakdown of tokens used in the prompt. */
9648
- promptTokenDetails?: InvokeCustomOpenAiModelResponsePromptTokenDetails;
9649
- /** Breakdown of tokens used in the completion. */
9650
- completionTokenDetails?: InvokeCustomOpenAiModelResponseCompletionTokenDetails;
9651
10117
  }
9652
10118
  interface ContentGenerationFailedEvent {
9653
10119
  /**
@@ -9694,112 +10160,6 @@ interface FallbackProperties {
9694
10160
  /** FallbackPromptConfig object that describes optional second Prompt that can be invoked in case main invocation fails. */
9695
10161
  fallbackPromptConfig?: FallbackPromptConfig;
9696
10162
  }
9697
- interface DynamicRequestConfig {
9698
- /**
9699
- * List of GatewayToolDefinition's, used to overwrite tools in the prompt.
9700
- * @maxSize 100
9701
- */
9702
- gatewayToolDefinitions?: GatewayToolDefinition[];
9703
- /**
9704
- * List of GatewayMessageDefinition's, which will be converted to model-specific format and appended to the messages saved in the prompt.
9705
- * @maxSize 100
9706
- */
9707
- gatewayMessageDefinitions?: GatewayMessageDefinition[];
9708
- }
9709
- interface GatewayToolDefinition extends GatewayToolDefinitionToolOneOf {
9710
- /** Custom tool */
9711
- customTool?: GatewayToolDefinitionCustomTool;
9712
- /** Built-in tool */
9713
- builtInTool?: BuiltInTool;
9714
- }
9715
- /** @oneof */
9716
- interface GatewayToolDefinitionToolOneOf {
9717
- /** Custom tool */
9718
- customTool?: GatewayToolDefinitionCustomTool;
9719
- /** Built-in tool */
9720
- builtInTool?: BuiltInTool;
9721
- }
9722
- interface GatewayToolDefinitionCustomTool {
9723
- /**
9724
- * The name of the tool to be called.
9725
- * @maxLength 64
9726
- */
9727
- name?: string | null;
9728
- /**
9729
- * The description of what the tool does.
9730
- * @maxLength 100000
9731
- */
9732
- description?: string | null;
9733
- /** The parameters the tool accepts, described as a JSON Schema object. */
9734
- parameters?: Record<string, any> | null;
9735
- }
9736
- interface BuiltInTool {
9737
- /**
9738
- * The name of the tool to be called.
9739
- * @maxLength 64
9740
- */
9741
- name?: string | null;
9742
- /** Optional parameters specific to the built-in tool. */
9743
- parameters?: Record<string, any> | null;
9744
- }
9745
- interface GatewayMessageDefinition {
9746
- /** The role of the message author. */
9747
- role?: GatewayMessageDefinitionRoleWithLiterals;
9748
- /**
9749
- * The content of the message.
9750
- * @maxSize 4096
9751
- */
9752
- content?: GatewayContentBlock[];
9753
- }
9754
- declare enum GatewayMessageDefinitionRole {
9755
- UNKNOWN = "UNKNOWN",
9756
- USER = "USER",
9757
- ASSISTANT = "ASSISTANT",
9758
- SYSTEM = "SYSTEM",
9759
- TOOL = "TOOL",
9760
- DEVELOPER = "DEVELOPER"
9761
- }
9762
- /** @enumType */
9763
- type GatewayMessageDefinitionRoleWithLiterals = GatewayMessageDefinitionRole | 'UNKNOWN' | 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL' | 'DEVELOPER';
9764
- interface GatewayContentBlock extends GatewayContentBlockTypeOneOf {
9765
- /** Text content. */
9766
- text?: TextContent;
9767
- /** Media content, represented as URL. */
9768
- media?: MediaContent;
9769
- /** Tool use content, describes which tool should be used and with which parameters. */
9770
- toolUse?: ToolUseContent;
9771
- /** Tool result content, describes the result of tool invocation. */
9772
- toolResult?: ToolResultContent;
9773
- /** Represents model's internal thought process. */
9774
- thinking?: ThinkingTextContent;
9775
- }
9776
- /** @oneof */
9777
- interface GatewayContentBlockTypeOneOf {
9778
- /** Text content. */
9779
- text?: TextContent;
9780
- /** Media content, represented as URL. */
9781
- media?: MediaContent;
9782
- /** Tool use content, describes which tool should be used and with which parameters. */
9783
- toolUse?: ToolUseContent;
9784
- /** Tool result content, describes the result of tool invocation. */
9785
- toolResult?: ToolResultContent;
9786
- /** Represents model's internal thought process. */
9787
- thinking?: ThinkingTextContent;
9788
- }
9789
- interface ToolResultContent {
9790
- /**
9791
- * Tool use id
9792
- * @maxLength 100
9793
- */
9794
- toolUseId?: string | null;
9795
- /** Tool result is error. */
9796
- error?: boolean | null;
9797
- /**
9798
- * Tool result content.
9799
- * @maxSize 4096
9800
- */
9801
- content?: GatewayContentBlock[];
9802
- }
9803
10163
  interface GenerateTextByPromptResponse {
9804
10164
  /** ModelResponse object that describes the text generation result. */
9805
10165
  response?: ModelResponse;
@@ -9816,8 +10176,6 @@ interface ModelResponse extends ModelResponseResponseOneOf {
9816
10176
  openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
9817
10177
  /** Google bison text completion response. */
9818
10178
  googleTextBisonResponse?: TextBisonPredictResponse;
9819
- /** Google bison chat completion response. */
9820
- googleChatBisonResponse?: ChatBisonPredictResponse;
9821
10179
  /** Azure OpenAI chat completion response. */
9822
10180
  azureChatCompletionResponse?: CreateChatCompletionResponse;
9823
10181
  /** Google Gemini generate content response. */
@@ -9857,8 +10215,6 @@ interface ModelResponseResponseOneOf {
9857
10215
  openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
9858
10216
  /** Google bison text completion response. */
9859
10217
  googleTextBisonResponse?: TextBisonPredictResponse;
9860
- /** Google bison chat completion response. */
9861
- googleChatBisonResponse?: ChatBisonPredictResponse;
9862
10218
  /** Azure OpenAI chat completion response. */
9863
10219
  azureChatCompletionResponse?: CreateChatCompletionResponse;
9864
10220
  /** Google Gemini generate content response. */
@@ -9898,6 +10254,8 @@ interface GenerationRequestedEvent {
9898
10254
  * @format GUID
9899
10255
  */
9900
10256
  eventChainId?: string;
10257
+ /** Dynamic request configuration, including dynamic tools and messages. */
10258
+ dynamicRequestConfig?: DynamicRequestConfig;
9901
10259
  }
9902
10260
  interface TextGenerationSucceededEvent {
9903
10261
  /** ModelResponse object that describes the text generation result. */
@@ -9926,7 +10284,7 @@ interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
9926
10284
  /** Azure OpenAI chat completion chunk. */
9927
10285
  azureChatCompletionChunk?: ChatCompletionChunk;
9928
10286
  /** OpenAI chat completion chunk. */
9929
- openaiChatCompletionChunk?: V1ChatCompletionChunk;
10287
+ openaiChatCompletionChunk?: OpenaiproxyV1ChatCompletionChunk;
9930
10288
  /** Anthropic (via Google proxy) chat completion chunk. */
9931
10289
  googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
9932
10290
  /** Google Gemini GenerateContentResponse chunk. */
@@ -9935,6 +10293,8 @@ interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
9935
10293
  amazonAnthropicStreamChunk?: AnthropicStreamChunk;
9936
10294
  /** Native Anthropic API proxy stream chunk. */
9937
10295
  anthropicStreamChunk?: V1AnthropicStreamChunk;
10296
+ /** Fireworks chat completion chunk. */
10297
+ fireworksChatCompletionChunk?: V1ChatCompletionChunk;
9938
10298
  /**
9939
10299
  * Extracted text content from the chunk.
9940
10300
  * @maxLength 100
@@ -9951,7 +10311,7 @@ interface GeneratedTextChunkModelChunkOneOf {
9951
10311
  /** Azure OpenAI chat completion chunk. */
9952
10312
  azureChatCompletionChunk?: ChatCompletionChunk;
9953
10313
  /** OpenAI chat completion chunk. */
9954
- openaiChatCompletionChunk?: V1ChatCompletionChunk;
10314
+ openaiChatCompletionChunk?: OpenaiproxyV1ChatCompletionChunk;
9955
10315
  /** Anthropic (via Google proxy) chat completion chunk. */
9956
10316
  googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
9957
10317
  /** Google Gemini GenerateContentResponse chunk. */
@@ -9960,6 +10320,8 @@ interface GeneratedTextChunkModelChunkOneOf {
9960
10320
  amazonAnthropicStreamChunk?: AnthropicStreamChunk;
9961
10321
  /** Native Anthropic API proxy stream chunk. */
9962
10322
  anthropicStreamChunk?: V1AnthropicStreamChunk;
10323
+ /** Fireworks chat completion chunk. */
10324
+ fireworksChatCompletionChunk?: V1ChatCompletionChunk;
9963
10325
  }
9964
10326
  interface ChatCompletionChunk {
9965
10327
  /**
@@ -10027,7 +10389,7 @@ interface ChunkChoice {
10027
10389
  /** The index of the choice in the list of choices. */
10028
10390
  index?: number | null;
10029
10391
  }
10030
- interface V1ChatCompletionChunk {
10392
+ interface OpenaiproxyV1ChatCompletionChunk {
10031
10393
  /**
10032
10394
  * A unique identifier for the chat completion. Each chunk has the same ID.
10033
10395
  * @maxLength 100
@@ -10037,7 +10399,7 @@ interface V1ChatCompletionChunk {
10037
10399
  * A list of chat completion choices. Can contain more than one elements if n is greater than 1.
10038
10400
  * Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
10039
10401
  */
10040
- choices?: ChatCompletionChunkChunkChoice[];
10402
+ choices?: V1ChatCompletionChunkChunkChoice[];
10041
10403
  /**
10042
10404
  * The Unix timestamp (in seconds) of when the chat completion was created.
10043
10405
  * Each chunk has the same timestamp.
@@ -10064,7 +10426,7 @@ interface V1ChatCompletionChunk {
10064
10426
  /** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
10065
10427
  microcentsSpent?: string | null;
10066
10428
  }
10067
- interface ChunkChoiceChunkDelta {
10429
+ interface ChatCompletionChunkChunkChoiceChunkDelta {
10068
10430
  /**
10069
10431
  * The contents of the chunk message.
10070
10432
  * @maxLength 1000
@@ -10078,9 +10440,9 @@ interface ChunkChoiceChunkDelta {
10078
10440
  */
10079
10441
  toolCalls?: V1ChatCompletionMessageToolCall[];
10080
10442
  }
10081
- interface ChatCompletionChunkChunkChoice {
10443
+ interface V1ChatCompletionChunkChunkChoice {
10082
10444
  /** A chat completion delta generated by streamed model responses */
10083
- delta?: ChunkChoiceChunkDelta;
10445
+ delta?: ChatCompletionChunkChunkChoiceChunkDelta;
10084
10446
  /**
10085
10447
  * The reason the model stopped generating tokens. This will be
10086
10448
  * "stop" if the model hit a natural stop point or a provided stop sequence,
@@ -10365,6 +10727,72 @@ interface AnthropicStreamChunkMessageDelta {
10365
10727
  /** Cost of the request so far, in microcents. */
10366
10728
  microcentsSpent?: string | null;
10367
10729
  }
10730
+ interface V1ChatCompletionChunk {
10731
+ /**
10732
+ * A unique identifier for the chat completion. Each chunk has the same ID.
10733
+ * @maxLength 100
10734
+ */
10735
+ responseId?: string | null;
10736
+ /**
10737
+ * A list of chat completion choices. Can contain more than one elements if n is greater than 1.
10738
+ * Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
10739
+ */
10740
+ choices?: ChatCompletionChunkChunkChoice[];
10741
+ /**
10742
+ * The Unix timestamp (in seconds) of when the chat completion was created.
10743
+ * Each chunk has the same timestamp.
10744
+ */
10745
+ created?: number | null;
10746
+ /** Model that produced the completion. */
10747
+ modelId?: string;
10748
+ /**
10749
+ * This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
10750
+ * seed request parameter to understand when backend changes have been made that might impact determinism.
10751
+ * @maxLength 10000
10752
+ */
10753
+ systemFingerprint?: string | null;
10754
+ /**
10755
+ * The object type, which is always chat.completion.chunk.
10756
+ * @maxLength 100
10757
+ */
10758
+ object?: string | null;
10759
+ /**
10760
+ * An optional field that will only be present when you set stream_options: {"include_usage": true} in your request.
10761
+ * When present, it contains a null value except for the last chunk which contains the token usage statistics for the entire request.
10762
+ */
10763
+ usage?: InvokeCustomOpenAiModelResponseTokenUsage;
10764
+ /** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
10765
+ microcentsSpent?: string | null;
10766
+ }
10767
+ interface ChunkChoiceChunkDelta {
10768
+ /**
10769
+ * The contents of the chunk message.
10770
+ * @maxLength 1000
10771
+ */
10772
+ content?: string | null;
10773
+ /** The role of the author of this message. */
10774
+ role?: Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals;
10775
+ /**
10776
+ * Tool call requested by the model. Function arguments can be partial jsons and have to be assembled manually.
10777
+ * @maxSize 100
10778
+ */
10779
+ toolCalls?: ChatCompletionMessageToolCall[];
10780
+ }
10781
+ interface ChatCompletionChunkChunkChoice {
10782
+ /** A chat completion delta generated by streamed model responses */
10783
+ delta?: ChunkChoiceChunkDelta;
10784
+ /**
10785
+ * The reason the model stopped generating tokens. This will be
10786
+ * "stop" if the model hit a natural stop point or a provided stop sequence,
10787
+ * "length" if the maximum number of tokens specified in the request was reached,
10788
+ * "content_filter" if content was omitted due to a flag from our content filters,
10789
+ * "tool_calls" if the model called a tool
10790
+ * @maxLength 100
10791
+ */
10792
+ finishReason?: string | null;
10793
+ /** The index of the choice in the list of choices. */
10794
+ index?: number | null;
10795
+ }
10368
10796
  interface GenerateTextByPromptObjectRequest {
10369
10797
  /** Prompt object that describes the text generation request. */
10370
10798
  prompt?: Prompt;
@@ -10930,7 +11358,7 @@ interface ImageModelResponse extends ImageModelResponseResponseOneOf {
10930
11358
  /** Runware AI - Flux TextToImage response. */
10931
11359
  runwareTextToImageResponse?: TextToImageResponse;
10932
11360
  /** Google AI - Generate Image with Imagen Model response. */
10933
- googleGenerateImageResponse?: GenerateImageResponse;
11361
+ googleGenerateImageResponse?: V1GenerateImageResponse;
10934
11362
  /** ML generate image response. */
10935
11363
  mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
10936
11364
  /** OpenAI image creation response. */
@@ -10959,7 +11387,7 @@ interface ImageModelResponseResponseOneOf {
10959
11387
  /** Runware AI - Flux TextToImage response. */
10960
11388
  runwareTextToImageResponse?: TextToImageResponse;
10961
11389
  /** Google AI - Generate Image with Imagen Model response. */
10962
- googleGenerateImageResponse?: GenerateImageResponse;
11390
+ googleGenerateImageResponse?: V1GenerateImageResponse;
10963
11391
  /** ML generate image response. */
10964
11392
  mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
10965
11393
  /** OpenAI image creation response. */
@@ -10981,6 +11409,8 @@ interface ImageGenerationRequestedEvent {
10981
11409
  * @format GUID
10982
11410
  */
10983
11411
  eventChainId?: string;
11412
+ /** Dynamic request configuration, including dynamic tools and messages. */
11413
+ dynamicRequestConfig?: DynamicRequestConfig;
10984
11414
  }
10985
11415
  interface ImageGenerationSucceededEvent {
10986
11416
  /** ModelResponse object that describes the image generation result. */
@@ -12577,6 +13007,8 @@ interface PollImageGenerationResultRequest extends PollImageGenerationResultRequ
12577
13007
  runwareGetTaskResultRequest?: GetTaskResultRequest;
12578
13008
  /** OpenAI getVideoResult request */
12579
13009
  openAiGetVideoResultRequest?: GetVideoResultRequest;
13010
+ /** Bytedance getContentTask request */
13011
+ bytedanceGetContentTaskRequest?: GetContentTaskRequest;
12580
13012
  /** Contains additional information for the request. */
12581
13013
  userRequestInfo?: UserRequestInfo;
12582
13014
  }
@@ -12590,6 +13022,8 @@ interface PollImageGenerationResultRequestRequestOneOf {
12590
13022
  runwareGetTaskResultRequest?: GetTaskResultRequest;
12591
13023
  /** OpenAI getVideoResult request */
12592
13024
  openAiGetVideoResultRequest?: GetVideoResultRequest;
13025
+ /** Bytedance getContentTask request */
13026
+ bytedanceGetContentTaskRequest?: GetContentTaskRequest;
12593
13027
  }
12594
13028
  interface V1GetResultRequest {
12595
13029
  /**
@@ -12619,6 +13053,13 @@ interface GetVideoResultRequest {
12619
13053
  */
12620
13054
  id?: string;
12621
13055
  }
13056
+ interface GetContentTaskRequest {
13057
+ /**
13058
+ * The ID of the video generation task to query.
13059
+ * @maxLength 255
13060
+ */
13061
+ taskId?: string;
13062
+ }
12622
13063
  interface PollImageGenerationResultResponse extends PollImageGenerationResultResponseResponseOneOf {
12623
13064
  /** replicate proxy getResult response */
12624
13065
  replicateGetResultResponse?: V1GetResultResponse;
@@ -12628,6 +13069,8 @@ interface PollImageGenerationResultResponse extends PollImageGenerationResultRes
12628
13069
  runwareGetTaskResultResponse?: GetTaskResultResponse;
12629
13070
  /** OpenAI getVideoResult response */
12630
13071
  openAiGetVideoResultResponse?: GetVideoResultResponse;
13072
+ /** Bytedance getContentTask response */
13073
+ bytedanceGetContentTaskResponse?: GetContentTaskResponse;
12631
13074
  }
12632
13075
  /** @oneof */
12633
13076
  interface PollImageGenerationResultResponseResponseOneOf {
@@ -12639,6 +13082,8 @@ interface PollImageGenerationResultResponseResponseOneOf {
12639
13082
  runwareGetTaskResultResponse?: GetTaskResultResponse;
12640
13083
  /** OpenAI getVideoResult response */
12641
13084
  openAiGetVideoResultResponse?: GetVideoResultResponse;
13085
+ /** Bytedance getContentTask response */
13086
+ bytedanceGetContentTaskResponse?: GetContentTaskResponse;
12642
13087
  }
12643
13088
  interface V1GetResultResponse {
12644
13089
  /**
@@ -12701,6 +13146,9 @@ interface GetTaskResultResponseResponseOneOf {
12701
13146
  interface GetVideoResultResponse {
12702
13147
  videoJob?: VideoJob;
12703
13148
  }
13149
+ interface GetContentTaskResponse {
13150
+ task?: CommonContentTaskResponse;
13151
+ }
12704
13152
  interface DomainEvent extends DomainEventBodyOneOf {
12705
13153
  createdEvent?: EntityCreatedEvent;
12706
13154
  updatedEvent?: EntityUpdatedEvent;
@@ -12919,4 +13367,4 @@ declare function getApplicationUsage(): __PublicMethodMetaInfo<'GET', {}, GetApp
12919
13367
  declare function editImage(): __PublicMethodMetaInfo<'POST', {}, Wix_ai_gatewayV1EditImageRequest$1, Wix_ai_gatewayV1EditImageRequest, Wix_ai_gatewayV1EditImageResponse$1, Wix_ai_gatewayV1EditImageResponse>;
12920
13368
  declare function pollImageGenerationResult(): __PublicMethodMetaInfo<'POST', {}, PollImageGenerationResultRequest$1, PollImageGenerationResultRequest, PollImageGenerationResultResponse$1, PollImageGenerationResultResponse>;
12921
13369
 
12922
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type Action as ActionOriginal, type AlignmentInfoInChunk as AlignmentInfoInChunkOriginal, type AnthropicClaudeMessage as AnthropicClaudeMessageOriginal, type AnthropicMessage as AnthropicMessageOriginal, AnthropicModel as AnthropicModelOriginal, type AnthropicModelWithLiterals as AnthropicModelWithLiteralsOriginal, type AnthropicStreamChunkContentOneOf as AnthropicStreamChunkContentOneOfOriginal, type AnthropicStreamChunkMessageDelta as AnthropicStreamChunkMessageDeltaOriginal, type AnthropicStreamChunk as AnthropicStreamChunkOriginal, type ApplicationBudgetInfo as ApplicationBudgetInfoOriginal, type AsyncGenerationConfig as AsyncGenerationConfigOriginal, type Background as BackgroundOriginal, type BashTool as BashToolOriginal, type Blob as BlobOriginal, type BuiltInTool as BuiltInToolOriginal, type CacheControl as CacheControlOriginal, CacheControlType as CacheControlTypeOriginal, type CacheControlTypeWithLiterals as CacheControlTypeWithLiteralsOriginal, type CandidateCitationMetadataCitation as CandidateCitationMetadataCitationOriginal, type CandidateCitationMetadata as CandidateCitationMetadataOriginal, type CandidateContent as CandidateContentOriginal, type CandidateContentPart as CandidateContentPartOriginal, type Candidate as CandidateOriginal, type CharLocationCitation as CharLocationCitationOriginal, ChatBisonModel as ChatBisonModelOriginal, type ChatBisonModelWithLiterals as ChatBisonModelWithLiteralsOriginal, type ChatBisonPredictRequest as ChatBisonPredictRequestOriginal, type ChatBisonPredictResponse as ChatBisonPredictResponseOriginal, type ChatBisonPrediction as ChatBisonPredictionOriginal, type ChatCompletionChunkChunkChoice as ChatCompletionChunkChunkChoiceOriginal, type ChatCompletionChunk as ChatCompletionChunkOriginal, type ChatCompletionMessageContentPartContentValueOneOf as ChatCompletionMessageContentPartContentValueOneOfOriginal, type ChatCompletionMessageContentPart as ChatCompletionMessageContentPartOriginal, type ChatCompletionMessageFunctionWithArgs as ChatCompletionMessageFunctionWithArgsOriginal, type ChatCompletionMessageImageUrlContent as ChatCompletionMessageImageUrlContentOriginal, ChatCompletionMessageMessageRole as ChatCompletionMessageMessageRoleOriginal, type ChatCompletionMessageMessageRoleWithLiterals as ChatCompletionMessageMessageRoleWithLiteralsOriginal, type ChatCompletionMessage as ChatCompletionMessageOriginal, type ChatCompletionMessageToolCall as ChatCompletionMessageToolCallOriginal, ChatCompletionModel as ChatCompletionModelOriginal, type ChatCompletionModelWithLiterals as ChatCompletionModelWithLiteralsOriginal, type ChatInstance as ChatInstanceOriginal, type ChatMessage as ChatMessageOriginal, type Choice as ChoiceOriginal, type ChunkChoiceChunkDelta as ChunkChoiceChunkDeltaOriginal, type ChunkChoice as ChunkChoiceOriginal, type ChunkDelta as ChunkDeltaOriginal, type CitationMetadata as CitationMetadataOriginal, type Citation as CitationOriginal, type CitationTypeOneOf as CitationTypeOneOfOriginal, type CitationsEnabled as CitationsEnabledOriginal, ClaudeModel as ClaudeModelOriginal, type ClaudeModelWithLiterals as ClaudeModelWithLiteralsOriginal, ClipGuidancePreset as ClipGuidancePresetOriginal, type ClipGuidancePresetWithLiterals as ClipGuidancePresetWithLiteralsOriginal, type CodeExecution as CodeExecutionOriginal, type CodeExecutionResult as CodeExecutionResultOriginal, type CodeExecutionTool as CodeExecutionToolOriginal, type CodeExecutionToolResultContentOneOf as CodeExecutionToolResultContentOneOfOriginal, type CodeExecutionToolResultError as CodeExecutionToolResultErrorOriginal, type CodeExecutionToolResult as CodeExecutionToolResultOriginal, type CompletionTokenDetails as CompletionTokenDetailsOriginal, type ComputerUse as ComputerUseOriginal, type ComputerUseTool as ComputerUseToolOriginal, type Container as ContainerOriginal, type ContainerUpload as ContainerUploadOriginal, type ContentBlockDeltaDeltaOneOf as ContentBlockDeltaDeltaOneOfOriginal, type ContentBlockDelta as ContentBlockDeltaOriginal, type ContentBlockLocationCitation as ContentBlockLocationCitationOriginal, type ContentBlock as ContentBlockOriginal, type ContentBlockTypeOneOf as ContentBlockTypeOneOfOriginal, type ContentData as ContentDataOriginal, type ContentGenerationFailedEvent as ContentGenerationFailedEventOriginal, type ContentGenerationRequestedEvent as ContentGenerationRequestedEventOriginal, type ContentGenerationSucceededEvent as ContentGenerationSucceededEventOriginal, type Content as ContentOriginal, type ContentPartContentValueOneOf as ContentPartContentValueOneOfOriginal, type ContentPart as ContentPartOriginal, ContentRole as ContentRoleOriginal, type ContentRoleWithLiterals as ContentRoleWithLiteralsOriginal, type ConverseContentBlockContentOneOf as ConverseContentBlockContentOneOfOriginal, type ConverseContentBlock as ConverseContentBlockOriginal, type ConverseInferenceConfig as ConverseInferenceConfigOriginal, type ConverseInputSchema as ConverseInputSchemaOriginal, type ConverseMessage as ConverseMessageOriginal, ConverseModel as ConverseModelOriginal, type ConverseModelWithLiterals as ConverseModelWithLiteralsOriginal, type ConversePerformanceConfig as ConversePerformanceConfigOriginal, type ConverseReasoningContent as ConverseReasoningContentOriginal, type ConverseTool as ConverseToolOriginal, type ConverseToolResultContentContentOneOf as ConverseToolResultContentContentOneOfOriginal, type ConverseToolResultContent as ConverseToolResultContentOriginal, type ConverseToolResult as ConverseToolResultOriginal, type ConverseToolUse as ConverseToolUseOriginal, type CreateChatCompletionRequestFunctionCallOneOf as CreateChatCompletionRequestFunctionCallOneOfOriginal, type CreateChatCompletionRequestFunctionSignature as CreateChatCompletionRequestFunctionSignatureOriginal, type CreateChatCompletionRequest as CreateChatCompletionRequestOriginal, type CreateChatCompletionRequestResponseFormat as CreateChatCompletionRequestResponseFormatOriginal, type CreateChatCompletionRequestTool as CreateChatCompletionRequestToolOriginal, type CreateChatCompletionResponseChoice as CreateChatCompletionResponseChoiceOriginal, type CreateChatCompletionResponseCompletionTokenDetails as CreateChatCompletionResponseCompletionTokenDetailsOriginal, type CreateChatCompletionResponse as CreateChatCompletionResponseOriginal, type CreateChatCompletionResponsePromptTokenDetails as CreateChatCompletionResponsePromptTokenDetailsOriginal, type CreateChatCompletionResponseTokenUsage as CreateChatCompletionResponseTokenUsageOriginal, type CreateEmbeddingsRequest as CreateEmbeddingsRequestOriginal, type CreateEmbeddingsResponseEmbeddingUsage as CreateEmbeddingsResponseEmbeddingUsageOriginal, type CreateEmbeddingsResponse as CreateEmbeddingsResponseOriginal, type CreateImageOpenAiRequest as CreateImageOpenAiRequestOriginal, type CreateImageOpenAiResponse as CreateImageOpenAiResponseOriginal, type CreateImageRequest as CreateImageRequestOriginal, type CreateImageResponse as CreateImageResponseOriginal, type CreateModerationRequest as CreateModerationRequestOriginal, type CreateModerationResponse as CreateModerationResponseOriginal, CreatePredictionModel as CreatePredictionModelOriginal, type CreatePredictionModelWithLiterals as CreatePredictionModelWithLiteralsOriginal, type CreatePredictionRequestInputOneOf as CreatePredictionRequestInputOneOfOriginal, type CreatePredictionRequest as CreatePredictionRequestOriginal, type CreatePredictionResponse as CreatePredictionResponseOriginal, type CreatePredictionResponseTokenUsage as CreatePredictionResponseTokenUsageOriginal, type CreateSpeechRequest as CreateSpeechRequestOriginal, type CreateSpeechResponse as CreateSpeechResponseOriginal, type CreateTranscriptionRequest as CreateTranscriptionRequestOriginal, CreateTranscriptionRequestResponseFormat as CreateTranscriptionRequestResponseFormatOriginal, type CreateTranscriptionRequestResponseFormatWithLiterals as CreateTranscriptionRequestResponseFormatWithLiteralsOriginal, type CreateTranscriptionResponse as CreateTranscriptionResponseOriginal, type CreateVideoRequest as CreateVideoRequestOriginal, type CreateVideoResponse as CreateVideoResponseOriginal, type CustomTool as CustomToolOriginal, type DatalabOcr as DatalabOcrOriginal, type DatalabOcrOutput as DatalabOcrOutputOriginal, type DocumentContent as DocumentContentOriginal, type DocumentSource as DocumentSourceOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DynamicRequestConfig as DynamicRequestConfigOriginal, DynamicRetrievalConfigMode as DynamicRetrievalConfigModeOriginal, type DynamicRetrievalConfigModeWithLiterals as DynamicRetrievalConfigModeWithLiteralsOriginal, type DynamicRetrievalConfig as DynamicRetrievalConfigOriginal, EditAction as EditActionOriginal, type EditActionWithLiterals as EditActionWithLiteralsOriginal, type EditImageInput as EditImageInputOriginal, EditImageModel as EditImageModelOriginal, type EditImageModelWithLiterals as EditImageModelWithLiteralsOriginal, type EditImageOpenAiRequest as EditImageOpenAiRequestOriginal, type EditImageOpenAiResponse as EditImageOpenAiResponseOriginal, type EditImageRequest as EditImageRequestOriginal, type EditImageResponse as EditImageResponseOriginal, EditImageWithPromptRequestModel as EditImageWithPromptRequestModelOriginal, type EditImageWithPromptRequestModelWithLiterals as EditImageWithPromptRequestModelWithLiteralsOriginal, type EditImageWithPromptRequest as EditImageWithPromptRequestOriginal, type EditImageWithPromptResponse as EditImageWithPromptResponseOriginal, ElevenLabsTextToSpeechModel as ElevenLabsTextToSpeechModelOriginal, type ElevenLabsTextToSpeechModelWithLiterals as ElevenLabsTextToSpeechModelWithLiteralsOriginal, EmbeddingEncodingFormat as EmbeddingEncodingFormatOriginal, type EmbeddingEncodingFormatWithLiterals as EmbeddingEncodingFormatWithLiteralsOriginal, type EmbeddingInfoEmbeddingResultOneOf as EmbeddingInfoEmbeddingResultOneOfOriginal, type EmbeddingInfo as EmbeddingInfoOriginal, type EmbeddingInstance as EmbeddingInstanceOriginal, EmbeddingModel as EmbeddingModelOriginal, type EmbeddingModelWithLiterals as EmbeddingModelWithLiteralsOriginal, type EmbeddingPrediction as EmbeddingPredictionOriginal, type EmbeddingUsage as EmbeddingUsageOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, EntityType as EntityTypeOriginal, type EntityTypeWithLiterals as EntityTypeWithLiteralsOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Environment as EnvironmentOriginal, type EnvironmentWithLiterals as EnvironmentWithLiteralsOriginal, type ErrorInfo as ErrorInfoOriginal, type Example as ExampleOriginal, type ExecutableCode as ExecutableCodeOriginal, type Expand as ExpandOriginal, type ExperimentalPromptConfig as ExperimentalPromptConfigOriginal, type Export as ExportOriginal, type ExtractFromImageMetrics as ExtractFromImageMetricsOriginal, ExtractFromImageModel as ExtractFromImageModelOriginal, type ExtractFromImageModelWithLiterals as ExtractFromImageModelWithLiteralsOriginal, type ExtractFromImageRequestInputOneOf as ExtractFromImageRequestInputOneOfOriginal, type ExtractFromImageRequest as ExtractFromImageRequestOriginal, type ExtractFromImageResponse as ExtractFromImageResponseOriginal, type ExtractFromImageResponseOutputOneOf as ExtractFromImageResponseOutputOneOfOriginal, type ExtractFromImageResponseTokenUsage as ExtractFromImageResponseTokenUsageOriginal, type ExtractFromImageUrls as ExtractFromImageUrlsOriginal, type FallbackPromptConfig as FallbackPromptConfigOriginal, type FallbackProperties as FallbackPropertiesOriginal, type FileContent as FileContentOriginal, type FileInput as FileInputOriginal, type FineTuningSpec as FineTuningSpecOriginal, FinishReason as FinishReasonOriginal, type FinishReasonWithLiterals as FinishReasonWithLiteralsOriginal, type Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOf as Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOfOriginal, type Fireworks_proxyV1ChatCompletionMessageContentPart as Fireworks_proxyV1ChatCompletionMessageContentPartOriginal, type Fireworks_proxyV1ChatCompletionMessageImageUrlContent as Fireworks_proxyV1ChatCompletionMessageImageUrlContentOriginal, Fireworks_proxyV1ChatCompletionMessageMessageRole as Fireworks_proxyV1ChatCompletionMessageMessageRoleOriginal, type Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals as Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type Fireworks_proxyV1ChatCompletionMessage as Fireworks_proxyV1ChatCompletionMessageOriginal, type FloatEmbedding as FloatEmbeddingOriginal, type FluxDevControlnet as FluxDevControlnetOriginal, type FluxPulid as FluxPulidOriginal, type FrameImage as FrameImageOriginal, type FunctionCall as FunctionCallOriginal, type FunctionCallingConfig as FunctionCallingConfigOriginal, type FunctionDeclaration as FunctionDeclarationOriginal, type FunctionResponseBlob as FunctionResponseBlobOriginal, type FunctionResponse as FunctionResponseOriginal, type FunctionResponsePartDataOneOf as FunctionResponsePartDataOneOfOriginal, type FunctionResponsePart as FunctionResponsePartOriginal, type FunctionSignature as FunctionSignatureOriginal, type FunctionWithArgs as FunctionWithArgsOriginal, type GatewayContentBlock as GatewayContentBlockOriginal, type GatewayContentBlockTypeOneOf as GatewayContentBlockTypeOneOfOriginal, type GatewayMessageDefinition as GatewayMessageDefinitionOriginal, GatewayMessageDefinitionRole as GatewayMessageDefinitionRoleOriginal, type GatewayMessageDefinitionRoleWithLiterals as GatewayMessageDefinitionRoleWithLiteralsOriginal, type GatewayToolDefinitionCustomTool as GatewayToolDefinitionCustomToolOriginal, type GatewayToolDefinition as GatewayToolDefinitionOriginal, type GatewayToolDefinitionToolOneOf as GatewayToolDefinitionToolOneOfOriginal, GenerateAnImageModel as GenerateAnImageModelOriginal, type GenerateAnImageModelWithLiterals as GenerateAnImageModelWithLiteralsOriginal, type GenerateAnImageRequest as GenerateAnImageRequestOriginal, type GenerateAnImageResponse as GenerateAnImageResponseOriginal, type GenerateAudioRequestAudioRequestOneOf as GenerateAudioRequestAudioRequestOneOfOriginal, type GenerateAudioRequest as GenerateAudioRequestOriginal, type GenerateAudioResponseAudioResponseOneOf as GenerateAudioResponseAudioResponseOneOfOriginal, type GenerateAudioResponse as GenerateAudioResponseOriginal, type GenerateContentByProjectRequest as GenerateContentByProjectRequestOriginal, type GenerateContentByProjectResponse as GenerateContentByProjectResponseOriginal, type GenerateContentByPromptObjectRequest as GenerateContentByPromptObjectRequestOriginal, type GenerateContentByPromptObjectResponse as GenerateContentByPromptObjectResponseOriginal, type GenerateContentByPromptRequest as GenerateContentByPromptRequestOriginal, type GenerateContentByPromptResponse as GenerateContentByPromptResponseOriginal, type GenerateContentModelResponse as GenerateContentModelResponseOriginal, type GenerateContentModelResponseResponseOneOf as GenerateContentModelResponseResponseOneOfOriginal, type GenerateContentRequest as GenerateContentRequestOriginal, type GenerateContentResponse as GenerateContentResponseOriginal, type GenerateCoreRequest as GenerateCoreRequestOriginal, GenerateCoreRequestStylePreset as GenerateCoreRequestStylePresetOriginal, type GenerateCoreRequestStylePresetWithLiterals as GenerateCoreRequestStylePresetWithLiteralsOriginal, type GenerateCoreResponse as GenerateCoreResponseOriginal, type GenerateEmbeddingsRequestEmbeddingRequestOneOf as GenerateEmbeddingsRequestEmbeddingRequestOneOfOriginal, type GenerateEmbeddingsRequest as GenerateEmbeddingsRequestOriginal, type GenerateEmbeddingsResponseEmbeddingResponseOneOf as GenerateEmbeddingsResponseEmbeddingResponseOneOfOriginal, type GenerateEmbeddingsResponse as GenerateEmbeddingsResponseOriginal, type GenerateImageByProjectRequest as GenerateImageByProjectRequestOriginal, type GenerateImageByProjectResponse as GenerateImageByProjectResponseOriginal, type GenerateImageByPromptObjectRequest as GenerateImageByPromptObjectRequestOriginal, type GenerateImageByPromptObjectResponse as GenerateImageByPromptObjectResponseOriginal, type GenerateImageByPromptRequest as GenerateImageByPromptRequestOriginal, type GenerateImageByPromptResponse as GenerateImageByPromptResponseOriginal, GenerateImageMlPlatformModel as GenerateImageMlPlatformModelOriginal, type GenerateImageMlPlatformModelWithLiterals as GenerateImageMlPlatformModelWithLiteralsOriginal, type GenerateImageMlPlatformRequestInputOneOf as GenerateImageMlPlatformRequestInputOneOfOriginal, type GenerateImageMlPlatformRequest as GenerateImageMlPlatformRequestOriginal, type GenerateImageMlPlatformResponse as GenerateImageMlPlatformResponseOriginal, type GenerateImageRequest as GenerateImageRequestOriginal, type GenerateImageResponse as GenerateImageResponseOriginal, type GenerateModerationRequestModerationRequestOneOf as GenerateModerationRequestModerationRequestOneOfOriginal, type GenerateModerationRequest as GenerateModerationRequestOriginal, type GenerateModerationResponseModerationResponseOneOf as GenerateModerationResponseModerationResponseOneOfOriginal, type GenerateModerationResponse as GenerateModerationResponseOriginal, type GenerateStableDiffusionRequest as GenerateStableDiffusionRequestOriginal, GenerateStableDiffusionRequestOutputFormat as GenerateStableDiffusionRequestOutputFormatOriginal, type GenerateStableDiffusionRequestOutputFormatWithLiterals as GenerateStableDiffusionRequestOutputFormatWithLiteralsOriginal, type GenerateStableDiffusionResponse as GenerateStableDiffusionResponseOriginal, type GenerateTextByProjectRequest as GenerateTextByProjectRequestOriginal, type GenerateTextByProjectResponse as GenerateTextByProjectResponseOriginal, type GenerateTextByPromptObjectRequest as GenerateTextByPromptObjectRequestOriginal, type GenerateTextByPromptObjectResponse as GenerateTextByPromptObjectResponseOriginal, type GenerateTextByPromptRequest as GenerateTextByPromptRequestOriginal, type GenerateTextByPromptResponse as GenerateTextByPromptResponseOriginal, type GenerateTranscriptionRequest as GenerateTranscriptionRequestOriginal, type GenerateTranscriptionRequestTranscriptionRequestOneOf as GenerateTranscriptionRequestTranscriptionRequestOneOfOriginal, type GenerateTranscriptionResponse as GenerateTranscriptionResponseOriginal, type GenerateTranscriptionResponseTranscriptionResponseOneOf as GenerateTranscriptionResponseTranscriptionResponseOneOfOriginal, type GenerateVideoInstance as GenerateVideoInstanceOriginal, type GenerateVideoParameters as GenerateVideoParametersOriginal, type GenerateVideoRequest as GenerateVideoRequestOriginal, type GenerateVideoResponse as GenerateVideoResponseOriginal, type GeneratedAudioChunkAudioChunkOneOf as GeneratedAudioChunkAudioChunkOneOfOriginal, type GeneratedAudioChunk as GeneratedAudioChunkOriginal, type GeneratedContent as GeneratedContentOriginal, type GeneratedTextChunkModelChunkOneOf as GeneratedTextChunkModelChunkOneOfOriginal, type GeneratedTextChunk as GeneratedTextChunkOriginal, type GeneratedVideo as GeneratedVideoOriginal, type GenerationConfig as GenerationConfigOriginal, GenerationMode as GenerationModeOriginal, type GenerationModeWithLiterals as GenerationModeWithLiteralsOriginal, type GenerationRequestedEvent as GenerationRequestedEventOriginal, type GenerationThinkingConfig as GenerationThinkingConfigOriginal, type GetApplicationUsageRequest as GetApplicationUsageRequestOriginal, type GetApplicationUsageResponse as GetApplicationUsageResponseOriginal, type GetEmbeddingRequest as GetEmbeddingRequestOriginal, type GetEmbeddingResponse as GetEmbeddingResponseOriginal, type GetProjectRequest as GetProjectRequestOriginal, type GetProjectResponse as GetProjectResponseOriginal, type GetPromptRequest as GetPromptRequestOriginal, type GetPromptResponse as GetPromptResponseOriginal, type GetResultRequest as GetResultRequestOriginal, type GetResultResponse as GetResultResponseOriginal, type GetStatusRequest as GetStatusRequestOriginal, type GetStatusResponse as GetStatusResponseOriginal, type GetTaskResultRequest as GetTaskResultRequestOriginal, type GetTaskResultResponse as GetTaskResultResponseOriginal, type GetTaskResultResponseResponseOneOf as GetTaskResultResponseResponseOneOfOriginal, type GetVideoResultRequest as GetVideoResultRequestOriginal, type GetVideoResultResponse as GetVideoResultResponseOriginal, type GoogleSearch as GoogleSearchOriginal, type GoogleSearchRetrieval as GoogleSearchRetrievalOriginal, type GoogleproxyV1AnthropicStreamChunkContentOneOf as GoogleproxyV1AnthropicStreamChunkContentOneOfOriginal, type GoogleproxyV1AnthropicStreamChunk as GoogleproxyV1AnthropicStreamChunkOriginal, type GoogleproxyV1CacheControl as GoogleproxyV1CacheControlOriginal, type GoogleproxyV1ChatCompletionMessage as GoogleproxyV1ChatCompletionMessageOriginal, type GoogleproxyV1ContentBlockDeltaDeltaOneOf as GoogleproxyV1ContentBlockDeltaDeltaOneOfOriginal, type GoogleproxyV1ContentBlockDelta as GoogleproxyV1ContentBlockDeltaOriginal, type GoogleproxyV1ContentBlock as GoogleproxyV1ContentBlockOriginal, type GoogleproxyV1ContentBlockTypeOneOf as GoogleproxyV1ContentBlockTypeOneOfOriginal, type GoogleproxyV1ImageUrl as GoogleproxyV1ImageUrlOriginal, type GoogleproxyV1InputSchema as GoogleproxyV1InputSchemaOriginal, type GoogleproxyV1McpServer as GoogleproxyV1McpServerOriginal, GoogleproxyV1McpServerType as GoogleproxyV1McpServerTypeOriginal, type GoogleproxyV1McpServerTypeWithLiterals as GoogleproxyV1McpServerTypeWithLiteralsOriginal, GoogleproxyV1Model as GoogleproxyV1ModelOriginal, type GoogleproxyV1ModelWithLiterals as GoogleproxyV1ModelWithLiteralsOriginal, type GoogleproxyV1RedactedThinking as GoogleproxyV1RedactedThinkingOriginal, GoogleproxyV1ResponseTypeType as GoogleproxyV1ResponseTypeTypeOriginal, type GoogleproxyV1ResponseTypeTypeWithLiterals as GoogleproxyV1ResponseTypeTypeWithLiteralsOriginal, type GoogleproxyV1Text as GoogleproxyV1TextOriginal, type GoogleproxyV1ThinkingConfig as GoogleproxyV1ThinkingConfigOriginal, type GoogleproxyV1Thinking as GoogleproxyV1ThinkingOriginal, type GoogleproxyV1ToolChoice as GoogleproxyV1ToolChoiceOriginal, GoogleproxyV1ToolChoiceType as GoogleproxyV1ToolChoiceTypeOriginal, type GoogleproxyV1ToolChoiceTypeWithLiterals as GoogleproxyV1ToolChoiceTypeWithLiteralsOriginal, type GoogleproxyV1Tool as GoogleproxyV1ToolOriginal, type GoogleproxyV1ToolResult as GoogleproxyV1ToolResultOriginal, type GoogleproxyV1ToolUse as GoogleproxyV1ToolUseOriginal, type GoogleproxyV1Usage as GoogleproxyV1UsageOriginal, type GroundingChunkChunkTypeOneOf as GroundingChunkChunkTypeOneOfOriginal, type GroundingChunk as GroundingChunkOriginal, type GroundingMetadata as GroundingMetadataOriginal, type GroundingSupport as GroundingSupportOriginal, type Guidance as GuidanceOriginal, HarmCategory as HarmCategoryOriginal, type HarmCategoryWithLiterals as HarmCategoryWithLiteralsOriginal, HarmProbability as HarmProbabilityOriginal, type HarmProbabilityWithLiterals as HarmProbabilityWithLiteralsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageConfig as ImageConfigOriginal, ImageCoreModel as ImageCoreModelOriginal, type ImageCoreModelWithLiterals as ImageCoreModelWithLiteralsOriginal, ImageEditingModel as ImageEditingModelOriginal, type ImageEditingModelWithLiterals as ImageEditingModelWithLiteralsOriginal, type ImageEditingRequest as ImageEditingRequestOriginal, type ImageEditingResponse as ImageEditingResponseOriginal, type ImageGenerationFailedEvent as ImageGenerationFailedEventOriginal, type ImageGenerationRequestedEvent as ImageGenerationRequestedEventOriginal, type ImageGenerationSucceededEvent as ImageGenerationSucceededEventOriginal, type ImageInput as ImageInputOriginal, ImageMediaTypeMediaType as ImageMediaTypeMediaTypeOriginal, type ImageMediaTypeMediaTypeWithLiterals as ImageMediaTypeMediaTypeWithLiteralsOriginal, ImageModel as ImageModelOriginal, type ImageModelResponse as ImageModelResponseOriginal, type ImageModelResponseResponseOneOf as ImageModelResponseResponseOneOfOriginal, type ImageModelWithLiterals as ImageModelWithLiteralsOriginal, type ImageObject as ImageObjectOriginal, type ImageOutputOptions as ImageOutputOptionsOriginal, ImageQuality as ImageQualityOriginal, type ImageQualityWithLiterals as ImageQualityWithLiteralsOriginal, ImageSize as ImageSizeOriginal, type ImageSizeWithLiterals as ImageSizeWithLiteralsOriginal, ImageStableDiffusionModel as ImageStableDiffusionModelOriginal, type ImageStableDiffusionModelWithLiterals as ImageStableDiffusionModelWithLiteralsOriginal, ImageStyle as ImageStyleOriginal, type ImageStyleWithLiterals as ImageStyleWithLiteralsOriginal, type ImageUrlContent as ImageUrlContentOriginal, type ImageUrlInput as ImageUrlInputOriginal, type ImageUrl as ImageUrlOriginal, type ImageUsage as ImageUsageOriginal, ImagenModel as ImagenModelOriginal, type ImagenModelWithLiterals as ImagenModelWithLiteralsOriginal, type IncompleteDetails as IncompleteDetailsOriginal, type InputSchema as InputSchemaOriginal, type Inputs as InputsOriginal, type Instance as InstanceOriginal, type InvokeAnthropicClaudeModelRequest as InvokeAnthropicClaudeModelRequestOriginal, type InvokeAnthropicClaudeModelRequestTool as InvokeAnthropicClaudeModelRequestToolOriginal, type InvokeAnthropicClaudeModelResponse as InvokeAnthropicClaudeModelResponseOriginal, type InvokeAnthropicModelRequest as InvokeAnthropicModelRequestOriginal, type InvokeAnthropicModelResponse as InvokeAnthropicModelResponseOriginal, type InvokeChatCompletionRequest as InvokeChatCompletionRequestOriginal, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf as InvokeChatCompletionRequestResponseFormatFormatDetailsOneOfOriginal, type InvokeChatCompletionRequestResponseFormat as InvokeChatCompletionRequestResponseFormatOriginal, type InvokeChatCompletionResponseChoice as InvokeChatCompletionResponseChoiceOriginal, type InvokeChatCompletionResponse as InvokeChatCompletionResponseOriginal, type InvokeChatCompletionResponseUsage as InvokeChatCompletionResponseUsageOriginal, type InvokeConverseRequest as InvokeConverseRequestOriginal, type InvokeConverseResponse as InvokeConverseResponseOriginal, type InvokeConverseResponseTokenUsage as InvokeConverseResponseTokenUsageOriginal, type InvokeCustomOpenAiModelRequestFunctionCallOneOf as InvokeCustomOpenAiModelRequestFunctionCallOneOfOriginal, type InvokeCustomOpenAiModelRequestFunctionSignature as InvokeCustomOpenAiModelRequestFunctionSignatureOriginal, type InvokeCustomOpenAiModelRequest as InvokeCustomOpenAiModelRequestOriginal, type InvokeCustomOpenAiModelRequestResponseFormat as InvokeCustomOpenAiModelRequestResponseFormatOriginal, type InvokeCustomOpenAiModelRequestTool as InvokeCustomOpenAiModelRequestToolOriginal, type InvokeCustomOpenAiModelResponseChoice as InvokeCustomOpenAiModelResponseChoiceOriginal, type InvokeCustomOpenAiModelResponseCompletionTokenDetails as InvokeCustomOpenAiModelResponseCompletionTokenDetailsOriginal, type InvokeCustomOpenAiModelResponse as InvokeCustomOpenAiModelResponseOriginal, type InvokeCustomOpenAiModelResponsePromptTokenDetails as InvokeCustomOpenAiModelResponsePromptTokenDetailsOriginal, type InvokeCustomOpenAiModelResponseTokenUsage as InvokeCustomOpenAiModelResponseTokenUsageOriginal, type InvokeLlamaModelRequest as InvokeLlamaModelRequestOriginal, type InvokeLlamaModelResponse as InvokeLlamaModelResponseOriginal, type InvokeMlPlatformLlamaModelRequest as InvokeMlPlatformLlamaModelRequestOriginal, type InvokeMlPlatformLlamaModelResponse as InvokeMlPlatformLlamaModelResponseOriginal, type InvokeMlPlatformOpenAIChatCompletionRawRequest as InvokeMlPlatformOpenAIChatCompletionRawRequestOriginal, type InvokeMlPlatformOpenAIChatCompletionRawResponse as InvokeMlPlatformOpenAIChatCompletionRawResponseOriginal, type JsonSchema as JsonSchemaOriginal, Language as LanguageOriginal, type LanguageWithLiterals as LanguageWithLiteralsOriginal, type Lighting as LightingOriginal, LlamaModel as LlamaModelOriginal, type LlamaModelWithLiterals as LlamaModelWithLiteralsOriginal, type LoraModelSelect as LoraModelSelectOriginal, type LucatacoFlorence2Large as LucatacoFlorence2LargeOriginal, type Margin as MarginOriginal, type McpServer as McpServerOriginal, type McpServerToolConfiguration as McpServerToolConfigurationOriginal, McpServerType as McpServerTypeOriginal, type McpServerTypeWithLiterals as McpServerTypeWithLiteralsOriginal, type McpToolUse as McpToolUseOriginal, type MediaContent as MediaContentOriginal, MediaResolutionLevel as MediaResolutionLevelOriginal, type MediaResolutionLevelWithLiterals as MediaResolutionLevelWithLiteralsOriginal, type MediaResolution as MediaResolutionOriginal, MediaType as MediaTypeOriginal, type MediaTypeWithLiterals as MediaTypeWithLiteralsOriginal, type MessageDelta as MessageDeltaOriginal, type MessageEnvelope as MessageEnvelopeOriginal, MessageRole as MessageRoleOriginal, MessageRoleRole as MessageRoleRoleOriginal, type MessageRoleRoleWithLiterals as MessageRoleRoleWithLiteralsOriginal, type MessageRoleWithLiterals as MessageRoleWithLiteralsOriginal, type Metadata as MetadataOriginal, type Metrics as MetricsOriginal, Modality as ModalityOriginal, type ModalityTokenCount as ModalityTokenCountOriginal, type ModalityWithLiterals as ModalityWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, Model as ModelOriginal, type ModelResponse as ModelResponseOriginal, type ModelResponseResponseOneOf as ModelResponseResponseOneOfOriginal, type ModelWithLiterals as ModelWithLiteralsOriginal, type ModerationResult as ModerationResultOriginal, type MultiModalInputContentValueOneOf as MultiModalInputContentValueOneOfOriginal, type MultiModalInput as MultiModalInputOriginal, OpenAiImageModel as OpenAiImageModelOriginal, type OpenAiImageModelWithLiterals as OpenAiImageModelWithLiteralsOriginal, type OpenAiImageTokenDetails as OpenAiImageTokenDetailsOriginal, type OpenAiResponsesRequest as OpenAiResponsesRequestOriginal, type OpenAiResponsesResponseIncompleteDetails as OpenAiResponsesResponseIncompleteDetailsOriginal, type OpenAiResponsesResponse as OpenAiResponsesResponseOriginal, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf as OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOfOriginal, type OpenaiproxyV1ChatCompletionMessageContentPart as OpenaiproxyV1ChatCompletionMessageContentPartOriginal, type OpenaiproxyV1ChatCompletionMessageImageUrlContent as OpenaiproxyV1ChatCompletionMessageImageUrlContentOriginal, OpenaiproxyV1ChatCompletionMessageMessageRole as OpenaiproxyV1ChatCompletionMessageMessageRoleOriginal, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals as OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type OpenaiproxyV1ChatCompletionMessage as OpenaiproxyV1ChatCompletionMessageOriginal, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf as OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOfOriginal, type OpenaiproxyV1CreateChatCompletionRequest as OpenaiproxyV1CreateChatCompletionRequestOriginal, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat as OpenaiproxyV1CreateChatCompletionRequestResponseFormatOriginal, type OpenaiproxyV1CreateChatCompletionResponseChoice as OpenaiproxyV1CreateChatCompletionResponseChoiceOriginal, type OpenaiproxyV1CreateChatCompletionResponse as OpenaiproxyV1CreateChatCompletionResponseOriginal, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage as OpenaiproxyV1CreateChatCompletionResponseTokenUsageOriginal, OpenaiproxyV1EmbeddingModel as OpenaiproxyV1EmbeddingModelOriginal, type OpenaiproxyV1EmbeddingModelWithLiterals as OpenaiproxyV1EmbeddingModelWithLiteralsOriginal, OpenaiproxyV1Model as OpenaiproxyV1ModelOriginal, type OpenaiproxyV1ModelWithLiterals as OpenaiproxyV1ModelWithLiteralsOriginal, OutageStatus as OutageStatusOriginal, type OutageStatusWithLiterals as OutageStatusWithLiteralsOriginal, Outcome as OutcomeOriginal, type OutcomeWithLiterals as OutcomeWithLiteralsOriginal, type OutpaintDirection as OutpaintDirectionOriginal, type OutputAnnotationAnnotationTypeOneOf as OutputAnnotationAnnotationTypeOneOfOriginal, type OutputAnnotation as OutputAnnotationOriginal, type OutputContent as OutputContentOriginal, OutputFormat as OutputFormatOriginal, type OutputFormatWithLiterals as OutputFormatWithLiteralsOriginal, type OutputOptions as OutputOptionsOriginal, type Output as OutputOriginal, type Padding as PaddingOriginal, type PageLocationCitation as PageLocationCitationOriginal, type Parameters as ParametersOriginal, type PerceptronIsaac01 as PerceptronIsaac01Original, type PerplexityImageDescriptor as PerplexityImageDescriptorOriginal, PerplexityMessageMessageRole as PerplexityMessageMessageRoleOriginal, type PerplexityMessageMessageRoleWithLiterals as PerplexityMessageMessageRoleWithLiteralsOriginal, type PerplexityMessage as PerplexityMessageOriginal, PerplexityModel as PerplexityModelOriginal, type PerplexityModelWithLiterals as PerplexityModelWithLiteralsOriginal, PersonGeneration as PersonGenerationOriginal, type PersonGenerationWithLiterals as PersonGenerationWithLiteralsOriginal, type PollImageGenerationResultRequest as PollImageGenerationResultRequestOriginal, type PollImageGenerationResultRequestRequestOneOf as PollImageGenerationResultRequestRequestOneOfOriginal, type PollImageGenerationResultResponse as PollImageGenerationResultResponseOriginal, type PollImageGenerationResultResponseResponseOneOf as PollImageGenerationResultResponseResponseOneOfOriginal, type PredictParameters as PredictParametersOriginal, type PredictionMetrics as PredictionMetricsOriginal, type Prediction as PredictionOriginal, type PredictionUrls as PredictionUrlsOriginal, type ProjectConfigChangedDomainEvent as ProjectConfigChangedDomainEventOriginal, type Project as ProjectOriginal, type PromptModelRequestOneOf as PromptModelRequestOneOfOriginal, type Prompt as PromptOriginal, type PromptTokenDetails as PromptTokenDetailsOriginal, type PronunciationDictionaryLocator as PronunciationDictionaryLocatorOriginal, type PrunaaiZImageTurbo as PrunaaiZImageTurboOriginal, type PublicationDate as PublicationDateOriginal, type PublishProjectRequest as PublishProjectRequestOriginal, type PublishProjectResponse as PublishProjectResponseOriginal, type PublishPromptRequest as PublishPromptRequestOriginal, type PublishPromptResponse as PublishPromptResponseOriginal, type QwenImageLayered as QwenImageLayeredOriginal, type ReasoningText as ReasoningTextOriginal, type Recraft_proxyV1EditImageRequest as Recraft_proxyV1EditImageRequestOriginal, type Recraft_proxyV1EditImageResponse as Recraft_proxyV1EditImageResponseOriginal, type RedactedThinking as RedactedThinkingOriginal, type RemoveBackgroundRequest as RemoveBackgroundRequestOriginal, type RemoveBackgroundResponse as RemoveBackgroundResponseOriginal, type RequestMetadata as RequestMetadataOriginal, type ResponseFormat as ResponseFormatOriginal, type ResponseMetadata as ResponseMetadataOriginal, ResponseType as ResponseTypeOriginal, ResponseTypeType as ResponseTypeTypeOriginal, type ResponseTypeTypeWithLiterals as ResponseTypeTypeWithLiteralsOriginal, type ResponseTypeWithLiterals as ResponseTypeWithLiteralsOriginal, type ResponsesCodeInterpreterContainerAuto as ResponsesCodeInterpreterContainerAutoOriginal, type ResponsesCodeInterpreterContainerContainerTypeOneOf as ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type ResponsesCodeInterpreterContainer as ResponsesCodeInterpreterContainerOriginal, type ResponsesCodeInterpreterImageOutput as ResponsesCodeInterpreterImageOutputOriginal, type ResponsesCodeInterpreterLogsOutput as ResponsesCodeInterpreterLogsOutputOriginal, type ResponsesCodeInterpreter as ResponsesCodeInterpreterOriginal, type ResponsesCodeInterpreterOutput as ResponsesCodeInterpreterOutputOriginal, type ResponsesCodeInterpreterOutputOutputTypeOneOf as ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type ResponsesCodeInterpreterToolCall as ResponsesCodeInterpreterToolCallOriginal, type ResponsesFunction as ResponsesFunctionOriginal, type ResponsesFunctionToolCall as ResponsesFunctionToolCallOriginal, type ResponsesFunctionToolCallOutput as ResponsesFunctionToolCallOutputOriginal, type ResponsesInputItemItemOneOf as ResponsesInputItemItemOneOfOriginal, type ResponsesInputItem as ResponsesInputItemOriginal, type ResponsesInputMessageContentContentValueOneOf as ResponsesInputMessageContentContentValueOneOfOriginal, type ResponsesInputMessageContentFileInput as ResponsesInputMessageContentFileInputOriginal, type ResponsesInputMessageContentImageInput as ResponsesInputMessageContentImageInputOriginal, type ResponsesInputMessageContent as ResponsesInputMessageContentOriginal, type ResponsesInputMessage as ResponsesInputMessageOriginal, ResponsesInputMessageResponsesMessageRole as ResponsesInputMessageResponsesMessageRoleOriginal, type ResponsesInputMessageResponsesMessageRoleWithLiterals as ResponsesInputMessageResponsesMessageRoleWithLiteralsOriginal, type ResponsesInputTokensDetails as ResponsesInputTokensDetailsOriginal, ResponsesMessageRole as ResponsesMessageRoleOriginal, type ResponsesMessageRoleWithLiterals as ResponsesMessageRoleWithLiteralsOriginal, ResponsesModel as ResponsesModelOriginal, type ResponsesModelWithLiterals as ResponsesModelWithLiteralsOriginal, type ResponsesOutputMessage as ResponsesOutputMessageOriginal, type ResponsesOutputMessageOutputContent as ResponsesOutputMessageOutputContentOriginal, type ResponsesOutput as ResponsesOutputOriginal, type ResponsesOutputOutputOneOf as ResponsesOutputOutputOneOfOriginal, type ResponsesOutputTokensDetails as ResponsesOutputTokensDetailsOriginal, type ResponsesReasoningContent as ResponsesReasoningContentOriginal, type ResponsesReasoning as ResponsesReasoningOriginal, type ResponsesReasoningOutput as ResponsesReasoningOutputOriginal, type ResponsesReasoningSummaryContent as ResponsesReasoningSummaryContentOriginal, type ResponsesTextFormatFormatOneOf as ResponsesTextFormatFormatOneOfOriginal, type ResponsesTextFormatJsonSchema as ResponsesTextFormatJsonSchemaOriginal, type ResponsesTextFormat as ResponsesTextFormatOriginal, type ResponsesTokenUsage as ResponsesTokenUsageOriginal, type ResponsesToolChoice as ResponsesToolChoiceOriginal, type ResponsesTool as ResponsesToolOriginal, type ResponsesToolToolTypeOneOf as ResponsesToolToolTypeOneOfOriginal, type ResponsesWebSearch as ResponsesWebSearchOriginal, type ResponsesWebSearchToolCallAction as ResponsesWebSearchToolCallActionOriginal, type ResponsesWebSearchToolCall as ResponsesWebSearchToolCallOriginal, type ResponsesWebSearchUserLocation as ResponsesWebSearchUserLocationOriginal, type RestoreInfo as RestoreInfoOriginal, type ResultObject as ResultObjectOriginal, type RetrievalMetadata as RetrievalMetadataOriginal, type RetrievedContext as RetrievedContextOriginal, type ReveEdit as ReveEditOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SafetyAttribute as SafetyAttributeOriginal, type SafetyAttributes as SafetyAttributesOriginal, type SafetyRating as SafetyRatingOriginal, type SafetySetting as SafetySettingOriginal, Sampler as SamplerOriginal, type SamplerWithLiterals as SamplerWithLiteralsOriginal, type SearchEntryPoint as SearchEntryPointOriginal, type SearchResultLocationCitation as SearchResultLocationCitationOriginal, type Segment as SegmentOriginal, type Segmentation as SegmentationOriginal, type ServerToolUse as ServerToolUseOriginal, type Shadow as ShadowOriginal, type SimpleContentBlock as SimpleContentBlockOriginal, type SimpleContentBlockTypeOneOf as SimpleContentBlockTypeOneOfOriginal, type SpeechChunk as SpeechChunkOriginal, SpeechModel as SpeechModelOriginal, type SpeechModelWithLiterals as SpeechModelWithLiteralsOriginal, type SpiGenerationConfig as SpiGenerationConfigOriginal, type Statistics as StatisticsOriginal, StylePreset as StylePresetOriginal, type StylePresetWithLiterals as StylePresetWithLiteralsOriginal, type SystemContentBlock as SystemContentBlockOriginal, type SystemInstruction as SystemInstructionOriginal, TaskInput as TaskInputOriginal, type TaskInputWithLiterals as TaskInputWithLiteralsOriginal, TaskType as TaskTypeOriginal, type TaskTypeWithLiterals as TaskTypeWithLiteralsOriginal, TextBisonModel as TextBisonModelOriginal, type TextBisonModelWithLiterals as TextBisonModelWithLiteralsOriginal, type TextBisonPredictRequest as TextBisonPredictRequestOriginal, type TextBisonPredictResponse as TextBisonPredictResponseOriginal, type TextBisonPrediction as TextBisonPredictionOriginal, type TextContent as TextContentOriginal, type TextEditorTool as TextEditorToolOriginal, type TextEmbeddingInstance as TextEmbeddingInstanceOriginal, type TextEmbeddingParameters as TextEmbeddingParametersOriginal, type TextGenerationFailedEvent as TextGenerationFailedEventOriginal, type TextGenerationSucceededEvent as TextGenerationSucceededEventOriginal, type TextInstance as TextInstanceOriginal, type Text as TextOriginal, type TextPrompt as TextPromptOriginal, type TextRemoval as TextRemovalOriginal, TextToImageRequestModel as TextToImageRequestModelOriginal, type TextToImageRequestModelWithLiterals as TextToImageRequestModelWithLiteralsOriginal, type TextToImageRequest as TextToImageRequestOriginal, TextToImageRequestStylePreset as TextToImageRequestStylePresetOriginal, type TextToImageRequestStylePresetWithLiterals as TextToImageRequestStylePresetWithLiteralsOriginal, type TextToImageResponse as TextToImageResponseOriginal, type TextToImageTaskResult as TextToImageTaskResultOriginal, type TextToSpeechChunk as TextToSpeechChunkOriginal, type TextToSpeechRequest as TextToSpeechRequestOriginal, type ThinkingConfig as ThinkingConfigOriginal, type Thinking as ThinkingOriginal, type ThinkingTextContent as ThinkingTextContentOriginal, Threshold as ThresholdOriginal, type ThresholdWithLiterals as ThresholdWithLiteralsOriginal, type TimestampGranularities as TimestampGranularitiesOriginal, TimestampGranularity as TimestampGranularityOriginal, type TimestampGranularityWithLiterals as TimestampGranularityWithLiteralsOriginal, type TokenCount as TokenCountOriginal, type TokenMetadata as TokenMetadataOriginal, type TokenUsage as TokenUsageOriginal, type ToolCall as ToolCallOriginal, type ToolChoice as ToolChoiceOriginal, ToolChoiceType as ToolChoiceTypeOriginal, type ToolChoiceTypeWithLiterals as ToolChoiceTypeWithLiteralsOriginal, type ToolConfig as ToolConfigOriginal, type ToolConfiguration as ToolConfigurationOriginal, type Tool as ToolOriginal, type ToolResultContentBlock as ToolResultContentBlockOriginal, type ToolResultContentBlockTypeOneOf as ToolResultContentBlockTypeOneOfOriginal, type ToolResultContent as ToolResultContentOriginal, type ToolResult as ToolResultOriginal, type ToolResultSearchResult as ToolResultSearchResultOriginal, type ToolSpecification as ToolSpecificationOriginal, type ToolUseContent as ToolUseContentOriginal, type ToolUse as ToolUseOriginal, TranscriptionModel as TranscriptionModelOriginal, type TranscriptionModelWithLiterals as TranscriptionModelWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UrlCitation as UrlCitationOriginal, type UsageCacheCreation as UsageCacheCreationOriginal, type UsageMetadata as UsageMetadataOriginal, type Usage as UsageOriginal, type UsageServerToolUse as UsageServerToolUseOriginal, type UserLocation as UserLocationOriginal, type UserPerApplicationBudgetInfo as UserPerApplicationBudgetInfoOriginal, type UserRequestInfo as UserRequestInfoOriginal, type V1AnthropicClaudeMessage as V1AnthropicClaudeMessageOriginal, type V1AnthropicStreamChunkContentOneOf as V1AnthropicStreamChunkContentOneOfOriginal, type V1AnthropicStreamChunkMessageDelta as V1AnthropicStreamChunkMessageDeltaOriginal, type V1AnthropicStreamChunk as V1AnthropicStreamChunkOriginal, type V1CacheControl as V1CacheControlOriginal, V1CacheControlType as V1CacheControlTypeOriginal, type V1CacheControlTypeWithLiterals as V1CacheControlTypeWithLiteralsOriginal, type V1ChatCompletionChunk as V1ChatCompletionChunkOriginal, type V1ChatCompletionMessageContentPartContentValueOneOf as V1ChatCompletionMessageContentPartContentValueOneOfOriginal, type V1ChatCompletionMessageContentPart as V1ChatCompletionMessageContentPartOriginal, type V1ChatCompletionMessageFunctionWithArgs as V1ChatCompletionMessageFunctionWithArgsOriginal, type V1ChatCompletionMessageImageUrlContent as V1ChatCompletionMessageImageUrlContentOriginal, V1ChatCompletionMessageMessageRole as V1ChatCompletionMessageMessageRoleOriginal, type V1ChatCompletionMessageMessageRoleWithLiterals as V1ChatCompletionMessageMessageRoleWithLiteralsOriginal, type V1ChatCompletionMessage as V1ChatCompletionMessageOriginal, type V1ChatCompletionMessageToolCall as V1ChatCompletionMessageToolCallOriginal, type V1Citation as V1CitationOriginal, type V1CodeExecutionResult as V1CodeExecutionResultOriginal, type V1ContentBlockDeltaDeltaOneOf as V1ContentBlockDeltaDeltaOneOfOriginal, type V1ContentBlockDelta as V1ContentBlockDeltaOriginal, type V1ContentBlock as V1ContentBlockOriginal, type V1ContentBlockTypeOneOf as V1ContentBlockTypeOneOfOriginal, type V1ContentPart as V1ContentPartOriginal, type V1CreateChatCompletionRequest as V1CreateChatCompletionRequestOriginal, type V1CreateChatCompletionRequestResponseFormat as V1CreateChatCompletionRequestResponseFormatOriginal, type V1CreateChatCompletionRequestTool as V1CreateChatCompletionRequestToolOriginal, type V1CreateChatCompletionResponseChoice as V1CreateChatCompletionResponseChoiceOriginal, type V1CreateChatCompletionResponse as V1CreateChatCompletionResponseOriginal, type V1CreateChatCompletionResponseTokenUsage as V1CreateChatCompletionResponseTokenUsageOriginal, type V1CreateEmbeddingsRequest as V1CreateEmbeddingsRequestOriginal, type V1CreateEmbeddingsResponse as V1CreateEmbeddingsResponseOriginal, V1EditImageModel as V1EditImageModelOriginal, type V1EditImageModelWithLiterals as V1EditImageModelWithLiteralsOriginal, type V1EditImageRequest as V1EditImageRequestOriginal, type V1EditImageResponse as V1EditImageResponseOriginal, V1EmbeddingEncodingFormat as V1EmbeddingEncodingFormatOriginal, type V1EmbeddingEncodingFormatWithLiterals as V1EmbeddingEncodingFormatWithLiteralsOriginal, type V1EmbeddingInfoEmbeddingResultOneOf as V1EmbeddingInfoEmbeddingResultOneOfOriginal, type V1EmbeddingInfo as V1EmbeddingInfoOriginal, V1EmbeddingModel as V1EmbeddingModelOriginal, type V1EmbeddingModelWithLiterals as V1EmbeddingModelWithLiteralsOriginal, type V1FineTuningSpec as V1FineTuningSpecOriginal, type V1FloatEmbedding as V1FloatEmbeddingOriginal, type V1FluxPulid as V1FluxPulidOriginal, type V1GetResultRequest as V1GetResultRequestOriginal, type V1GetResultResponse as V1GetResultResponseOriginal, type V1ImageInput as V1ImageInputOriginal, V1ImageMediaTypeMediaType as V1ImageMediaTypeMediaTypeOriginal, type V1ImageMediaTypeMediaTypeWithLiterals as V1ImageMediaTypeMediaTypeWithLiteralsOriginal, V1ImageModel as V1ImageModelOriginal, type V1ImageModelWithLiterals as V1ImageModelWithLiteralsOriginal, type V1ImageObject as V1ImageObjectOriginal, type V1ImageUrl as V1ImageUrlOriginal, type V1InputSchema as V1InputSchemaOriginal, type V1InvokeAnthropicClaudeModelRequest as V1InvokeAnthropicClaudeModelRequestOriginal, type V1InvokeAnthropicClaudeModelResponse as V1InvokeAnthropicClaudeModelResponseOriginal, type V1McpServer as V1McpServerOriginal, type V1McpServerToolConfiguration as V1McpServerToolConfigurationOriginal, V1McpServerType as V1McpServerTypeOriginal, type V1McpServerTypeWithLiterals as V1McpServerTypeWithLiteralsOriginal, V1MessageRoleRole as V1MessageRoleRoleOriginal, type V1MessageRoleRoleWithLiterals as V1MessageRoleRoleWithLiteralsOriginal, V1Model as V1ModelOriginal, type V1ModelWithLiterals as V1ModelWithLiteralsOriginal, type V1OpenAiResponsesRequest as V1OpenAiResponsesRequestOriginal, type V1OpenAiResponsesResponse as V1OpenAiResponsesResponseOriginal, type V1OutputAnnotationAnnotationTypeOneOf as V1OutputAnnotationAnnotationTypeOneOfOriginal, type V1OutputAnnotation as V1OutputAnnotationOriginal, type V1RedactedThinking as V1RedactedThinkingOriginal, V1ResponseTypeType as V1ResponseTypeTypeOriginal, type V1ResponseTypeTypeWithLiterals as V1ResponseTypeTypeWithLiteralsOriginal, type V1ResponsesCodeInterpreterContainerAuto as V1ResponsesCodeInterpreterContainerAutoOriginal, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf as V1ResponsesCodeInterpreterContainerContainerTypeOneOfOriginal, type V1ResponsesCodeInterpreterContainer as V1ResponsesCodeInterpreterContainerOriginal, type V1ResponsesCodeInterpreterImageOutput as V1ResponsesCodeInterpreterImageOutputOriginal, type V1ResponsesCodeInterpreterLogsOutput as V1ResponsesCodeInterpreterLogsOutputOriginal, type V1ResponsesCodeInterpreter as V1ResponsesCodeInterpreterOriginal, type V1ResponsesCodeInterpreterOutput as V1ResponsesCodeInterpreterOutputOriginal, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf as V1ResponsesCodeInterpreterOutputOutputTypeOneOfOriginal, type V1ResponsesCodeInterpreterToolCall as V1ResponsesCodeInterpreterToolCallOriginal, type V1ResponsesFunction as V1ResponsesFunctionOriginal, type V1ResponsesFunctionToolCall as V1ResponsesFunctionToolCallOriginal, type V1ResponsesFunctionToolCallOutput as V1ResponsesFunctionToolCallOutputOriginal, type V1ResponsesInputItemItemOneOf as V1ResponsesInputItemItemOneOfOriginal, type V1ResponsesInputItem as V1ResponsesInputItemOriginal, type V1ResponsesInputMessageContentContentValueOneOf as V1ResponsesInputMessageContentContentValueOneOfOriginal, type V1ResponsesInputMessageContent as V1ResponsesInputMessageContentOriginal, type V1ResponsesInputMessage as V1ResponsesInputMessageOriginal, type V1ResponsesInputTokensDetails as V1ResponsesInputTokensDetailsOriginal, V1ResponsesModel as V1ResponsesModelOriginal, type V1ResponsesModelWithLiterals as V1ResponsesModelWithLiteralsOriginal, type V1ResponsesOutputMessage as V1ResponsesOutputMessageOriginal, type V1ResponsesOutput as V1ResponsesOutputOriginal, type V1ResponsesOutputOutputOneOf as V1ResponsesOutputOutputOneOfOriginal, type V1ResponsesOutputTokensDetails as V1ResponsesOutputTokensDetailsOriginal, type V1ResponsesReasoningContent as V1ResponsesReasoningContentOriginal, type V1ResponsesReasoning as V1ResponsesReasoningOriginal, type V1ResponsesReasoningOutput as V1ResponsesReasoningOutputOriginal, type V1ResponsesReasoningSummaryContent as V1ResponsesReasoningSummaryContentOriginal, type V1ResponsesTextFormatFormatOneOf as V1ResponsesTextFormatFormatOneOfOriginal, type V1ResponsesTextFormat as V1ResponsesTextFormatOriginal, type V1ResponsesTokenUsage as V1ResponsesTokenUsageOriginal, type V1ResponsesToolChoice as V1ResponsesToolChoiceOriginal, type V1ResponsesTool as V1ResponsesToolOriginal, type V1ResponsesToolToolTypeOneOf as V1ResponsesToolToolTypeOneOfOriginal, type V1ResponsesWebSearch as V1ResponsesWebSearchOriginal, type V1ResponsesWebSearchToolCall as V1ResponsesWebSearchToolCallOriginal, type V1Segment as V1SegmentOriginal, type V1SimpleContentBlock as V1SimpleContentBlockOriginal, type V1SimpleContentBlockTypeOneOf as V1SimpleContentBlockTypeOneOfOriginal, type V1Text as V1TextOriginal, type V1TextToImageRequest as V1TextToImageRequestOriginal, type V1TextToImageResponse as V1TextToImageResponseOriginal, type V1ThinkingConfig as V1ThinkingConfigOriginal, type V1Thinking as V1ThinkingOriginal, type V1TokenUsage as V1TokenUsageOriginal, type V1ToolChoice as V1ToolChoiceOriginal, V1ToolChoiceType as V1ToolChoiceTypeOriginal, type V1ToolChoiceTypeWithLiterals as V1ToolChoiceTypeWithLiteralsOriginal, type V1ToolConfig as V1ToolConfigOriginal, type V1ToolKindOneOf as V1ToolKindOneOfOriginal, type V1Tool as V1ToolOriginal, type V1ToolResult as V1ToolResultOriginal, type V1ToolUse as V1ToolUseOriginal, type V1UrlCitation as V1UrlCitationOriginal, type V1Usage as V1UsageOriginal, V1VideoModel as V1VideoModelOriginal, type V1VideoModelWithLiterals as V1VideoModelWithLiteralsOriginal, VideoGenModel as VideoGenModelOriginal, type VideoGenModelWithLiterals as VideoGenModelWithLiteralsOriginal, type VideoInferenceRequest as VideoInferenceRequestOriginal, type VideoInferenceResponse as VideoInferenceResponseOriginal, type VideoInferenceTaskResult as VideoInferenceTaskResultOriginal, type VideoInputs as VideoInputsOriginal, type VideoJob as VideoJobOriginal, VideoModel as VideoModelOriginal, type VideoModelWithLiterals as VideoModelWithLiteralsOriginal, type VoiceSettings as VoiceSettingsOriginal, type WebFetchTool as WebFetchToolOriginal, type WebFetchToolResultContentError as WebFetchToolResultContentErrorOriginal, type WebFetchToolResultContentOneOf as WebFetchToolResultContentOneOfOriginal, type WebFetchToolResultContentSuccess as WebFetchToolResultContentSuccessOriginal, type WebFetchToolResult as WebFetchToolResultOriginal, type Web as WebOriginal, type WebSearchResultList as WebSearchResultListOriginal, type WebSearchResultLocationCitation as WebSearchResultLocationCitationOriginal, type WebSearchResult as WebSearchResultOriginal, type WebSearchTool as WebSearchToolOriginal, type WebSearchToolResultContentOneOf as WebSearchToolResultContentOneOfOriginal, type WebSearchToolResultError as WebSearchToolResultErrorOriginal, type WebSearchToolResult as WebSearchToolResultOriginal, type WebSearchUserLocation as WebSearchUserLocationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type Wix_ai_gatewayV1EditImageRequest as Wix_ai_gatewayV1EditImageRequestOriginal, type Wix_ai_gatewayV1EditImageRequestRequestOneOf as Wix_ai_gatewayV1EditImageRequestRequestOneOfOriginal, type Wix_ai_gatewayV1EditImageResponse as Wix_ai_gatewayV1EditImageResponseOriginal, type Wix_ai_gatewayV1EditImageResponseResponseOneOf as Wix_ai_gatewayV1EditImageResponseResponseOneOfOriginal, type Word as WordOriginal, type __PublicMethodMetaInfo, editImage, generateAudio, generateAudioStreamed, generateContentByProject, generateContentByPrompt, generateContentByPromptObject, generateEmbedding, generateImageByProject, generateImageByPrompt, generateImageByPromptObject, generateModeration, generateTextByProject, generateTextByProjectStreamed, generateTextByPrompt, generateTextByPromptObject, generateTextByPromptObjectStreamed, generateTextByPromptStreamed, generateTranscription, getApplicationUsage, getProject, getPrompt, getStatus, pollImageGenerationResult, publishProject, publishPrompt };
13370
+ 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 };