@wix/auto_sdk_ai-gateway_generators 1.0.76 → 1.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +246 -6
- package/build/cjs/index.js +93 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +93 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +240 -4
- package/build/cjs/meta.js +89 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +246 -6
- package/build/es/index.mjs +93 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +93 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +240 -4
- package/build/es/meta.mjs +89 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -11
- package/build/internal/cjs/index.js +93 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +256 -16
- package/build/internal/cjs/index.typings.js +93 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +240 -4
- package/build/internal/cjs/meta.js +89 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -11
- package/build/internal/es/index.mjs +93 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +256 -16
- package/build/internal/es/index.typings.mjs +93 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +240 -4
- package/build/internal/es/meta.mjs +89 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -875,10 +875,12 @@ declare enum GoogleproxyV1Model {
|
|
|
875
875
|
GEMINI_3_0_PRO = "GEMINI_3_0_PRO",
|
|
876
876
|
GEMINI_3_0_PRO_IMAGE = "GEMINI_3_0_PRO_IMAGE",
|
|
877
877
|
GEMINI_3_0_FLASH = "GEMINI_3_0_FLASH",
|
|
878
|
-
GEMINI_3_1_PRO = "GEMINI_3_1_PRO"
|
|
878
|
+
GEMINI_3_1_PRO = "GEMINI_3_1_PRO",
|
|
879
|
+
GEMINI_3_1_FLASH_IMAGE = "GEMINI_3_1_FLASH_IMAGE",
|
|
880
|
+
GEMINI_3_1_FLASH_LITE = "GEMINI_3_1_FLASH_LITE"
|
|
879
881
|
}
|
|
880
882
|
/** @enumType */
|
|
881
|
-
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';
|
|
883
|
+
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' | 'GEMINI_3_1_FLASH_IMAGE' | 'GEMINI_3_1_FLASH_LITE';
|
|
882
884
|
interface Content {
|
|
883
885
|
/**
|
|
884
886
|
* The role in a conversation associated with the content.
|
|
@@ -8206,6 +8208,21 @@ interface GenerateContentResponse {
|
|
|
8206
8208
|
usageMetadata?: UsageMetadata;
|
|
8207
8209
|
/** Cost of the request in micro cents */
|
|
8208
8210
|
microcentsSpent?: string | null;
|
|
8211
|
+
/**
|
|
8212
|
+
* Returns the prompt's feedback related to the content filters.
|
|
8213
|
+
* When the prompt is blocked, no candidates are returned and this field contains the block reason and safety ratings.
|
|
8214
|
+
*/
|
|
8215
|
+
promptFeedback?: PromptFeedback;
|
|
8216
|
+
/**
|
|
8217
|
+
* Output only. The model version used to generate the response.
|
|
8218
|
+
* @maxLength 1000
|
|
8219
|
+
*/
|
|
8220
|
+
modelVersion?: string | null;
|
|
8221
|
+
/**
|
|
8222
|
+
* Output only. Unique identifier for the response.
|
|
8223
|
+
* @maxLength 1000
|
|
8224
|
+
*/
|
|
8225
|
+
responseId?: string | null;
|
|
8209
8226
|
}
|
|
8210
8227
|
interface Candidate {
|
|
8211
8228
|
/** The generated response content. */
|
|
@@ -8302,6 +8319,8 @@ declare enum FinishReason {
|
|
|
8302
8319
|
MALFORMED_FUNCTION_CALL = "MALFORMED_FUNCTION_CALL",
|
|
8303
8320
|
/** Token generation stopped because generated images contain safety violations. */
|
|
8304
8321
|
IMAGE_SAFETY = "IMAGE_SAFETY",
|
|
8322
|
+
/** Token generation stopped because it was blocked by Model Armor. */
|
|
8323
|
+
MODEL_ARMOR = "MODEL_ARMOR",
|
|
8305
8324
|
/** Model generated a tool call but no tools were enabled in the request. */
|
|
8306
8325
|
UNEXPECTED_TOOL_CALL = "UNEXPECTED_TOOL_CALL",
|
|
8307
8326
|
/** Model called too many tools consecutively, thus the system exited execution. */
|
|
@@ -8318,7 +8337,7 @@ declare enum FinishReason {
|
|
|
8318
8337
|
MISSING_THOUGHT_SIGNATURE = "MISSING_THOUGHT_SIGNATURE"
|
|
8319
8338
|
}
|
|
8320
8339
|
/** @enumType */
|
|
8321
|
-
type FinishReasonWithLiterals = FinishReason | 'UNKNOWN_FINISH_REASON' | 'UNSPECIFIED' | 'STOP' | 'MAX_TOKENS' | 'SAFETY' | 'RECITATION' | 'OTHER' | 'LANGUAGE' | 'BLOCKLIST' | 'PROHIBITED_CONTENT' | 'SPII' | 'MALFORMED_FUNCTION_CALL' | 'IMAGE_SAFETY' | 'UNEXPECTED_TOOL_CALL' | 'TOO_MANY_TOOL_CALLS' | 'IMAGE_PROHIBITED_CONTENT' | 'IMAGE_OTHER' | 'NO_IMAGE' | 'IMAGE_RECITATION' | 'MISSING_THOUGHT_SIGNATURE';
|
|
8340
|
+
type FinishReasonWithLiterals = FinishReason | 'UNKNOWN_FINISH_REASON' | 'UNSPECIFIED' | 'STOP' | 'MAX_TOKENS' | 'SAFETY' | 'RECITATION' | 'OTHER' | 'LANGUAGE' | 'BLOCKLIST' | 'PROHIBITED_CONTENT' | 'SPII' | 'MALFORMED_FUNCTION_CALL' | 'IMAGE_SAFETY' | 'MODEL_ARMOR' | 'UNEXPECTED_TOOL_CALL' | 'TOO_MANY_TOOL_CALLS' | 'IMAGE_PROHIBITED_CONTENT' | 'IMAGE_OTHER' | 'NO_IMAGE' | 'IMAGE_RECITATION' | 'MISSING_THOUGHT_SIGNATURE';
|
|
8322
8341
|
interface SafetyRating {
|
|
8323
8342
|
/** The safety category that the response belongs to. */
|
|
8324
8343
|
category?: HarmCategoryWithLiterals;
|
|
@@ -8549,6 +8568,28 @@ interface ModalityTokenCount {
|
|
|
8549
8568
|
/** Number of tokens. */
|
|
8550
8569
|
tokenCount?: string | null;
|
|
8551
8570
|
}
|
|
8571
|
+
/**
|
|
8572
|
+
* Feedback on the prompt provided to the model. When the prompt is blocked,
|
|
8573
|
+
* no candidates are returned and this contains the reason and safety ratings.
|
|
8574
|
+
*/
|
|
8575
|
+
interface PromptFeedback {
|
|
8576
|
+
/**
|
|
8577
|
+
* If set, the prompt was blocked and no candidates are returned.
|
|
8578
|
+
* Possible values include: SAFETY, OTHER, BLOCKLIST, PROHIBITED_CONTENT, IMAGE_SAFETY, MODEL_ARMOR, JAILBREAK.
|
|
8579
|
+
* @maxLength 1000
|
|
8580
|
+
*/
|
|
8581
|
+
blockReason?: string | null;
|
|
8582
|
+
/**
|
|
8583
|
+
* Ratings for safety of the prompt. There is at most one rating per category.
|
|
8584
|
+
* @maxSize 100
|
|
8585
|
+
*/
|
|
8586
|
+
safetyRatings?: SafetyRating[];
|
|
8587
|
+
/**
|
|
8588
|
+
* A readable block reason message.
|
|
8589
|
+
* @maxLength 100000
|
|
8590
|
+
*/
|
|
8591
|
+
blockReasonMessage?: string | null;
|
|
8592
|
+
}
|
|
8552
8593
|
interface InvokeAnthropicClaudeModelResponse {
|
|
8553
8594
|
/**
|
|
8554
8595
|
* The unique identifier for the response. The format and length of the ID might change over time.
|
|
@@ -12037,6 +12078,8 @@ interface Wix_ai_gatewayV1EditImageRequest extends Wix_ai_gatewayV1EditImageRequ
|
|
|
12037
12078
|
recraftEditImageRequest?: Recraft_proxyV1EditImageRequest;
|
|
12038
12079
|
/** Replicate extract from image */
|
|
12039
12080
|
replicateExtractFromImageRequest?: ExtractFromImageRequest;
|
|
12081
|
+
/** Google Vision OCR (text detection from image) */
|
|
12082
|
+
googleDetectTextRequest?: DetectTextRequest;
|
|
12040
12083
|
/** Contains additional information for the request. */
|
|
12041
12084
|
userRequestInfo?: UserRequestInfo;
|
|
12042
12085
|
}
|
|
@@ -12054,6 +12097,8 @@ interface Wix_ai_gatewayV1EditImageRequestRequestOneOf {
|
|
|
12054
12097
|
recraftEditImageRequest?: Recraft_proxyV1EditImageRequest;
|
|
12055
12098
|
/** Replicate extract from image */
|
|
12056
12099
|
replicateExtractFromImageRequest?: ExtractFromImageRequest;
|
|
12100
|
+
/** Google Vision OCR (text detection from image) */
|
|
12101
|
+
googleDetectTextRequest?: DetectTextRequest;
|
|
12057
12102
|
}
|
|
12058
12103
|
interface RemoveBackgroundRequest {
|
|
12059
12104
|
/**
|
|
@@ -12563,6 +12608,42 @@ interface DatalabOcr {
|
|
|
12563
12608
|
/** Whether to return individual pages (for PDF inputs) */
|
|
12564
12609
|
returnPages?: boolean | null;
|
|
12565
12610
|
}
|
|
12611
|
+
/** mimics https://cloud.google.com/vision/docs/ocr */
|
|
12612
|
+
interface DetectTextRequest {
|
|
12613
|
+
/** The image to perform text detection on. */
|
|
12614
|
+
image?: VisionImage;
|
|
12615
|
+
/**
|
|
12616
|
+
* The type of text detection to perform.
|
|
12617
|
+
* Supported values: "TEXT_DETECTION" (default, optimized for sparse text in photos/signs),
|
|
12618
|
+
* "DOCUMENT_TEXT_DETECTION" (optimized for dense text and documents, returns page/block/paragraph structure).
|
|
12619
|
+
* @maxLength 50
|
|
12620
|
+
*/
|
|
12621
|
+
featureType?: string | null;
|
|
12622
|
+
/** Additional context for the image, such as language hints. */
|
|
12623
|
+
imageContext?: VisionImageContext;
|
|
12624
|
+
/**
|
|
12625
|
+
* The model version to use for text detection.
|
|
12626
|
+
* Supported values: "builtin/stable" (default), "builtin/weekly" (cutting-edge, refreshed weekly).
|
|
12627
|
+
* @maxLength 100
|
|
12628
|
+
*/
|
|
12629
|
+
model?: string | null;
|
|
12630
|
+
}
|
|
12631
|
+
interface VisionImage {
|
|
12632
|
+
/**
|
|
12633
|
+
* URL of the image to analyze (WixMP, WixStatic, or any publicly accessible URL).
|
|
12634
|
+
* The proxy will download the image and send it as base64 to Google Vision API.
|
|
12635
|
+
* @maxLength 2048
|
|
12636
|
+
*/
|
|
12637
|
+
url?: string | null;
|
|
12638
|
+
}
|
|
12639
|
+
interface VisionImageContext {
|
|
12640
|
+
/**
|
|
12641
|
+
* List of language hints (BCP-47 language codes) to aid text detection.
|
|
12642
|
+
* @maxSize 100
|
|
12643
|
+
* @maxLength 50
|
|
12644
|
+
*/
|
|
12645
|
+
languageHints?: string[] | null;
|
|
12646
|
+
}
|
|
12566
12647
|
interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
|
|
12567
12648
|
/** Photoroom remove background response */
|
|
12568
12649
|
photoroomRemoveBackgroundResponse?: RemoveBackgroundResponse;
|
|
@@ -12576,6 +12657,8 @@ interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageRes
|
|
|
12576
12657
|
recraftEditImageResponse?: Recraft_proxyV1EditImageResponse;
|
|
12577
12658
|
/** Replicate extract from image response */
|
|
12578
12659
|
replicateExtractFromImageResponse?: ExtractFromImageResponse;
|
|
12660
|
+
/** Google Vision OCR (text detection from image) response */
|
|
12661
|
+
googleDetectTextResponse?: DetectTextResponse;
|
|
12579
12662
|
/** Extracted cost of the request in microcents. */
|
|
12580
12663
|
cost?: string | null;
|
|
12581
12664
|
}
|
|
@@ -12593,6 +12676,8 @@ interface Wix_ai_gatewayV1EditImageResponseResponseOneOf {
|
|
|
12593
12676
|
recraftEditImageResponse?: Recraft_proxyV1EditImageResponse;
|
|
12594
12677
|
/** Replicate extract from image response */
|
|
12595
12678
|
replicateExtractFromImageResponse?: ExtractFromImageResponse;
|
|
12679
|
+
/** Google Vision OCR (text detection from image) response */
|
|
12680
|
+
googleDetectTextResponse?: DetectTextResponse;
|
|
12596
12681
|
}
|
|
12597
12682
|
interface RemoveBackgroundResponse {
|
|
12598
12683
|
/**
|
|
@@ -12847,6 +12932,157 @@ interface ExtractFromImageResponseTokenUsage {
|
|
|
12847
12932
|
/** Number of output tokens generated by the model (if applicable) */
|
|
12848
12933
|
outputTokens?: number | null;
|
|
12849
12934
|
}
|
|
12935
|
+
interface DetectTextResponse {
|
|
12936
|
+
/**
|
|
12937
|
+
* Individual text annotations (first entry is the full detected text, rest are words/blocks).
|
|
12938
|
+
* @maxSize 10000
|
|
12939
|
+
*/
|
|
12940
|
+
textAnnotations?: TextAnnotation[];
|
|
12941
|
+
/** Full text annotation with structural information (pages, blocks, paragraphs, words, symbols). */
|
|
12942
|
+
fullTextAnnotation?: FullTextAnnotation;
|
|
12943
|
+
/** Cost of the request in micro cents. */
|
|
12944
|
+
microcentsSpent?: string | null;
|
|
12945
|
+
}
|
|
12946
|
+
interface TextAnnotation {
|
|
12947
|
+
/**
|
|
12948
|
+
* The detected text content.
|
|
12949
|
+
* @maxLength 1000000
|
|
12950
|
+
*/
|
|
12951
|
+
description?: string | null;
|
|
12952
|
+
/**
|
|
12953
|
+
* The detected language code (e.g., "en") for the first annotation only.
|
|
12954
|
+
* @maxLength 20
|
|
12955
|
+
*/
|
|
12956
|
+
locale?: string | null;
|
|
12957
|
+
/** The bounding polygon for the detected text. */
|
|
12958
|
+
boundingPoly?: BoundingPoly;
|
|
12959
|
+
/** Confidence of the OCR results for this annotation. Range [0, 1]. */
|
|
12960
|
+
confidence?: number | null;
|
|
12961
|
+
}
|
|
12962
|
+
interface BoundingPoly {
|
|
12963
|
+
/**
|
|
12964
|
+
* The bounding polygon vertices.
|
|
12965
|
+
* @maxSize 100
|
|
12966
|
+
*/
|
|
12967
|
+
vertices?: Vertex[];
|
|
12968
|
+
}
|
|
12969
|
+
interface Vertex {
|
|
12970
|
+
/** X coordinate. */
|
|
12971
|
+
x?: number | null;
|
|
12972
|
+
/** Y coordinate. */
|
|
12973
|
+
y?: number | null;
|
|
12974
|
+
}
|
|
12975
|
+
interface FullTextAnnotation {
|
|
12976
|
+
/**
|
|
12977
|
+
* Structural hierarchy of OCR detected text: pages -> blocks -> paragraphs -> words -> symbols.
|
|
12978
|
+
* @maxSize 100
|
|
12979
|
+
*/
|
|
12980
|
+
pages?: OcrPage[];
|
|
12981
|
+
/**
|
|
12982
|
+
* The full detected text (UTF-8).
|
|
12983
|
+
* @maxLength 1000000
|
|
12984
|
+
*/
|
|
12985
|
+
text?: string | null;
|
|
12986
|
+
}
|
|
12987
|
+
interface OcrPage {
|
|
12988
|
+
/** Detected languages on this page. */
|
|
12989
|
+
property?: OcrTextProperty;
|
|
12990
|
+
/** Page width in pixels. */
|
|
12991
|
+
width?: number | null;
|
|
12992
|
+
/** Page height in pixels. */
|
|
12993
|
+
height?: number | null;
|
|
12994
|
+
/**
|
|
12995
|
+
* List of blocks of text, images, etc. on this page.
|
|
12996
|
+
* @maxSize 10000
|
|
12997
|
+
*/
|
|
12998
|
+
blocks?: OcrBlock[];
|
|
12999
|
+
/** Confidence for the page. Range [0, 1]. */
|
|
13000
|
+
confidence?: number | null;
|
|
13001
|
+
}
|
|
13002
|
+
interface OcrTextProperty {
|
|
13003
|
+
/**
|
|
13004
|
+
* A list of detected languages with confidence.
|
|
13005
|
+
* @maxSize 100
|
|
13006
|
+
*/
|
|
13007
|
+
detectedLanguages?: OcrDetectedLanguage[];
|
|
13008
|
+
/** Detected start or end of a text segment. */
|
|
13009
|
+
detectedBreak?: OcrDetectedBreak;
|
|
13010
|
+
}
|
|
13011
|
+
interface OcrDetectedLanguage {
|
|
13012
|
+
/**
|
|
13013
|
+
* The BCP-47 language code, such as "en" or "sr-Latn".
|
|
13014
|
+
* @maxLength 50
|
|
13015
|
+
*/
|
|
13016
|
+
languageCode?: string | null;
|
|
13017
|
+
/** Confidence of detected language. Range [0, 1]. */
|
|
13018
|
+
confidence?: number | null;
|
|
13019
|
+
}
|
|
13020
|
+
interface OcrDetectedBreak {
|
|
13021
|
+
/**
|
|
13022
|
+
* Detected break type (UNKNOWN, SPACE, SURE_SPACE, EOL_SURE_SPACE, HYPHEN, LINE_BREAK).
|
|
13023
|
+
* @maxLength 50
|
|
13024
|
+
*/
|
|
13025
|
+
type?: string | null;
|
|
13026
|
+
/** True if break prepends the element. */
|
|
13027
|
+
isPrefix?: boolean | null;
|
|
13028
|
+
}
|
|
13029
|
+
interface OcrBlock {
|
|
13030
|
+
/** Detected languages and break info. */
|
|
13031
|
+
property?: OcrTextProperty;
|
|
13032
|
+
/** The bounding box for the block. */
|
|
13033
|
+
boundingBox?: BoundingPoly;
|
|
13034
|
+
/**
|
|
13035
|
+
* List of paragraphs in this block.
|
|
13036
|
+
* @maxSize 10000
|
|
13037
|
+
*/
|
|
13038
|
+
paragraphs?: OcrParagraph[];
|
|
13039
|
+
/**
|
|
13040
|
+
* Detected block type (TEXT, TABLE, PICTURE, RULER, BARCODE).
|
|
13041
|
+
* @maxLength 50
|
|
13042
|
+
*/
|
|
13043
|
+
blockType?: string | null;
|
|
13044
|
+
/** Confidence for the block. Range [0, 1]. */
|
|
13045
|
+
confidence?: number | null;
|
|
13046
|
+
}
|
|
13047
|
+
interface OcrParagraph {
|
|
13048
|
+
/** Detected languages and break info. */
|
|
13049
|
+
property?: OcrTextProperty;
|
|
13050
|
+
/** The bounding box for the paragraph. */
|
|
13051
|
+
boundingBox?: BoundingPoly;
|
|
13052
|
+
/**
|
|
13053
|
+
* List of words in this paragraph.
|
|
13054
|
+
* @maxSize 10000
|
|
13055
|
+
*/
|
|
13056
|
+
words?: OcrWord[];
|
|
13057
|
+
/** Confidence for the paragraph. Range [0, 1]. */
|
|
13058
|
+
confidence?: number | null;
|
|
13059
|
+
}
|
|
13060
|
+
interface OcrWord {
|
|
13061
|
+
/** Detected languages and break info. */
|
|
13062
|
+
property?: OcrTextProperty;
|
|
13063
|
+
/** The bounding box for the word. */
|
|
13064
|
+
boundingBox?: BoundingPoly;
|
|
13065
|
+
/**
|
|
13066
|
+
* List of symbols (characters) in this word.
|
|
13067
|
+
* @maxSize 1000
|
|
13068
|
+
*/
|
|
13069
|
+
symbols?: OcrSymbol[];
|
|
13070
|
+
/** Confidence for the word. Range [0, 1]. */
|
|
13071
|
+
confidence?: number | null;
|
|
13072
|
+
}
|
|
13073
|
+
interface OcrSymbol {
|
|
13074
|
+
/** Detected languages and break info. */
|
|
13075
|
+
property?: OcrTextProperty;
|
|
13076
|
+
/** The bounding box for the symbol. */
|
|
13077
|
+
boundingBox?: BoundingPoly;
|
|
13078
|
+
/**
|
|
13079
|
+
* The actual UTF-8 representation of the symbol.
|
|
13080
|
+
* @maxLength 10
|
|
13081
|
+
*/
|
|
13082
|
+
text?: string | null;
|
|
13083
|
+
/** Confidence for the symbol. Range [0, 1]. */
|
|
13084
|
+
confidence?: number | null;
|
|
13085
|
+
}
|
|
12850
13086
|
interface PollImageGenerationResultRequest extends PollImageGenerationResultRequestRequestOneOf {
|
|
12851
13087
|
/** replicate proxy getResult request */
|
|
12852
13088
|
replicateGetResultRequest?: V1GetResultRequest;
|
|
@@ -13442,7 +13678,7 @@ interface GenerateAudioStreamedOptionsAudioRequestOneOf {
|
|
|
13442
13678
|
elevenlabsTextToSpeechRequest?: TextToSpeechRequest;
|
|
13443
13679
|
}
|
|
13444
13680
|
interface PublishPromptOptions {
|
|
13445
|
-
prompt
|
|
13681
|
+
prompt?: {
|
|
13446
13682
|
/** OpenAI chat completion request. */
|
|
13447
13683
|
openAiChatCompletionRequest?: OpenaiproxyV1CreateChatCompletionRequest;
|
|
13448
13684
|
/** Azure OpenAI chat completion request. */
|
|
@@ -13538,7 +13774,7 @@ interface GetPromptOptions {
|
|
|
13538
13774
|
dynamicProperties?: Record<string, string>;
|
|
13539
13775
|
}
|
|
13540
13776
|
interface PublishProjectOptions {
|
|
13541
|
-
project
|
|
13777
|
+
project?: {
|
|
13542
13778
|
/**
|
|
13543
13779
|
* Project id.
|
|
13544
13780
|
* @format GUID
|
|
@@ -13568,6 +13804,8 @@ interface EditImageOptions extends EditImageOptionsRequestOneOf {
|
|
|
13568
13804
|
recraftEditImageRequest?: Recraft_proxyV1EditImageRequest;
|
|
13569
13805
|
/** Replicate extract from image */
|
|
13570
13806
|
replicateExtractFromImageRequest?: ExtractFromImageRequest;
|
|
13807
|
+
/** Google Vision OCR (text detection from image) */
|
|
13808
|
+
googleDetectTextRequest?: DetectTextRequest;
|
|
13571
13809
|
}
|
|
13572
13810
|
/** @oneof */
|
|
13573
13811
|
interface EditImageOptionsRequestOneOf {
|
|
@@ -13583,6 +13821,8 @@ interface EditImageOptionsRequestOneOf {
|
|
|
13583
13821
|
recraftEditImageRequest?: Recraft_proxyV1EditImageRequest;
|
|
13584
13822
|
/** Replicate extract from image */
|
|
13585
13823
|
replicateExtractFromImageRequest?: ExtractFromImageRequest;
|
|
13824
|
+
/** Google Vision OCR (text detection from image) */
|
|
13825
|
+
googleDetectTextRequest?: DetectTextRequest;
|
|
13586
13826
|
}
|
|
13587
13827
|
interface PollImageGenerationResultOptions extends PollImageGenerationResultOptionsRequestOneOf {
|
|
13588
13828
|
/** Contains additional information for the request. */
|
|
@@ -13612,4 +13852,4 @@ interface PollImageGenerationResultOptionsRequestOneOf {
|
|
|
13612
13852
|
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
13613
13853
|
}
|
|
13614
13854
|
|
|
13615
|
-
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, 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 Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, 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 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 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 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 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, type TextContent, type TextEditorTool, type TextEmbeddingInstance, type TextEmbeddingParameters, type TextGenerationFailedEvent, type TextGenerationSucceededEvent, 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 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 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 };
|
|
13855
|
+
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 BoundingPoly, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, 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 Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, 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 DetectTextRequest, type DetectTextResponse, 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 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 FullTextAnnotation, 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 Metrics, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelResponse, type ModelResponseResponseOneOf, type ModelWithLiterals, type ModerationResult, type MultiModalInput, type MultiModalInputContentValueOneOf, type OcrBlock, type OcrDetectedBreak, type OcrDetectedLanguage, type OcrPage, type OcrParagraph, type OcrSymbol, type OcrTextProperty, type OcrWord, 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 Prediction, type PredictionMetrics, type PredictionUrls, type Project, type ProjectConfigChangedDomainEvent, type Prompt, type PromptFeedback, 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 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, type TextAnnotation, type TextContent, type TextEditorTool, type TextEmbeddingInstance, type TextEmbeddingParameters, type TextGenerationFailedEvent, type TextGenerationSucceededEvent, 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 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 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, type Vertex, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, type VideoInputs, type VideoJob, VideoModel, type VideoModelWithLiterals, type VisionImage, type VisionImageContext, 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 };
|
package/build/cjs/index.js
CHANGED
|
@@ -255,6 +255,12 @@ function generateTextByPrompt(payload) {
|
|
|
255
255
|
{
|
|
256
256
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
257
257
|
},
|
|
258
|
+
{
|
|
259
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
263
|
+
},
|
|
258
264
|
{ path: "response.openAiResponsesResponse.temperature" },
|
|
259
265
|
{
|
|
260
266
|
path: "materializedPrompt.openAiChatCompletionRequest.temperature"
|
|
@@ -461,6 +467,12 @@ function generateTextByPromptStreamed(payload) {
|
|
|
461
467
|
{
|
|
462
468
|
path: "googleGeminiStreamChunk.candidates.safetyRatings.severityScore"
|
|
463
469
|
},
|
|
470
|
+
{
|
|
471
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.probabilityScore"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.severityScore"
|
|
475
|
+
},
|
|
464
476
|
{
|
|
465
477
|
path: "googleGeminiStreamChunk.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
466
478
|
isRepeated: true
|
|
@@ -603,6 +615,12 @@ function generateTextByPromptObject(payload) {
|
|
|
603
615
|
{
|
|
604
616
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
605
617
|
},
|
|
618
|
+
{
|
|
619
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
623
|
+
},
|
|
606
624
|
{ path: "response.openAiResponsesResponse.temperature" },
|
|
607
625
|
{
|
|
608
626
|
path: "materializedPrompt.openAiChatCompletionRequest.temperature"
|
|
@@ -902,6 +920,12 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
902
920
|
{
|
|
903
921
|
path: "googleGeminiStreamChunk.candidates.safetyRatings.severityScore"
|
|
904
922
|
},
|
|
923
|
+
{
|
|
924
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.probabilityScore"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.severityScore"
|
|
928
|
+
},
|
|
905
929
|
{
|
|
906
930
|
path: "googleGeminiStreamChunk.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
907
931
|
isRepeated: true
|
|
@@ -991,6 +1015,12 @@ function generateTextByProject(payload) {
|
|
|
991
1015
|
{
|
|
992
1016
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
993
1017
|
},
|
|
1018
|
+
{
|
|
1019
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
1023
|
+
},
|
|
994
1024
|
{ path: "response.openAiResponsesResponse.temperature" },
|
|
995
1025
|
{
|
|
996
1026
|
path: "materializedPrompt.openAiChatCompletionRequest.temperature"
|
|
@@ -1197,6 +1227,12 @@ function generateTextByProjectStreamed(payload) {
|
|
|
1197
1227
|
{
|
|
1198
1228
|
path: "googleGeminiStreamChunk.candidates.safetyRatings.severityScore"
|
|
1199
1229
|
},
|
|
1230
|
+
{
|
|
1231
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.probabilityScore"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.severityScore"
|
|
1235
|
+
},
|
|
1200
1236
|
{
|
|
1201
1237
|
path: "googleGeminiStreamChunk.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
1202
1238
|
isRepeated: true
|
|
@@ -1924,6 +1960,12 @@ function generateContentByPrompt(payload) {
|
|
|
1924
1960
|
{
|
|
1925
1961
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
1926
1962
|
},
|
|
1963
|
+
{
|
|
1964
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
1968
|
+
},
|
|
1927
1969
|
{
|
|
1928
1970
|
path: "response.googleGenerateImageResponse.predictions.safetyAttributes.scores",
|
|
1929
1971
|
isRepeated: true
|
|
@@ -2135,6 +2177,12 @@ function generateContentByProject(payload) {
|
|
|
2135
2177
|
{
|
|
2136
2178
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
2137
2179
|
},
|
|
2180
|
+
{
|
|
2181
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
2185
|
+
},
|
|
2138
2186
|
{
|
|
2139
2187
|
path: "response.googleGenerateImageResponse.predictions.safetyAttributes.scores",
|
|
2140
2188
|
isRepeated: true
|
|
@@ -2439,6 +2487,12 @@ function generateContentByPromptObject(payload) {
|
|
|
2439
2487
|
{
|
|
2440
2488
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
|
|
2441
2489
|
},
|
|
2490
|
+
{
|
|
2491
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
|
|
2495
|
+
},
|
|
2442
2496
|
{
|
|
2443
2497
|
path: "response.googleGenerateImageResponse.predictions.safetyAttributes.scores",
|
|
2444
2498
|
isRepeated: true
|
|
@@ -3144,7 +3198,38 @@ function editImage(payload) {
|
|
|
3144
3198
|
{ path: "replicateEditImageResponse.metrics.predictTime" },
|
|
3145
3199
|
{ path: "replicateEditImageResponse.metrics.totalTime" },
|
|
3146
3200
|
{ path: "replicateExtractFromImageResponse.metrics.extractTime" },
|
|
3147
|
-
{ path: "replicateExtractFromImageResponse.metrics.totalTime" }
|
|
3201
|
+
{ path: "replicateExtractFromImageResponse.metrics.totalTime" },
|
|
3202
|
+
{ path: "googleDetectTextResponse.textAnnotations.confidence" },
|
|
3203
|
+
{
|
|
3204
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.confidence"
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.property.detectedLanguages.confidence"
|
|
3208
|
+
},
|
|
3209
|
+
{
|
|
3210
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.confidence"
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.property.detectedLanguages.confidence"
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.confidence"
|
|
3217
|
+
},
|
|
3218
|
+
{
|
|
3219
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.property.detectedLanguages.confidence"
|
|
3220
|
+
},
|
|
3221
|
+
{
|
|
3222
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.confidence"
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.property.detectedLanguages.confidence"
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.symbols.confidence"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.symbols.property.detectedLanguages.confidence"
|
|
3232
|
+
}
|
|
3148
3233
|
]
|
|
3149
3234
|
}
|
|
3150
3235
|
])
|
|
@@ -3277,6 +3362,8 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
|
|
|
3277
3362
|
GoogleproxyV1Model2["GEMINI_3_0_PRO_IMAGE"] = "GEMINI_3_0_PRO_IMAGE";
|
|
3278
3363
|
GoogleproxyV1Model2["GEMINI_3_0_FLASH"] = "GEMINI_3_0_FLASH";
|
|
3279
3364
|
GoogleproxyV1Model2["GEMINI_3_1_PRO"] = "GEMINI_3_1_PRO";
|
|
3365
|
+
GoogleproxyV1Model2["GEMINI_3_1_FLASH_IMAGE"] = "GEMINI_3_1_FLASH_IMAGE";
|
|
3366
|
+
GoogleproxyV1Model2["GEMINI_3_1_FLASH_LITE"] = "GEMINI_3_1_FLASH_LITE";
|
|
3280
3367
|
return GoogleproxyV1Model2;
|
|
3281
3368
|
})(GoogleproxyV1Model || {});
|
|
3282
3369
|
var ContentRole = /* @__PURE__ */ ((ContentRole2) => {
|
|
@@ -3891,6 +3978,7 @@ var FinishReason = /* @__PURE__ */ ((FinishReason2) => {
|
|
|
3891
3978
|
FinishReason2["SPII"] = "SPII";
|
|
3892
3979
|
FinishReason2["MALFORMED_FUNCTION_CALL"] = "MALFORMED_FUNCTION_CALL";
|
|
3893
3980
|
FinishReason2["IMAGE_SAFETY"] = "IMAGE_SAFETY";
|
|
3981
|
+
FinishReason2["MODEL_ARMOR"] = "MODEL_ARMOR";
|
|
3894
3982
|
FinishReason2["UNEXPECTED_TOOL_CALL"] = "UNEXPECTED_TOOL_CALL";
|
|
3895
3983
|
FinishReason2["TOO_MANY_TOOL_CALLS"] = "TOO_MANY_TOOL_CALLS";
|
|
3896
3984
|
FinishReason2["IMAGE_PROHIBITED_CONTENT"] = "IMAGE_PROHIBITED_CONTENT";
|
|
@@ -4845,7 +4933,8 @@ async function editImage2(options) {
|
|
|
4845
4933
|
stabilityAiEditRequest: options?.stabilityAiEditRequest,
|
|
4846
4934
|
replicateEditImageRequest: options?.replicateEditImageRequest,
|
|
4847
4935
|
recraftEditImageRequest: options?.recraftEditImageRequest,
|
|
4848
|
-
replicateExtractFromImageRequest: options?.replicateExtractFromImageRequest
|
|
4936
|
+
replicateExtractFromImageRequest: options?.replicateExtractFromImageRequest,
|
|
4937
|
+
googleDetectTextRequest: options?.googleDetectTextRequest
|
|
4849
4938
|
});
|
|
4850
4939
|
const reqOpts = editImage(payload);
|
|
4851
4940
|
sideEffects?.onSiteCall?.();
|
|
@@ -4865,7 +4954,8 @@ async function editImage2(options) {
|
|
|
4865
4954
|
stabilityAiEditRequest: "$[0].stabilityAiEditRequest",
|
|
4866
4955
|
replicateEditImageRequest: "$[0].replicateEditImageRequest",
|
|
4867
4956
|
recraftEditImageRequest: "$[0].recraftEditImageRequest",
|
|
4868
|
-
replicateExtractFromImageRequest: "$[0].replicateExtractFromImageRequest"
|
|
4957
|
+
replicateExtractFromImageRequest: "$[0].replicateExtractFromImageRequest",
|
|
4958
|
+
googleDetectTextRequest: "$[0].googleDetectTextRequest"
|
|
4869
4959
|
},
|
|
4870
4960
|
singleArgumentUnchanged: false
|
|
4871
4961
|
},
|