@wix/auto_sdk_ai-gateway_generators 1.0.104 → 1.0.106
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 +200 -19
- package/build/cjs/index.js +92 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +84 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +187 -20
- package/build/cjs/meta.js +69 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +200 -19
- package/build/es/index.mjs +89 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +81 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +187 -20
- package/build/es/meta.mjs +66 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -5
- package/build/internal/cjs/index.js +92 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +210 -21
- package/build/internal/cjs/index.typings.js +84 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +187 -20
- package/build/internal/cjs/meta.js +69 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +15 -5
- package/build/internal/es/index.mjs +89 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +210 -21
- package/build/internal/es/index.typings.mjs +81 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +187 -20
- package/build/internal/es/meta.mjs +66 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1499,13 +1499,9 @@ interface InvokeAnthropicClaudeModelRequest {
|
|
|
1499
1499
|
mcpServers?: McpServer[];
|
|
1500
1500
|
/**
|
|
1501
1501
|
* Desired output format.
|
|
1502
|
-
* DEPRECATED (2026-06-23):
|
|
1503
|
-
* The proxy automatically maps this field into output_config.format, so existing clients keep working.
|
|
1504
|
-
* Scheduled for removal on 2026-09-23 — migrate to output_config.format before then.
|
|
1502
|
+
* DEPRECATED (2026-06-23): use output_config.format instead. Scheduled for removal on 2026-09-23.
|
|
1505
1503
|
* @deprecated Desired output format.
|
|
1506
|
-
* DEPRECATED (2026-06-23):
|
|
1507
|
-
* The proxy automatically maps this field into output_config.format, so existing clients keep working.
|
|
1508
|
-
* Scheduled for removal on 2026-09-23 — migrate to output_config.format before then.
|
|
1504
|
+
* DEPRECATED (2026-06-23): use output_config.format instead. Scheduled for removal on 2026-09-23.
|
|
1509
1505
|
* @replacedBy output_config.format
|
|
1510
1506
|
* @targetRemovalDate 2026-09-23
|
|
1511
1507
|
*/
|
|
@@ -1968,13 +1964,9 @@ interface V1InvokeAnthropicClaudeModelRequest {
|
|
|
1968
1964
|
mcpServers?: GoogleproxyV1McpServer[];
|
|
1969
1965
|
/**
|
|
1970
1966
|
* Desired output format.
|
|
1971
|
-
* DEPRECATED (2026-06-23):
|
|
1972
|
-
* The proxy automatically maps this field into output_config.format, so existing clients keep working.
|
|
1973
|
-
* Scheduled for removal on 2026-09-23 — migrate to output_config.format before then.
|
|
1967
|
+
* DEPRECATED (2026-06-23): use output_config.format instead. Scheduled for removal on 2026-09-23.
|
|
1974
1968
|
* @deprecated Desired output format.
|
|
1975
|
-
* DEPRECATED (2026-06-23):
|
|
1976
|
-
* The proxy automatically maps this field into output_config.format, so existing clients keep working.
|
|
1977
|
-
* Scheduled for removal on 2026-09-23 — migrate to output_config.format before then.
|
|
1969
|
+
* DEPRECATED (2026-06-23): use output_config.format instead. Scheduled for removal on 2026-09-23.
|
|
1978
1970
|
* @replacedBy output_config.format
|
|
1979
1971
|
* @targetRemovalDate 2026-09-23
|
|
1980
1972
|
*/
|
|
@@ -2436,13 +2428,9 @@ interface InvokeAnthropicModelRequest {
|
|
|
2436
2428
|
metadata?: RequestMetadata;
|
|
2437
2429
|
/**
|
|
2438
2430
|
* Desired output format.
|
|
2439
|
-
* DEPRECATED (2026-06-23):
|
|
2440
|
-
* The proxy automatically maps this field into output_config.format, so existing clients keep working.
|
|
2441
|
-
* Scheduled for removal on 2026-09-23 — migrate to output_config.format before then.
|
|
2431
|
+
* DEPRECATED (2026-06-23): use output_config.format instead. Scheduled for removal on 2026-09-23.
|
|
2442
2432
|
* @deprecated Desired output format.
|
|
2443
|
-
* DEPRECATED (2026-06-23):
|
|
2444
|
-
* The proxy automatically maps this field into output_config.format, so existing clients keep working.
|
|
2445
|
-
* Scheduled for removal on 2026-09-23 — migrate to output_config.format before then.
|
|
2433
|
+
* DEPRECATED (2026-06-23): use output_config.format instead. Scheduled for removal on 2026-09-23.
|
|
2446
2434
|
* @replacedBy output_config.format
|
|
2447
2435
|
* @targetRemovalDate 2026-09-23
|
|
2448
2436
|
*/
|
|
@@ -12954,6 +12942,8 @@ interface Wix_ai_gatewayV1EditImageRequest extends Wix_ai_gatewayV1EditImageRequ
|
|
|
12954
12942
|
googleDetectTextRequest?: DetectTextRequest;
|
|
12955
12943
|
/** Runware edit image (e.g. outpainting) */
|
|
12956
12944
|
runwareEditImageRequest?: V1EditImageRequest;
|
|
12945
|
+
/** Montracer request (bitmap to vector) */
|
|
12946
|
+
montracerProxyTraceRequest?: ProxyTraceRequest;
|
|
12957
12947
|
/** Contains additional information for the request. */
|
|
12958
12948
|
userRequestInfo?: UserRequestInfo;
|
|
12959
12949
|
}
|
|
@@ -12975,6 +12965,8 @@ interface Wix_ai_gatewayV1EditImageRequestRequestOneOf {
|
|
|
12975
12965
|
googleDetectTextRequest?: DetectTextRequest;
|
|
12976
12966
|
/** Runware edit image (e.g. outpainting) */
|
|
12977
12967
|
runwareEditImageRequest?: V1EditImageRequest;
|
|
12968
|
+
/** Montracer request (bitmap to vector) */
|
|
12969
|
+
montracerProxyTraceRequest?: ProxyTraceRequest;
|
|
12978
12970
|
}
|
|
12979
12971
|
interface RemoveBackgroundRequest {
|
|
12980
12972
|
/**
|
|
@@ -13549,6 +13541,45 @@ declare enum EditImageRequestModel {
|
|
|
13549
13541
|
}
|
|
13550
13542
|
/** @enumType */
|
|
13551
13543
|
type EditImageRequestModelWithLiterals = EditImageRequestModel | 'UNKNOWN_MODEL' | 'FROM_MODEL_ID';
|
|
13544
|
+
interface ProxyTraceRequest {
|
|
13545
|
+
/**
|
|
13546
|
+
* URL of the input image
|
|
13547
|
+
* @format WEB_URL
|
|
13548
|
+
* @maxLength 5000
|
|
13549
|
+
*/
|
|
13550
|
+
imageUrl?: string;
|
|
13551
|
+
/** Montracer trace request params. Image bytes are ignored */
|
|
13552
|
+
traceRequest?: TraceRequest;
|
|
13553
|
+
}
|
|
13554
|
+
interface TraceRequest {
|
|
13555
|
+
image?: Uint8Array;
|
|
13556
|
+
mode?: TraceModeWithLiterals;
|
|
13557
|
+
params?: TraceParams;
|
|
13558
|
+
}
|
|
13559
|
+
declare enum TraceMode {
|
|
13560
|
+
TRACE_MODE_UNSPECIFIED = "TRACE_MODE_UNSPECIFIED",
|
|
13561
|
+
TRACE_MODE_BW = "TRACE_MODE_BW",
|
|
13562
|
+
TRACE_MODE_COLOR = "TRACE_MODE_COLOR"
|
|
13563
|
+
}
|
|
13564
|
+
/** @enumType */
|
|
13565
|
+
type TraceModeWithLiterals = TraceMode | 'TRACE_MODE_UNSPECIFIED' | 'TRACE_MODE_BW' | 'TRACE_MODE_COLOR';
|
|
13566
|
+
interface TraceParams {
|
|
13567
|
+
optimize?: boolean;
|
|
13568
|
+
threshold?: number;
|
|
13569
|
+
/** @maxLength 32 */
|
|
13570
|
+
turnPolicy?: string;
|
|
13571
|
+
smoothing?: number;
|
|
13572
|
+
adaptiveSmoothing?: boolean;
|
|
13573
|
+
mergeTolerance?: number;
|
|
13574
|
+
despeckle?: number;
|
|
13575
|
+
simplifyTolerance?: number;
|
|
13576
|
+
/** @format COLOR_HEX */
|
|
13577
|
+
fill?: string;
|
|
13578
|
+
colorCount?: number;
|
|
13579
|
+
gapFix?: number;
|
|
13580
|
+
removeBg?: boolean;
|
|
13581
|
+
detectGradients?: boolean;
|
|
13582
|
+
}
|
|
13552
13583
|
interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
|
|
13553
13584
|
/** Photoroom remove background response */
|
|
13554
13585
|
photoroomRemoveBackgroundResponse?: RemoveBackgroundResponse;
|
|
@@ -13566,6 +13597,8 @@ interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageRes
|
|
|
13566
13597
|
googleDetectTextResponse?: DetectTextResponse;
|
|
13567
13598
|
/** Runware edit image (e.g. outpainting) response */
|
|
13568
13599
|
runwareEditImageResponse?: V1EditImageResponse;
|
|
13600
|
+
/** Montracer response (bitmap to vector) */
|
|
13601
|
+
montracerProxyTraceResponse?: ProxyTraceResponse;
|
|
13569
13602
|
/** Extracted cost of the request in microcents. */
|
|
13570
13603
|
cost?: string | null;
|
|
13571
13604
|
}
|
|
@@ -13587,6 +13620,8 @@ interface Wix_ai_gatewayV1EditImageResponseResponseOneOf {
|
|
|
13587
13620
|
googleDetectTextResponse?: DetectTextResponse;
|
|
13588
13621
|
/** Runware edit image (e.g. outpainting) response */
|
|
13589
13622
|
runwareEditImageResponse?: V1EditImageResponse;
|
|
13623
|
+
/** Montracer response (bitmap to vector) */
|
|
13624
|
+
montracerProxyTraceResponse?: ProxyTraceResponse;
|
|
13590
13625
|
}
|
|
13591
13626
|
interface RemoveBackgroundResponse {
|
|
13592
13627
|
/**
|
|
@@ -14026,6 +14061,133 @@ interface EditImageTaskResult {
|
|
|
14026
14061
|
*/
|
|
14027
14062
|
seed?: string | null;
|
|
14028
14063
|
}
|
|
14064
|
+
interface ProxyTraceResponse {
|
|
14065
|
+
/**
|
|
14066
|
+
* URL of the generated output
|
|
14067
|
+
* @format WEB_URL
|
|
14068
|
+
* @maxLength 5000
|
|
14069
|
+
*/
|
|
14070
|
+
svgUrl?: string;
|
|
14071
|
+
/** Montracer output metadata */
|
|
14072
|
+
meta?: TraceMeta;
|
|
14073
|
+
}
|
|
14074
|
+
interface TraceMeta {
|
|
14075
|
+
width?: number;
|
|
14076
|
+
height?: number;
|
|
14077
|
+
points?: number;
|
|
14078
|
+
sizeBytes?: number;
|
|
14079
|
+
elapsedMs?: number;
|
|
14080
|
+
layers?: number;
|
|
14081
|
+
/** @maxSize 256 */
|
|
14082
|
+
layerInfo?: LayerInfo[];
|
|
14083
|
+
}
|
|
14084
|
+
interface LayerInfo {
|
|
14085
|
+
/** @format COLOR_HEX */
|
|
14086
|
+
color?: string;
|
|
14087
|
+
/** @maxLength 100 */
|
|
14088
|
+
name?: string;
|
|
14089
|
+
gradient?: boolean;
|
|
14090
|
+
/** @maxLength 32 */
|
|
14091
|
+
gradientKind?: string;
|
|
14092
|
+
}
|
|
14093
|
+
interface EditVideoRequest extends EditVideoRequestRequestOneOf {
|
|
14094
|
+
/** Runware video upscale (prompt-free video-to-video upscaling) */
|
|
14095
|
+
runwareVideoUpscaleRequest?: VideoUpscaleRequest;
|
|
14096
|
+
/** Contains additional information for the request. */
|
|
14097
|
+
userRequestInfo?: UserRequestInfo;
|
|
14098
|
+
}
|
|
14099
|
+
/** @oneof */
|
|
14100
|
+
interface EditVideoRequestRequestOneOf {
|
|
14101
|
+
/** Runware video upscale (prompt-free video-to-video upscaling) */
|
|
14102
|
+
runwareVideoUpscaleRequest?: VideoUpscaleRequest;
|
|
14103
|
+
}
|
|
14104
|
+
/**
|
|
14105
|
+
* Request for prompt-free video upscaling (Runware taskType "upscale").
|
|
14106
|
+
* Takes a single input video and returns an upscaled video. No prompt is required.
|
|
14107
|
+
*/
|
|
14108
|
+
interface VideoUpscaleRequest {
|
|
14109
|
+
/**
|
|
14110
|
+
* Model to invoke. Use FROM_MODEL_ID together with model_id to resolve the
|
|
14111
|
+
* Runware model (AIR) via the models manager.
|
|
14112
|
+
*/
|
|
14113
|
+
model?: VideoUpscaleRequestModelWithLiterals;
|
|
14114
|
+
/**
|
|
14115
|
+
* Runware model identifier, used together with model = FROM_MODEL_ID.
|
|
14116
|
+
* @maxLength 1000
|
|
14117
|
+
*/
|
|
14118
|
+
modelId?: string | null;
|
|
14119
|
+
/**
|
|
14120
|
+
* Input video to upscale. A publicly accessible URL, a Runware UUID, or a Data URI.
|
|
14121
|
+
* @maxLength 100000
|
|
14122
|
+
*/
|
|
14123
|
+
video?: string | null;
|
|
14124
|
+
/**
|
|
14125
|
+
* Free-form Runware upscale parameters, merged into the request body
|
|
14126
|
+
* (e.g. upscaleFactor, outputFormat, outputQuality).
|
|
14127
|
+
* Lets new Runware upscaler capabilities be used without a proto change.
|
|
14128
|
+
*/
|
|
14129
|
+
parameters?: Record<string, any> | null;
|
|
14130
|
+
/**
|
|
14131
|
+
* Skip polling flag - if set to false, will poll until the upscale is complete.
|
|
14132
|
+
* If not set or true, returns immediately with the task UUID for manual polling.
|
|
14133
|
+
* Mirrors VideoInferenceRequest.skip_polling.
|
|
14134
|
+
*/
|
|
14135
|
+
skipPolling?: boolean | null;
|
|
14136
|
+
}
|
|
14137
|
+
declare enum VideoUpscaleRequestModel {
|
|
14138
|
+
UNKNOWN_MODEL = "UNKNOWN_MODEL",
|
|
14139
|
+
/** Should be used together with model_id from the allowed models list. */
|
|
14140
|
+
FROM_MODEL_ID = "FROM_MODEL_ID"
|
|
14141
|
+
}
|
|
14142
|
+
/** @enumType */
|
|
14143
|
+
type VideoUpscaleRequestModelWithLiterals = VideoUpscaleRequestModel | 'UNKNOWN_MODEL' | 'FROM_MODEL_ID';
|
|
14144
|
+
interface EditVideoResponse extends EditVideoResponseResponseOneOf {
|
|
14145
|
+
/** Runware video upscale response */
|
|
14146
|
+
runwareVideoUpscaleResponse?: VideoUpscaleResponse;
|
|
14147
|
+
/** Extracted cost of the request in microcents. */
|
|
14148
|
+
cost?: string | null;
|
|
14149
|
+
}
|
|
14150
|
+
/** @oneof */
|
|
14151
|
+
interface EditVideoResponseResponseOneOf {
|
|
14152
|
+
/** Runware video upscale response */
|
|
14153
|
+
runwareVideoUpscaleResponse?: VideoUpscaleResponse;
|
|
14154
|
+
}
|
|
14155
|
+
interface VideoUpscaleResponse {
|
|
14156
|
+
/**
|
|
14157
|
+
* Upscale task results.
|
|
14158
|
+
* @maxSize 1000
|
|
14159
|
+
*/
|
|
14160
|
+
data?: VideoUpscaleTaskResult[];
|
|
14161
|
+
}
|
|
14162
|
+
interface VideoUpscaleTaskResult {
|
|
14163
|
+
/**
|
|
14164
|
+
* The API will return the taskType you sent in the request.
|
|
14165
|
+
* @maxLength 100
|
|
14166
|
+
*/
|
|
14167
|
+
taskType?: string;
|
|
14168
|
+
/**
|
|
14169
|
+
* The API will return the taskUUID you sent in the request.
|
|
14170
|
+
* @format GUID
|
|
14171
|
+
*/
|
|
14172
|
+
taskUuid?: string;
|
|
14173
|
+
/**
|
|
14174
|
+
* A unique identifier for the upscaled video.
|
|
14175
|
+
* @format GUID
|
|
14176
|
+
*/
|
|
14177
|
+
videoUuid?: string | null;
|
|
14178
|
+
/**
|
|
14179
|
+
* If outputType is set to URL, this parameter contains the URL of the video to be downloaded.
|
|
14180
|
+
* @maxLength 10000
|
|
14181
|
+
*/
|
|
14182
|
+
videoUrl?: string | null;
|
|
14183
|
+
/** A cost of the upscale task. */
|
|
14184
|
+
microcentsSpent?: string | null;
|
|
14185
|
+
/**
|
|
14186
|
+
* The current processing status (for polling operations).
|
|
14187
|
+
* @maxLength 50
|
|
14188
|
+
*/
|
|
14189
|
+
status?: string | null;
|
|
14190
|
+
}
|
|
14029
14191
|
interface PollImageGenerationResultRequest extends PollImageGenerationResultRequestRequestOneOf {
|
|
14030
14192
|
/** replicate proxy getResult request */
|
|
14031
14193
|
replicateGetResultRequest?: V1GetResultRequest;
|
|
@@ -14166,10 +14328,14 @@ interface GetResultResponse {
|
|
|
14166
14328
|
}
|
|
14167
14329
|
interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
|
|
14168
14330
|
videoInferenceResponse?: VideoInferenceResponse;
|
|
14331
|
+
/** Result of an async video upscale task, returned once the task finishes */
|
|
14332
|
+
videoUpscaleResponse?: VideoUpscaleResponse;
|
|
14169
14333
|
}
|
|
14170
14334
|
/** @oneof */
|
|
14171
14335
|
interface GetTaskResultResponseResponseOneOf {
|
|
14172
14336
|
videoInferenceResponse?: VideoInferenceResponse;
|
|
14337
|
+
/** Result of an async video upscale task, returned once the task finishes */
|
|
14338
|
+
videoUpscaleResponse?: VideoUpscaleResponse;
|
|
14173
14339
|
}
|
|
14174
14340
|
interface GetVideoResultResponse {
|
|
14175
14341
|
videoJob?: VideoJob;
|
|
@@ -15000,7 +15166,7 @@ declare function getApplicationUsage(): Promise<NonNullablePaths<GetApplicationU
|
|
|
15000
15166
|
* @permissionId WIX_AI_GATEWAY.EDIT_IMAGE
|
|
15001
15167
|
* @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.EditImage
|
|
15002
15168
|
*/
|
|
15003
|
-
declare function editImage(options?: EditImageOptions): Promise<NonNullablePaths<Wix_ai_gatewayV1EditImageResponse, `stabilityAiEditResponse.data` | `stabilityAiEditResponse.model` | `replicateExtractFromImageResponse.datalabOcrOutput.visualizationUrls` | `googleDetectTextResponse.textAnnotations` | `googleDetectTextResponse.fullTextAnnotation.pages` | `runwareEditImageResponse.data` | `runwareEditImageResponse.data.${number}.taskUuid` | `runwareEditImageResponse.data.${number}.imageUuid` | `runwareEditImageResponse.data.${number}.nsfwContent`,
|
|
15169
|
+
declare function editImage(options?: EditImageOptions): Promise<NonNullablePaths<Wix_ai_gatewayV1EditImageResponse, `stabilityAiEditResponse.data` | `stabilityAiEditResponse.model` | `replicateExtractFromImageResponse.datalabOcrOutput.visualizationUrls` | `googleDetectTextResponse.textAnnotations` | `googleDetectTextResponse.fullTextAnnotation.pages` | `runwareEditImageResponse.data` | `runwareEditImageResponse.data.${number}.taskUuid` | `runwareEditImageResponse.data.${number}.imageUuid` | `runwareEditImageResponse.data.${number}.nsfwContent` | `montracerProxyTraceResponse.svgUrl` | `montracerProxyTraceResponse.meta.width` | `montracerProxyTraceResponse.meta.height` | `montracerProxyTraceResponse.meta.points` | `montracerProxyTraceResponse.meta.sizeBytes` | `montracerProxyTraceResponse.meta.elapsedMs` | `montracerProxyTraceResponse.meta.layers` | `montracerProxyTraceResponse.meta.layerInfo` | `montracerProxyTraceResponse.meta.layerInfo.${number}.color` | `montracerProxyTraceResponse.meta.layerInfo.${number}.name` | `montracerProxyTraceResponse.meta.layerInfo.${number}.gradient` | `montracerProxyTraceResponse.meta.layerInfo.${number}.gradientKind`, 6>>;
|
|
15004
15170
|
interface EditImageOptions extends EditImageOptionsRequestOneOf {
|
|
15005
15171
|
/** Contains additional information for the request. */
|
|
15006
15172
|
userRequestInfo?: UserRequestInfo;
|
|
@@ -15020,6 +15186,8 @@ interface EditImageOptions extends EditImageOptionsRequestOneOf {
|
|
|
15020
15186
|
googleDetectTextRequest?: DetectTextRequest;
|
|
15021
15187
|
/** Runware edit image (e.g. outpainting) */
|
|
15022
15188
|
runwareEditImageRequest?: V1EditImageRequest;
|
|
15189
|
+
/** Montracer request (bitmap to vector) */
|
|
15190
|
+
montracerProxyTraceRequest?: ProxyTraceRequest;
|
|
15023
15191
|
}
|
|
15024
15192
|
/** @oneof */
|
|
15025
15193
|
interface EditImageOptionsRequestOneOf {
|
|
@@ -15039,6 +15207,27 @@ interface EditImageOptionsRequestOneOf {
|
|
|
15039
15207
|
googleDetectTextRequest?: DetectTextRequest;
|
|
15040
15208
|
/** Runware edit image (e.g. outpainting) */
|
|
15041
15209
|
runwareEditImageRequest?: V1EditImageRequest;
|
|
15210
|
+
/** Montracer request (bitmap to vector) */
|
|
15211
|
+
montracerProxyTraceRequest?: ProxyTraceRequest;
|
|
15212
|
+
}
|
|
15213
|
+
/**
|
|
15214
|
+
* Video Editing API's
|
|
15215
|
+
* @internal
|
|
15216
|
+
* @documentationMaturity preview
|
|
15217
|
+
* @permissionId WIX_AI_GATEWAY.EDIT_VIDEO
|
|
15218
|
+
* @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.EditVideo
|
|
15219
|
+
*/
|
|
15220
|
+
declare function editVideo(options?: EditVideoOptions): Promise<NonNullablePaths<EditVideoResponse, `runwareVideoUpscaleResponse.data` | `runwareVideoUpscaleResponse.data.${number}.taskType` | `runwareVideoUpscaleResponse.data.${number}.taskUuid`, 5>>;
|
|
15221
|
+
interface EditVideoOptions extends EditVideoOptionsRequestOneOf {
|
|
15222
|
+
/** Contains additional information for the request. */
|
|
15223
|
+
userRequestInfo?: UserRequestInfo;
|
|
15224
|
+
/** Runware video upscale (prompt-free video-to-video upscaling) */
|
|
15225
|
+
runwareVideoUpscaleRequest?: VideoUpscaleRequest;
|
|
15226
|
+
}
|
|
15227
|
+
/** @oneof */
|
|
15228
|
+
interface EditVideoOptionsRequestOneOf {
|
|
15229
|
+
/** Runware video upscale (prompt-free video-to-video upscaling) */
|
|
15230
|
+
runwareVideoUpscaleRequest?: VideoUpscaleRequest;
|
|
15042
15231
|
}
|
|
15043
15232
|
/**
|
|
15044
15233
|
* Poll image generation result by id.
|
|
@@ -15047,7 +15236,7 @@ interface EditImageOptionsRequestOneOf {
|
|
|
15047
15236
|
* @permissionId WIX_AI_GATEWAY.POLL_IMAGE_GENERATION_RESULT
|
|
15048
15237
|
* @fqn wix.ds.wix_ai_gateway.v1.WixAiGateway.PollImageGenerationResult
|
|
15049
15238
|
*/
|
|
15050
|
-
declare function pollImageGenerationResult(options?: PollImageGenerationResultOptions): Promise<NonNullablePaths<PollImageGenerationResultResponse, `replicateGetResultResponse.output` | `replicateGetResultResponse.textOutput` | `runwareGetTaskResultResponse.videoInferenceResponse.data` | `runwareGetTaskResultResponse.videoInferenceResponse.data.${number}.taskType` | `runwareGetTaskResultResponse.videoInferenceResponse.data.${number}.taskUuid`, 6>>;
|
|
15239
|
+
declare function pollImageGenerationResult(options?: PollImageGenerationResultOptions): Promise<NonNullablePaths<PollImageGenerationResultResponse, `replicateGetResultResponse.output` | `replicateGetResultResponse.textOutput` | `runwareGetTaskResultResponse.videoInferenceResponse.data` | `runwareGetTaskResultResponse.videoInferenceResponse.data.${number}.taskType` | `runwareGetTaskResultResponse.videoInferenceResponse.data.${number}.taskUuid` | `runwareGetTaskResultResponse.videoUpscaleResponse.data` | `runwareGetTaskResultResponse.videoUpscaleResponse.data.${number}.taskType` | `runwareGetTaskResultResponse.videoUpscaleResponse.data.${number}.taskUuid`, 6>>;
|
|
15051
15240
|
interface PollImageGenerationResultOptions extends PollImageGenerationResultOptionsRequestOneOf {
|
|
15052
15241
|
/** Contains additional information for the request. */
|
|
15053
15242
|
userRequestInfo?: UserRequestInfo;
|
|
@@ -15076,4 +15265,4 @@ interface PollImageGenerationResultOptionsRequestOneOf {
|
|
|
15076
15265
|
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
15077
15266
|
}
|
|
15078
15267
|
|
|
15079
|
-
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 AudioUrl, 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 ConductorExperimentConfig, type ConductorExperimentValue, type ConductorExperimentValueExperimentResultOneOf, 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, EditImageRequestModel, type EditImageRequestModelWithLiterals, type EditImageResponse, type EditImageTaskResult, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, type Element, 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 FalGatewayPayload, 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 GoogleproxyV1JsonOutputFormat, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1OutputConfig, 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 HeadersEntry, 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 InvokeCustomOpenAiModelStreamedResponse, type InvokeCustomOpenAiModelStreamedResponseChunkChoice, type InvokeCustomOpenAiModelStreamedResponseChunkChoiceChunkDelta, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonOutputFormat, 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 OutputConfig, 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 RawHttpResponse, 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 Safety, 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 StabilityproxyV1EditImageRequest, type StabilityproxyV1EditImageResponse, 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 V1InvokeCustomOpenAiModelRequest, type V1InvokeCustomOpenAiModelRequestFunctionCallOneOf, type V1InvokeCustomOpenAiModelRequestFunctionSignature, type V1InvokeCustomOpenAiModelRequestResponseFormat, type V1InvokeCustomOpenAiModelRequestTool, type V1InvokeCustomOpenAiModelResponse, type V1InvokeCustomOpenAiModelResponseChoice, type V1InvokeCustomOpenAiModelResponseCompletionTokenDetails, type V1InvokeCustomOpenAiModelResponsePromptTokenDetails, type V1InvokeCustomOpenAiModelResponseTokenUsage, type V1JsonOutputFormat, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1OutputConfig, 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 VideoUrl, type VisionImage, type VisionImageContext, type Vllm_proxyV1ChatCompletionMessage, type Vllm_proxyV1ChatCompletionMessageContentPart, type Vllm_proxyV1ChatCompletionMessageContentPartContentValueOneOf, type Vllm_proxyV1ChatCompletionMessageFunctionWithArgs, type Vllm_proxyV1ChatCompletionMessageImageUrlContent, Vllm_proxyV1ChatCompletionMessageMessageRole, type Vllm_proxyV1ChatCompletionMessageMessageRoleWithLiterals, type Vllm_proxyV1ChatCompletionMessageToolCall, 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 };
|
|
15268
|
+
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 AudioUrl, 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 ConductorExperimentConfig, type ConductorExperimentValue, type ConductorExperimentValueExperimentResultOneOf, 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, EditImageRequestModel, type EditImageRequestModelWithLiterals, type EditImageResponse, type EditImageTaskResult, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, type EditVideoOptions, type EditVideoOptionsRequestOneOf, type EditVideoRequest, type EditVideoRequestRequestOneOf, type EditVideoResponse, type EditVideoResponseResponseOneOf, type Element, 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 FalGatewayPayload, 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 GoogleproxyV1JsonOutputFormat, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1OutputConfig, 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 HeadersEntry, 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 InvokeCustomOpenAiModelStreamedResponse, type InvokeCustomOpenAiModelStreamedResponseChunkChoice, type InvokeCustomOpenAiModelStreamedResponseChunkChoiceChunkDelta, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonOutputFormat, type JsonSchema, Language, type LanguageWithLiterals, type LayerInfo, 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 OutputConfig, 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 ProxyTraceRequest, type ProxyTraceResponse, type PrunaaiZImageTurbo, type PublicationDate, type PublishProjectOptions, type PublishProjectRequest, type PublishProjectResponse, type PublishPromptOptions, type PublishPromptRequest, type PublishPromptResponse, type QwenImageLayered, type RawHttpResponse, 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 Safety, 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 StabilityproxyV1EditImageRequest, type StabilityproxyV1EditImageResponse, 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, type TraceMeta, TraceMode, type TraceModeWithLiterals, type TraceParams, type TraceRequest, 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 V1InvokeCustomOpenAiModelRequest, type V1InvokeCustomOpenAiModelRequestFunctionCallOneOf, type V1InvokeCustomOpenAiModelRequestFunctionSignature, type V1InvokeCustomOpenAiModelRequestResponseFormat, type V1InvokeCustomOpenAiModelRequestTool, type V1InvokeCustomOpenAiModelResponse, type V1InvokeCustomOpenAiModelResponseChoice, type V1InvokeCustomOpenAiModelResponseCompletionTokenDetails, type V1InvokeCustomOpenAiModelResponsePromptTokenDetails, type V1InvokeCustomOpenAiModelResponseTokenUsage, type V1JsonOutputFormat, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1OutputConfig, 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 VideoUpscaleRequest, VideoUpscaleRequestModel, type VideoUpscaleRequestModelWithLiterals, type VideoUpscaleResponse, type VideoUpscaleTaskResult, type VideoUrl, type VisionImage, type VisionImageContext, type Vllm_proxyV1ChatCompletionMessage, type Vllm_proxyV1ChatCompletionMessageContentPart, type Vllm_proxyV1ChatCompletionMessageContentPartContentValueOneOf, type Vllm_proxyV1ChatCompletionMessageFunctionWithArgs, type Vllm_proxyV1ChatCompletionMessageImageUrlContent, Vllm_proxyV1ChatCompletionMessageMessageRole, type Vllm_proxyV1ChatCompletionMessageMessageRoleWithLiterals, type Vllm_proxyV1ChatCompletionMessageToolCall, 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, editVideo, generateAudio, generateAudioStreamed, generateContentByProject, generateContentByPrompt, generateContentByPromptObject, generateEmbedding, generateImageByProject, generateImageByPrompt, generateImageByPromptObject, generateModeration, generateTextByProject, generateTextByProjectStreamed, generateTextByPrompt, generateTextByPromptObject, generateTextByPromptObjectStreamed, generateTextByPromptStreamed, generateTranscription, getApplicationUsage, getProject, getPrompt, getStatus, pollImageGenerationResult, publishProject, publishPrompt };
|
|
@@ -3143,8 +3143,20 @@ function editImage(payload) {
|
|
|
3143
3143
|
{ path: "photoroomImageEditingRequest.margin.bottom" },
|
|
3144
3144
|
{ path: "photoroomImageEditingRequest.margin.left" },
|
|
3145
3145
|
{ path: "photoroomImageEditingRequest.margin.right" },
|
|
3146
|
-
{ path: "photoroomImageEditingRequest.margin.top" }
|
|
3146
|
+
{ path: "photoroomImageEditingRequest.margin.top" },
|
|
3147
|
+
{ path: "montracerProxyTraceRequest.traceRequest.params.smoothing" },
|
|
3148
|
+
{
|
|
3149
|
+
path: "montracerProxyTraceRequest.traceRequest.params.mergeTolerance"
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
path: "montracerProxyTraceRequest.traceRequest.params.simplifyTolerance"
|
|
3153
|
+
},
|
|
3154
|
+
{ path: "montracerProxyTraceRequest.traceRequest.params.gapFix" }
|
|
3147
3155
|
]
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
transformFn: transformSDKBytesToRESTBytes,
|
|
3159
|
+
paths: [{ path: "montracerProxyTraceRequest.traceRequest.image" }]
|
|
3148
3160
|
}
|
|
3149
3161
|
]);
|
|
3150
3162
|
const metadata = {
|
|
@@ -3210,6 +3222,27 @@ function editImage(payload) {
|
|
|
3210
3222
|
}
|
|
3211
3223
|
return __editImage;
|
|
3212
3224
|
}
|
|
3225
|
+
function editVideo(payload) {
|
|
3226
|
+
function __editVideo({ host }) {
|
|
3227
|
+
const metadata = {
|
|
3228
|
+
entityFqdn: "wix.ds.wix_ai_gateway.v1.prompt",
|
|
3229
|
+
method: "POST",
|
|
3230
|
+
methodFqn: "wix.ds.wix_ai_gateway.v1.WixAiGateway.EditVideo",
|
|
3231
|
+
packageName: PACKAGE_NAME,
|
|
3232
|
+
migrationOptions: {
|
|
3233
|
+
optInTransformResponse: true
|
|
3234
|
+
},
|
|
3235
|
+
url: resolveWixDsWixAiGatewayV1WixAiGatewayUrl({
|
|
3236
|
+
protoPath: "/v1/edit-video",
|
|
3237
|
+
data: payload,
|
|
3238
|
+
host
|
|
3239
|
+
}),
|
|
3240
|
+
data: payload
|
|
3241
|
+
};
|
|
3242
|
+
return metadata;
|
|
3243
|
+
}
|
|
3244
|
+
return __editVideo;
|
|
3245
|
+
}
|
|
3213
3246
|
function pollImageGenerationResult(payload) {
|
|
3214
3247
|
function __pollImageGenerationResult({ host }) {
|
|
3215
3248
|
const metadata = {
|
|
@@ -4129,6 +4162,17 @@ var EditImageRequestModel = /* @__PURE__ */ ((EditImageRequestModel2) => {
|
|
|
4129
4162
|
EditImageRequestModel2["FROM_MODEL_ID"] = "FROM_MODEL_ID";
|
|
4130
4163
|
return EditImageRequestModel2;
|
|
4131
4164
|
})(EditImageRequestModel || {});
|
|
4165
|
+
var TraceMode = /* @__PURE__ */ ((TraceMode2) => {
|
|
4166
|
+
TraceMode2["TRACE_MODE_UNSPECIFIED"] = "TRACE_MODE_UNSPECIFIED";
|
|
4167
|
+
TraceMode2["TRACE_MODE_BW"] = "TRACE_MODE_BW";
|
|
4168
|
+
TraceMode2["TRACE_MODE_COLOR"] = "TRACE_MODE_COLOR";
|
|
4169
|
+
return TraceMode2;
|
|
4170
|
+
})(TraceMode || {});
|
|
4171
|
+
var VideoUpscaleRequestModel = /* @__PURE__ */ ((VideoUpscaleRequestModel2) => {
|
|
4172
|
+
VideoUpscaleRequestModel2["UNKNOWN_MODEL"] = "UNKNOWN_MODEL";
|
|
4173
|
+
VideoUpscaleRequestModel2["FROM_MODEL_ID"] = "FROM_MODEL_ID";
|
|
4174
|
+
return VideoUpscaleRequestModel2;
|
|
4175
|
+
})(VideoUpscaleRequestModel || {});
|
|
4132
4176
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
4133
4177
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
4134
4178
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -4930,7 +4974,8 @@ async function editImage2(options) {
|
|
|
4930
4974
|
recraftEditImageRequest: options?.recraftEditImageRequest,
|
|
4931
4975
|
replicateExtractFromImageRequest: options?.replicateExtractFromImageRequest,
|
|
4932
4976
|
googleDetectTextRequest: options?.googleDetectTextRequest,
|
|
4933
|
-
runwareEditImageRequest: options?.runwareEditImageRequest
|
|
4977
|
+
runwareEditImageRequest: options?.runwareEditImageRequest,
|
|
4978
|
+
montracerProxyTraceRequest: options?.montracerProxyTraceRequest
|
|
4934
4979
|
});
|
|
4935
4980
|
const reqOpts = editImage(payload);
|
|
4936
4981
|
sideEffects?.onSiteCall?.();
|
|
@@ -4952,7 +4997,37 @@ async function editImage2(options) {
|
|
|
4952
4997
|
recraftEditImageRequest: "$[0].recraftEditImageRequest",
|
|
4953
4998
|
replicateExtractFromImageRequest: "$[0].replicateExtractFromImageRequest",
|
|
4954
4999
|
googleDetectTextRequest: "$[0].googleDetectTextRequest",
|
|
4955
|
-
runwareEditImageRequest: "$[0].runwareEditImageRequest"
|
|
5000
|
+
runwareEditImageRequest: "$[0].runwareEditImageRequest",
|
|
5001
|
+
montracerProxyTraceRequest: "$[0].montracerProxyTraceRequest"
|
|
5002
|
+
},
|
|
5003
|
+
singleArgumentUnchanged: false
|
|
5004
|
+
},
|
|
5005
|
+
["options"]
|
|
5006
|
+
);
|
|
5007
|
+
sideEffects?.onError?.(err);
|
|
5008
|
+
throw transformedError;
|
|
5009
|
+
}
|
|
5010
|
+
}
|
|
5011
|
+
async function editVideo2(options) {
|
|
5012
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
5013
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
5014
|
+
userRequestInfo: options?.userRequestInfo,
|
|
5015
|
+
runwareVideoUpscaleRequest: options?.runwareVideoUpscaleRequest
|
|
5016
|
+
});
|
|
5017
|
+
const reqOpts = editVideo(payload);
|
|
5018
|
+
sideEffects?.onSiteCall?.();
|
|
5019
|
+
try {
|
|
5020
|
+
const result = await httpClient.request(reqOpts);
|
|
5021
|
+
sideEffects?.onSuccess?.(result);
|
|
5022
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
5023
|
+
} catch (err) {
|
|
5024
|
+
const transformedError = sdkTransformError(
|
|
5025
|
+
err,
|
|
5026
|
+
{
|
|
5027
|
+
spreadPathsToArguments: {},
|
|
5028
|
+
explicitPathsToArguments: {
|
|
5029
|
+
userRequestInfo: "$[0].userRequestInfo",
|
|
5030
|
+
runwareVideoUpscaleRequest: "$[0].runwareVideoUpscaleRequest"
|
|
4956
5031
|
},
|
|
4957
5032
|
singleArgumentUnchanged: false
|
|
4958
5033
|
},
|
|
@@ -5080,6 +5155,7 @@ export {
|
|
|
5080
5155
|
Threshold,
|
|
5081
5156
|
TimestampGranularity,
|
|
5082
5157
|
ToolChoiceType,
|
|
5158
|
+
TraceMode,
|
|
5083
5159
|
TranscriptionModel,
|
|
5084
5160
|
Type,
|
|
5085
5161
|
V1CacheControlType,
|
|
@@ -5098,9 +5174,11 @@ export {
|
|
|
5098
5174
|
V1VideoModel,
|
|
5099
5175
|
VideoGenModel,
|
|
5100
5176
|
VideoModel,
|
|
5177
|
+
VideoUpscaleRequestModel,
|
|
5101
5178
|
Vllm_proxyV1ChatCompletionMessageMessageRole,
|
|
5102
5179
|
WebhookIdentityType,
|
|
5103
5180
|
editImage2 as editImage,
|
|
5181
|
+
editVideo2 as editVideo,
|
|
5104
5182
|
generateAudio2 as generateAudio,
|
|
5105
5183
|
generateAudioStreamed2 as generateAudioStreamed,
|
|
5106
5184
|
generateContentByProject2 as generateContentByProject,
|