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