@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +936 -381
  2. package/build/cjs/index.js +25 -11
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -1
  5. package/build/cjs/index.typings.js +25 -11
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +927 -380
  8. package/build/cjs/meta.js +21 -9
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +936 -381
  11. package/build/es/index.mjs +25 -11
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -1
  14. package/build/es/index.typings.mjs +25 -11
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +927 -380
  17. package/build/es/meta.mjs +21 -9
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +14 -14
  20. package/build/internal/cjs/index.js +25 -11
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +949 -394
  23. package/build/internal/cjs/index.typings.js +25 -11
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +927 -380
  26. package/build/internal/cjs/meta.js +21 -9
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +14 -14
  29. package/build/internal/es/index.mjs +25 -11
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +949 -394
  32. package/build/internal/es/index.typings.mjs +25 -11
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +927 -380
  35. package/build/internal/es/meta.mjs +21 -9
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -42,7 +42,7 @@ interface Prompt extends PromptModelRequestOneOf {
42
42
  /** Perplexity chat completion request */
43
43
  perplexityChatCompletionRequest?: InvokeChatCompletionRequest;
44
44
  /** Google AI - generate image request */
45
- googleGenerateImageRequest?: GenerateImageRequest;
45
+ googleGenerateImageRequest?: V1GenerateImageRequest;
46
46
  /** ML platform - generate image request */
47
47
  mlPlatformGenerateImageRequest?: GenerateImageMlPlatformRequest;
48
48
  /** OpenAI image creation response. */
@@ -65,6 +65,10 @@ interface Prompt extends PromptModelRequestOneOf {
65
65
  openAiCreateVideoRequest?: CreateVideoRequest;
66
66
  /** Fireworks - OpenAI payload */
67
67
  fireworksInvokeCustomOpenAiRequest?: InvokeCustomOpenAiModelRequest;
68
+ /** Bytedance - Create content task request (video generation) */
69
+ bytedanceCreateContentTaskRequest?: CreateContentTaskRequest;
70
+ /** Bytedance - Generate image request (Seedream models) */
71
+ bytedanceGenerateImageRequest?: GenerateImageRequest;
68
72
  /**
69
73
  * Prompt id.
70
74
  * @format GUID
@@ -128,7 +132,7 @@ interface PromptModelRequestOneOf {
128
132
  /** Perplexity chat completion request */
129
133
  perplexityChatCompletionRequest?: InvokeChatCompletionRequest;
130
134
  /** Google AI - generate image request */
131
- googleGenerateImageRequest?: GenerateImageRequest;
135
+ googleGenerateImageRequest?: V1GenerateImageRequest;
132
136
  /** ML platform - generate image request */
133
137
  mlPlatformGenerateImageRequest?: GenerateImageMlPlatformRequest;
134
138
  /** OpenAI image creation response. */
@@ -151,6 +155,10 @@ interface PromptModelRequestOneOf {
151
155
  openAiCreateVideoRequest?: CreateVideoRequest;
152
156
  /** Fireworks - OpenAI payload */
153
157
  fireworksInvokeCustomOpenAiRequest?: InvokeCustomOpenAiModelRequest;
158
+ /** Bytedance - Create content task request (video generation) */
159
+ bytedanceCreateContentTaskRequest?: CreateContentTaskRequest;
160
+ /** Bytedance - Generate image request (Seedream models) */
161
+ bytedanceGenerateImageRequest?: GenerateImageRequest;
154
162
  }
155
163
  interface FallbackPromptConfig {
156
164
  /**
@@ -364,10 +372,11 @@ declare enum OpenaiproxyV1Model {
364
372
  GPT_5_MINI_2025_08_07 = "GPT_5_MINI_2025_08_07",
365
373
  GPT_5_NANO_2025_08_07 = "GPT_5_NANO_2025_08_07",
366
374
  GPT_5_2_2025_12_11_COMPLETION = "GPT_5_2_2025_12_11_COMPLETION",
367
- GPT_5_1_2025_11_13_COMPLETION = "GPT_5_1_2025_11_13_COMPLETION"
375
+ GPT_5_1_2025_11_13_COMPLETION = "GPT_5_1_2025_11_13_COMPLETION",
376
+ GPT_5_4_2026_03_05_COMPLETION = "GPT_5_4_2026_03_05_COMPLETION"
368
377
  }
369
378
  /** @enumType */
370
- 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';
379
+ 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';
371
380
  interface OpenaiproxyV1ChatCompletionMessage {
372
381
  /** The role of the message author. */
373
382
  role?: OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals;
@@ -1014,10 +1023,11 @@ declare enum GoogleproxyV1Model {
1014
1023
  GEMINI_2_5_COMPUTER_USE = "GEMINI_2_5_COMPUTER_USE",
1015
1024
  GEMINI_3_0_PRO = "GEMINI_3_0_PRO",
1016
1025
  GEMINI_3_0_PRO_IMAGE = "GEMINI_3_0_PRO_IMAGE",
1017
- GEMINI_3_0_FLASH = "GEMINI_3_0_FLASH"
1026
+ GEMINI_3_0_FLASH = "GEMINI_3_0_FLASH",
1027
+ GEMINI_3_1_PRO = "GEMINI_3_1_PRO"
1018
1028
  }
1019
1029
  /** @enumType */
1020
- 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';
1030
+ 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';
1021
1031
  interface Content {
1022
1032
  /**
1023
1033
  * The role in a conversation associated with the content.
@@ -1665,10 +1675,12 @@ declare enum Model {
1665
1675
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
1666
1676
  /** us.anthropic.claude-haiku-4-5-20251001-v1:0 */
1667
1677
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
1668
- CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
1678
+ CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
1679
+ CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
1680
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
1669
1681
  }
1670
1682
  /** @enumType */
1671
- 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';
1683
+ 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';
1672
1684
  interface AnthropicClaudeMessage {
1673
1685
  /** The role of the message author. */
1674
1686
  role?: RoleWithLiterals;
@@ -1696,7 +1708,7 @@ interface ContentBlock extends ContentBlockTypeOneOf {
1696
1708
  /** Text content. */
1697
1709
  textContent?: Text;
1698
1710
  /** Image image = 2; // Image content. */
1699
- imageUrl?: ImageUrl;
1711
+ imageUrl?: V1ImageUrl;
1700
1712
  /** Tool use content, describes which tool should be used and with which parameters. */
1701
1713
  toolUse?: ToolUse;
1702
1714
  /** Tool result content, describes the result of tool invocation. */
@@ -1721,7 +1733,7 @@ interface ContentBlockTypeOneOf {
1721
1733
  /** Text content. */
1722
1734
  textContent?: Text;
1723
1735
  /** Image image = 2; // Image content. */
1724
- imageUrl?: ImageUrl;
1736
+ imageUrl?: V1ImageUrl;
1725
1737
  /** Tool use content, describes which tool should be used and with which parameters. */
1726
1738
  toolUse?: ToolUse;
1727
1739
  /** Tool result content, describes the result of tool invocation. */
@@ -1743,7 +1755,7 @@ interface Text {
1743
1755
  /** Enables prompt caching: https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching. */
1744
1756
  cacheControl?: CacheControl;
1745
1757
  }
1746
- interface ImageUrl {
1758
+ interface V1ImageUrl {
1747
1759
  /**
1748
1760
  * The URL must be a valid wix mp or wix static URL.
1749
1761
  * @maxLength 100000
@@ -1810,7 +1822,7 @@ interface SimpleContentBlock extends SimpleContentBlockTypeOneOf {
1810
1822
  /** Text content. */
1811
1823
  textContent?: Text;
1812
1824
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
1813
- imageUrl?: ImageUrl;
1825
+ imageUrl?: V1ImageUrl;
1814
1826
  }
1815
1827
  /** @oneof */
1816
1828
  interface SimpleContentBlockTypeOneOf {
@@ -1824,7 +1836,7 @@ interface SimpleContentBlockTypeOneOf {
1824
1836
  /** Text content. */
1825
1837
  textContent?: Text;
1826
1838
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
1827
- imageUrl?: ImageUrl;
1839
+ imageUrl?: V1ImageUrl;
1828
1840
  }
1829
1841
  interface Thinking {
1830
1842
  /**
@@ -2058,10 +2070,12 @@ declare enum ClaudeModel {
2058
2070
  CLAUDE_4_OPUS_1_0 = "CLAUDE_4_OPUS_1_0",
2059
2071
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
2060
2072
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
2061
- CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
2073
+ CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
2074
+ CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
2075
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
2062
2076
  }
2063
2077
  /** @enumType */
2064
- 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';
2078
+ 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';
2065
2079
  interface V1AnthropicClaudeMessage {
2066
2080
  /** The role of the message author. */
2067
2081
  role?: V1MessageRoleRoleWithLiterals;
@@ -2430,10 +2444,12 @@ declare enum AnthropicModel {
2430
2444
  CLAUDE_4_1_OPUS_1_0 = "CLAUDE_4_1_OPUS_1_0",
2431
2445
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
2432
2446
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
2433
- CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
2447
+ CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
2448
+ CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
2449
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
2434
2450
  }
2435
2451
  /** @enumType */
2436
- 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';
2452
+ 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';
2437
2453
  interface AnthropicMessage {
2438
2454
  /** The role of the message author. */
2439
2455
  role?: MessageRoleRoleWithLiterals;
@@ -2455,7 +2471,7 @@ interface V1ContentBlock extends V1ContentBlockTypeOneOf {
2455
2471
  /** Text content. */
2456
2472
  textContent?: V1Text;
2457
2473
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
2458
- image?: V1ImageUrl;
2474
+ image?: AnthropicV1ImageUrl;
2459
2475
  /** Tool use content, describes which tool should be used and with which parameters. */
2460
2476
  toolUse?: V1ToolUse;
2461
2477
  /** Tool result content, describes the result of tool invocation. */
@@ -2492,7 +2508,7 @@ interface V1ContentBlockTypeOneOf {
2492
2508
  /** Text content. */
2493
2509
  textContent?: V1Text;
2494
2510
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
2495
- image?: V1ImageUrl;
2511
+ image?: AnthropicV1ImageUrl;
2496
2512
  /** Tool use content, describes which tool should be used and with which parameters. */
2497
2513
  toolUse?: V1ToolUse;
2498
2514
  /** Tool result content, describes the result of tool invocation. */
@@ -2706,7 +2722,7 @@ interface SearchResultLocationCitation {
2706
2722
  */
2707
2723
  citedText?: string | null;
2708
2724
  }
2709
- interface V1ImageUrl {
2725
+ interface AnthropicV1ImageUrl {
2710
2726
  /**
2711
2727
  * The URL must be a valid wix mp or wix static URL.
2712
2728
  * @maxLength 100000
@@ -2766,7 +2782,7 @@ interface ToolResultContentBlock extends ToolResultContentBlockTypeOneOf {
2766
2782
  /** Text content. */
2767
2783
  text?: V1Text;
2768
2784
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
2769
- image?: V1ImageUrl;
2785
+ image?: AnthropicV1ImageUrl;
2770
2786
  /** Document content block. */
2771
2787
  document?: DocumentContent;
2772
2788
  /** Search result block with snippets/citations. */
@@ -2777,7 +2793,7 @@ interface ToolResultContentBlockTypeOneOf {
2777
2793
  /** Text content. */
2778
2794
  text?: V1Text;
2779
2795
  /** Image content, represented as URL. Will be downloaded and passed on as base64. */
2780
- image?: V1ImageUrl;
2796
+ image?: AnthropicV1ImageUrl;
2781
2797
  /** Document content block. */
2782
2798
  document?: DocumentContent;
2783
2799
  /** Search result block with snippets/citations. */
@@ -3723,7 +3739,7 @@ interface SystemContentBlock {
3723
3739
  interface CreateImageRequest {
3724
3740
  /**
3725
3741
  * 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.
3726
- * @maxLength 4000
3742
+ * @maxLength 50000
3727
3743
  */
3728
3744
  prompt?: string | null;
3729
3745
  /** The model to use for image generation. */
@@ -4991,7 +5007,7 @@ interface InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf {
4991
5007
  regex?: string;
4992
5008
  }
4993
5009
  /** mimics https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api */
4994
- interface GenerateImageRequest {
5010
+ interface V1GenerateImageRequest {
4995
5011
  /** ID of the model to use. */
4996
5012
  model?: ImagenModelWithLiterals;
4997
5013
  /**
@@ -5164,8 +5180,9 @@ interface V1FluxPulid {
5164
5180
  }
5165
5181
  interface CreateImageOpenAiRequest {
5166
5182
  /**
5167
- * 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.
5168
- * @maxLength 4000
5183
+ * A text description of the desired image(s). The maximum length is 32000 characters for the GPT image models,
5184
+ * 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
5185
+ * @maxLength 50000
5169
5186
  */
5170
5187
  prompt?: string | null;
5171
5188
  /** The model to use for image generation. */
@@ -5228,8 +5245,9 @@ declare enum OpenAiImageModel {
5228
5245
  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';
5229
5246
  interface EditImageOpenAiRequest {
5230
5247
  /**
5231
- * 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.
5232
- * @maxLength 4000
5248
+ * A text description of the desired image(s). The maximum length is 32000 characters for the GPT image models,
5249
+ * 1000 characters for dall-e-2 and 4000 characters for dall-e-3.
5250
+ * @maxLength 50000
5233
5251
  */
5234
5252
  prompt?: string | null;
5235
5253
  /** The model to use for image generation. */
@@ -5901,10 +5919,14 @@ declare enum V1ResponsesModel {
5901
5919
  GPT_EXP_RESPONSES_2 = "GPT_EXP_RESPONSES_2",
5902
5920
  GPT_EXP_RESPONSES_3 = "GPT_EXP_RESPONSES_3",
5903
5921
  GPT_5_1_CODEX_MAX = "GPT_5_1_CODEX_MAX",
5904
- GPT_5_2_2025_12_11 = "GPT_5_2_2025_12_11"
5922
+ GPT_5_2_2025_12_11 = "GPT_5_2_2025_12_11",
5923
+ GPT_5_2_CODEX = "GPT_5_2_CODEX",
5924
+ GPT_5_3_CODEX = "GPT_5_3_CODEX",
5925
+ GPT_5_4_2026_03_05 = "GPT_5_4_2026_03_05",
5926
+ GPT_5_4_PRO_2026_03_05 = "GPT_5_4_PRO_2026_03_05"
5905
5927
  }
5906
5928
  /** @enumType */
5907
- 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';
5929
+ 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';
5908
5930
  interface V1ResponsesInputItem extends V1ResponsesInputItemItemOneOf {
5909
5931
  /**
5910
5932
  * A message input to the model with a role indicating instruction following hierarchy.
@@ -7503,6 +7525,242 @@ interface InvokeCustomOpenAiModelRequestResponseFormat {
7503
7525
  /** The schema object describes the output object for the model. Currently, only the JSON Schema Object is supported. */
7504
7526
  schema?: Record<string, any> | null;
7505
7527
  }
7528
+ interface CreateContentTaskRequest {
7529
+ /**
7530
+ * The model to use for content creation.
7531
+ * @maxLength 255
7532
+ */
7533
+ model?: string;
7534
+ /**
7535
+ * The context items to create the content from.
7536
+ * @maxSize 50
7537
+ */
7538
+ content?: ContentItem[];
7539
+ /**
7540
+ * Returns the last frame image of the generated video. Default: false
7541
+ * Useful for generating multiple consecutive videos using the last frame as the first frame of the next video.
7542
+ */
7543
+ returnLastFrame?: boolean | null;
7544
+ /**
7545
+ * Service tier for processing the request. Default: default
7546
+ * can be one of:
7547
+ * default: Online inference mode (lower RPM, lower latency)
7548
+ * flex: Offline inference mode (higher TPD quota, 50% price, higher latency)
7549
+ * @maxLength 255
7550
+ */
7551
+ serviceTier?: string | null;
7552
+ /**
7553
+ * Whether the generated video includes audio synchronized with the visuals. Default: true
7554
+ * Only supported by Seedance 1.5 pro
7555
+ */
7556
+ generateAudio?: boolean | null;
7557
+ /**
7558
+ * Whether to enable Draft sample mode. Default: false
7559
+ * Only supported by Seedance 1.5 pro
7560
+ * true: Generate a 480p preview video (lower cost)
7561
+ * false: Generate a standard video
7562
+ */
7563
+ draft?: boolean | null;
7564
+ /**
7565
+ * The resolution of the output video. Default: 720p for Seedance 1.5 pro/lite, 1080p for pro/pro-fast
7566
+ * Valid values: 480p, 720p, 1080p
7567
+ * @maxLength 255
7568
+ */
7569
+ resolution?: string | null;
7570
+ /**
7571
+ * The aspect ratio of the output video. Default varies by model and scenario.
7572
+ * Valid values: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive
7573
+ * @maxLength 255
7574
+ */
7575
+ ratio?: string | null;
7576
+ /**
7577
+ * The duration of the output video in seconds. Default: 5
7578
+ * Value range: 2-12s
7579
+ * Seedance 1.5 pro: Use -1 to let the model decide duration (4-12s)
7580
+ * set max to to 120 for future changes
7581
+ * Choose either duration or frames; frames takes priority.
7582
+ * @min -1
7583
+ * @max 120
7584
+ */
7585
+ duration?: number | null;
7586
+ /**
7587
+ * Number of frames for the output video. Not supported by Seedance 1.5 pro.
7588
+ * Valid range: integers within [29, 289] that conform to format 25 + 4n (where n is positive integer)
7589
+ * Choose either duration or frames; frames takes priority.
7590
+ * Set max to 2890 for fuure changes
7591
+ * @min 29
7592
+ * @max 2890
7593
+ */
7594
+ frames?: number | null;
7595
+ /**
7596
+ * The seed controls randomness of output. Default: -1 (random)
7597
+ * Valid values: integers within [-1, 2^32-1]
7598
+ * @min -1
7599
+ * @max 4294967295
7600
+ */
7601
+ seed?: number | null;
7602
+ /**
7603
+ * Specifies whether to fix the camera. Default: false
7604
+ * Not supported for reference-image-to-video
7605
+ */
7606
+ cameraFixed?: boolean | null;
7607
+ /** Specifies whether to add watermarks to the output video. Default: false */
7608
+ watermark?: boolean | null;
7609
+ /**
7610
+ * Skip polling flag - if set to false, will poll until video generation is complete
7611
+ * If not set or true, returns immediately with task ID for manual polling
7612
+ */
7613
+ skipPolling?: boolean | null;
7614
+ }
7615
+ interface ContentItem {
7616
+ /**
7617
+ * The type of the input content
7618
+ * Can be ont of 'text', 'image_url', 'draft_task'
7619
+ * @maxLength 255
7620
+ */
7621
+ type?: string | null;
7622
+ /**
7623
+ * The input text information for the model (required when type=TEXT)
7624
+ * Describes the video to be generated. Can include text prompt and optional parameters.
7625
+ * @maxLength 100000
7626
+ */
7627
+ text?: string | null;
7628
+ /** The input image object for the model (required when type=IMAGE_URL) */
7629
+ imageUrl?: ImageUrl;
7630
+ /**
7631
+ * The location or purpose of the image (required under certain conditions when type=IMAGE_URL)
7632
+ * Used for Image-to-Video scenarios
7633
+ * available values are:
7634
+ * 'last_frame', 'first_frame', 'reference_image'
7635
+ * @maxLength 255
7636
+ */
7637
+ role?: string | null;
7638
+ /**
7639
+ * The draft task object for generating official video from a draft.
7640
+ * Only supported by Seedance 1.5 Pro.
7641
+ * The platform will reuse the inputs from the draft video to generate the official video.
7642
+ */
7643
+ draftTask?: DraftTask;
7644
+ }
7645
+ interface ImageUrl {
7646
+ /**
7647
+ * The image information, can be an image URL or Base64-encoded content
7648
+ * URL: Must be accessible
7649
+ * Base64: Format must be data:image/<format>;base64,<content> (e.g., data:image/png;base64,...)
7650
+ * Requirements: JPEG/PNG/WebP/BMP/TIFF/GIF (Seedance 1.5 Pro also supports HEIC/HEIF)
7651
+ * Aspect ratio: 0.4 to 2.5, shorter side > 300px, longer side < 6000px, size < 30MB
7652
+ * @maxLength 100000
7653
+ */
7654
+ url?: string | null;
7655
+ }
7656
+ interface DraftTask {
7657
+ /**
7658
+ * The draft video task ID.
7659
+ * The platform will automatically reuse the user inputs applied by the draft video
7660
+ * (including model, content.text, content.image_url, generate_audio, seed, ratio, duration, frames, camera_fixed)
7661
+ * to generate the official video.
7662
+ * @maxLength 1000
7663
+ */
7664
+ _id?: string | null;
7665
+ }
7666
+ interface GenerateImageRequest {
7667
+ /**
7668
+ * The model to use for image generation.
7669
+ * Accepts a model ID (e.g. "seedream-5.0-lite", "seedream-4.5", "seedream-4.0") or an Endpoint ID.
7670
+ * @maxLength 255
7671
+ */
7672
+ model?: string;
7673
+ /**
7674
+ * Text prompt describing the image to generate.
7675
+ * Recommended: keep under 600 English words. Excessively long prompts may cause the model
7676
+ * to overlook details and focus only on major elements.
7677
+ * @maxLength 100000
7678
+ */
7679
+ prompt?: string;
7680
+ /**
7681
+ * Reference image(s) as URL or base64-encoded string. Max 14 reference images.
7682
+ *
7683
+ * Input formats:
7684
+ * - Image URL: must be publicly accessible.
7685
+ * - Base64: format must be "data:image/<format>;base64,<content>" (e.g. "data:image/png;base64,...").
7686
+ *
7687
+ * Image requirements:
7688
+ * - Formats: JPEG, PNG, WEBP, BMP, TIFF, GIF
7689
+ * - Aspect ratio (width/height): between [1/16, 16]
7690
+ * - Width and height: > 14px
7691
+ * - Size: up to 10 MB per image
7692
+ * - Total pixels: no more than 6000x6000 = 36,000,000 per image
7693
+ * @maxLength 3825
7694
+ * @maxSize 15
7695
+ */
7696
+ image?: string[];
7697
+ /**
7698
+ * Output image dimensions. Two methods available (cannot be combined):
7699
+ *
7700
+ * Method 1 - Resolution shorthand (let the model determine width/height from prompt context):
7701
+ * seedream-5.0-lite: "2K", "3K"
7702
+ * seedream-4.5: "2K", "4K"
7703
+ * seedream-4.0: "1K", "2K", "4K"
7704
+ *
7705
+ * Method 2 - Explicit pixel dimensions (e.g. "2048x2048"):
7706
+ * Both total pixel range AND aspect ratio [1/16, 16] must be satisfied.
7707
+ * seedream-5.0-lite: total pixels [3,686,400 .. 10,404,496], default "2048x2048"
7708
+ * seedream-4.5: total pixels [3,686,400 .. 16,777,216], default "2048x2048"
7709
+ * seedream-4.0: total pixels [921,600 .. 16,777,216], default "2048x2048"
7710
+ *
7711
+ * Common recommended dimensions (2K):
7712
+ * 1:1 = 2048x2048, 4:3 = 2304x1728, 3:4 = 1728x2304,
7713
+ * 16:9 = 2848x1600, 9:16 = 1600x2848, 21:9 = 3136x1344
7714
+ * @maxLength 255
7715
+ */
7716
+ size?: string | null;
7717
+ /**
7718
+ * How the generated images are returned. Default: "url".
7719
+ * "url": returns a download link valid for 24 hours after generation.
7720
+ * "b64_json": returns the image data as a Base64-encoded string in JSON.
7721
+ * @maxLength 255
7722
+ */
7723
+ responseFormat?: string | null;
7724
+ /** Whether to add an "AI generated" watermark on the bottom-right corner. Default: true. */
7725
+ watermark?: boolean | null;
7726
+ /**
7727
+ * Whether to enable batch (sequential) image generation. Default: "disabled".
7728
+ * "auto": the model decides whether to return multiple images and how many, based on the prompt.
7729
+ * "disabled": only one image is generated.
7730
+ * @maxLength 255
7731
+ */
7732
+ sequentialImageGeneration?: string | null;
7733
+ /** Configuration for batch image generation. Only effective when sequential_image_generation = "auto". */
7734
+ sequentialImageGenerationOptions?: SequentialImageGenerationOptions;
7735
+ /**
7736
+ * Output image file format. Default: "jpeg".
7737
+ * "jpeg": supported by all models (default, cannot be changed on seedream-4.5/4.0).
7738
+ * "png": only supported by seedream-5.0-lite.
7739
+ * @maxLength 255
7740
+ */
7741
+ outputFormat?: string | null;
7742
+ /**
7743
+ * Configuration for prompt optimization.
7744
+ * Supported by seedream-5.0-lite, seedream-4.5 (standard mode only), and seedream-4.0.
7745
+ */
7746
+ optimizePromptOptions?: OptimizePromptOptions;
7747
+ }
7748
+ interface SequentialImageGenerationOptions {
7749
+ /**
7750
+ * Maximum number of images to generate in this request. Default: 15. Range: [1, 15].
7751
+ * Actual count is constrained by: number of input reference images + generated images <= 15.
7752
+ */
7753
+ maxImages?: number | null;
7754
+ }
7755
+ interface OptimizePromptOptions {
7756
+ /**
7757
+ * Prompt optimization mode. Default: "standard".
7758
+ * "standard": higher quality, longer generation time.
7759
+ * "fast": faster but lower quality.
7760
+ * @maxLength 255
7761
+ */
7762
+ mode?: string | null;
7763
+ }
7506
7764
  interface ContentGenerationRequestedEvent {
7507
7765
  /** Prompt that the generation was requested for. */
7508
7766
  prompt?: Prompt;
@@ -7517,6 +7775,8 @@ interface ContentGenerationRequestedEvent {
7517
7775
  * @format GUID
7518
7776
  */
7519
7777
  eventChainId?: string;
7778
+ /** Dynamic request configuration, including dynamic tools and messages. */
7779
+ dynamicRequestConfig?: DynamicRequestConfig;
7520
7780
  }
7521
7781
  interface UserRequestInfo {
7522
7782
  /**
@@ -7542,185 +7802,97 @@ interface UserRequestInfo {
7542
7802
  */
7543
7803
  costAttributionOverrideId?: string | null;
7544
7804
  }
7545
- interface ContentGenerationSucceededEvent {
7546
- /** Model response object that describes the content generation result. */
7547
- response?: GenerateContentModelResponse;
7548
- /** Prompt's final form that was used to issue a GenerateContent request. */
7549
- materializedPrompt?: Prompt;
7805
+ interface DynamicRequestConfig {
7550
7806
  /**
7551
- * 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.
7552
- * @format GUID
7807
+ * List of GatewayToolDefinition's, used to overwrite tools in the prompt.
7808
+ * @maxSize 1000
7553
7809
  */
7554
- eventChainId?: string;
7810
+ gatewayToolDefinitions?: GatewayToolDefinition[];
7811
+ /**
7812
+ * List of GatewayMessageDefinition's, which will be converted to model-specific format and appended to the messages saved in the prompt.
7813
+ * @maxSize 10000
7814
+ */
7815
+ gatewayMessageDefinitions?: GatewayMessageDefinition[];
7555
7816
  }
7556
- interface GenerateContentModelResponse extends GenerateContentModelResponseResponseOneOf {
7557
- /** OpenAI chat completion response. */
7558
- openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
7559
- /** Google bison text completion response. */
7560
- googleTextBisonResponse?: TextBisonPredictResponse;
7561
- /** Google bison chat completion response. */
7562
- googleChatBisonResponse?: ChatBisonPredictResponse;
7563
- /** Azure OpenAI chat completion response. */
7564
- azureChatCompletionResponse?: CreateChatCompletionResponse;
7565
- /** Google Gemini generate content response. */
7566
- googleGeminiGenerateContentResponse?: GenerateContentResponse;
7567
- /** Anthropic Claude via Amazon Bedrock generate content response. */
7568
- anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
7569
- /** Anthropic Claude via Google vertex generate content response. */
7570
- googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
7571
- /** Native Anthropic API proxy generate content response. */
7572
- invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
7573
- /** Llama via Amazon Bedrock text completion response. */
7574
- llamaModelResponse?: InvokeLlamaModelResponse;
7575
- /** Invoke Amazon Converse API response. */
7576
- amazonConverseResponse?: InvokeConverseResponse;
7577
- /** Llama via ML Platform text completion response. */
7578
- mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
7579
- /** Perplexity chat completion response. */
7580
- perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
7581
- /** OpenAI image generation response. */
7582
- openAiCreateImageResponse?: CreateImageResponse;
7583
- /** Stability AI text to image response. */
7584
- stabilityAiTextToImageResponse?: V1TextToImageResponse;
7585
- /** Stability AI generate core response. */
7586
- stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
7587
- /** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
7588
- stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
7589
- /** Black Forest Labs image generation response. */
7590
- blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
7591
- /** Replicate image generation response. */
7592
- replicateCreatePredictionResponse?: CreatePredictionResponse;
7593
- /** Stability AI - Edit Image with prompt response. */
7594
- stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
7595
- /** Runware AI - Flux TextToImage response. */
7596
- runwareTextToImageResponse?: TextToImageResponse;
7597
- /** Google AI - Generate Image with Imagen Model response. */
7598
- googleGenerateImageResponse?: GenerateImageResponse;
7599
- /** Google AI - Generate Video response. */
7600
- googleGenerateVideoResponse?: GenerateVideoResponse;
7601
- /** ML generate image response. */
7602
- mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
7603
- /** OpenAI image creation response. */
7604
- openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
7605
- /** OpenAI image edit response. */
7606
- openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
7607
- /** Google create chat completion response. */
7608
- googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
7609
- /** ML Platform - invoke an OpenAI-type interface with a JSON string */
7610
- mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
7611
- /** Runware Video inference response */
7612
- runwareVideoInferenceResponse?: VideoInferenceResponse;
7613
- /** Open AI Responses API response */
7614
- openAiResponsesResponse?: V1OpenAiResponsesResponse;
7615
- /** Open AI Responses API response via Azure */
7616
- azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
7617
- /** OpenAI video generation response */
7618
- openAiCreateVideoResponse?: CreateVideoResponse;
7619
- /** Fireworks - OpenAI payload */
7620
- fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
7621
- /** Extracted generated content data from the model's response. */
7622
- generatedContent?: GeneratedContent;
7623
- /** Extracted cost of the request in microcents. */
7624
- cost?: string | null;
7625
- /** Token usage information. */
7626
- tokenUsage?: V1TokenUsage;
7627
- /** Metadata about the response, such as finish reason. */
7628
- responseMetadata?: ResponseMetadata;
7817
+ interface GatewayToolDefinition extends GatewayToolDefinitionToolOneOf {
7818
+ /** Custom tool */
7819
+ customTool?: GatewayToolDefinitionCustomTool;
7820
+ /** Built-in tool */
7821
+ builtInTool?: BuiltInTool;
7629
7822
  }
7630
7823
  /** @oneof */
7631
- interface GenerateContentModelResponseResponseOneOf {
7632
- /** OpenAI chat completion response. */
7633
- openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
7634
- /** Google bison text completion response. */
7635
- googleTextBisonResponse?: TextBisonPredictResponse;
7636
- /** Google bison chat completion response. */
7637
- googleChatBisonResponse?: ChatBisonPredictResponse;
7638
- /** Azure OpenAI chat completion response. */
7639
- azureChatCompletionResponse?: CreateChatCompletionResponse;
7640
- /** Google Gemini generate content response. */
7641
- googleGeminiGenerateContentResponse?: GenerateContentResponse;
7642
- /** Anthropic Claude via Amazon Bedrock generate content response. */
7643
- anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
7644
- /** Anthropic Claude via Google vertex generate content response. */
7645
- googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
7646
- /** Native Anthropic API proxy generate content response. */
7647
- invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
7648
- /** Llama via Amazon Bedrock text completion response. */
7649
- llamaModelResponse?: InvokeLlamaModelResponse;
7650
- /** Invoke Amazon Converse API response. */
7651
- amazonConverseResponse?: InvokeConverseResponse;
7652
- /** Llama via ML Platform text completion response. */
7653
- mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
7654
- /** Perplexity chat completion response. */
7655
- perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
7656
- /** OpenAI image generation response. */
7657
- openAiCreateImageResponse?: CreateImageResponse;
7658
- /** Stability AI text to image response. */
7659
- stabilityAiTextToImageResponse?: V1TextToImageResponse;
7660
- /** Stability AI generate core response. */
7661
- stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
7662
- /** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
7663
- stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
7664
- /** Black Forest Labs image generation response. */
7665
- blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
7666
- /** Replicate image generation response. */
7667
- replicateCreatePredictionResponse?: CreatePredictionResponse;
7668
- /** Stability AI - Edit Image with prompt response. */
7669
- stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
7670
- /** Runware AI - Flux TextToImage response. */
7671
- runwareTextToImageResponse?: TextToImageResponse;
7672
- /** Google AI - Generate Image with Imagen Model response. */
7673
- googleGenerateImageResponse?: GenerateImageResponse;
7674
- /** Google AI - Generate Video response. */
7675
- googleGenerateVideoResponse?: GenerateVideoResponse;
7676
- /** ML generate image response. */
7677
- mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
7678
- /** OpenAI image creation response. */
7679
- openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
7680
- /** OpenAI image edit response. */
7681
- openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
7682
- /** Google create chat completion response. */
7683
- googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
7684
- /** ML Platform - invoke an OpenAI-type interface with a JSON string */
7685
- mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
7686
- /** Runware Video inference response */
7687
- runwareVideoInferenceResponse?: VideoInferenceResponse;
7688
- /** Open AI Responses API response */
7689
- openAiResponsesResponse?: V1OpenAiResponsesResponse;
7690
- /** Open AI Responses API response via Azure */
7691
- azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
7692
- /** OpenAI video generation response */
7693
- openAiCreateVideoResponse?: CreateVideoResponse;
7694
- /** Fireworks - OpenAI payload */
7695
- fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
7824
+ interface GatewayToolDefinitionToolOneOf {
7825
+ /** Custom tool */
7826
+ customTool?: GatewayToolDefinitionCustomTool;
7827
+ /** Built-in tool */
7828
+ builtInTool?: BuiltInTool;
7696
7829
  }
7697
- /** Model generation result, at least one of the fields should be present */
7698
- interface GeneratedContent {
7699
- /**
7700
- * Zero or more textual results. Only present when the model returned a text.
7701
- * @maxSize 1000
7702
- */
7703
- texts?: TextContent[];
7830
+ interface GatewayToolDefinitionCustomTool {
7704
7831
  /**
7705
- * Zero or more images. Only present when the model returned an image.
7706
- * @maxSize 1000
7832
+ * The name of the tool to be called.
7833
+ * @maxLength 64
7707
7834
  */
7708
- images?: MediaContent[];
7835
+ name?: string | null;
7709
7836
  /**
7710
- * Zero or more videos. Only present when the model returned a video.
7711
- * @maxSize 1000
7837
+ * The description of what the tool does.
7838
+ * @maxLength 100000
7712
7839
  */
7713
- videos?: MediaContent[];
7840
+ description?: string | null;
7841
+ /** The parameters the tool accepts, described as a JSON Schema object. */
7842
+ parameters?: Record<string, any> | null;
7843
+ }
7844
+ interface BuiltInTool {
7714
7845
  /**
7715
- * Zero or more thinking texts. Only present when the model returned a thought.
7716
- * @maxSize 1000
7846
+ * The name of the tool to be called.
7847
+ * @maxLength 64
7717
7848
  */
7718
- thinkingTexts?: ThinkingTextContent[];
7849
+ name?: string | null;
7850
+ /** Optional parameters specific to the built-in tool. */
7851
+ parameters?: Record<string, any> | null;
7852
+ }
7853
+ interface GatewayMessageDefinition {
7854
+ /** The role of the message author. */
7855
+ role?: GatewayMessageDefinitionRoleWithLiterals;
7719
7856
  /**
7720
- * Zero or more tool call requests. Only present when the model requested to call a tool.
7721
- * @maxSize 1000
7857
+ * The content of the message.
7858
+ * @maxSize 4096
7722
7859
  */
7723
- tools?: ToolUseContent[];
7860
+ content?: GatewayContentBlock[];
7861
+ }
7862
+ declare enum GatewayMessageDefinitionRole {
7863
+ UNKNOWN = "UNKNOWN",
7864
+ USER = "USER",
7865
+ ASSISTANT = "ASSISTANT",
7866
+ SYSTEM = "SYSTEM",
7867
+ TOOL = "TOOL",
7868
+ DEVELOPER = "DEVELOPER"
7869
+ }
7870
+ /** @enumType */
7871
+ type GatewayMessageDefinitionRoleWithLiterals = GatewayMessageDefinitionRole | 'UNKNOWN' | 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL' | 'DEVELOPER';
7872
+ interface GatewayContentBlock extends GatewayContentBlockTypeOneOf {
7873
+ /** Text content. */
7874
+ text?: TextContent;
7875
+ /** Media content, represented as URL. */
7876
+ media?: MediaContent;
7877
+ /** Tool use content, describes which tool should be used and with which parameters. */
7878
+ toolUse?: ToolUseContent;
7879
+ /** Tool result content, describes the result of tool invocation. */
7880
+ toolResult?: ToolResultContent;
7881
+ /** Represents model's internal thought process. */
7882
+ thinking?: ThinkingTextContent;
7883
+ }
7884
+ /** @oneof */
7885
+ interface GatewayContentBlockTypeOneOf {
7886
+ /** Text content. */
7887
+ text?: TextContent;
7888
+ /** Media content, represented as URL. */
7889
+ media?: MediaContent;
7890
+ /** Tool use content, describes which tool should be used and with which parameters. */
7891
+ toolUse?: ToolUseContent;
7892
+ /** Tool result content, describes the result of tool invocation. */
7893
+ toolResult?: ToolResultContent;
7894
+ /** Represents model's internal thought process. */
7895
+ thinking?: ThinkingTextContent;
7724
7896
  }
7725
7897
  interface TextContent {
7726
7898
  /**
@@ -7751,37 +7923,239 @@ interface MediaContent {
7751
7923
  */
7752
7924
  thoughtSignature?: string | null;
7753
7925
  }
7754
- interface ThinkingTextContent {
7926
+ interface ToolUseContent {
7755
7927
  /**
7756
- * The thought text of the model thinking
7757
- * @maxLength 1000000
7928
+ * Tool use id
7929
+ * @maxLength 100
7758
7930
  */
7759
- thoughtText?: string | null;
7931
+ _id?: string | null;
7932
+ /**
7933
+ * Tool use name
7934
+ * @maxLength 1000
7935
+ */
7936
+ name?: string;
7937
+ /** Tool use input */
7938
+ input?: Record<string, any> | null;
7760
7939
  /**
7761
7940
  * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7762
7941
  * @maxLength 10000000
7763
7942
  */
7764
7943
  thoughtSignature?: string | null;
7765
7944
  }
7766
- interface ToolUseContent {
7945
+ interface ToolResultContent {
7767
7946
  /**
7768
7947
  * Tool use id
7769
7948
  * @maxLength 100
7770
7949
  */
7771
- _id?: string | null;
7950
+ toolUseId?: string | null;
7951
+ /** Tool result is error. */
7952
+ error?: boolean | null;
7772
7953
  /**
7773
- * Tool use name
7774
- * @maxLength 1000
7954
+ * Tool result content.
7955
+ * @maxSize 4096
7775
7956
  */
7776
- name?: string;
7777
- /** Tool use input */
7778
- input?: Record<string, any> | null;
7957
+ content?: GatewayContentBlock[];
7958
+ }
7959
+ interface ThinkingTextContent {
7960
+ /**
7961
+ * The thought text of the model thinking
7962
+ * @maxLength 1000000
7963
+ */
7964
+ thoughtText?: string | null;
7779
7965
  /**
7780
7966
  * Optional. An opaque signature for the thought so it can be reused in subsequent requests. A base64-encoded string.
7781
7967
  * @maxLength 10000000
7782
7968
  */
7783
7969
  thoughtSignature?: string | null;
7784
7970
  }
7971
+ interface ContentGenerationSucceededEvent {
7972
+ /** Model response object that describes the content generation result. */
7973
+ response?: GenerateContentModelResponse;
7974
+ /** Prompt's final form that was used to issue a GenerateContent request. */
7975
+ materializedPrompt?: Prompt;
7976
+ /**
7977
+ * 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.
7978
+ * @format GUID
7979
+ */
7980
+ eventChainId?: string;
7981
+ }
7982
+ interface GenerateContentModelResponse extends GenerateContentModelResponseResponseOneOf {
7983
+ /** OpenAI chat completion response. */
7984
+ openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
7985
+ /** Google bison text completion response. */
7986
+ googleTextBisonResponse?: TextBisonPredictResponse;
7987
+ /** Google bison chat completion response. */
7988
+ googleChatBisonResponse?: ChatBisonPredictResponse;
7989
+ /** Azure OpenAI chat completion response. */
7990
+ azureChatCompletionResponse?: CreateChatCompletionResponse;
7991
+ /** Google Gemini generate content response. */
7992
+ googleGeminiGenerateContentResponse?: GenerateContentResponse;
7993
+ /** Anthropic Claude via Amazon Bedrock generate content response. */
7994
+ anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
7995
+ /** Anthropic Claude via Google vertex generate content response. */
7996
+ googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
7997
+ /** Native Anthropic API proxy generate content response. */
7998
+ invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
7999
+ /** Llama via Amazon Bedrock text completion response. */
8000
+ llamaModelResponse?: InvokeLlamaModelResponse;
8001
+ /** Invoke Amazon Converse API response. */
8002
+ amazonConverseResponse?: InvokeConverseResponse;
8003
+ /** Llama via ML Platform text completion response. */
8004
+ mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
8005
+ /** Perplexity chat completion response. */
8006
+ perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
8007
+ /** OpenAI image generation response. */
8008
+ openAiCreateImageResponse?: CreateImageResponse;
8009
+ /** Stability AI text to image response. */
8010
+ stabilityAiTextToImageResponse?: V1TextToImageResponse;
8011
+ /** Stability AI generate core response. */
8012
+ stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
8013
+ /** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
8014
+ stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
8015
+ /** Black Forest Labs image generation response. */
8016
+ blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
8017
+ /** Replicate image generation response. */
8018
+ replicateCreatePredictionResponse?: CreatePredictionResponse;
8019
+ /** Stability AI - Edit Image with prompt response. */
8020
+ stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
8021
+ /** Runware AI - Flux TextToImage response. */
8022
+ runwareTextToImageResponse?: TextToImageResponse;
8023
+ /** Google AI - Generate Image with Imagen Model response. */
8024
+ googleGenerateImageResponse?: V1GenerateImageResponse;
8025
+ /** Google AI - Generate Video response. */
8026
+ googleGenerateVideoResponse?: GenerateVideoResponse;
8027
+ /** ML generate image response. */
8028
+ mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
8029
+ /** OpenAI image creation response. */
8030
+ openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
8031
+ /** OpenAI image edit response. */
8032
+ openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
8033
+ /** Google create chat completion response. */
8034
+ googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
8035
+ /** ML Platform - invoke an OpenAI-type interface with a JSON string */
8036
+ mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
8037
+ /** Runware Video inference response */
8038
+ runwareVideoInferenceResponse?: VideoInferenceResponse;
8039
+ /** Open AI Responses API response */
8040
+ openAiResponsesResponse?: V1OpenAiResponsesResponse;
8041
+ /** Open AI Responses API response via Azure */
8042
+ azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
8043
+ /** OpenAI video generation response */
8044
+ openAiCreateVideoResponse?: CreateVideoResponse;
8045
+ /** Fireworks - OpenAI payload */
8046
+ fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
8047
+ /** Bytedance - Create content task response (video generation) */
8048
+ bytedanceCreateContentTaskResponse?: CreateContentTaskResponse;
8049
+ /** Bytedance - Generate image response (Seedream models) */
8050
+ bytedanceGenerateImageResponse?: GenerateImageResponse;
8051
+ /** Extracted generated content data from the model's response. */
8052
+ generatedContent?: GeneratedContent;
8053
+ /** Extracted cost of the request in microcents. */
8054
+ cost?: string | null;
8055
+ /** Token usage information. */
8056
+ tokenUsage?: V1TokenUsage;
8057
+ /** Metadata about the response, such as finish reason. */
8058
+ responseMetadata?: ResponseMetadata;
8059
+ }
8060
+ /** @oneof */
8061
+ interface GenerateContentModelResponseResponseOneOf {
8062
+ /** OpenAI chat completion response. */
8063
+ openAiChatCompletionResponse?: OpenaiproxyV1CreateChatCompletionResponse;
8064
+ /** Google bison text completion response. */
8065
+ googleTextBisonResponse?: TextBisonPredictResponse;
8066
+ /** Google bison chat completion response. */
8067
+ googleChatBisonResponse?: ChatBisonPredictResponse;
8068
+ /** Azure OpenAI chat completion response. */
8069
+ azureChatCompletionResponse?: CreateChatCompletionResponse;
8070
+ /** Google Gemini generate content response. */
8071
+ googleGeminiGenerateContentResponse?: GenerateContentResponse;
8072
+ /** Anthropic Claude via Amazon Bedrock generate content response. */
8073
+ anthropicClaudeResponse?: InvokeAnthropicClaudeModelResponse;
8074
+ /** Anthropic Claude via Google vertex generate content response. */
8075
+ googleAnthropicClaudeResponse?: V1InvokeAnthropicClaudeModelResponse;
8076
+ /** Native Anthropic API proxy generate content response. */
8077
+ invokeAnthropicModelResponse?: InvokeAnthropicModelResponse;
8078
+ /** Llama via Amazon Bedrock text completion response. */
8079
+ llamaModelResponse?: InvokeLlamaModelResponse;
8080
+ /** Invoke Amazon Converse API response. */
8081
+ amazonConverseResponse?: InvokeConverseResponse;
8082
+ /** Llama via ML Platform text completion response. */
8083
+ mlPlatformLlamaModelResponse?: InvokeMlPlatformLlamaModelResponse;
8084
+ /** Perplexity chat completion response. */
8085
+ perplexityChatCompletionResponse?: InvokeChatCompletionResponse;
8086
+ /** OpenAI image generation response. */
8087
+ openAiCreateImageResponse?: CreateImageResponse;
8088
+ /** Stability AI text to image response. */
8089
+ stabilityAiTextToImageResponse?: V1TextToImageResponse;
8090
+ /** Stability AI generate core response. */
8091
+ stabilityAiGenerateCoreResponse?: GenerateCoreResponse;
8092
+ /** Stability AI - Stable Diffusion 3.0 & 3.5 response. */
8093
+ stabilityAiStableDiffusionResponse?: GenerateStableDiffusionResponse;
8094
+ /** Black Forest Labs image generation response. */
8095
+ blackForestLabsGenerateImageResponse?: GenerateAnImageResponse;
8096
+ /** Replicate image generation response. */
8097
+ replicateCreatePredictionResponse?: CreatePredictionResponse;
8098
+ /** Stability AI - Edit Image with prompt response. */
8099
+ stabilityAiEditImageWithPromptResponse?: EditImageWithPromptResponse;
8100
+ /** Runware AI - Flux TextToImage response. */
8101
+ runwareTextToImageResponse?: TextToImageResponse;
8102
+ /** Google AI - Generate Image with Imagen Model response. */
8103
+ googleGenerateImageResponse?: V1GenerateImageResponse;
8104
+ /** Google AI - Generate Video response. */
8105
+ googleGenerateVideoResponse?: GenerateVideoResponse;
8106
+ /** ML generate image response. */
8107
+ mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
8108
+ /** OpenAI image creation response. */
8109
+ openAiCreateOpenAiImageResponse?: CreateImageOpenAiResponse;
8110
+ /** OpenAI image edit response. */
8111
+ openAiEditOpenAiImageResponse?: EditImageOpenAiResponse;
8112
+ /** Google create chat completion response. */
8113
+ googleCreateChatCompletionResponse?: V1CreateChatCompletionResponse;
8114
+ /** ML Platform - invoke an OpenAI-type interface with a JSON string */
8115
+ mlPlatformOpenAiRawResponse?: InvokeMlPlatformOpenAIChatCompletionRawResponse;
8116
+ /** Runware Video inference response */
8117
+ runwareVideoInferenceResponse?: VideoInferenceResponse;
8118
+ /** Open AI Responses API response */
8119
+ openAiResponsesResponse?: V1OpenAiResponsesResponse;
8120
+ /** Open AI Responses API response via Azure */
8121
+ azureOpenAiResponsesResponse?: OpenAiResponsesResponse;
8122
+ /** OpenAI video generation response */
8123
+ openAiCreateVideoResponse?: CreateVideoResponse;
8124
+ /** Fireworks - OpenAI payload */
8125
+ fireworksInvokeCustomOpenAiResponse?: InvokeCustomOpenAiModelResponse;
8126
+ /** Bytedance - Create content task response (video generation) */
8127
+ bytedanceCreateContentTaskResponse?: CreateContentTaskResponse;
8128
+ /** Bytedance - Generate image response (Seedream models) */
8129
+ bytedanceGenerateImageResponse?: GenerateImageResponse;
8130
+ }
8131
+ /** Model generation result, at least one of the fields should be present */
8132
+ interface GeneratedContent {
8133
+ /**
8134
+ * Zero or more textual results. Only present when the model returned a text.
8135
+ * @maxSize 1000
8136
+ */
8137
+ texts?: TextContent[];
8138
+ /**
8139
+ * Zero or more images. Only present when the model returned an image.
8140
+ * @maxSize 1000
8141
+ */
8142
+ images?: MediaContent[];
8143
+ /**
8144
+ * Zero or more videos. Only present when the model returned a video.
8145
+ * @maxSize 1000
8146
+ */
8147
+ videos?: MediaContent[];
8148
+ /**
8149
+ * Zero or more thinking texts. Only present when the model returned a thought.
8150
+ * @maxSize 1000
8151
+ */
8152
+ thinkingTexts?: ThinkingTextContent[];
8153
+ /**
8154
+ * Zero or more tool call requests. Only present when the model requested to call a tool.
8155
+ * @maxSize 1000
8156
+ */
8157
+ tools?: ToolUseContent[];
8158
+ }
7785
8159
  interface V1TokenUsage {
7786
8160
  /** Number of input tokens used in the request. */
7787
8161
  inputTokens?: number | null;
@@ -8094,6 +8468,13 @@ interface Candidate {
8094
8468
  * @maxLength 100000
8095
8469
  */
8096
8470
  finishMessage?: string | null;
8471
+ /**
8472
+ * The raw finish reason string as returned by Google's API.
8473
+ * Preserves the original value even when it cannot be mapped to the FinishReason enum,
8474
+ * ensuring forward compatibility when Google adds new finish reason values.
8475
+ * @maxLength 1000
8476
+ */
8477
+ finishReasonStr?: string | null;
8097
8478
  }
8098
8479
  interface CandidateContent {
8099
8480
  /**
@@ -8999,7 +9380,7 @@ interface TextToImageTaskResult {
8999
9380
  */
9000
9381
  seed?: string | null;
9001
9382
  }
9002
- interface GenerateImageResponse {
9383
+ interface V1GenerateImageResponse {
9003
9384
  /**
9004
9385
  * Array of generated image results, one for each requested sampleCount
9005
9386
  * @maxSize 8
@@ -9106,9 +9487,9 @@ interface CreateImageOpenAiResponse {
9106
9487
  /** Cost of the request in micro cents. */
9107
9488
  microcentsSpent?: string | null;
9108
9489
  /** Usage information from the API response */
9109
- usage?: ImageUsage;
9490
+ usage?: V1ImageUsage;
9110
9491
  }
9111
- interface ImageUsage {
9492
+ interface V1ImageUsage {
9112
9493
  /** Number of tokens in the input */
9113
9494
  inputTokens?: number | null;
9114
9495
  /** Details about input tokens */
@@ -9137,7 +9518,7 @@ interface EditImageOpenAiResponse {
9137
9518
  /** Cost of the request in micro cents. */
9138
9519
  microcentsSpent?: string | null;
9139
9520
  /** Usage information from the API response */
9140
- usage?: ImageUsage;
9521
+ usage?: V1ImageUsage;
9141
9522
  }
9142
9523
  interface V1CreateChatCompletionResponse {
9143
9524
  /**
@@ -9578,75 +9959,255 @@ interface ErrorInfo {
9578
9959
  */
9579
9960
  message?: string | null;
9580
9961
  }
9581
- interface InvokeCustomOpenAiModelResponse {
9962
+ interface InvokeCustomOpenAiModelResponse {
9963
+ /**
9964
+ * A unique identifier for the chat completion.
9965
+ * @maxLength 100
9966
+ */
9967
+ responseId?: string | null;
9968
+ /**
9969
+ * Description of the response object. Will be equal to "chat.completion" for chat completion.
9970
+ * @maxLength 100
9971
+ */
9972
+ object?: string | null;
9973
+ /** Timestamp for when the response was created. */
9974
+ created?: number | null;
9975
+ /**
9976
+ * Model that produced the completion.
9977
+ * @maxLength 10000
9978
+ */
9979
+ modelId?: string;
9980
+ /** A list of chat completion choices. Can be more than one if n is greater than 1. */
9981
+ choices?: InvokeCustomOpenAiModelResponseChoice[];
9982
+ /** TokenUsage object describing the tokens usage per request. */
9983
+ usage?: InvokeCustomOpenAiModelResponseTokenUsage;
9984
+ /** Cost of the request in microcents. */
9985
+ microcentsSpent?: string | null;
9986
+ /**
9987
+ * This fingerprint represents the backend configuration that the model runs with.
9988
+ * Can be used in conjunction with the seed request parameter to understand when backend changes have been made that might impact determinism.
9989
+ * @maxLength 10000
9990
+ */
9991
+ systemFingerprint?: string | null;
9992
+ }
9993
+ interface InvokeCustomOpenAiModelResponsePromptTokenDetails {
9994
+ /** Audio input tokens present in the prompt. */
9995
+ audioTokens?: number | null;
9996
+ /** Cached tokens present in the prompt. */
9997
+ cachedTokens?: number | null;
9998
+ }
9999
+ interface InvokeCustomOpenAiModelResponseCompletionTokenDetails {
10000
+ /** Reasoning tokens present in the completion. */
10001
+ reasoningTokens?: number | null;
10002
+ /** Audio tokens present in the completion. */
10003
+ audioTokens?: number | null;
10004
+ /** Accepted prediction tokens. */
10005
+ acceptedPredictionTokens?: number | null;
10006
+ /** Rejected prediction tokens. */
10007
+ rejectedPredictionTokens?: number | null;
10008
+ }
10009
+ interface InvokeCustomOpenAiModelResponseChoice {
10010
+ /** Index of this Choice in choices array. */
10011
+ index?: number | null;
10012
+ /** ChatCompletionMessage object that defines the message. */
10013
+ message?: Fireworks_proxyV1ChatCompletionMessage;
10014
+ /**
10015
+ * Reason why the message generation was stopped.
10016
+ * @maxLength 100
10017
+ */
10018
+ finishReason?: string | null;
10019
+ }
10020
+ interface InvokeCustomOpenAiModelResponseTokenUsage {
10021
+ /** Number of LLM tokens required to encode input. */
10022
+ inputTokens?: number | null;
10023
+ /** Number of LLM tokens required to encode output. */
10024
+ outputTokens?: number | null;
10025
+ /** Total number of LLM tokens used for the request. */
10026
+ totalTokens?: number | null;
10027
+ /** Breakdown of tokens used in the prompt. */
10028
+ promptTokenDetails?: InvokeCustomOpenAiModelResponsePromptTokenDetails;
10029
+ /** Breakdown of tokens used in the completion. */
10030
+ completionTokenDetails?: InvokeCustomOpenAiModelResponseCompletionTokenDetails;
10031
+ }
10032
+ interface CreateContentTaskResponse {
10033
+ task?: CommonContentTaskResponse;
10034
+ }
10035
+ interface CommonContentTaskResponse {
10036
+ /**
10037
+ * The ID of the video generation task.
10038
+ * @format GUID
10039
+ */
10040
+ _id?: string | null;
10041
+ /**
10042
+ * The name and version of the model used by the task.
10043
+ * @maxLength 255
10044
+ */
10045
+ model?: string | null;
10046
+ /**
10047
+ * The status of the task.
10048
+ * Valid values: queued, running, cancelled, succeeded, failed, expired.
10049
+ * @maxLength 255
10050
+ */
10051
+ status?: string | null;
10052
+ /** Error information. Null if the task succeeds. */
10053
+ error?: TaskError;
10054
+ /** The time when the task was created (Unix timestamp in seconds). */
10055
+ createdAt?: string | null;
10056
+ /** The time when the task was last updated (Unix timestamp in seconds). */
10057
+ updatedAt?: string | null;
10058
+ /** The output after the video generation task is completed. */
10059
+ content?: TaskContent;
10060
+ /**
10061
+ * The seed value used for this request.
10062
+ * @min -1
10063
+ * @max 4294967295
10064
+ */
10065
+ seed?: number | null;
10066
+ /**
10067
+ * The resolution of the generated video.
10068
+ * @maxLength 255
10069
+ */
10070
+ resolution?: string | null;
10071
+ /**
10072
+ * The width-to-height ratio of the generated video.
10073
+ * @maxLength 255
10074
+ */
10075
+ ratio?: string | null;
10076
+ /**
10077
+ * The length of the generated video in seconds.
10078
+ * Only one of duration and frames is returned.
10079
+ * @min -1
10080
+ * @max 120
10081
+ */
10082
+ duration?: number | null;
10083
+ /**
10084
+ * Number of frames for the generated video.
10085
+ * Only one of duration and frames is returned.
10086
+ * @min 29
10087
+ * @max 2890
10088
+ */
10089
+ frames?: number | null;
10090
+ /** The frame rate of the generated video. */
10091
+ framespersecond?: number | null;
10092
+ /**
10093
+ * Whether the generated video includes audio synchronized with the visuals.
10094
+ * Only supported by Seedance 1.5 pro.
10095
+ */
10096
+ generateAudio?: boolean | null;
10097
+ /**
10098
+ * Whether the generated video is a Draft video.
10099
+ * Only returned by Seedance 1.5 Pro.
10100
+ */
10101
+ draft?: boolean | null;
10102
+ /**
10103
+ * Draft video task ID. Returned when generating official video from a draft.
10104
+ * @maxLength 1000
10105
+ */
10106
+ draftTaskId?: string | null;
10107
+ /**
10108
+ * The service tier actually used to process the task.
10109
+ * @maxLength 255
10110
+ */
10111
+ serviceTier?: string | null;
10112
+ /**
10113
+ * The expiration threshold for the task, in seconds.
10114
+ * @min 3600
10115
+ * @max 259200
10116
+ */
10117
+ executionExpiresAfter?: number | null;
10118
+ /** The token usage for the request. */
10119
+ usage?: TaskUsage;
10120
+ /** The cost of the request in microcents. */
10121
+ microcentsSpent?: string | null;
10122
+ }
10123
+ interface TaskError {
10124
+ /**
10125
+ * The error code.
10126
+ * @maxLength 255
10127
+ */
10128
+ code?: string | null;
10129
+ /**
10130
+ * The error message.
10131
+ * @maxLength 255
10132
+ */
10133
+ message?: string | null;
10134
+ }
10135
+ interface TaskContent {
10136
+ /**
10137
+ * The URL of the output video. Valid for 24 hours.
10138
+ * @maxLength 255
10139
+ */
10140
+ videoUrl?: string | null;
10141
+ /**
10142
+ * URL of the last frame of the generated video. Valid for 24 hours.
10143
+ * Returned only if return_last_frame was set to true in the creation request.
10144
+ * @maxLength 255
10145
+ */
10146
+ lastFrameUrl?: string | null;
10147
+ }
10148
+ interface TaskUsage {
10149
+ /** The number of tokens consumed for the video output. */
10150
+ completionTokens?: number | null;
10151
+ /** Total tokens for this request (input tokens are always 0). */
10152
+ totalTokens?: number | null;
10153
+ }
10154
+ interface GenerateImageResponse {
9582
10155
  /**
9583
- * A unique identifier for the chat completion.
9584
- * @maxLength 100
10156
+ * The model ID used for generation (model name-version).
10157
+ * @maxLength 255
9585
10158
  */
9586
- responseId?: string | null;
10159
+ model?: string | null;
10160
+ /** Unix timestamp (seconds) of the creation time of the request. */
10161
+ created?: string | null;
9587
10162
  /**
9588
- * Description of the response object. Will be equal to "chat.completion" for chat completion.
9589
- * @maxLength 100
10163
+ * Generated image data. May contain multiple entries for batch generation.
10164
+ * When batch-generating, if an image fails due to content moderation the remaining
10165
+ * images continue; if it fails due to an internal error (500), subsequent images are skipped.
9590
10166
  */
9591
- object?: string | null;
9592
- /** Timestamp for when the response was created. */
9593
- created?: number | null;
10167
+ data?: ImageData[];
10168
+ /** Token usage information for this request. */
10169
+ usage?: ImageUsage;
10170
+ /** Request-level error information, if any. */
10171
+ error?: ImageError;
10172
+ /** The cost of the request in microcents (set by proxy, not vendor). */
10173
+ microcentsSpent?: string | null;
10174
+ }
10175
+ interface ImageData {
9594
10176
  /**
9595
- * Model that produced the completion.
10177
+ * URL of the generated image. Returned when response_format = "url".
10178
+ * The link expires 24 hours after generation.
9596
10179
  * @maxLength 10000
9597
10180
  */
9598
- modelId?: string;
9599
- /** A list of chat completion choices. Can be more than one if n is greater than 1. */
9600
- choices?: InvokeCustomOpenAiModelResponseChoice[];
9601
- /** TokenUsage object describing the tokens usage per request. */
9602
- usage?: InvokeCustomOpenAiModelResponseTokenUsage;
9603
- /** Cost of the request in microcents. */
9604
- microcentsSpent?: string | null;
10181
+ url?: string | null;
10182
+ /** Base64-encoded image data. Returned when response_format = "b64_json". */
10183
+ b64Json?: string | null;
9605
10184
  /**
9606
- * This fingerprint represents the backend configuration that the model runs with.
9607
- * Can be used in conjunction with the seed request parameter to understand when backend changes have been made that might impact determinism.
9608
- * @maxLength 10000
10185
+ * The width and height of the generated image in pixels, format "<width>x<height>" (e.g. "2048x2048").
10186
+ * @maxLength 255
9609
10187
  */
9610
- systemFingerprint?: string | null;
9611
- }
9612
- interface InvokeCustomOpenAiModelResponsePromptTokenDetails {
9613
- /** Audio input tokens present in the prompt. */
9614
- audioTokens?: number | null;
9615
- /** Cached tokens present in the prompt. */
9616
- cachedTokens?: number | null;
9617
- }
9618
- interface InvokeCustomOpenAiModelResponseCompletionTokenDetails {
9619
- /** Reasoning tokens present in the completion. */
9620
- reasoningTokens?: number | null;
9621
- /** Audio tokens present in the completion. */
9622
- audioTokens?: number | null;
9623
- /** Accepted prediction tokens. */
9624
- acceptedPredictionTokens?: number | null;
9625
- /** Rejected prediction tokens. */
9626
- rejectedPredictionTokens?: number | null;
10188
+ size?: string | null;
10189
+ /** Per-image error information for a failed generation within a batch. */
10190
+ error?: ImageError;
9627
10191
  }
9628
- interface InvokeCustomOpenAiModelResponseChoice {
9629
- /** Index of this Choice in choices array. */
9630
- index?: number | null;
9631
- /** ChatCompletionMessage object that defines the message. */
9632
- message?: Fireworks_proxyV1ChatCompletionMessage;
10192
+ interface ImageError {
9633
10193
  /**
9634
- * Reason why the message generation was stopped.
9635
- * @maxLength 100
10194
+ * Error code. See ByteDance error codes documentation.
10195
+ * @maxLength 255
9636
10196
  */
9637
- finishReason?: string | null;
10197
+ code?: string | null;
10198
+ /**
10199
+ * Human-readable error message.
10200
+ * @maxLength 1000
10201
+ */
10202
+ message?: string | null;
9638
10203
  }
9639
- interface InvokeCustomOpenAiModelResponseTokenUsage {
9640
- /** Number of LLM tokens required to encode input. */
9641
- inputTokens?: number | null;
9642
- /** Number of LLM tokens required to encode output. */
10204
+ interface ImageUsage {
10205
+ /** Number of images successfully generated, excluding failures. Billing is based on this count. */
10206
+ generatedImages?: number | null;
10207
+ /** Number of output tokens consumed. Calculated as sum(image_width * image_height) / 256, rounded. */
9643
10208
  outputTokens?: number | null;
9644
- /** Total number of LLM tokens used for the request. */
10209
+ /** Total tokens consumed by this request. Same as output_tokens (input tokens are not counted). */
9645
10210
  totalTokens?: number | null;
9646
- /** Breakdown of tokens used in the prompt. */
9647
- promptTokenDetails?: InvokeCustomOpenAiModelResponsePromptTokenDetails;
9648
- /** Breakdown of tokens used in the completion. */
9649
- completionTokenDetails?: InvokeCustomOpenAiModelResponseCompletionTokenDetails;
9650
10211
  }
9651
10212
  interface ContentGenerationFailedEvent {
9652
10213
  /**
@@ -9693,112 +10254,6 @@ interface FallbackProperties {
9693
10254
  /** FallbackPromptConfig object that describes optional second Prompt that can be invoked in case main invocation fails. */
9694
10255
  fallbackPromptConfig?: FallbackPromptConfig;
9695
10256
  }
9696
- interface DynamicRequestConfig {
9697
- /**
9698
- * List of GatewayToolDefinition's, used to overwrite tools in the prompt.
9699
- * @maxSize 100
9700
- */
9701
- gatewayToolDefinitions?: GatewayToolDefinition[];
9702
- /**
9703
- * List of GatewayMessageDefinition's, which will be converted to model-specific format and appended to the messages saved in the prompt.
9704
- * @maxSize 100
9705
- */
9706
- gatewayMessageDefinitions?: GatewayMessageDefinition[];
9707
- }
9708
- interface GatewayToolDefinition extends GatewayToolDefinitionToolOneOf {
9709
- /** Custom tool */
9710
- customTool?: GatewayToolDefinitionCustomTool;
9711
- /** Built-in tool */
9712
- builtInTool?: BuiltInTool;
9713
- }
9714
- /** @oneof */
9715
- interface GatewayToolDefinitionToolOneOf {
9716
- /** Custom tool */
9717
- customTool?: GatewayToolDefinitionCustomTool;
9718
- /** Built-in tool */
9719
- builtInTool?: BuiltInTool;
9720
- }
9721
- interface GatewayToolDefinitionCustomTool {
9722
- /**
9723
- * The name of the tool to be called.
9724
- * @maxLength 64
9725
- */
9726
- name?: string | null;
9727
- /**
9728
- * The description of what the tool does.
9729
- * @maxLength 100000
9730
- */
9731
- description?: string | null;
9732
- /** The parameters the tool accepts, described as a JSON Schema object. */
9733
- parameters?: Record<string, any> | null;
9734
- }
9735
- interface BuiltInTool {
9736
- /**
9737
- * The name of the tool to be called.
9738
- * @maxLength 64
9739
- */
9740
- name?: string | null;
9741
- /** Optional parameters specific to the built-in tool. */
9742
- parameters?: Record<string, any> | null;
9743
- }
9744
- interface GatewayMessageDefinition {
9745
- /** The role of the message author. */
9746
- role?: GatewayMessageDefinitionRoleWithLiterals;
9747
- /**
9748
- * The content of the message.
9749
- * @maxSize 4096
9750
- */
9751
- content?: GatewayContentBlock[];
9752
- }
9753
- declare enum GatewayMessageDefinitionRole {
9754
- UNKNOWN = "UNKNOWN",
9755
- USER = "USER",
9756
- ASSISTANT = "ASSISTANT",
9757
- SYSTEM = "SYSTEM",
9758
- TOOL = "TOOL",
9759
- DEVELOPER = "DEVELOPER"
9760
- }
9761
- /** @enumType */
9762
- type GatewayMessageDefinitionRoleWithLiterals = GatewayMessageDefinitionRole | 'UNKNOWN' | 'USER' | 'ASSISTANT' | 'SYSTEM' | 'TOOL' | 'DEVELOPER';
9763
- interface GatewayContentBlock extends GatewayContentBlockTypeOneOf {
9764
- /** Text content. */
9765
- text?: TextContent;
9766
- /** Media content, represented as URL. */
9767
- media?: MediaContent;
9768
- /** Tool use content, describes which tool should be used and with which parameters. */
9769
- toolUse?: ToolUseContent;
9770
- /** Tool result content, describes the result of tool invocation. */
9771
- toolResult?: ToolResultContent;
9772
- /** Represents model's internal thought process. */
9773
- thinking?: ThinkingTextContent;
9774
- }
9775
- /** @oneof */
9776
- interface GatewayContentBlockTypeOneOf {
9777
- /** Text content. */
9778
- text?: TextContent;
9779
- /** Media content, represented as URL. */
9780
- media?: MediaContent;
9781
- /** Tool use content, describes which tool should be used and with which parameters. */
9782
- toolUse?: ToolUseContent;
9783
- /** Tool result content, describes the result of tool invocation. */
9784
- toolResult?: ToolResultContent;
9785
- /** Represents model's internal thought process. */
9786
- thinking?: ThinkingTextContent;
9787
- }
9788
- interface ToolResultContent {
9789
- /**
9790
- * Tool use id
9791
- * @maxLength 100
9792
- */
9793
- toolUseId?: string | null;
9794
- /** Tool result is error. */
9795
- error?: boolean | null;
9796
- /**
9797
- * Tool result content.
9798
- * @maxSize 4096
9799
- */
9800
- content?: GatewayContentBlock[];
9801
- }
9802
10257
  interface GenerateTextByPromptResponse {
9803
10258
  /** ModelResponse object that describes the text generation result. */
9804
10259
  response?: ModelResponse;
@@ -9897,6 +10352,8 @@ interface GenerationRequestedEvent {
9897
10352
  * @format GUID
9898
10353
  */
9899
10354
  eventChainId?: string;
10355
+ /** Dynamic request configuration, including dynamic tools and messages. */
10356
+ dynamicRequestConfig?: DynamicRequestConfig;
9900
10357
  }
9901
10358
  interface TextGenerationSucceededEvent {
9902
10359
  /** ModelResponse object that describes the text generation result. */
@@ -9925,7 +10382,7 @@ interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
9925
10382
  /** Azure OpenAI chat completion chunk. */
9926
10383
  azureChatCompletionChunk?: ChatCompletionChunk;
9927
10384
  /** OpenAI chat completion chunk. */
9928
- openaiChatCompletionChunk?: V1ChatCompletionChunk;
10385
+ openaiChatCompletionChunk?: OpenaiproxyV1ChatCompletionChunk;
9929
10386
  /** Anthropic (via Google proxy) chat completion chunk. */
9930
10387
  googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
9931
10388
  /** Google Gemini GenerateContentResponse chunk. */
@@ -9934,6 +10391,8 @@ interface GeneratedTextChunk extends GeneratedTextChunkModelChunkOneOf {
9934
10391
  amazonAnthropicStreamChunk?: AnthropicStreamChunk;
9935
10392
  /** Native Anthropic API proxy stream chunk. */
9936
10393
  anthropicStreamChunk?: V1AnthropicStreamChunk;
10394
+ /** Fireworks chat completion chunk. */
10395
+ fireworksChatCompletionChunk?: V1ChatCompletionChunk;
9937
10396
  /**
9938
10397
  * Extracted text content from the chunk.
9939
10398
  * @maxLength 100
@@ -9950,7 +10409,7 @@ interface GeneratedTextChunkModelChunkOneOf {
9950
10409
  /** Azure OpenAI chat completion chunk. */
9951
10410
  azureChatCompletionChunk?: ChatCompletionChunk;
9952
10411
  /** OpenAI chat completion chunk. */
9953
- openaiChatCompletionChunk?: V1ChatCompletionChunk;
10412
+ openaiChatCompletionChunk?: OpenaiproxyV1ChatCompletionChunk;
9954
10413
  /** Anthropic (via Google proxy) chat completion chunk. */
9955
10414
  googleAnthropicStreamChunk?: GoogleproxyV1AnthropicStreamChunk;
9956
10415
  /** Google Gemini GenerateContentResponse chunk. */
@@ -9959,6 +10418,8 @@ interface GeneratedTextChunkModelChunkOneOf {
9959
10418
  amazonAnthropicStreamChunk?: AnthropicStreamChunk;
9960
10419
  /** Native Anthropic API proxy stream chunk. */
9961
10420
  anthropicStreamChunk?: V1AnthropicStreamChunk;
10421
+ /** Fireworks chat completion chunk. */
10422
+ fireworksChatCompletionChunk?: V1ChatCompletionChunk;
9962
10423
  }
9963
10424
  interface ChatCompletionChunk {
9964
10425
  /**
@@ -10026,7 +10487,7 @@ interface ChunkChoice {
10026
10487
  /** The index of the choice in the list of choices. */
10027
10488
  index?: number | null;
10028
10489
  }
10029
- interface V1ChatCompletionChunk {
10490
+ interface OpenaiproxyV1ChatCompletionChunk {
10030
10491
  /**
10031
10492
  * A unique identifier for the chat completion. Each chunk has the same ID.
10032
10493
  * @maxLength 100
@@ -10036,7 +10497,7 @@ interface V1ChatCompletionChunk {
10036
10497
  * A list of chat completion choices. Can contain more than one elements if n is greater than 1.
10037
10498
  * Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
10038
10499
  */
10039
- choices?: ChatCompletionChunkChunkChoice[];
10500
+ choices?: V1ChatCompletionChunkChunkChoice[];
10040
10501
  /**
10041
10502
  * The Unix timestamp (in seconds) of when the chat completion was created.
10042
10503
  * Each chunk has the same timestamp.
@@ -10063,7 +10524,7 @@ interface V1ChatCompletionChunk {
10063
10524
  /** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
10064
10525
  microcentsSpent?: string | null;
10065
10526
  }
10066
- interface ChunkChoiceChunkDelta {
10527
+ interface ChatCompletionChunkChunkChoiceChunkDelta {
10067
10528
  /**
10068
10529
  * The contents of the chunk message.
10069
10530
  * @maxLength 1000
@@ -10077,9 +10538,9 @@ interface ChunkChoiceChunkDelta {
10077
10538
  */
10078
10539
  toolCalls?: V1ChatCompletionMessageToolCall[];
10079
10540
  }
10080
- interface ChatCompletionChunkChunkChoice {
10541
+ interface V1ChatCompletionChunkChunkChoice {
10081
10542
  /** A chat completion delta generated by streamed model responses */
10082
- delta?: ChunkChoiceChunkDelta;
10543
+ delta?: ChatCompletionChunkChunkChoiceChunkDelta;
10083
10544
  /**
10084
10545
  * The reason the model stopped generating tokens. This will be
10085
10546
  * "stop" if the model hit a natural stop point or a provided stop sequence,
@@ -10364,6 +10825,72 @@ interface AnthropicStreamChunkMessageDelta {
10364
10825
  /** Cost of the request so far, in microcents. */
10365
10826
  microcentsSpent?: string | null;
10366
10827
  }
10828
+ interface V1ChatCompletionChunk {
10829
+ /**
10830
+ * A unique identifier for the chat completion. Each chunk has the same ID.
10831
+ * @maxLength 100
10832
+ */
10833
+ responseId?: string | null;
10834
+ /**
10835
+ * A list of chat completion choices. Can contain more than one elements if n is greater than 1.
10836
+ * Can also be empty for the last chunk if you set stream_options: {"include_usage": true}.
10837
+ */
10838
+ choices?: ChatCompletionChunkChunkChoice[];
10839
+ /**
10840
+ * The Unix timestamp (in seconds) of when the chat completion was created.
10841
+ * Each chunk has the same timestamp.
10842
+ */
10843
+ created?: number | null;
10844
+ /** Model that produced the completion. */
10845
+ modelId?: string;
10846
+ /**
10847
+ * This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the
10848
+ * seed request parameter to understand when backend changes have been made that might impact determinism.
10849
+ * @maxLength 10000
10850
+ */
10851
+ systemFingerprint?: string | null;
10852
+ /**
10853
+ * The object type, which is always chat.completion.chunk.
10854
+ * @maxLength 100
10855
+ */
10856
+ object?: string | null;
10857
+ /**
10858
+ * An optional field that will only be present when you set stream_options: {"include_usage": true} in your request.
10859
+ * When present, it contains a null value except for the last chunk which contains the token usage statistics for the entire request.
10860
+ */
10861
+ usage?: InvokeCustomOpenAiModelResponseTokenUsage;
10862
+ /** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
10863
+ microcentsSpent?: string | null;
10864
+ }
10865
+ interface ChunkChoiceChunkDelta {
10866
+ /**
10867
+ * The contents of the chunk message.
10868
+ * @maxLength 1000
10869
+ */
10870
+ content?: string | null;
10871
+ /** The role of the author of this message. */
10872
+ role?: Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals;
10873
+ /**
10874
+ * Tool call requested by the model. Function arguments can be partial jsons and have to be assembled manually.
10875
+ * @maxSize 100
10876
+ */
10877
+ toolCalls?: ChatCompletionMessageToolCall[];
10878
+ }
10879
+ interface ChatCompletionChunkChunkChoice {
10880
+ /** A chat completion delta generated by streamed model responses */
10881
+ delta?: ChunkChoiceChunkDelta;
10882
+ /**
10883
+ * The reason the model stopped generating tokens. This will be
10884
+ * "stop" if the model hit a natural stop point or a provided stop sequence,
10885
+ * "length" if the maximum number of tokens specified in the request was reached,
10886
+ * "content_filter" if content was omitted due to a flag from our content filters,
10887
+ * "tool_calls" if the model called a tool
10888
+ * @maxLength 100
10889
+ */
10890
+ finishReason?: string | null;
10891
+ /** The index of the choice in the list of choices. */
10892
+ index?: number | null;
10893
+ }
10367
10894
  interface GenerateTextByPromptObjectRequest {
10368
10895
  /** Prompt object that describes the text generation request. */
10369
10896
  prompt?: Prompt;
@@ -10929,7 +11456,7 @@ interface ImageModelResponse extends ImageModelResponseResponseOneOf {
10929
11456
  /** Runware AI - Flux TextToImage response. */
10930
11457
  runwareTextToImageResponse?: TextToImageResponse;
10931
11458
  /** Google AI - Generate Image with Imagen Model response. */
10932
- googleGenerateImageResponse?: GenerateImageResponse;
11459
+ googleGenerateImageResponse?: V1GenerateImageResponse;
10933
11460
  /** ML generate image response. */
10934
11461
  mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
10935
11462
  /** OpenAI image creation response. */
@@ -10958,7 +11485,7 @@ interface ImageModelResponseResponseOneOf {
10958
11485
  /** Runware AI - Flux TextToImage response. */
10959
11486
  runwareTextToImageResponse?: TextToImageResponse;
10960
11487
  /** Google AI - Generate Image with Imagen Model response. */
10961
- googleGenerateImageResponse?: GenerateImageResponse;
11488
+ googleGenerateImageResponse?: V1GenerateImageResponse;
10962
11489
  /** ML generate image response. */
10963
11490
  mlPlatformGenerateImageResponse?: GenerateImageMlPlatformResponse;
10964
11491
  /** OpenAI image creation response. */
@@ -10980,6 +11507,8 @@ interface ImageGenerationRequestedEvent {
10980
11507
  * @format GUID
10981
11508
  */
10982
11509
  eventChainId?: string;
11510
+ /** Dynamic request configuration, including dynamic tools and messages. */
11511
+ dynamicRequestConfig?: DynamicRequestConfig;
10983
11512
  }
10984
11513
  interface ImageGenerationSucceededEvent {
10985
11514
  /** ModelResponse object that describes the image generation result. */
@@ -12576,6 +13105,8 @@ interface PollImageGenerationResultRequest extends PollImageGenerationResultRequ
12576
13105
  runwareGetTaskResultRequest?: GetTaskResultRequest;
12577
13106
  /** OpenAI getVideoResult request */
12578
13107
  openAiGetVideoResultRequest?: GetVideoResultRequest;
13108
+ /** Bytedance getContentTask request */
13109
+ bytedanceGetContentTaskRequest?: GetContentTaskRequest;
12579
13110
  /** Contains additional information for the request. */
12580
13111
  userRequestInfo?: UserRequestInfo;
12581
13112
  }
@@ -12589,6 +13120,8 @@ interface PollImageGenerationResultRequestRequestOneOf {
12589
13120
  runwareGetTaskResultRequest?: GetTaskResultRequest;
12590
13121
  /** OpenAI getVideoResult request */
12591
13122
  openAiGetVideoResultRequest?: GetVideoResultRequest;
13123
+ /** Bytedance getContentTask request */
13124
+ bytedanceGetContentTaskRequest?: GetContentTaskRequest;
12592
13125
  }
12593
13126
  interface V1GetResultRequest {
12594
13127
  /**
@@ -12618,6 +13151,13 @@ interface GetVideoResultRequest {
12618
13151
  */
12619
13152
  _id?: string;
12620
13153
  }
13154
+ interface GetContentTaskRequest {
13155
+ /**
13156
+ * The ID of the video generation task to query.
13157
+ * @maxLength 255
13158
+ */
13159
+ taskId?: string;
13160
+ }
12621
13161
  interface PollImageGenerationResultResponse extends PollImageGenerationResultResponseResponseOneOf {
12622
13162
  /** replicate proxy getResult response */
12623
13163
  replicateGetResultResponse?: V1GetResultResponse;
@@ -12627,6 +13167,8 @@ interface PollImageGenerationResultResponse extends PollImageGenerationResultRes
12627
13167
  runwareGetTaskResultResponse?: GetTaskResultResponse;
12628
13168
  /** OpenAI getVideoResult response */
12629
13169
  openAiGetVideoResultResponse?: GetVideoResultResponse;
13170
+ /** Bytedance getContentTask response */
13171
+ bytedanceGetContentTaskResponse?: GetContentTaskResponse;
12630
13172
  }
12631
13173
  /** @oneof */
12632
13174
  interface PollImageGenerationResultResponseResponseOneOf {
@@ -12638,6 +13180,8 @@ interface PollImageGenerationResultResponseResponseOneOf {
12638
13180
  runwareGetTaskResultResponse?: GetTaskResultResponse;
12639
13181
  /** OpenAI getVideoResult response */
12640
13182
  openAiGetVideoResultResponse?: GetVideoResultResponse;
13183
+ /** Bytedance getContentTask response */
13184
+ bytedanceGetContentTaskResponse?: GetContentTaskResponse;
12641
13185
  }
12642
13186
  interface V1GetResultResponse {
12643
13187
  /**
@@ -12700,6 +13244,9 @@ interface GetTaskResultResponseResponseOneOf {
12700
13244
  interface GetVideoResultResponse {
12701
13245
  videoJob?: VideoJob;
12702
13246
  }
13247
+ interface GetContentTaskResponse {
13248
+ task?: CommonContentTaskResponse;
13249
+ }
12703
13250
  interface DomainEvent extends DomainEventBodyOneOf {
12704
13251
  createdEvent?: EntityCreatedEvent;
12705
13252
  updatedEvent?: EntityUpdatedEvent;
@@ -12867,7 +13414,7 @@ type GoogleProtoDuration = any;
12867
13414
  * @replacedBy GenerateContentByPrompt
12868
13415
  * @targetRemovalDate 2026-03-31
12869
13416
  */
12870
- declare function generateTextByPrompt(promptId: string, options?: GenerateTextByPromptOptions): Promise<NonNullablePaths<GenerateTextByPromptResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.generatedTexts` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13417
+ declare function generateTextByPrompt(promptId: string, options?: GenerateTextByPromptOptions): Promise<NonNullablePaths<GenerateTextByPromptResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.generatedTexts` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.bytedanceCreateContentTaskRequest.model` | `materializedPrompt.bytedanceCreateContentTaskRequest.content` | `materializedPrompt.bytedanceGenerateImageRequest.model` | `materializedPrompt.bytedanceGenerateImageRequest.prompt` | `materializedPrompt.bytedanceGenerateImageRequest.image` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
12871
13418
  interface GenerateTextByPromptOptions {
12872
13419
  /** Key-value pairs that will be used to substitute templated parameters in the prompt. */
12873
13420
  params?: Record<string, string>;
@@ -12897,7 +13444,7 @@ interface GenerateTextByPromptOptions {
12897
13444
  * @permissionId DATA_SCIENCE.WIX_AI_GATEWAY.GENERATE_TEXT
12898
13445
  * @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.GenerateTextByPromptStreamed
12899
13446
  */
12900
- declare function generateTextByPromptStreamed(promptId: string, options?: GenerateTextByPromptStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `googleGeminiStreamChunk.usageMetadata.cacheTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `predictionId`, 10>>;
13447
+ declare function generateTextByPromptStreamed(promptId: string, options?: GenerateTextByPromptStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `googleGeminiStreamChunk.usageMetadata.cacheTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `fireworksChatCompletionChunk.choices` | `fireworksChatCompletionChunk.choices.${number}.delta.role` | `fireworksChatCompletionChunk.modelId` | `predictionId`, 10>>;
12901
13448
  interface GenerateTextByPromptStreamedOptions {
12902
13449
  /** Key-value pairs that will be used to substitute templated parameters in the prompt. */
12903
13450
  params?: Record<string, string>;
@@ -12927,7 +13474,7 @@ interface GenerateTextByPromptStreamedOptions {
12927
13474
  * @replacedBy GenerateContentByPromptObject
12928
13475
  * @targetRemovalDate 2026-03-31
12929
13476
  */
12930
- declare function generateTextByPromptObject(options?: GenerateTextByPromptObjectOptions): Promise<NonNullablePaths<GenerateTextByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.generatedTexts` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13477
+ declare function generateTextByPromptObject(options?: GenerateTextByPromptObjectOptions): Promise<NonNullablePaths<GenerateTextByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.generatedTexts` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.bytedanceCreateContentTaskRequest.model` | `materializedPrompt.bytedanceCreateContentTaskRequest.content` | `materializedPrompt.bytedanceGenerateImageRequest.model` | `materializedPrompt.bytedanceGenerateImageRequest.prompt` | `materializedPrompt.bytedanceGenerateImageRequest.image` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
12931
13478
  interface GenerateTextByPromptObjectOptions {
12932
13479
  /** Prompt object that describes the text generation request. */
12933
13480
  prompt?: Prompt;
@@ -12957,7 +13504,7 @@ interface GenerateTextByPromptObjectOptions {
12957
13504
  * @permissionId DATA_SCIENCE.WIX_AI_GATEWAY.GENERATE_TEXT_BY_PROMPT_OBJECT
12958
13505
  * @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.GenerateTextByPromptObjectStreamed
12959
13506
  */
12960
- declare function generateTextByPromptObjectStreamed(options?: GenerateTextByPromptObjectStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `googleGeminiStreamChunk.usageMetadata.cacheTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `predictionId`, 10>>;
13507
+ declare function generateTextByPromptObjectStreamed(options?: GenerateTextByPromptObjectStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `googleGeminiStreamChunk.usageMetadata.cacheTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `fireworksChatCompletionChunk.choices` | `fireworksChatCompletionChunk.choices.${number}.delta.role` | `fireworksChatCompletionChunk.modelId` | `predictionId`, 10>>;
12961
13508
  interface GenerateTextByPromptObjectStreamedOptions {
12962
13509
  /** Prompt object that describes the text generation request. */
12963
13510
  prompt?: Prompt;
@@ -13019,7 +13566,7 @@ interface GenerateEmbeddingOptionsEmbeddingRequestOneOf {
13019
13566
  * @replacedBy GenerateContentByProject
13020
13567
  * @targetRemovalDate 2026-03-31
13021
13568
  */
13022
- declare function generateTextByProject(projectId: string, options?: GenerateTextByProjectOptions): Promise<NonNullablePaths<GenerateTextByProjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.generatedTexts` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13569
+ declare function generateTextByProject(projectId: string, options?: GenerateTextByProjectOptions): Promise<NonNullablePaths<GenerateTextByProjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.generatedTexts` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.bytedanceCreateContentTaskRequest.model` | `materializedPrompt.bytedanceCreateContentTaskRequest.content` | `materializedPrompt.bytedanceGenerateImageRequest.model` | `materializedPrompt.bytedanceGenerateImageRequest.prompt` | `materializedPrompt.bytedanceGenerateImageRequest.image` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13023
13570
  interface GenerateTextByProjectOptions {
13024
13571
  /** Key-value pairs that will be used to substitute templated parameters in the prompt. */
13025
13572
  params?: Record<string, string>;
@@ -13050,7 +13597,7 @@ interface GenerateTextByProjectOptions {
13050
13597
  * @permissionId DATA_SCIENCE.WIX_AI_GATEWAY.GENERATE_TEXT
13051
13598
  * @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.GenerateTextByProjectStreamed
13052
13599
  */
13053
- declare function generateTextByProjectStreamed(projectId: string, options?: GenerateTextByProjectStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `googleGeminiStreamChunk.usageMetadata.cacheTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `predictionId`, 10>>;
13600
+ declare function generateTextByProjectStreamed(projectId: string, options?: GenerateTextByProjectStreamedOptions): Promise<NonNullablePaths<GeneratedTextChunk, `azureChatCompletionChunk.choices` | `azureChatCompletionChunk.choices.${number}.delta.role` | `azureChatCompletionChunk.model` | `openaiChatCompletionChunk.choices` | `openaiChatCompletionChunk.choices.${number}.delta.role` | `openaiChatCompletionChunk.model` | `googleAnthropicStreamChunk.toolUse.cacheControl.type` | `googleAnthropicStreamChunk.contentBlockDelta.text` | `googleAnthropicStreamChunk.contentBlockDelta.partialJson` | `googleAnthropicStreamChunk.contentBlockDelta.thinking` | `googleAnthropicStreamChunk.contentBlockDelta.signature` | `googleAnthropicStreamChunk.messageDelta.usage.inputTokens` | `googleAnthropicStreamChunk.messageDelta.usage.outputTokens` | `googleAnthropicStreamChunk.redactedThinking.data` | `googleAnthropicStreamChunk.responseId` | `googleAnthropicStreamChunk.model` | `googleGeminiStreamChunk.candidates` | `googleGeminiStreamChunk.candidates.${number}.finishReason` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails` | `googleGeminiStreamChunk.usageMetadata.promptTokensDetails.${number}.modality` | `googleGeminiStreamChunk.usageMetadata.candidatesTokensDetails` | `googleGeminiStreamChunk.usageMetadata.cacheTokensDetails` | `amazonAnthropicStreamChunk.toolUse.cacheControl.type` | `amazonAnthropicStreamChunk.contentBlockDelta.text` | `amazonAnthropicStreamChunk.contentBlockDelta.partialJson` | `amazonAnthropicStreamChunk.contentBlockDelta.thinking` | `amazonAnthropicStreamChunk.contentBlockDelta.signature` | `amazonAnthropicStreamChunk.messageDelta.usage.inputTokens` | `amazonAnthropicStreamChunk.messageDelta.usage.outputTokens` | `amazonAnthropicStreamChunk.redactedThinking.data` | `amazonAnthropicStreamChunk.responseId` | `amazonAnthropicStreamChunk.model` | `anthropicStreamChunk.toolUse.cacheControl.type` | `anthropicStreamChunk.webSearchToolResult.contentResults.items` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.type` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.textContent.text` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.image.mediaType` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.signature` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.thinking.thinking` | `anthropicStreamChunk.webFetchToolResult.contentSuccess.content.source.content.${number}.redactedThinking.data` | `anthropicStreamChunk.webFetchToolResult.contentError.type` | `anthropicStreamChunk.webFetchToolResult.type` | `anthropicStreamChunk.contentBlockDelta.text` | `anthropicStreamChunk.contentBlockDelta.partialJson` | `anthropicStreamChunk.contentBlockDelta.thinking` | `anthropicStreamChunk.contentBlockDelta.signature` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral1hInputTokens` | `anthropicStreamChunk.messageDelta.usage.cacheCreation.ephemeral5mInputTokens` | `anthropicStreamChunk.messageDelta.usage.inputTokens` | `anthropicStreamChunk.messageDelta.usage.outputTokens` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webSearchRequests` | `anthropicStreamChunk.messageDelta.usage.serverToolUse.webFetchRequests` | `anthropicStreamChunk.responseId` | `anthropicStreamChunk.model` | `fireworksChatCompletionChunk.choices` | `fireworksChatCompletionChunk.choices.${number}.delta.role` | `fireworksChatCompletionChunk.modelId` | `predictionId`, 10>>;
13054
13601
  interface GenerateTextByProjectStreamedOptions {
13055
13602
  /** Key-value pairs that will be used to substitute templated parameters in the prompt. */
13056
13603
  params?: Record<string, string>;
@@ -13102,7 +13649,7 @@ interface GenerateModerationOptionsModerationRequestOneOf {
13102
13649
  * @replacedBy GenerateContentByProject
13103
13650
  * @targetRemovalDate 2026-03-31
13104
13651
  */
13105
- declare function generateImageByProject(projectId: string, options?: GenerateImageByProjectOptions): Promise<NonNullablePaths<GenerateImageByProjectResponse, `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13652
+ declare function generateImageByProject(projectId: string, options?: GenerateImageByProjectOptions): Promise<NonNullablePaths<GenerateImageByProjectResponse, `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.bytedanceCreateContentTaskRequest.model` | `materializedPrompt.bytedanceCreateContentTaskRequest.content` | `materializedPrompt.bytedanceGenerateImageRequest.model` | `materializedPrompt.bytedanceGenerateImageRequest.prompt` | `materializedPrompt.bytedanceGenerateImageRequest.image` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13106
13653
  interface GenerateImageByProjectOptions {
13107
13654
  /** Key-value pairs that will be used to substitute templated parameters in the prompt. */
13108
13655
  params?: Record<string, string>;
@@ -13138,7 +13685,7 @@ interface GenerateImageByProjectOptions {
13138
13685
  * @replacedBy GenerateContentByPrompt
13139
13686
  * @targetRemovalDate 2026-03-31
13140
13687
  */
13141
- declare function generateImageByPrompt(promptId: string, options?: GenerateImageByPromptOptions): Promise<NonNullablePaths<GenerateImageByPromptResponse, `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13688
+ declare function generateImageByPrompt(promptId: string, options?: GenerateImageByPromptOptions): Promise<NonNullablePaths<GenerateImageByPromptResponse, `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.bytedanceCreateContentTaskRequest.model` | `materializedPrompt.bytedanceCreateContentTaskRequest.content` | `materializedPrompt.bytedanceGenerateImageRequest.model` | `materializedPrompt.bytedanceGenerateImageRequest.prompt` | `materializedPrompt.bytedanceGenerateImageRequest.image` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13142
13689
  interface GenerateImageByPromptOptions {
13143
13690
  /** Key-value pairs that will be used to substitute templated parameters in the prompt. */
13144
13691
  params?: Record<string, string>;
@@ -13169,7 +13716,7 @@ interface GenerateImageByPromptOptions {
13169
13716
  * @replacedBy GenerateContentByPromptObject
13170
13717
  * @targetRemovalDate 2026-03-31
13171
13718
  */
13172
- declare function generateImageByPromptObject(options?: GenerateImageByPromptObjectOptions): Promise<NonNullablePaths<GenerateImageByPromptObjectResponse, `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13719
+ declare function generateImageByPromptObject(options?: GenerateImageByPromptObjectOptions): Promise<NonNullablePaths<GenerateImageByPromptObjectResponse, `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.bytedanceCreateContentTaskRequest.model` | `materializedPrompt.bytedanceCreateContentTaskRequest.content` | `materializedPrompt.bytedanceGenerateImageRequest.model` | `materializedPrompt.bytedanceGenerateImageRequest.prompt` | `materializedPrompt.bytedanceGenerateImageRequest.image` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
13173
13720
  interface GenerateImageByPromptObjectOptions {
13174
13721
  /** Prompt object that describes the image generation request. */
13175
13722
  prompt?: Prompt;
@@ -13201,7 +13748,7 @@ interface GenerateImageByPromptObjectOptions {
13201
13748
  * @permissionId DATA_SCIENCE.WIX_AI_GATEWAY_GENERATE_CONTENT
13202
13749
  * @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.GenerateContentByPrompt
13203
13750
  */
13204
- declare function generateContentByPrompt(promptId: string, options?: GenerateContentByPromptOptions): Promise<NonNullablePaths<GenerateContentByPromptResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
13751
+ declare function generateContentByPrompt(promptId: string, options?: GenerateContentByPromptOptions): Promise<NonNullablePaths<GenerateContentByPromptResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.bytedanceGenerateImageResponse.data` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.bytedanceCreateContentTaskRequest.model` | `materializedPrompt.bytedanceCreateContentTaskRequest.content` | `materializedPrompt.bytedanceGenerateImageRequest.model` | `materializedPrompt.bytedanceGenerateImageRequest.prompt` | `materializedPrompt.bytedanceGenerateImageRequest.image` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
13205
13752
  interface GenerateContentByPromptOptions {
13206
13753
  /** Key-value pairs that will be used to substitute templated parameters in the prompt. */
13207
13754
  params?: Record<string, string>;
@@ -13227,7 +13774,7 @@ interface GenerateContentByPromptOptions {
13227
13774
  * @permissionId DATA_SCIENCE.WIX_AI_GATEWAY_GENERATE_CONTENT
13228
13775
  * @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.GenerateContentByProject
13229
13776
  */
13230
- declare function generateContentByProject(projectId: string, options?: GenerateContentByProjectOptions): Promise<NonNullablePaths<GenerateContentByProjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
13777
+ declare function generateContentByProject(projectId: string, options?: GenerateContentByProjectOptions): Promise<NonNullablePaths<GenerateContentByProjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.bytedanceGenerateImageResponse.data` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `promptId` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.bytedanceCreateContentTaskRequest.model` | `materializedPrompt.bytedanceCreateContentTaskRequest.content` | `materializedPrompt.bytedanceGenerateImageRequest.model` | `materializedPrompt.bytedanceGenerateImageRequest.prompt` | `materializedPrompt.bytedanceGenerateImageRequest.image` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
13231
13778
  interface GenerateContentByProjectOptions {
13232
13779
  /** Key-value pairs that will be used to substitute templated parameters in the prompt. */
13233
13780
  params?: Record<string, string>;
@@ -13250,7 +13797,7 @@ interface GenerateContentByProjectOptions {
13250
13797
  * @permissionId DATA_SCIENCE.WIX_AI_GATEWAY_GENERATE_CONTENT
13251
13798
  * @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.GenerateContentByPromptObject
13252
13799
  */
13253
- declare function generateContentByPromptObject(options?: GenerateContentByPromptObjectOptions): Promise<NonNullablePaths<GenerateContentByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
13800
+ declare function generateContentByPromptObject(options?: GenerateContentByPromptObjectOptions): Promise<NonNullablePaths<GenerateContentByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.cacheTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.amazonConverseResponse.output.message.role` | `response.amazonConverseResponse.output.message.content` | `response.amazonConverseResponse.output.message.content.${number}.text` | `response.amazonConverseResponse.output.message.content.${number}.reasoningContent.reasoningText.text` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.toolUseId` | `response.amazonConverseResponse.output.message.content.${number}.toolUse.name` | `response.amazonConverseResponse.output.message.content.${number}.toolResult.toolUseId` | `response.amazonConverseResponse.usage.inputTokens` | `response.amazonConverseResponse.usage.outputTokens` | `response.amazonConverseResponse.usage.totalTokens` | `response.amazonConverseResponse.metrics.latencyMs` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.fireworksInvokeCustomOpenAiResponse.modelId` | `response.fireworksInvokeCustomOpenAiResponse.choices` | `response.fireworksInvokeCustomOpenAiResponse.choices.${number}.message.role` | `response.bytedanceGenerateImageResponse.data` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.amazonConverseRequest.model` | `materializedPrompt.amazonConverseRequest.messages` | `materializedPrompt.amazonConverseRequest.messages.${number}.role` | `materializedPrompt.amazonConverseRequest.inferenceConfig.stopSequences` | `materializedPrompt.amazonConverseRequest.toolConfig.tools` | `materializedPrompt.amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `materializedPrompt.amazonConverseRequest.system` | `materializedPrompt.amazonConverseRequest.additionalModelResponseFieldPaths` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.perceptronIsaac01.response` | `materializedPrompt.replicateCreatePredictionRequest.qwenImageLayered.image` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.runwareTextToImageRequest.inputs.referenceImages` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.runwareVideoInferenceRequest.inputs.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.inputs.referenceVideos` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.modelId` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.functions` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.stop` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools` | `materializedPrompt.fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `materializedPrompt.bytedanceCreateContentTaskRequest.model` | `materializedPrompt.bytedanceCreateContentTaskRequest.content` | `materializedPrompt.bytedanceGenerateImageRequest.model` | `materializedPrompt.bytedanceGenerateImageRequest.prompt` | `materializedPrompt.bytedanceGenerateImageRequest.image` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 10>>;
13254
13801
  interface GenerateContentByPromptObjectOptions {
13255
13802
  /** Prompt object that describes the content generation request. */
13256
13803
  prompt?: Prompt;
@@ -13386,7 +13933,7 @@ interface PublishPromptOptions {
13386
13933
  /** Perplexity chat completion request */
13387
13934
  perplexityChatCompletionRequest?: InvokeChatCompletionRequest;
13388
13935
  /** Google AI - generate image request */
13389
- googleGenerateImageRequest?: GenerateImageRequest;
13936
+ googleGenerateImageRequest?: V1GenerateImageRequest;
13390
13937
  /** ML platform - generate image request */
13391
13938
  mlPlatformGenerateImageRequest?: GenerateImageMlPlatformRequest;
13392
13939
  /** OpenAI image creation response. */
@@ -13409,6 +13956,10 @@ interface PublishPromptOptions {
13409
13956
  openAiCreateVideoRequest?: CreateVideoRequest;
13410
13957
  /** Fireworks - OpenAI payload */
13411
13958
  fireworksInvokeCustomOpenAiRequest?: InvokeCustomOpenAiModelRequest;
13959
+ /** Bytedance - Create content task request (video generation) */
13960
+ bytedanceCreateContentTaskRequest?: CreateContentTaskRequest;
13961
+ /** Bytedance - Generate image request (Seedream models) */
13962
+ bytedanceGenerateImageRequest?: GenerateImageRequest;
13412
13963
  /**
13413
13964
  * Prompt id.
13414
13965
  * @format GUID
@@ -13442,7 +13993,7 @@ interface PublishPromptOptions {
13442
13993
  * @returns Prompt object from service's storage.
13443
13994
  * @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.GetPrompt
13444
13995
  */
13445
- declare function getPrompt(promptId: string, options?: GetPromptOptions): Promise<NonNullablePaths<Prompt, `openAiChatCompletionRequest.model` | `openAiChatCompletionRequest.messages` | `openAiChatCompletionRequest.messages.${number}.role` | `openAiChatCompletionRequest.functions` | `openAiChatCompletionRequest.stop` | `openAiChatCompletionRequest.tools` | `openAiChatCompletionRequest.tools.${number}.type` | `googleTextBisonRequest.instances` | `googleTextBisonRequest.parameters.stopSequences` | `googleTextBisonRequest.model` | `googleChatBisonRequest.instances` | `googleChatBisonRequest.model` | `azureChatCompletionRequest.model` | `azureChatCompletionRequest.messages` | `azureChatCompletionRequest.messages.${number}.role` | `azureChatCompletionRequest.functions` | `azureChatCompletionRequest.stop` | `azureChatCompletionRequest.tools` | `azureChatCompletionRequest.tools.${number}.type` | `googleGeminiGenerateContentRequest.model` | `googleGeminiGenerateContentRequest.contents` | `googleGeminiGenerateContentRequest.contents.${number}.role` | `googleGeminiGenerateContentRequest.systemInstruction.parts` | `googleGeminiGenerateContentRequest.tools` | `googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `googleGeminiGenerateContentRequest.safetySettings` | `googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `anthropicClaudeRequest.model` | `anthropicClaudeRequest.messages` | `anthropicClaudeRequest.messages.${number}.role` | `anthropicClaudeRequest.systemPrompt` | `anthropicClaudeRequest.stopSequences` | `anthropicClaudeRequest.tools` | `anthropicClaudeRequest.tools.${number}.cacheControl.type` | `anthropicClaudeRequest.toolChoice.type` | `anthropicClaudeRequest.thinking.budgetTokens` | `anthropicClaudeRequest.mcpServers` | `anthropicClaudeRequest.mcpServers.${number}.name` | `anthropicClaudeRequest.mcpServers.${number}.type` | `googleAnthropicClaudeRequest.model` | `googleAnthropicClaudeRequest.messages` | `googleAnthropicClaudeRequest.messages.${number}.role` | `googleAnthropicClaudeRequest.systemPrompt` | `googleAnthropicClaudeRequest.stopSequences` | `googleAnthropicClaudeRequest.tools` | `googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `googleAnthropicClaudeRequest.toolChoice.type` | `googleAnthropicClaudeRequest.thinking.budgetTokens` | `googleAnthropicClaudeRequest.mcpServers` | `googleAnthropicClaudeRequest.mcpServers.${number}.name` | `googleAnthropicClaudeRequest.mcpServers.${number}.type` | `invokeAnthropicModelRequest.model` | `invokeAnthropicModelRequest.messages` | `invokeAnthropicModelRequest.messages.${number}.role` | `invokeAnthropicModelRequest.systemPrompt` | `invokeAnthropicModelRequest.stopSequences` | `invokeAnthropicModelRequest.tools` | `invokeAnthropicModelRequest.tools.${number}.custom.name` | `invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `invokeAnthropicModelRequest.toolChoice.type` | `invokeAnthropicModelRequest.thinking.budgetTokens` | `invokeAnthropicModelRequest.mcpServers` | `invokeAnthropicModelRequest.mcpServers.${number}.name` | `invokeAnthropicModelRequest.mcpServers.${number}.type` | `llamaModelRequest.model` | `amazonConverseRequest.model` | `amazonConverseRequest.messages` | `amazonConverseRequest.messages.${number}.role` | `amazonConverseRequest.inferenceConfig.stopSequences` | `amazonConverseRequest.toolConfig.tools` | `amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `amazonConverseRequest.system` | `amazonConverseRequest.additionalModelResponseFieldPaths` | `openAiCreateImageRequest.model` | `openAiCreateImageRequest.quality` | `openAiCreateImageRequest.size` | `openAiCreateImageRequest.style` | `stabilityAiTextToImageRequest.model` | `stabilityAiTextToImageRequest.textPrompts` | `stabilityAiTextToImageRequest.clipGuidancePreset` | `stabilityAiTextToImageRequest.sampler` | `stabilityAiTextToImageRequest.stylePreset` | `stabilityAiGenerateCoreRequest.model` | `stabilityAiGenerateCoreRequest.stylePreset` | `stabilityAiStableDiffusionRequest.mode` | `stabilityAiStableDiffusionRequest.model` | `stabilityAiStableDiffusionRequest.outputFormat` | `blackForestLabsGenerateImageRequest.model` | `replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `replicateCreatePredictionRequest.perceptronIsaac01.response` | `replicateCreatePredictionRequest.qwenImageLayered.image` | `replicateCreatePredictionRequest.model` | `stabilityAiEditWithPromptRequest.model` | `stabilityAiEditWithPromptRequest.stylePreset` | `runwareTextToImageRequest.positivePrompt` | `runwareTextToImageRequest.height` | `runwareTextToImageRequest.width` | `runwareTextToImageRequest.referenceImages` | `runwareTextToImageRequest.model` | `runwareTextToImageRequest.loraModels` | `runwareTextToImageRequest.inputs.referenceImages` | `mlPlatformLlamaModelRequest.modelId` | `perplexityChatCompletionRequest.model` | `perplexityChatCompletionRequest.messages` | `perplexityChatCompletionRequest.messages.${number}.content` | `perplexityChatCompletionRequest.messages.${number}.role` | `perplexityChatCompletionRequest.searchDomainFilter` | `perplexityChatCompletionRequest.responseFormat.jsonSchema` | `perplexityChatCompletionRequest.responseFormat.regex` | `googleGenerateImageRequest.model` | `googleGenerateImageRequest.instances` | `mlPlatformGenerateImageRequest.model` | `openAiCreateOpenAiImageRequest.model` | `openAiEditOpenAiImageRequest.model` | `openAiEditOpenAiImageRequest.imageUrls` | `googleGenerateVideoRequest.model` | `googleGenerateVideoRequest.instances` | `googleCreateChatCompletionRequest.model` | `googleCreateChatCompletionRequest.messages` | `googleCreateChatCompletionRequest.messages.${number}.role` | `mlPlatformOpenAiRawRequest.modelId` | `mlPlatformOpenAiRawRequest.messages` | `mlPlatformOpenAiRawRequest.messages.${number}.role` | `runwareVideoInferenceRequest.outputFormat` | `runwareVideoInferenceRequest.frameImages` | `runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `runwareVideoInferenceRequest.referenceImages` | `runwareVideoInferenceRequest.model` | `runwareVideoInferenceRequest.inputs.frameImages` | `runwareVideoInferenceRequest.inputs.referenceImages` | `runwareVideoInferenceRequest.inputs.referenceVideos` | `openAiResponsesRequest.model` | `openAiResponsesRequest.include` | `openAiResponsesRequest.input` | `openAiResponsesRequest.input.${number}.message.role` | `openAiResponsesRequest.tools` | `azureOpenAiResponsesRequest.model` | `azureOpenAiResponsesRequest.include` | `azureOpenAiResponsesRequest.input` | `azureOpenAiResponsesRequest.input.${number}.message.role` | `azureOpenAiResponsesRequest.tools` | `openAiCreateVideoRequest.prompt` | `openAiCreateVideoRequest.model` | `fireworksInvokeCustomOpenAiRequest.modelId` | `fireworksInvokeCustomOpenAiRequest.messages` | `fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `fireworksInvokeCustomOpenAiRequest.functions` | `fireworksInvokeCustomOpenAiRequest.stop` | `fireworksInvokeCustomOpenAiRequest.tools` | `fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `templatedParameterNames` | `templatedDynamicPropertiesNames`, 7>>;
13996
+ declare function getPrompt(promptId: string, options?: GetPromptOptions): Promise<NonNullablePaths<Prompt, `openAiChatCompletionRequest.model` | `openAiChatCompletionRequest.messages` | `openAiChatCompletionRequest.messages.${number}.role` | `openAiChatCompletionRequest.functions` | `openAiChatCompletionRequest.stop` | `openAiChatCompletionRequest.tools` | `openAiChatCompletionRequest.tools.${number}.type` | `googleTextBisonRequest.instances` | `googleTextBisonRequest.parameters.stopSequences` | `googleTextBisonRequest.model` | `googleChatBisonRequest.instances` | `googleChatBisonRequest.model` | `azureChatCompletionRequest.model` | `azureChatCompletionRequest.messages` | `azureChatCompletionRequest.messages.${number}.role` | `azureChatCompletionRequest.functions` | `azureChatCompletionRequest.stop` | `azureChatCompletionRequest.tools` | `azureChatCompletionRequest.tools.${number}.type` | `googleGeminiGenerateContentRequest.model` | `googleGeminiGenerateContentRequest.contents` | `googleGeminiGenerateContentRequest.contents.${number}.role` | `googleGeminiGenerateContentRequest.systemInstruction.parts` | `googleGeminiGenerateContentRequest.tools` | `googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `googleGeminiGenerateContentRequest.tools.${number}.computerUse.environment` | `googleGeminiGenerateContentRequest.safetySettings` | `googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `googleGeminiGenerateContentRequest.generationConfig.mediaResolution` | `googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `anthropicClaudeRequest.model` | `anthropicClaudeRequest.messages` | `anthropicClaudeRequest.messages.${number}.role` | `anthropicClaudeRequest.systemPrompt` | `anthropicClaudeRequest.stopSequences` | `anthropicClaudeRequest.tools` | `anthropicClaudeRequest.tools.${number}.cacheControl.type` | `anthropicClaudeRequest.toolChoice.type` | `anthropicClaudeRequest.thinking.budgetTokens` | `anthropicClaudeRequest.mcpServers` | `anthropicClaudeRequest.mcpServers.${number}.name` | `anthropicClaudeRequest.mcpServers.${number}.type` | `googleAnthropicClaudeRequest.model` | `googleAnthropicClaudeRequest.messages` | `googleAnthropicClaudeRequest.messages.${number}.role` | `googleAnthropicClaudeRequest.systemPrompt` | `googleAnthropicClaudeRequest.stopSequences` | `googleAnthropicClaudeRequest.tools` | `googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `googleAnthropicClaudeRequest.toolChoice.type` | `googleAnthropicClaudeRequest.thinking.budgetTokens` | `googleAnthropicClaudeRequest.mcpServers` | `googleAnthropicClaudeRequest.mcpServers.${number}.name` | `googleAnthropicClaudeRequest.mcpServers.${number}.type` | `invokeAnthropicModelRequest.model` | `invokeAnthropicModelRequest.messages` | `invokeAnthropicModelRequest.messages.${number}.role` | `invokeAnthropicModelRequest.systemPrompt` | `invokeAnthropicModelRequest.stopSequences` | `invokeAnthropicModelRequest.tools` | `invokeAnthropicModelRequest.tools.${number}.custom.name` | `invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `invokeAnthropicModelRequest.toolChoice.type` | `invokeAnthropicModelRequest.thinking.budgetTokens` | `invokeAnthropicModelRequest.mcpServers` | `invokeAnthropicModelRequest.mcpServers.${number}.name` | `invokeAnthropicModelRequest.mcpServers.${number}.type` | `llamaModelRequest.model` | `amazonConverseRequest.model` | `amazonConverseRequest.messages` | `amazonConverseRequest.messages.${number}.role` | `amazonConverseRequest.inferenceConfig.stopSequences` | `amazonConverseRequest.toolConfig.tools` | `amazonConverseRequest.toolConfig.tools.${number}.toolSpec.name` | `amazonConverseRequest.system` | `amazonConverseRequest.additionalModelResponseFieldPaths` | `openAiCreateImageRequest.model` | `openAiCreateImageRequest.quality` | `openAiCreateImageRequest.size` | `openAiCreateImageRequest.style` | `stabilityAiTextToImageRequest.model` | `stabilityAiTextToImageRequest.textPrompts` | `stabilityAiTextToImageRequest.clipGuidancePreset` | `stabilityAiTextToImageRequest.sampler` | `stabilityAiTextToImageRequest.stylePreset` | `stabilityAiGenerateCoreRequest.model` | `stabilityAiGenerateCoreRequest.stylePreset` | `stabilityAiStableDiffusionRequest.mode` | `stabilityAiStableDiffusionRequest.model` | `stabilityAiStableDiffusionRequest.outputFormat` | `blackForestLabsGenerateImageRequest.model` | `replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `replicateCreatePredictionRequest.perceptronIsaac01.response` | `replicateCreatePredictionRequest.qwenImageLayered.image` | `replicateCreatePredictionRequest.model` | `stabilityAiEditWithPromptRequest.model` | `stabilityAiEditWithPromptRequest.stylePreset` | `runwareTextToImageRequest.positivePrompt` | `runwareTextToImageRequest.height` | `runwareTextToImageRequest.width` | `runwareTextToImageRequest.referenceImages` | `runwareTextToImageRequest.model` | `runwareTextToImageRequest.loraModels` | `runwareTextToImageRequest.inputs.referenceImages` | `mlPlatformLlamaModelRequest.modelId` | `perplexityChatCompletionRequest.model` | `perplexityChatCompletionRequest.messages` | `perplexityChatCompletionRequest.messages.${number}.content` | `perplexityChatCompletionRequest.messages.${number}.role` | `perplexityChatCompletionRequest.searchDomainFilter` | `perplexityChatCompletionRequest.responseFormat.jsonSchema` | `perplexityChatCompletionRequest.responseFormat.regex` | `googleGenerateImageRequest.model` | `googleGenerateImageRequest.instances` | `mlPlatformGenerateImageRequest.model` | `openAiCreateOpenAiImageRequest.model` | `openAiEditOpenAiImageRequest.model` | `openAiEditOpenAiImageRequest.imageUrls` | `googleGenerateVideoRequest.model` | `googleGenerateVideoRequest.instances` | `googleCreateChatCompletionRequest.model` | `googleCreateChatCompletionRequest.messages` | `googleCreateChatCompletionRequest.messages.${number}.role` | `mlPlatformOpenAiRawRequest.modelId` | `mlPlatformOpenAiRawRequest.messages` | `mlPlatformOpenAiRawRequest.messages.${number}.role` | `runwareVideoInferenceRequest.outputFormat` | `runwareVideoInferenceRequest.frameImages` | `runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `runwareVideoInferenceRequest.referenceImages` | `runwareVideoInferenceRequest.model` | `runwareVideoInferenceRequest.inputs.frameImages` | `runwareVideoInferenceRequest.inputs.referenceImages` | `runwareVideoInferenceRequest.inputs.referenceVideos` | `openAiResponsesRequest.model` | `openAiResponsesRequest.include` | `openAiResponsesRequest.input` | `openAiResponsesRequest.input.${number}.message.role` | `openAiResponsesRequest.tools` | `azureOpenAiResponsesRequest.model` | `azureOpenAiResponsesRequest.include` | `azureOpenAiResponsesRequest.input` | `azureOpenAiResponsesRequest.input.${number}.message.role` | `azureOpenAiResponsesRequest.tools` | `openAiCreateVideoRequest.prompt` | `openAiCreateVideoRequest.model` | `fireworksInvokeCustomOpenAiRequest.modelId` | `fireworksInvokeCustomOpenAiRequest.messages` | `fireworksInvokeCustomOpenAiRequest.messages.${number}.role` | `fireworksInvokeCustomOpenAiRequest.functions` | `fireworksInvokeCustomOpenAiRequest.stop` | `fireworksInvokeCustomOpenAiRequest.tools` | `fireworksInvokeCustomOpenAiRequest.tools.${number}.type` | `bytedanceCreateContentTaskRequest.model` | `bytedanceCreateContentTaskRequest.content` | `bytedanceGenerateImageRequest.model` | `bytedanceGenerateImageRequest.prompt` | `bytedanceGenerateImageRequest.image` | `templatedParameterNames` | `templatedDynamicPropertiesNames`, 7>>;
13446
13997
  interface GetPromptOptions {
13447
13998
  /**
13448
13999
  * Key-value pairs that will be used to substitute templated parameters in the prompt.
@@ -13569,6 +14120,8 @@ interface PollImageGenerationResultOptions extends PollImageGenerationResultOpti
13569
14120
  runwareGetTaskResultRequest?: GetTaskResultRequest;
13570
14121
  /** OpenAI getVideoResult request */
13571
14122
  openAiGetVideoResultRequest?: GetVideoResultRequest;
14123
+ /** Bytedance getContentTask request */
14124
+ bytedanceGetContentTaskRequest?: GetContentTaskRequest;
13572
14125
  }
13573
14126
  /** @oneof */
13574
14127
  interface PollImageGenerationResultOptionsRequestOneOf {
@@ -13580,6 +14133,8 @@ interface PollImageGenerationResultOptionsRequestOneOf {
13580
14133
  runwareGetTaskResultRequest?: GetTaskResultRequest;
13581
14134
  /** OpenAI getVideoResult request */
13582
14135
  openAiGetVideoResultRequest?: GetVideoResultRequest;
14136
+ /** Bytedance getContentTask request */
14137
+ bytedanceGetContentTaskRequest?: GetContentTaskRequest;
13583
14138
  }
13584
14139
 
13585
- export { type AccountInfo, type Action, type ActionEvent, type AlignmentInfoInChunk, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AnthropicStreamChunk, type AnthropicStreamChunkContentOneOf, type AnthropicStreamChunkMessageDelta, type ApplicationBudgetInfo, type AsyncGenerationConfig, type Background, type BashTool, type Blob, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, ChatBisonModel, type ChatBisonModelWithLiterals, type ChatBisonPredictRequest, type ChatBisonPredictResponse, type ChatBisonPrediction, type ChatCompletionChunk, type ChatCompletionChunkChunkChoice, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type ChatInstance, type ChatMessage, type Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, type CitationMetadata, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CompletionTokenDetails, type ComputerUse, type ComputerUseTool, type Container, type ContainerUpload, type Content, type ContentBlock, type ContentBlockDelta, type ContentBlockDeltaDeltaOneOf, type ContentBlockLocationCitation, type ContentBlockTypeOneOf, type ContentData, type ContentGenerationFailedEvent, type ContentGenerationRequestedEvent, type ContentGenerationSucceededEvent, type ContentPart, type ContentPartContentValueOneOf, ContentRole, type ContentRoleWithLiterals, type ConverseContentBlock, type ConverseContentBlockContentOneOf, type ConverseInferenceConfig, type ConverseInputSchema, type ConverseMessage, ConverseModel, type ConverseModelWithLiterals, type ConversePerformanceConfig, type ConverseReasoningContent, type ConverseTool, type ConverseToolResult, type ConverseToolResultContent, type ConverseToolResultContentContentOneOf, type ConverseToolUse, type CreateChatCompletionRequest, type CreateChatCompletionRequestFunctionCallOneOf, type CreateChatCompletionRequestFunctionSignature, type CreateChatCompletionRequestResponseFormat, type CreateChatCompletionRequestTool, type CreateChatCompletionResponse, type CreateChatCompletionResponseChoice, type CreateChatCompletionResponseCompletionTokenDetails, type CreateChatCompletionResponsePromptTokenDetails, type CreateChatCompletionResponseTokenUsage, type CreateEmbeddingsRequest, type CreateEmbeddingsResponse, type CreateEmbeddingsResponseEmbeddingUsage, type CreateImageOpenAiRequest, type CreateImageOpenAiResponse, type CreateImageRequest, type CreateImageResponse, type CreateModerationRequest, type CreateModerationResponse, CreatePredictionModel, type CreatePredictionModelWithLiterals, type CreatePredictionRequest, type CreatePredictionRequestInputOneOf, type CreatePredictionResponse, type CreatePredictionResponseTokenUsage, type CreateSpeechRequest, type CreateSpeechResponse, type CreateTranscriptionRequest, CreateTranscriptionRequestResponseFormat, type CreateTranscriptionRequestResponseFormatWithLiterals, type CreateTranscriptionResponse, type CreateVideoRequest, type CreateVideoResponse, type CustomTool, type DatalabOcr, type DatalabOcrOutput, type DocumentContent, type DocumentSource, type DomainEvent, type DomainEventBodyOneOf, type DynamicRequestConfig, type DynamicRetrievalConfig, DynamicRetrievalConfigMode, type DynamicRetrievalConfigModeWithLiterals, EditAction, type EditActionWithLiterals, type EditImageInput, EditImageModel, type EditImageModelWithLiterals, type EditImageOpenAiRequest, type EditImageOpenAiResponse, type EditImageOptions, type EditImageOptionsRequestOneOf, type EditImageRequest, type EditImageResponse, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, ElevenLabsTextToSpeechModel, type ElevenLabsTextToSpeechModelWithLiterals, EmbeddingEncodingFormat, type EmbeddingEncodingFormatWithLiterals, type EmbeddingInfo, type EmbeddingInfoEmbeddingResultOneOf, type EmbeddingInstance, EmbeddingModel, type EmbeddingModelWithLiterals, type EmbeddingPrediction, type EmbeddingUsage, type EntityCreatedEvent, type EntityDeletedEvent, EntityType, type EntityTypeWithLiterals, type EntityUpdatedEvent, Environment, type EnvironmentWithLiterals, type ErrorInfo, type Example, type ExecutableCode, type Expand, type ExperimentalPromptConfig, type Export, type ExtractFromImageMetrics, ExtractFromImageModel, type ExtractFromImageModelWithLiterals, type ExtractFromImageRequest, type ExtractFromImageRequestInputOneOf, type ExtractFromImageResponse, type ExtractFromImageResponseOutputOneOf, type ExtractFromImageResponseTokenUsage, type ExtractFromImageUrls, type FallbackPromptConfig, type FallbackProperties, type FileContent, type FileInput, type FineTuningSpec, FinishReason, type FinishReasonWithLiterals, type Fireworks_proxyV1ChatCompletionMessage, type Fireworks_proxyV1ChatCompletionMessageContentPart, type Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOf, type Fireworks_proxyV1ChatCompletionMessageImageUrlContent, Fireworks_proxyV1ChatCompletionMessageMessageRole, type Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals, type FloatEmbedding, type FluxDevControlnet, type FluxPulid, type FrameImage, type FunctionCall, type FunctionCallingConfig, type FunctionDeclaration, type FunctionResponse, type FunctionResponseBlob, type FunctionResponsePart, type FunctionResponsePartDataOneOf, type FunctionSignature, type FunctionWithArgs, type GatewayContentBlock, type GatewayContentBlockTypeOneOf, type GatewayMessageDefinition, GatewayMessageDefinitionRole, type GatewayMessageDefinitionRoleWithLiterals, type GatewayToolDefinition, type GatewayToolDefinitionCustomTool, type GatewayToolDefinitionToolOneOf, GenerateAnImageModel, type GenerateAnImageModelWithLiterals, type GenerateAnImageRequest, type GenerateAnImageResponse, type GenerateAudioOptions, type GenerateAudioOptionsAudioRequestOneOf, type GenerateAudioRequest, type GenerateAudioRequestAudioRequestOneOf, type GenerateAudioResponse, type GenerateAudioResponseAudioResponseOneOf, type GenerateAudioStreamedOptions, type GenerateAudioStreamedOptionsAudioRequestOneOf, type GenerateContentByProjectOptions, type GenerateContentByProjectRequest, type GenerateContentByProjectResponse, type GenerateContentByPromptObjectOptions, type GenerateContentByPromptObjectRequest, type GenerateContentByPromptObjectResponse, type GenerateContentByPromptOptions, type GenerateContentByPromptRequest, type GenerateContentByPromptResponse, type GenerateContentModelResponse, type GenerateContentModelResponseResponseOneOf, type GenerateContentRequest, type GenerateContentResponse, type GenerateCoreRequest, GenerateCoreRequestStylePreset, type GenerateCoreRequestStylePresetWithLiterals, type GenerateCoreResponse, type GenerateEmbeddingOptions, type GenerateEmbeddingOptionsEmbeddingRequestOneOf, type GenerateEmbeddingsRequest, type GenerateEmbeddingsRequestEmbeddingRequestOneOf, type GenerateEmbeddingsResponse, type GenerateEmbeddingsResponseEmbeddingResponseOneOf, type GenerateImageByProjectOptions, type GenerateImageByProjectRequest, type GenerateImageByProjectResponse, type GenerateImageByPromptObjectOptions, type GenerateImageByPromptObjectRequest, type GenerateImageByPromptObjectResponse, type GenerateImageByPromptOptions, type GenerateImageByPromptRequest, type GenerateImageByPromptResponse, GenerateImageMlPlatformModel, type GenerateImageMlPlatformModelWithLiterals, type GenerateImageMlPlatformRequest, type GenerateImageMlPlatformRequestInputOneOf, type GenerateImageMlPlatformResponse, type GenerateImageRequest, type GenerateImageResponse, type GenerateModerationOptions, type GenerateModerationOptionsModerationRequestOneOf, type GenerateModerationRequest, type GenerateModerationRequestModerationRequestOneOf, type GenerateModerationResponse, type GenerateModerationResponseModerationResponseOneOf, type GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, type GenerateStableDiffusionRequestOutputFormatWithLiterals, type GenerateStableDiffusionResponse, type GenerateTextByProjectOptions, type GenerateTextByProjectRequest, type GenerateTextByProjectResponse, type GenerateTextByProjectStreamedOptions, type GenerateTextByPromptObjectOptions, type GenerateTextByPromptObjectRequest, type GenerateTextByPromptObjectResponse, type GenerateTextByPromptObjectStreamedOptions, type GenerateTextByPromptOptions, type GenerateTextByPromptRequest, type GenerateTextByPromptResponse, type GenerateTextByPromptStreamedOptions, type GenerateTranscriptionOptions, type GenerateTranscriptionOptionsTranscriptionRequestOneOf, type GenerateTranscriptionRequest, type GenerateTranscriptionRequestTranscriptionRequestOneOf, type GenerateTranscriptionResponse, type GenerateTranscriptionResponseTranscriptionResponseOneOf, type GenerateVideoInstance, type GenerateVideoParameters, type GenerateVideoRequest, type GenerateVideoResponse, type GeneratedAudioChunk, type GeneratedAudioChunkAudioChunkOneOf, type GeneratedContent, type GeneratedTextChunk, type GeneratedTextChunkModelChunkOneOf, type GeneratedVideo, type GenerationConfig, GenerationMode, type GenerationModeWithLiterals, type GenerationRequestedEvent, type GenerationThinkingConfig, type GetApplicationUsageRequest, type GetApplicationUsageResponse, type GetEmbeddingRequest, type GetEmbeddingResponse, type GetProjectRequest, type GetProjectResponse, type GetPromptOptions, type GetPromptRequest, type GetPromptResponse, type GetResultRequest, type GetResultResponse, type GetStatusRequest, type GetStatusResponse, type GetTaskResultRequest, type GetTaskResultResponse, type GetTaskResultResponseResponseOneOf, type GetVideoResultRequest, type GetVideoResultResponse, type GoogleSearch, type GoogleSearchRetrieval, type GoogleproxyV1AnthropicStreamChunk, type GoogleproxyV1AnthropicStreamChunkContentOneOf, type GoogleproxyV1CacheControl, type GoogleproxyV1ChatCompletionMessage, type GoogleproxyV1ContentBlock, type GoogleproxyV1ContentBlockDelta, type GoogleproxyV1ContentBlockDeltaDeltaOneOf, type GoogleproxyV1ContentBlockTypeOneOf, type GoogleproxyV1ImageUrl, type GoogleproxyV1InputSchema, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, type GoogleproxyV1ResponseTypeTypeWithLiterals, type GoogleproxyV1Text, type GoogleproxyV1Thinking, type GoogleproxyV1ThinkingConfig, type GoogleproxyV1Tool, type GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, type GoogleproxyV1ToolChoiceTypeWithLiterals, type GoogleproxyV1ToolResult, type GoogleproxyV1ToolUse, type GoogleproxyV1Usage, type GroundingChunk, type GroundingChunkChunkTypeOneOf, type GroundingMetadata, type GroundingSupport, type Guidance, HarmCategory, type HarmCategoryWithLiterals, HarmProbability, type HarmProbabilityWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, type ImageConfig, ImageCoreModel, type ImageCoreModelWithLiterals, ImageEditingModel, type ImageEditingModelWithLiterals, type ImageEditingRequest, type ImageEditingResponse, type ImageGenerationFailedEvent, type ImageGenerationRequestedEvent, type ImageGenerationSucceededEvent, type ImageInput, ImageMediaTypeMediaType, type ImageMediaTypeMediaTypeWithLiterals, ImageModel, type ImageModelResponse, type ImageModelResponseResponseOneOf, type ImageModelWithLiterals, type ImageObject, type ImageOutputOptions, ImageQuality, type ImageQualityWithLiterals, ImageSize, type ImageSizeWithLiterals, ImageStableDiffusionModel, type ImageStableDiffusionModelWithLiterals, ImageStyle, type ImageStyleWithLiterals, type ImageUrl, type ImageUrlContent, type ImageUrlInput, type ImageUsage, ImagenModel, type ImagenModelWithLiterals, type IncompleteDetails, type InputSchema, type Inputs, type Instance, type InvokeAnthropicClaudeModelRequest, type InvokeAnthropicClaudeModelRequestTool, type InvokeAnthropicClaudeModelResponse, type InvokeAnthropicModelRequest, type InvokeAnthropicModelResponse, type InvokeChatCompletionRequest, type InvokeChatCompletionRequestResponseFormat, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, type InvokeChatCompletionResponse, type InvokeChatCompletionResponseChoice, type InvokeChatCompletionResponseUsage, type InvokeConverseRequest, type InvokeConverseResponse, type InvokeConverseResponseTokenUsage, type InvokeCustomOpenAiModelRequest, type InvokeCustomOpenAiModelRequestFunctionCallOneOf, type InvokeCustomOpenAiModelRequestFunctionSignature, type InvokeCustomOpenAiModelRequestResponseFormat, type InvokeCustomOpenAiModelRequestTool, type InvokeCustomOpenAiModelResponse, type InvokeCustomOpenAiModelResponseChoice, type InvokeCustomOpenAiModelResponseCompletionTokenDetails, type InvokeCustomOpenAiModelResponsePromptTokenDetails, type InvokeCustomOpenAiModelResponseTokenUsage, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonSchema, Language, type LanguageWithLiterals, type Lighting, LlamaModel, type LlamaModelWithLiterals, type LoraModelSelect, type LucatacoFlorence2Large, type Margin, type McpServer, type McpServerToolConfiguration, McpServerType, type McpServerTypeWithLiterals, type McpToolUse, type MediaContent, type MediaResolution, MediaResolutionLevel, type MediaResolutionLevelWithLiterals, MediaType, type MediaTypeWithLiterals, type MessageDelta, type MessageEnvelope, MessageRole, MessageRoleRole, type MessageRoleRoleWithLiterals, type MessageRoleWithLiterals, type Metadata, type Metrics, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelResponse, type ModelResponseResponseOneOf, type ModelWithLiterals, type ModerationResult, type MultiModalInput, type MultiModalInputContentValueOneOf, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, type OpenaiproxyV1ChatCompletionMessage, type OpenaiproxyV1ChatCompletionMessageContentPart, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, type OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, type OpenaiproxyV1CreateChatCompletionRequest, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat, type OpenaiproxyV1CreateChatCompletionResponse, type OpenaiproxyV1CreateChatCompletionResponseChoice, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1EmbeddingModel, type OpenaiproxyV1EmbeddingModelWithLiterals, OpenaiproxyV1Model, type OpenaiproxyV1ModelWithLiterals, OutageStatus, type OutageStatusWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type Output, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, type OutputContent, OutputFormat, type OutputFormatWithLiterals, type OutputOptions, type Padding, type PageLocationCitation, type Parameters, type PerceptronIsaac01, type PerplexityImageDescriptor, type PerplexityMessage, PerplexityMessageMessageRole, type PerplexityMessageMessageRoleWithLiterals, PerplexityModel, type PerplexityModelWithLiterals, PersonGeneration, type PersonGenerationWithLiterals, type PollImageGenerationResultOptions, type PollImageGenerationResultOptionsRequestOneOf, type PollImageGenerationResultRequest, type PollImageGenerationResultRequestRequestOneOf, type PollImageGenerationResultResponse, type PollImageGenerationResultResponseResponseOneOf, type PredictParameters, type Prediction, type PredictionMetrics, type PredictionUrls, type Project, type ProjectConfigChangedDomainEvent, type Prompt, type PromptModelRequestOneOf, type PromptTokenDetails, type PronunciationDictionaryLocator, type PrunaaiZImageTurbo, type PublicationDate, type PublishProjectOptions, type PublishProjectRequest, type PublishProjectResponse, type PublishPromptOptions, type PublishPromptRequest, type PublishPromptResponse, type QwenImageLayered, type ReasoningText, type Recraft_proxyV1EditImageRequest, type Recraft_proxyV1EditImageResponse, type RedactedThinking, type RemoveBackgroundRequest, type RemoveBackgroundResponse, type RequestMetadata, type ResponseFormat, type ResponseMetadata, ResponseType, ResponseTypeType, type ResponseTypeTypeWithLiterals, type ResponseTypeWithLiterals, type ResponsesCodeInterpreter, type ResponsesCodeInterpreterContainer, type ResponsesCodeInterpreterContainerAuto, type ResponsesCodeInterpreterContainerContainerTypeOneOf, type ResponsesCodeInterpreterImageOutput, type ResponsesCodeInterpreterLogsOutput, type ResponsesCodeInterpreterOutput, type ResponsesCodeInterpreterOutputOutputTypeOneOf, type ResponsesCodeInterpreterToolCall, type ResponsesFunction, type ResponsesFunctionToolCall, type ResponsesFunctionToolCallOutput, type ResponsesInputItem, type ResponsesInputItemItemOneOf, type ResponsesInputMessage, type ResponsesInputMessageContent, type ResponsesInputMessageContentContentValueOneOf, type ResponsesInputMessageContentFileInput, type ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, type ResponsesInputMessageResponsesMessageRoleWithLiterals, type ResponsesInputTokensDetails, ResponsesMessageRole, type ResponsesMessageRoleWithLiterals, ResponsesModel, type ResponsesModelWithLiterals, type ResponsesOutput, type ResponsesOutputMessage, type ResponsesOutputMessageOutputContent, type ResponsesOutputOutputOneOf, type ResponsesOutputTokensDetails, type ResponsesReasoning, type ResponsesReasoningContent, type ResponsesReasoningOutput, type ResponsesReasoningSummaryContent, type ResponsesTextFormat, type ResponsesTextFormatFormatOneOf, type ResponsesTextFormatJsonSchema, type ResponsesTokenUsage, type ResponsesTool, type ResponsesToolChoice, type ResponsesToolToolTypeOneOf, type ResponsesWebSearch, type ResponsesWebSearchToolCall, type ResponsesWebSearchToolCallAction, type ResponsesWebSearchUserLocation, type RestoreInfo, type ResultObject, type RetrievalMetadata, type RetrievedContext, type ReveEdit, Role, type RoleWithLiterals, type SafetyAttribute, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type Segmentation, type ServerToolUse, type Shadow, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, type SpeechChunk, SpeechModel, type SpeechModelWithLiterals, type SpiGenerationConfig, type Statistics, StylePreset, type StylePresetWithLiterals, type SystemContentBlock, type SystemInstruction, TaskInput, type TaskInputWithLiterals, TaskType, type TaskTypeWithLiterals, type Text, TextBisonModel, type TextBisonModelWithLiterals, type TextBisonPredictRequest, type TextBisonPredictResponse, type TextBisonPrediction, type TextContent, type TextEditorTool, type TextEmbeddingInstance, type TextEmbeddingParameters, type TextGenerationFailedEvent, type TextGenerationSucceededEvent, type TextInstance, type TextPrompt, type TextRemoval, type TextToImageRequest, TextToImageRequestModel, type TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, type TextToImageRequestStylePresetWithLiterals, type TextToImageResponse, type TextToImageTaskResult, type TextToSpeechChunk, type TextToSpeechRequest, type Thinking, type ThinkingConfig, type ThinkingTextContent, Threshold, type ThresholdWithLiterals, type TimestampGranularities, TimestampGranularity, type TimestampGranularityWithLiterals, type TokenCount, type TokenMetadata, type TokenUsage, type Tool, type ToolCall, type ToolChoice, ToolChoiceType, type ToolChoiceTypeWithLiterals, type ToolConfig, type ToolConfiguration, type ToolResult, type ToolResultContent, type ToolResultContentBlock, type ToolResultContentBlockTypeOneOf, type ToolResultSearchResult, type ToolSpecification, type ToolUse, type ToolUseContent, TranscriptionModel, type TranscriptionModelWithLiterals, Type, type TypeWithLiterals, type UrlCitation, type Usage, type UsageCacheCreation, type UsageMetadata, type UsageServerToolUse, type UserLocation, type UserPerApplicationBudgetInfo, type UserRequestInfo, type V1AnthropicClaudeMessage, type V1AnthropicStreamChunk, type V1AnthropicStreamChunkContentOneOf, type V1AnthropicStreamChunkMessageDelta, type V1CacheControl, V1CacheControlType, type V1CacheControlTypeWithLiterals, type V1ChatCompletionChunk, type V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageFunctionWithArgs, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1ChatCompletionMessageToolCall, type V1Citation, type V1CodeExecutionResult, type V1ContentBlock, type V1ContentBlockDelta, type V1ContentBlockDeltaDeltaOneOf, type V1ContentBlockTypeOneOf, type V1ContentPart, type V1CreateChatCompletionRequest, type V1CreateChatCompletionRequestResponseFormat, type V1CreateChatCompletionRequestTool, type V1CreateChatCompletionResponse, type V1CreateChatCompletionResponseChoice, type V1CreateChatCompletionResponseTokenUsage, type V1CreateEmbeddingsRequest, type V1CreateEmbeddingsResponse, V1EditImageModel, type V1EditImageModelWithLiterals, type V1EditImageRequest, type V1EditImageResponse, V1EmbeddingEncodingFormat, type V1EmbeddingEncodingFormatWithLiterals, type V1EmbeddingInfo, type V1EmbeddingInfoEmbeddingResultOneOf, V1EmbeddingModel, type V1EmbeddingModelWithLiterals, type V1FineTuningSpec, type V1FloatEmbedding, type V1FluxPulid, type V1GetResultRequest, type V1GetResultResponse, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1RedactedThinking, V1ResponseTypeType, type V1ResponseTypeTypeWithLiterals, type V1ResponsesCodeInterpreter, type V1ResponsesCodeInterpreterContainer, type V1ResponsesCodeInterpreterContainerAuto, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf, type V1ResponsesCodeInterpreterImageOutput, type V1ResponsesCodeInterpreterLogsOutput, type V1ResponsesCodeInterpreterOutput, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf, type V1ResponsesCodeInterpreterToolCall, type V1ResponsesFunction, type V1ResponsesFunctionToolCall, type V1ResponsesFunctionToolCallOutput, type V1ResponsesInputItem, type V1ResponsesInputItemItemOneOf, type V1ResponsesInputMessage, type V1ResponsesInputMessageContent, type V1ResponsesInputMessageContentContentValueOneOf, type V1ResponsesInputTokensDetails, V1ResponsesModel, type V1ResponsesModelWithLiterals, type V1ResponsesOutput, type V1ResponsesOutputMessage, type V1ResponsesOutputOutputOneOf, type V1ResponsesOutputTokensDetails, type V1ResponsesReasoning, type V1ResponsesReasoningContent, type V1ResponsesReasoningOutput, type V1ResponsesReasoningSummaryContent, type V1ResponsesTextFormat, type V1ResponsesTextFormatFormatOneOf, type V1ResponsesTokenUsage, type V1ResponsesTool, type V1ResponsesToolChoice, type V1ResponsesToolToolTypeOneOf, type V1ResponsesWebSearch, type V1ResponsesWebSearchToolCall, type V1Segment, type V1SimpleContentBlock, type V1SimpleContentBlockTypeOneOf, type V1Text, type V1TextToImageRequest, type V1TextToImageResponse, type V1Thinking, type V1ThinkingConfig, type V1TokenUsage, type V1Tool, type V1ToolChoice, V1ToolChoiceType, type V1ToolChoiceTypeWithLiterals, type V1ToolConfig, type V1ToolKindOneOf, type V1ToolResult, type V1ToolUse, type V1UrlCitation, type V1Usage, V1VideoModel, type V1VideoModelWithLiterals, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, type VideoInputs, type VideoJob, VideoModel, type VideoModelWithLiterals, type VoiceSettings, type Web, type WebFetchTool, type WebFetchToolResult, type WebFetchToolResultContentError, type WebFetchToolResultContentOneOf, type WebFetchToolResultContentSuccess, type WebSearchResult, type WebSearchResultList, type WebSearchResultLocationCitation, type WebSearchTool, type WebSearchToolResult, type WebSearchToolResultContentOneOf, type WebSearchToolResultError, type WebSearchUserLocation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type Wix_ai_gatewayV1EditImageRequest, type Wix_ai_gatewayV1EditImageRequestRequestOneOf, type Wix_ai_gatewayV1EditImageResponse, type Wix_ai_gatewayV1EditImageResponseResponseOneOf, type Word, 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 };
14140
+ export { type AccountInfo, type Action, type ActionEvent, type AlignmentInfoInChunk, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AnthropicStreamChunk, type AnthropicStreamChunkContentOneOf, type AnthropicStreamChunkMessageDelta, type AnthropicV1ImageUrl, type ApplicationBudgetInfo, type AsyncGenerationConfig, type Background, type BashTool, type Blob, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, ChatBisonModel, type ChatBisonModelWithLiterals, type ChatBisonPredictRequest, type ChatBisonPredictResponse, type ChatBisonPrediction, type ChatCompletionChunk, type ChatCompletionChunkChunkChoice, type ChatCompletionChunkChunkChoiceChunkDelta, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type ChatInstance, type ChatMessage, type Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, type CitationMetadata, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CommonContentTaskResponse, type CompletionTokenDetails, type ComputerUse, type ComputerUseTool, type Container, type ContainerUpload, type Content, type ContentBlock, type ContentBlockDelta, type ContentBlockDeltaDeltaOneOf, type ContentBlockLocationCitation, type ContentBlockTypeOneOf, type ContentData, type ContentGenerationFailedEvent, type ContentGenerationRequestedEvent, type ContentGenerationSucceededEvent, type ContentItem, type ContentPart, type ContentPartContentValueOneOf, ContentRole, type ContentRoleWithLiterals, type ConverseContentBlock, type ConverseContentBlockContentOneOf, type ConverseInferenceConfig, type ConverseInputSchema, type ConverseMessage, ConverseModel, type ConverseModelWithLiterals, type ConversePerformanceConfig, type ConverseReasoningContent, type ConverseTool, type ConverseToolResult, type ConverseToolResultContent, type ConverseToolResultContentContentOneOf, type ConverseToolUse, type CreateChatCompletionRequest, type CreateChatCompletionRequestFunctionCallOneOf, type CreateChatCompletionRequestFunctionSignature, type CreateChatCompletionRequestResponseFormat, type CreateChatCompletionRequestTool, type CreateChatCompletionResponse, type CreateChatCompletionResponseChoice, type CreateChatCompletionResponseCompletionTokenDetails, type CreateChatCompletionResponsePromptTokenDetails, type CreateChatCompletionResponseTokenUsage, type CreateContentTaskRequest, type CreateContentTaskResponse, type CreateEmbeddingsRequest, type CreateEmbeddingsResponse, type CreateEmbeddingsResponseEmbeddingUsage, type CreateImageOpenAiRequest, type CreateImageOpenAiResponse, type CreateImageRequest, type CreateImageResponse, type CreateModerationRequest, type CreateModerationResponse, CreatePredictionModel, type CreatePredictionModelWithLiterals, type CreatePredictionRequest, type CreatePredictionRequestInputOneOf, type CreatePredictionResponse, type CreatePredictionResponseTokenUsage, type CreateSpeechRequest, type CreateSpeechResponse, type CreateTranscriptionRequest, CreateTranscriptionRequestResponseFormat, type CreateTranscriptionRequestResponseFormatWithLiterals, type CreateTranscriptionResponse, type CreateVideoRequest, type CreateVideoResponse, type CustomTool, type DatalabOcr, type DatalabOcrOutput, type DocumentContent, type DocumentSource, type DomainEvent, type DomainEventBodyOneOf, type DraftTask, type DynamicRequestConfig, type DynamicRetrievalConfig, DynamicRetrievalConfigMode, type DynamicRetrievalConfigModeWithLiterals, EditAction, type EditActionWithLiterals, type EditImageInput, EditImageModel, type EditImageModelWithLiterals, type EditImageOpenAiRequest, type EditImageOpenAiResponse, type EditImageOptions, type EditImageOptionsRequestOneOf, type EditImageRequest, type EditImageResponse, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, ElevenLabsTextToSpeechModel, type ElevenLabsTextToSpeechModelWithLiterals, EmbeddingEncodingFormat, type EmbeddingEncodingFormatWithLiterals, type EmbeddingInfo, type EmbeddingInfoEmbeddingResultOneOf, type EmbeddingInstance, EmbeddingModel, type EmbeddingModelWithLiterals, type EmbeddingPrediction, type EmbeddingUsage, type EntityCreatedEvent, type EntityDeletedEvent, EntityType, type EntityTypeWithLiterals, type EntityUpdatedEvent, Environment, type EnvironmentWithLiterals, type ErrorInfo, type Example, type ExecutableCode, type Expand, type ExperimentalPromptConfig, type Export, type ExtractFromImageMetrics, ExtractFromImageModel, type ExtractFromImageModelWithLiterals, type ExtractFromImageRequest, type ExtractFromImageRequestInputOneOf, type ExtractFromImageResponse, type ExtractFromImageResponseOutputOneOf, type ExtractFromImageResponseTokenUsage, type ExtractFromImageUrls, type FallbackPromptConfig, type FallbackProperties, type FileContent, type FileInput, type FineTuningSpec, FinishReason, type FinishReasonWithLiterals, type Fireworks_proxyV1ChatCompletionMessage, type Fireworks_proxyV1ChatCompletionMessageContentPart, type Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOf, type Fireworks_proxyV1ChatCompletionMessageImageUrlContent, Fireworks_proxyV1ChatCompletionMessageMessageRole, type Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals, type FloatEmbedding, type FluxDevControlnet, type FluxPulid, type FrameImage, type FunctionCall, type FunctionCallingConfig, type FunctionDeclaration, type FunctionResponse, type FunctionResponseBlob, type FunctionResponsePart, type FunctionResponsePartDataOneOf, type FunctionSignature, type FunctionWithArgs, type GatewayContentBlock, type GatewayContentBlockTypeOneOf, type GatewayMessageDefinition, GatewayMessageDefinitionRole, type GatewayMessageDefinitionRoleWithLiterals, type GatewayToolDefinition, type GatewayToolDefinitionCustomTool, type GatewayToolDefinitionToolOneOf, GenerateAnImageModel, type GenerateAnImageModelWithLiterals, type GenerateAnImageRequest, type GenerateAnImageResponse, type GenerateAudioOptions, type GenerateAudioOptionsAudioRequestOneOf, type GenerateAudioRequest, type GenerateAudioRequestAudioRequestOneOf, type GenerateAudioResponse, type GenerateAudioResponseAudioResponseOneOf, type GenerateAudioStreamedOptions, type GenerateAudioStreamedOptionsAudioRequestOneOf, type GenerateContentByProjectOptions, type GenerateContentByProjectRequest, type GenerateContentByProjectResponse, type GenerateContentByPromptObjectOptions, type GenerateContentByPromptObjectRequest, type GenerateContentByPromptObjectResponse, type GenerateContentByPromptOptions, type GenerateContentByPromptRequest, type GenerateContentByPromptResponse, type GenerateContentModelResponse, type GenerateContentModelResponseResponseOneOf, type GenerateContentRequest, type GenerateContentResponse, type GenerateCoreRequest, GenerateCoreRequestStylePreset, type GenerateCoreRequestStylePresetWithLiterals, type GenerateCoreResponse, type GenerateEmbeddingOptions, type GenerateEmbeddingOptionsEmbeddingRequestOneOf, type GenerateEmbeddingsRequest, type GenerateEmbeddingsRequestEmbeddingRequestOneOf, type GenerateEmbeddingsResponse, type GenerateEmbeddingsResponseEmbeddingResponseOneOf, type GenerateImageByProjectOptions, type GenerateImageByProjectRequest, type GenerateImageByProjectResponse, type GenerateImageByPromptObjectOptions, type GenerateImageByPromptObjectRequest, type GenerateImageByPromptObjectResponse, type GenerateImageByPromptOptions, type GenerateImageByPromptRequest, type GenerateImageByPromptResponse, GenerateImageMlPlatformModel, type GenerateImageMlPlatformModelWithLiterals, type GenerateImageMlPlatformRequest, type GenerateImageMlPlatformRequestInputOneOf, type GenerateImageMlPlatformResponse, type GenerateImageRequest, type GenerateImageResponse, type GenerateModerationOptions, type GenerateModerationOptionsModerationRequestOneOf, type GenerateModerationRequest, type GenerateModerationRequestModerationRequestOneOf, type GenerateModerationResponse, type GenerateModerationResponseModerationResponseOneOf, type GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, type GenerateStableDiffusionRequestOutputFormatWithLiterals, type GenerateStableDiffusionResponse, type GenerateTextByProjectOptions, type GenerateTextByProjectRequest, type GenerateTextByProjectResponse, type GenerateTextByProjectStreamedOptions, type GenerateTextByPromptObjectOptions, type GenerateTextByPromptObjectRequest, type GenerateTextByPromptObjectResponse, type GenerateTextByPromptObjectStreamedOptions, type GenerateTextByPromptOptions, type GenerateTextByPromptRequest, type GenerateTextByPromptResponse, type GenerateTextByPromptStreamedOptions, type GenerateTranscriptionOptions, type GenerateTranscriptionOptionsTranscriptionRequestOneOf, type GenerateTranscriptionRequest, type GenerateTranscriptionRequestTranscriptionRequestOneOf, type GenerateTranscriptionResponse, type GenerateTranscriptionResponseTranscriptionResponseOneOf, type GenerateVideoInstance, type GenerateVideoParameters, type GenerateVideoRequest, type GenerateVideoResponse, type GeneratedAudioChunk, type GeneratedAudioChunkAudioChunkOneOf, type GeneratedContent, type GeneratedTextChunk, type GeneratedTextChunkModelChunkOneOf, type GeneratedVideo, type GenerationConfig, GenerationMode, type GenerationModeWithLiterals, type GenerationRequestedEvent, type GenerationThinkingConfig, type GetApplicationUsageRequest, type GetApplicationUsageResponse, type GetContentTaskRequest, type GetContentTaskResponse, type GetEmbeddingRequest, type GetEmbeddingResponse, type GetProjectRequest, type GetProjectResponse, type GetPromptOptions, type GetPromptRequest, type GetPromptResponse, type GetResultRequest, type GetResultResponse, type GetStatusRequest, type GetStatusResponse, type GetTaskResultRequest, type GetTaskResultResponse, type GetTaskResultResponseResponseOneOf, type GetVideoResultRequest, type GetVideoResultResponse, type GoogleSearch, type GoogleSearchRetrieval, type GoogleproxyV1AnthropicStreamChunk, type GoogleproxyV1AnthropicStreamChunkContentOneOf, type GoogleproxyV1CacheControl, type GoogleproxyV1ChatCompletionMessage, type GoogleproxyV1ContentBlock, type GoogleproxyV1ContentBlockDelta, type GoogleproxyV1ContentBlockDeltaDeltaOneOf, type GoogleproxyV1ContentBlockTypeOneOf, type GoogleproxyV1ImageUrl, type GoogleproxyV1InputSchema, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, type GoogleproxyV1ResponseTypeTypeWithLiterals, type GoogleproxyV1Text, type GoogleproxyV1Thinking, type GoogleproxyV1ThinkingConfig, type GoogleproxyV1Tool, type GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, type GoogleproxyV1ToolChoiceTypeWithLiterals, type GoogleproxyV1ToolResult, type GoogleproxyV1ToolUse, type GoogleproxyV1Usage, type GroundingChunk, type GroundingChunkChunkTypeOneOf, type GroundingMetadata, type GroundingSupport, type Guidance, HarmCategory, type HarmCategoryWithLiterals, HarmProbability, type HarmProbabilityWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, type ImageConfig, ImageCoreModel, type ImageCoreModelWithLiterals, type ImageData, ImageEditingModel, type ImageEditingModelWithLiterals, type ImageEditingRequest, type ImageEditingResponse, type ImageError, type ImageGenerationFailedEvent, type ImageGenerationRequestedEvent, type ImageGenerationSucceededEvent, type ImageInput, ImageMediaTypeMediaType, type ImageMediaTypeMediaTypeWithLiterals, ImageModel, type ImageModelResponse, type ImageModelResponseResponseOneOf, type ImageModelWithLiterals, type ImageObject, type ImageOutputOptions, ImageQuality, type ImageQualityWithLiterals, ImageSize, type ImageSizeWithLiterals, ImageStableDiffusionModel, type ImageStableDiffusionModelWithLiterals, ImageStyle, type ImageStyleWithLiterals, type ImageUrl, type ImageUrlContent, type ImageUrlInput, type ImageUsage, ImagenModel, type ImagenModelWithLiterals, type IncompleteDetails, type InputSchema, type Inputs, type Instance, type InvokeAnthropicClaudeModelRequest, type InvokeAnthropicClaudeModelRequestTool, type InvokeAnthropicClaudeModelResponse, type InvokeAnthropicModelRequest, type InvokeAnthropicModelResponse, type InvokeChatCompletionRequest, type InvokeChatCompletionRequestResponseFormat, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, type InvokeChatCompletionResponse, type InvokeChatCompletionResponseChoice, type InvokeChatCompletionResponseUsage, type InvokeConverseRequest, type InvokeConverseResponse, type InvokeConverseResponseTokenUsage, type InvokeCustomOpenAiModelRequest, type InvokeCustomOpenAiModelRequestFunctionCallOneOf, type InvokeCustomOpenAiModelRequestFunctionSignature, type InvokeCustomOpenAiModelRequestResponseFormat, type InvokeCustomOpenAiModelRequestTool, type InvokeCustomOpenAiModelResponse, type InvokeCustomOpenAiModelResponseChoice, type InvokeCustomOpenAiModelResponseCompletionTokenDetails, type InvokeCustomOpenAiModelResponsePromptTokenDetails, type InvokeCustomOpenAiModelResponseTokenUsage, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonSchema, Language, type LanguageWithLiterals, type Lighting, LlamaModel, type LlamaModelWithLiterals, type LoraModelSelect, type LucatacoFlorence2Large, type Margin, type McpServer, type McpServerToolConfiguration, McpServerType, type McpServerTypeWithLiterals, type McpToolUse, type MediaContent, type MediaResolution, MediaResolutionLevel, type MediaResolutionLevelWithLiterals, MediaType, type MediaTypeWithLiterals, type MessageDelta, type MessageEnvelope, MessageRole, MessageRoleRole, type MessageRoleRoleWithLiterals, type MessageRoleWithLiterals, type Metadata, type Metrics, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelResponse, type ModelResponseResponseOneOf, type ModelWithLiterals, type ModerationResult, type MultiModalInput, type MultiModalInputContentValueOneOf, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, type OpenaiproxyV1ChatCompletionChunk, type OpenaiproxyV1ChatCompletionMessage, type OpenaiproxyV1ChatCompletionMessageContentPart, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, type OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, type OpenaiproxyV1CreateChatCompletionRequest, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat, type OpenaiproxyV1CreateChatCompletionResponse, type OpenaiproxyV1CreateChatCompletionResponseChoice, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1EmbeddingModel, type OpenaiproxyV1EmbeddingModelWithLiterals, OpenaiproxyV1Model, type OpenaiproxyV1ModelWithLiterals, type OptimizePromptOptions, OutageStatus, type OutageStatusWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type Output, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, type OutputContent, OutputFormat, type OutputFormatWithLiterals, type OutputOptions, type Padding, type PageLocationCitation, type Parameters, type PerceptronIsaac01, type PerplexityImageDescriptor, type PerplexityMessage, PerplexityMessageMessageRole, type PerplexityMessageMessageRoleWithLiterals, PerplexityModel, type PerplexityModelWithLiterals, PersonGeneration, type PersonGenerationWithLiterals, type PollImageGenerationResultOptions, type PollImageGenerationResultOptionsRequestOneOf, type PollImageGenerationResultRequest, type PollImageGenerationResultRequestRequestOneOf, type PollImageGenerationResultResponse, type PollImageGenerationResultResponseResponseOneOf, type PredictParameters, type Prediction, type PredictionMetrics, type PredictionUrls, type Project, type ProjectConfigChangedDomainEvent, type Prompt, type PromptModelRequestOneOf, type PromptTokenDetails, type PronunciationDictionaryLocator, type PrunaaiZImageTurbo, type PublicationDate, type PublishProjectOptions, type PublishProjectRequest, type PublishProjectResponse, type PublishPromptOptions, type PublishPromptRequest, type PublishPromptResponse, type QwenImageLayered, type ReasoningText, type Recraft_proxyV1EditImageRequest, type Recraft_proxyV1EditImageResponse, type RedactedThinking, type RemoveBackgroundRequest, type RemoveBackgroundResponse, type RequestMetadata, type ResponseFormat, type ResponseMetadata, ResponseType, ResponseTypeType, type ResponseTypeTypeWithLiterals, type ResponseTypeWithLiterals, type ResponsesCodeInterpreter, type ResponsesCodeInterpreterContainer, type ResponsesCodeInterpreterContainerAuto, type ResponsesCodeInterpreterContainerContainerTypeOneOf, type ResponsesCodeInterpreterImageOutput, type ResponsesCodeInterpreterLogsOutput, type ResponsesCodeInterpreterOutput, type ResponsesCodeInterpreterOutputOutputTypeOneOf, type ResponsesCodeInterpreterToolCall, type ResponsesFunction, type ResponsesFunctionToolCall, type ResponsesFunctionToolCallOutput, type ResponsesInputItem, type ResponsesInputItemItemOneOf, type ResponsesInputMessage, type ResponsesInputMessageContent, type ResponsesInputMessageContentContentValueOneOf, type ResponsesInputMessageContentFileInput, type ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, type ResponsesInputMessageResponsesMessageRoleWithLiterals, type ResponsesInputTokensDetails, ResponsesMessageRole, type ResponsesMessageRoleWithLiterals, ResponsesModel, type ResponsesModelWithLiterals, type ResponsesOutput, type ResponsesOutputMessage, type ResponsesOutputMessageOutputContent, type ResponsesOutputOutputOneOf, type ResponsesOutputTokensDetails, type ResponsesReasoning, type ResponsesReasoningContent, type ResponsesReasoningOutput, type ResponsesReasoningSummaryContent, type ResponsesTextFormat, type ResponsesTextFormatFormatOneOf, type ResponsesTextFormatJsonSchema, type ResponsesTokenUsage, type ResponsesTool, type ResponsesToolChoice, type ResponsesToolToolTypeOneOf, type ResponsesWebSearch, type ResponsesWebSearchToolCall, type ResponsesWebSearchToolCallAction, type ResponsesWebSearchUserLocation, type RestoreInfo, type ResultObject, type RetrievalMetadata, type RetrievedContext, type ReveEdit, Role, type RoleWithLiterals, type SafetyAttribute, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type Segmentation, type SequentialImageGenerationOptions, type ServerToolUse, type Shadow, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, type SpeechChunk, SpeechModel, type SpeechModelWithLiterals, type SpiGenerationConfig, type Statistics, StylePreset, type StylePresetWithLiterals, type SystemContentBlock, type SystemInstruction, type TaskContent, type TaskError, TaskInput, type TaskInputWithLiterals, TaskType, type TaskTypeWithLiterals, type TaskUsage, type Text, TextBisonModel, type TextBisonModelWithLiterals, type TextBisonPredictRequest, type TextBisonPredictResponse, type TextBisonPrediction, type TextContent, type TextEditorTool, type TextEmbeddingInstance, type TextEmbeddingParameters, type TextGenerationFailedEvent, type TextGenerationSucceededEvent, type TextInstance, type TextPrompt, type TextRemoval, type TextToImageRequest, TextToImageRequestModel, type TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, type TextToImageRequestStylePresetWithLiterals, type TextToImageResponse, type TextToImageTaskResult, type TextToSpeechChunk, type TextToSpeechRequest, type Thinking, type ThinkingConfig, type ThinkingTextContent, Threshold, type ThresholdWithLiterals, type TimestampGranularities, TimestampGranularity, type TimestampGranularityWithLiterals, type TokenCount, type TokenMetadata, type TokenUsage, type Tool, type ToolCall, type ToolChoice, ToolChoiceType, type ToolChoiceTypeWithLiterals, type ToolConfig, type ToolConfiguration, type ToolResult, type ToolResultContent, type ToolResultContentBlock, type ToolResultContentBlockTypeOneOf, type ToolResultSearchResult, type ToolSpecification, type ToolUse, type ToolUseContent, TranscriptionModel, type TranscriptionModelWithLiterals, Type, type TypeWithLiterals, type UrlCitation, type Usage, type UsageCacheCreation, type UsageMetadata, type UsageServerToolUse, type UserLocation, type UserPerApplicationBudgetInfo, type UserRequestInfo, type V1AnthropicClaudeMessage, type V1AnthropicStreamChunk, type V1AnthropicStreamChunkContentOneOf, type V1AnthropicStreamChunkMessageDelta, type V1CacheControl, V1CacheControlType, type V1CacheControlTypeWithLiterals, type V1ChatCompletionChunk, type V1ChatCompletionChunkChunkChoice, type V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageFunctionWithArgs, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1ChatCompletionMessageToolCall, type V1Citation, type V1CodeExecutionResult, type V1ContentBlock, type V1ContentBlockDelta, type V1ContentBlockDeltaDeltaOneOf, type V1ContentBlockTypeOneOf, type V1ContentPart, type V1CreateChatCompletionRequest, type V1CreateChatCompletionRequestResponseFormat, type V1CreateChatCompletionRequestTool, type V1CreateChatCompletionResponse, type V1CreateChatCompletionResponseChoice, type V1CreateChatCompletionResponseTokenUsage, type V1CreateEmbeddingsRequest, type V1CreateEmbeddingsResponse, V1EditImageModel, type V1EditImageModelWithLiterals, type V1EditImageRequest, type V1EditImageResponse, V1EmbeddingEncodingFormat, type V1EmbeddingEncodingFormatWithLiterals, type V1EmbeddingInfo, type V1EmbeddingInfoEmbeddingResultOneOf, V1EmbeddingModel, type V1EmbeddingModelWithLiterals, type V1FineTuningSpec, type V1FloatEmbedding, type V1FluxPulid, type V1GenerateImageRequest, type V1GenerateImageResponse, type V1GetResultRequest, type V1GetResultResponse, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1ImageUsage, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1RedactedThinking, V1ResponseTypeType, type V1ResponseTypeTypeWithLiterals, type V1ResponsesCodeInterpreter, type V1ResponsesCodeInterpreterContainer, type V1ResponsesCodeInterpreterContainerAuto, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf, type V1ResponsesCodeInterpreterImageOutput, type V1ResponsesCodeInterpreterLogsOutput, type V1ResponsesCodeInterpreterOutput, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf, type V1ResponsesCodeInterpreterToolCall, type V1ResponsesFunction, type V1ResponsesFunctionToolCall, type V1ResponsesFunctionToolCallOutput, type V1ResponsesInputItem, type V1ResponsesInputItemItemOneOf, type V1ResponsesInputMessage, type V1ResponsesInputMessageContent, type V1ResponsesInputMessageContentContentValueOneOf, type V1ResponsesInputTokensDetails, V1ResponsesModel, type V1ResponsesModelWithLiterals, type V1ResponsesOutput, type V1ResponsesOutputMessage, type V1ResponsesOutputOutputOneOf, type V1ResponsesOutputTokensDetails, type V1ResponsesReasoning, type V1ResponsesReasoningContent, type V1ResponsesReasoningOutput, type V1ResponsesReasoningSummaryContent, type V1ResponsesTextFormat, type V1ResponsesTextFormatFormatOneOf, type V1ResponsesTokenUsage, type V1ResponsesTool, type V1ResponsesToolChoice, type V1ResponsesToolToolTypeOneOf, type V1ResponsesWebSearch, type V1ResponsesWebSearchToolCall, type V1Segment, type V1SimpleContentBlock, type V1SimpleContentBlockTypeOneOf, type V1Text, type V1TextToImageRequest, type V1TextToImageResponse, type V1Thinking, type V1ThinkingConfig, type V1TokenUsage, type V1Tool, type V1ToolChoice, V1ToolChoiceType, type V1ToolChoiceTypeWithLiterals, type V1ToolConfig, type V1ToolKindOneOf, type V1ToolResult, type V1ToolUse, type V1UrlCitation, type V1Usage, V1VideoModel, type V1VideoModelWithLiterals, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, type VideoInputs, type VideoJob, VideoModel, type VideoModelWithLiterals, type VoiceSettings, type Web, type WebFetchTool, type WebFetchToolResult, type WebFetchToolResultContentError, type WebFetchToolResultContentOneOf, type WebFetchToolResultContentSuccess, type WebSearchResult, type WebSearchResultList, type WebSearchResultLocationCitation, type WebSearchTool, type WebSearchToolResult, type WebSearchToolResultContentOneOf, type WebSearchToolResultError, type WebSearchUserLocation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type Wix_ai_gatewayV1EditImageRequest, type Wix_ai_gatewayV1EditImageRequestRequestOneOf, type Wix_ai_gatewayV1EditImageResponse, type Wix_ai_gatewayV1EditImageResponseResponseOneOf, type Word, 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 };