@runwayml/sdk 4.19.1 → 4.20.1
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/CHANGELOG.md +22 -0
- package/package.json +1 -1
- package/resources/image-to-video.d.mts +192 -19
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +192 -19
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/image-to-video.js +9 -0
- package/resources/image-to-video.js.map +1 -1
- package/resources/image-to-video.mjs +9 -0
- package/resources/image-to-video.mjs.map +1 -1
- package/resources/organization/organization.d.mts +6 -4
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +6 -4
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/webapp/audit-logs.d.mts +59 -22
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +59 -22
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/realtime-sessions.d.mts +6 -3
- package/resources/realtime-sessions.d.mts.map +1 -1
- package/resources/realtime-sessions.d.ts +6 -3
- package/resources/realtime-sessions.d.ts.map +1 -1
- package/resources/tasks.d.mts +12 -6
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts +12 -6
- package/resources/tasks.d.ts.map +1 -1
- package/resources/text-to-image.d.mts +142 -47
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +142 -47
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-speech.d.mts +5 -3
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +5 -3
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +177 -24
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +177 -24
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/text-to-video.js +8 -0
- package/resources/text-to-video.js.map +1 -1
- package/resources/text-to-video.mjs +8 -0
- package/resources/text-to-video.mjs.map +1 -1
- package/resources/video-to-hdr.d.mts +25 -9
- package/resources/video-to-hdr.d.mts.map +1 -1
- package/resources/video-to-hdr.d.ts +25 -9
- package/resources/video-to-hdr.d.ts.map +1 -1
- package/resources/video-to-hdr.js +4 -2
- package/resources/video-to-hdr.js.map +1 -1
- package/resources/video-to-hdr.mjs +4 -2
- package/resources/video-to-hdr.mjs.map +1 -1
- package/resources/video-to-video.d.mts +53 -5
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +53 -5
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/video-upscale.d.mts +49 -33
- package/resources/video-upscale.d.mts.map +1 -1
- package/resources/video-upscale.d.ts +49 -33
- package/resources/video-upscale.d.ts.map +1 -1
- package/resources/workflow-invocations.d.mts +29 -4
- package/resources/workflow-invocations.d.mts.map +1 -1
- package/resources/workflow-invocations.d.ts +29 -4
- package/resources/workflow-invocations.d.ts.map +1 -1
- package/resources/workflow-invocations.js +3 -1
- package/resources/workflow-invocations.js.map +1 -1
- package/resources/workflow-invocations.mjs +3 -1
- package/resources/workflow-invocations.mjs.map +1 -1
- package/src/resources/image-to-video.ts +258 -26
- package/src/resources/organization/organization.ts +22 -2
- package/src/resources/organization/webapp/audit-logs.ts +119 -22
- package/src/resources/realtime-sessions.ts +6 -3
- package/src/resources/tasks.ts +12 -6
- package/src/resources/text-to-image.ts +262 -85
- package/src/resources/text-to-speech.ts +5 -3
- package/src/resources/text-to-video.ts +242 -31
- package/src/resources/video-to-hdr.ts +31 -9
- package/src/resources/video-to-video.ts +70 -5
- package/src/resources/video-upscale.ts +55 -33
- package/src/resources/workflow-invocations.ts +32 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/tasks.d.ts
CHANGED
|
@@ -93,7 +93,8 @@ export declare namespace TaskRetrieveResponse {
|
|
|
93
93
|
*/
|
|
94
94
|
id: string;
|
|
95
95
|
/**
|
|
96
|
-
* Final cost in credits for a terminal task.
|
|
96
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
97
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
97
98
|
*/
|
|
98
99
|
cost: Cancelled.Cost;
|
|
99
100
|
/**
|
|
@@ -104,7 +105,8 @@ export declare namespace TaskRetrieveResponse {
|
|
|
104
105
|
}
|
|
105
106
|
namespace Cancelled {
|
|
106
107
|
/**
|
|
107
|
-
* Final cost in credits for a terminal task.
|
|
108
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
109
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
108
110
|
*/
|
|
109
111
|
interface Cost {
|
|
110
112
|
/**
|
|
@@ -152,7 +154,8 @@ export declare namespace TaskRetrieveResponse {
|
|
|
152
154
|
*/
|
|
153
155
|
id: string;
|
|
154
156
|
/**
|
|
155
|
-
* Final cost in credits for a terminal task.
|
|
157
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
158
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
156
159
|
*/
|
|
157
160
|
cost: Failed.Cost;
|
|
158
161
|
/**
|
|
@@ -173,7 +176,8 @@ export declare namespace TaskRetrieveResponse {
|
|
|
173
176
|
}
|
|
174
177
|
namespace Failed {
|
|
175
178
|
/**
|
|
176
|
-
* Final cost in credits for a terminal task.
|
|
179
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
180
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
177
181
|
*/
|
|
178
182
|
interface Cost {
|
|
179
183
|
/**
|
|
@@ -191,7 +195,8 @@ export declare namespace TaskRetrieveResponse {
|
|
|
191
195
|
*/
|
|
192
196
|
id: string;
|
|
193
197
|
/**
|
|
194
|
-
* Final cost in credits for a terminal task.
|
|
198
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
199
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
195
200
|
*/
|
|
196
201
|
cost: Succeeded.Cost;
|
|
197
202
|
/**
|
|
@@ -208,7 +213,8 @@ export declare namespace TaskRetrieveResponse {
|
|
|
208
213
|
}
|
|
209
214
|
namespace Succeeded {
|
|
210
215
|
/**
|
|
211
|
-
* Final cost in credits for a terminal task.
|
|
216
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
217
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
212
218
|
*/
|
|
213
219
|
interface Cost {
|
|
214
220
|
/**
|
package/resources/tasks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../src/resources/tasks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,2BAA2B,CAAC,oBAAoB,CAAC;IAOjG;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM/D;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,oBAAoB,CAAC,OAAO,GAC5B,oBAAoB,CAAC,SAAS,GAC9B,oBAAoB,CAAC,SAAS,GAC9B,oBAAoB,CAAC,OAAO,GAC5B,oBAAoB,CAAC,MAAM,GAC3B,oBAAoB,CAAC,SAAS,CAAC;AAEnC,yBAAiB,oBAAoB,CAAC;IACpC;;OAEG;I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ateResponse {
|
|
|
33
33
|
credits: number;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
export type TextToImageCreateParams = TextToImageCreateParams.Gen4ImageTurbo | TextToImageCreateParams.Gen4Image | TextToImageCreateParams.GptImage2 | TextToImageCreateParams.
|
|
36
|
+
export type TextToImageCreateParams = TextToImageCreateParams.Gen4ImageTurbo | TextToImageCreateParams.Gen4Image | TextToImageCreateParams.GptImage2 | TextToImageCreateParams.GeminiImage3_1Flash | TextToImageCreateParams.MuseImage | TextToImageCreateParams.Seedream5Pro | TextToImageCreateParams.Seedream5Lite | TextToImageCreateParams.GrokImagineImage2 | TextToImageCreateParams.GeminiImage3Pro | TextToImageCreateParams.GptImage2_5Flare | TextToImageCreateParams.GptImage2_5Sunburst | TextToImageCreateParams.Gemini2_5Flash;
|
|
37
37
|
export declare namespace TextToImageCreateParams {
|
|
38
38
|
interface Gen4ImageTurbo {
|
|
39
39
|
model: 'gen4_image_turbo';
|
|
@@ -188,52 +188,6 @@ export declare namespace TextToImageCreateParams {
|
|
|
188
188
|
tag?: string;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
interface GeminiImage3Pro {
|
|
192
|
-
model: 'gemini_image3_pro';
|
|
193
|
-
/**
|
|
194
|
-
* This should describe in detail what should appear in the output.
|
|
195
|
-
*/
|
|
196
|
-
promptText: string;
|
|
197
|
-
/**
|
|
198
|
-
* The resolution of the output image.
|
|
199
|
-
*/
|
|
200
|
-
ratio: '1344:768' | '768:1344' | '1024:1024' | '1184:864' | '864:1184' | '1536:672' | '832:1248' | '1248:832' | '896:1152' | '1152:896' | '2048:2048' | '1696:2528' | '2528:1696' | '1792:2400' | '2400:1792' | '1856:2304' | '2304:1856' | '1536:2752' | '2752:1536' | '3168:1344' | '4096:4096' | '3392:5056' | '5056:3392' | '3584:4800' | '4800:3584' | '3712:4608' | '4608:3712' | '3072:5504' | '5504:3072' | '6336:2688';
|
|
201
|
-
/**
|
|
202
|
-
* The number of images to generate. Increasing this number will affect the number
|
|
203
|
-
* of credits consumed by the generation. Up to four images can be generated at
|
|
204
|
-
* once.
|
|
205
|
-
*/
|
|
206
|
-
outputCount?: 1 | 4;
|
|
207
|
-
/**
|
|
208
|
-
* An array of up to 14 images to be used as references for the generated image
|
|
209
|
-
* output. Up to five of those images can pass `subject: "human"` to maintain
|
|
210
|
-
* character consistency, and up to nine of those images can pass
|
|
211
|
-
* `subject: "object"` with high-fidelity images of objects to include in the
|
|
212
|
-
* output.
|
|
213
|
-
*/
|
|
214
|
-
referenceImages?: Array<GeminiImage3Pro.ReferenceImage>;
|
|
215
|
-
}
|
|
216
|
-
namespace GeminiImage3Pro {
|
|
217
|
-
interface ReferenceImage {
|
|
218
|
-
/**
|
|
219
|
-
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
220
|
-
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
221
|
-
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
222
|
-
*/
|
|
223
|
-
uri: string;
|
|
224
|
-
/**
|
|
225
|
-
* Whether this is a reference of a human subject (for character consistency) or an
|
|
226
|
-
* object that appears in the output.
|
|
227
|
-
*/
|
|
228
|
-
subject?: 'object' | 'human';
|
|
229
|
-
/**
|
|
230
|
-
* A tag to identify the reference image. This is used to reference the image in
|
|
231
|
-
* prompt text. Must be 3-16 characters, start with a letter, and use only letters,
|
|
232
|
-
* digits, and underscores (no hyphens or other punctuation).
|
|
233
|
-
*/
|
|
234
|
-
tag?: string;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
191
|
interface GeminiImage3_1Flash {
|
|
238
192
|
model: 'gemini_image3.1_flash';
|
|
239
193
|
/**
|
|
@@ -445,6 +399,147 @@ export declare namespace TextToImageCreateParams {
|
|
|
445
399
|
uri: string;
|
|
446
400
|
}
|
|
447
401
|
}
|
|
402
|
+
interface GeminiImage3Pro {
|
|
403
|
+
model: 'gemini_image3_pro';
|
|
404
|
+
/**
|
|
405
|
+
* This should describe in detail what should appear in the output.
|
|
406
|
+
*/
|
|
407
|
+
promptText: string;
|
|
408
|
+
/**
|
|
409
|
+
* The resolution of the output image.
|
|
410
|
+
*/
|
|
411
|
+
ratio: '1344:768' | '768:1344' | '1024:1024' | '1184:864' | '864:1184' | '1536:672' | '832:1248' | '1248:832' | '896:1152' | '1152:896' | '2048:2048' | '1696:2528' | '2528:1696' | '1792:2400' | '2400:1792' | '1856:2304' | '2304:1856' | '1536:2752' | '2752:1536' | '3168:1344' | '4096:4096' | '3392:5056' | '5056:3392' | '3584:4800' | '4800:3584' | '3712:4608' | '4608:3712' | '3072:5504' | '5504:3072' | '6336:2688';
|
|
412
|
+
/**
|
|
413
|
+
* The number of images to generate. Increasing this number will affect the number
|
|
414
|
+
* of credits consumed by the generation. Up to four images can be generated at
|
|
415
|
+
* once.
|
|
416
|
+
*/
|
|
417
|
+
outputCount?: 1 | 4;
|
|
418
|
+
/**
|
|
419
|
+
* An array of up to 14 images to be used as references for the generated image
|
|
420
|
+
* output. Up to five of those images can pass `subject: "human"` to maintain
|
|
421
|
+
* character consistency, and up to nine of those images can pass
|
|
422
|
+
* `subject: "object"` with high-fidelity images of objects to include in the
|
|
423
|
+
* output.
|
|
424
|
+
*/
|
|
425
|
+
referenceImages?: Array<GeminiImage3Pro.ReferenceImage>;
|
|
426
|
+
}
|
|
427
|
+
namespace GeminiImage3Pro {
|
|
428
|
+
interface ReferenceImage {
|
|
429
|
+
/**
|
|
430
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
431
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
432
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
433
|
+
*/
|
|
434
|
+
uri: string;
|
|
435
|
+
/**
|
|
436
|
+
* Whether this is a reference of a human subject (for character consistency) or an
|
|
437
|
+
* object that appears in the output.
|
|
438
|
+
*/
|
|
439
|
+
subject?: 'object' | 'human';
|
|
440
|
+
/**
|
|
441
|
+
* A tag to identify the reference image. This is used to reference the image in
|
|
442
|
+
* prompt text. Must be 3-16 characters, start with a letter, and use only letters,
|
|
443
|
+
* digits, and underscores (no hyphens or other punctuation).
|
|
444
|
+
*/
|
|
445
|
+
tag?: string;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
interface GptImage2_5Flare {
|
|
449
|
+
model: 'gpt_image_2_5_flare';
|
|
450
|
+
/**
|
|
451
|
+
* A non-empty string describing the desired image.
|
|
452
|
+
*/
|
|
453
|
+
promptText: string;
|
|
454
|
+
/**
|
|
455
|
+
* The resolution of the output image, expressed as `<width>:<height>`. Use `auto`
|
|
456
|
+
* to let the model choose.
|
|
457
|
+
*/
|
|
458
|
+
ratio: '2048:880' | '1920:1088' | '1920:1280' | '1920:1440' | '1920:1536' | '1920:1920' | '1536:1920' | '1440:1920' | '1280:1920' | '1088:1920' | '2912:1248' | '2560:1440' | '2560:1712' | '2560:1920' | '2560:2048' | '2560:2560' | '2048:2560' | '1920:2560' | '1712:2560' | '1440:2560' | '3840:1648' | '3840:2160' | '3504:2336' | '3264:2448' | '3200:2560' | '2880:2880' | '2560:3200' | '2448:3264' | '2336:3504' | '2160:3840' | 'auto';
|
|
459
|
+
/**
|
|
460
|
+
* Background treatment. Defaults to `auto`, which lets the model pick.
|
|
461
|
+
*/
|
|
462
|
+
background?: 'opaque' | 'auto';
|
|
463
|
+
/**
|
|
464
|
+
* The number of images to generate (1-10). Increasing this number will affect the
|
|
465
|
+
* number of credits consumed by the generation.
|
|
466
|
+
*/
|
|
467
|
+
outputCount?: number;
|
|
468
|
+
/**
|
|
469
|
+
* Rendering quality. Higher qualities consume more credits. Defaults to `high`.
|
|
470
|
+
*/
|
|
471
|
+
quality?: 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
472
|
+
/**
|
|
473
|
+
* An array of up to 16 images to be used as references for the generated image
|
|
474
|
+
* output. No two images may share the same tag. Each reference image adds 1 credit
|
|
475
|
+
* per generated image.
|
|
476
|
+
*/
|
|
477
|
+
referenceImages?: Array<GptImage2_5Flare.ReferenceImage>;
|
|
478
|
+
}
|
|
479
|
+
namespace GptImage2_5Flare {
|
|
480
|
+
interface ReferenceImage {
|
|
481
|
+
/**
|
|
482
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
483
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
484
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
485
|
+
*/
|
|
486
|
+
uri: string;
|
|
487
|
+
/**
|
|
488
|
+
* A tag to identify the reference image. This may be used to reference the image
|
|
489
|
+
* in prompt text. Must be 3-16 characters, start with a letter, and use only
|
|
490
|
+
* letters, digits, and underscores (no hyphens or other punctuation).
|
|
491
|
+
*/
|
|
492
|
+
tag?: string;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
interface GptImage2_5Sunburst {
|
|
496
|
+
model: 'gpt_image_2_5_sunburst';
|
|
497
|
+
/**
|
|
498
|
+
* A non-empty string describing the desired image.
|
|
499
|
+
*/
|
|
500
|
+
promptText: string;
|
|
501
|
+
/**
|
|
502
|
+
* The resolution of the output image, expressed as `<width>:<height>`. Use `auto`
|
|
503
|
+
* to let the model choose.
|
|
504
|
+
*/
|
|
505
|
+
ratio: '2048:880' | '1920:1088' | '1920:1280' | '1920:1440' | '1920:1536' | '1920:1920' | '1536:1920' | '1440:1920' | '1280:1920' | '1088:1920' | '2912:1248' | '2560:1440' | '2560:1712' | '2560:1920' | '2560:2048' | '2560:2560' | '2048:2560' | '1920:2560' | '1712:2560' | '1440:2560' | '3840:1648' | '3840:2160' | '3504:2336' | '3264:2448' | '3200:2560' | '2880:2880' | '2560:3200' | '2448:3264' | '2336:3504' | '2160:3840' | 'auto';
|
|
506
|
+
/**
|
|
507
|
+
* Background treatment. Defaults to `auto`, which lets the model pick. Use
|
|
508
|
+
* `transparent` to generate a PNG with an alpha-channel background.
|
|
509
|
+
*/
|
|
510
|
+
background?: 'transparent' | 'opaque' | 'auto';
|
|
511
|
+
/**
|
|
512
|
+
* The number of images to generate (1-10). Increasing this number will affect the
|
|
513
|
+
* number of credits consumed by the generation.
|
|
514
|
+
*/
|
|
515
|
+
outputCount?: number;
|
|
516
|
+
/**
|
|
517
|
+
* Rendering quality. Higher qualities consume more credits. Defaults to `high`.
|
|
518
|
+
*/
|
|
519
|
+
quality?: 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
520
|
+
/**
|
|
521
|
+
* An array of up to 16 images to be used as references for the generated image
|
|
522
|
+
* output. No two images may share the same tag. Each reference image adds 1 credit
|
|
523
|
+
* per generated image.
|
|
524
|
+
*/
|
|
525
|
+
referenceImages?: Array<GptImage2_5Sunburst.ReferenceImage>;
|
|
526
|
+
}
|
|
527
|
+
namespace GptImage2_5Sunburst {
|
|
528
|
+
interface ReferenceImage {
|
|
529
|
+
/**
|
|
530
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
531
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
532
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
533
|
+
*/
|
|
534
|
+
uri: string;
|
|
535
|
+
/**
|
|
536
|
+
* A tag to identify the reference image. This may be used to reference the image
|
|
537
|
+
* in prompt text. Must be 3-16 characters, start with a letter, and use only
|
|
538
|
+
* letters, digits, and underscores (no hyphens or other punctuation).
|
|
539
|
+
*/
|
|
540
|
+
tag?: string;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
448
543
|
interface Gemini2_5Flash {
|
|
449
544
|
model: 'gemini_2.5_flash';
|
|
450
545
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-image.d.mts","sourceRoot":"","sources":["../src/resources/text-to-image.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAA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
35
35
|
}
|
|
36
|
-
export type TextToImageCreateParams = TextToImageCreateParams.Gen4ImageTurbo | TextToImageCreateParams.Gen4Image | TextToImageCreateParams.GptImage2 | TextToImageCreateParams.
|
|
36
|
+
export type TextToImageCreateParams = TextToImageCreateParams.Gen4ImageTurbo | TextToImageCreateParams.Gen4Image | TextToImageCreateParams.GptImage2 | TextToImageCreateParams.GeminiImage3_1Flash | TextToImageCreateParams.MuseImage | TextToImageCreateParams.Seedream5Pro | TextToImageCreateParams.Seedream5Lite | TextToImageCreateParams.GrokImagineImage2 | TextToImageCreateParams.GeminiImage3Pro | TextToImageCreateParams.GptImage2_5Flare | TextToImageCreateParams.GptImage2_5Sunburst | TextToImageCreateParams.Gemini2_5Flash;
|
|
37
37
|
export declare namespace TextToImageCreateParams {
|
|
38
38
|
interface Gen4ImageTurbo {
|
|
39
39
|
model: 'gen4_image_turbo';
|
|
@@ -188,52 +188,6 @@ export declare namespace TextToImageCreateParams {
|
|
|
188
188
|
tag?: string;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
interface GeminiImage3Pro {
|
|
192
|
-
model: 'gemini_image3_pro';
|
|
193
|
-
/**
|
|
194
|
-
* This should describe in detail what should appear in the output.
|
|
195
|
-
*/
|
|
196
|
-
promptText: string;
|
|
197
|
-
/**
|
|
198
|
-
* The resolution of the output image.
|
|
199
|
-
*/
|
|
200
|
-
ratio: '1344:768' | '768:1344' | '1024:1024' | '1184:864' | '864:1184' | '1536:672' | '832:1248' | '1248:832' | '896:1152' | '1152:896' | '2048:2048' | '1696:2528' | '2528:1696' | '1792:2400' | '2400:1792' | '1856:2304' | '2304:1856' | '1536:2752' | '2752:1536' | '3168:1344' | '4096:4096' | '3392:5056' | '5056:3392' | '3584:4800' | '4800:3584' | '3712:4608' | '4608:3712' | '3072:5504' | '5504:3072' | '6336:2688';
|
|
201
|
-
/**
|
|
202
|
-
* The number of images to generate. Increasing this number will affect the number
|
|
203
|
-
* of credits consumed by the generation. Up to four images can be generated at
|
|
204
|
-
* once.
|
|
205
|
-
*/
|
|
206
|
-
outputCount?: 1 | 4;
|
|
207
|
-
/**
|
|
208
|
-
* An array of up to 14 images to be used as references for the generated image
|
|
209
|
-
* output. Up to five of those images can pass `subject: "human"` to maintain
|
|
210
|
-
* character consistency, and up to nine of those images can pass
|
|
211
|
-
* `subject: "object"` with high-fidelity images of objects to include in the
|
|
212
|
-
* output.
|
|
213
|
-
*/
|
|
214
|
-
referenceImages?: Array<GeminiImage3Pro.ReferenceImage>;
|
|
215
|
-
}
|
|
216
|
-
namespace GeminiImage3Pro {
|
|
217
|
-
interface ReferenceImage {
|
|
218
|
-
/**
|
|
219
|
-
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
220
|
-
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
221
|
-
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
222
|
-
*/
|
|
223
|
-
uri: string;
|
|
224
|
-
/**
|
|
225
|
-
* Whether this is a reference of a human subject (for character consistency) or an
|
|
226
|
-
* object that appears in the output.
|
|
227
|
-
*/
|
|
228
|
-
subject?: 'object' | 'human';
|
|
229
|
-
/**
|
|
230
|
-
* A tag to identify the reference image. This is used to reference the image in
|
|
231
|
-
* prompt text. Must be 3-16 characters, start with a letter, and use only letters,
|
|
232
|
-
* digits, and underscores (no hyphens or other punctuation).
|
|
233
|
-
*/
|
|
234
|
-
tag?: string;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
191
|
interface GeminiImage3_1Flash {
|
|
238
192
|
model: 'gemini_image3.1_flash';
|
|
239
193
|
/**
|
|
@@ -445,6 +399,147 @@ export declare namespace TextToImageCreateParams {
|
|
|
445
399
|
uri: string;
|
|
446
400
|
}
|
|
447
401
|
}
|
|
402
|
+
interface GeminiImage3Pro {
|
|
403
|
+
model: 'gemini_image3_pro';
|
|
404
|
+
/**
|
|
405
|
+
* This should describe in detail what should appear in the output.
|
|
406
|
+
*/
|
|
407
|
+
promptText: string;
|
|
408
|
+
/**
|
|
409
|
+
* The resolution of the output image.
|
|
410
|
+
*/
|
|
411
|
+
ratio: '1344:768' | '768:1344' | '1024:1024' | '1184:864' | '864:1184' | '1536:672' | '832:1248' | '1248:832' | '896:1152' | '1152:896' | '2048:2048' | '1696:2528' | '2528:1696' | '1792:2400' | '2400:1792' | '1856:2304' | '2304:1856' | '1536:2752' | '2752:1536' | '3168:1344' | '4096:4096' | '3392:5056' | '5056:3392' | '3584:4800' | '4800:3584' | '3712:4608' | '4608:3712' | '3072:5504' | '5504:3072' | '6336:2688';
|
|
412
|
+
/**
|
|
413
|
+
* The number of images to generate. Increasing this number will affect the number
|
|
414
|
+
* of credits consumed by the generation. Up to four images can be generated at
|
|
415
|
+
* once.
|
|
416
|
+
*/
|
|
417
|
+
outputCount?: 1 | 4;
|
|
418
|
+
/**
|
|
419
|
+
* An array of up to 14 images to be used as references for the generated image
|
|
420
|
+
* output. Up to five of those images can pass `subject: "human"` to maintain
|
|
421
|
+
* character consistency, and up to nine of those images can pass
|
|
422
|
+
* `subject: "object"` with high-fidelity images of objects to include in the
|
|
423
|
+
* output.
|
|
424
|
+
*/
|
|
425
|
+
referenceImages?: Array<GeminiImage3Pro.ReferenceImage>;
|
|
426
|
+
}
|
|
427
|
+
namespace GeminiImage3Pro {
|
|
428
|
+
interface ReferenceImage {
|
|
429
|
+
/**
|
|
430
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
431
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
432
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
433
|
+
*/
|
|
434
|
+
uri: string;
|
|
435
|
+
/**
|
|
436
|
+
* Whether this is a reference of a human subject (for character consistency) or an
|
|
437
|
+
* object that appears in the output.
|
|
438
|
+
*/
|
|
439
|
+
subject?: 'object' | 'human';
|
|
440
|
+
/**
|
|
441
|
+
* A tag to identify the reference image. This is used to reference the image in
|
|
442
|
+
* prompt text. Must be 3-16 characters, start with a letter, and use only letters,
|
|
443
|
+
* digits, and underscores (no hyphens or other punctuation).
|
|
444
|
+
*/
|
|
445
|
+
tag?: string;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
interface GptImage2_5Flare {
|
|
449
|
+
model: 'gpt_image_2_5_flare';
|
|
450
|
+
/**
|
|
451
|
+
* A non-empty string describing the desired image.
|
|
452
|
+
*/
|
|
453
|
+
promptText: string;
|
|
454
|
+
/**
|
|
455
|
+
* The resolution of the output image, expressed as `<width>:<height>`. Use `auto`
|
|
456
|
+
* to let the model choose.
|
|
457
|
+
*/
|
|
458
|
+
ratio: '2048:880' | '1920:1088' | '1920:1280' | '1920:1440' | '1920:1536' | '1920:1920' | '1536:1920' | '1440:1920' | '1280:1920' | '1088:1920' | '2912:1248' | '2560:1440' | '2560:1712' | '2560:1920' | '2560:2048' | '2560:2560' | '2048:2560' | '1920:2560' | '1712:2560' | '1440:2560' | '3840:1648' | '3840:2160' | '3504:2336' | '3264:2448' | '3200:2560' | '2880:2880' | '2560:3200' | '2448:3264' | '2336:3504' | '2160:3840' | 'auto';
|
|
459
|
+
/**
|
|
460
|
+
* Background treatment. Defaults to `auto`, which lets the model pick.
|
|
461
|
+
*/
|
|
462
|
+
background?: 'opaque' | 'auto';
|
|
463
|
+
/**
|
|
464
|
+
* The number of images to generate (1-10). Increasing this number will affect the
|
|
465
|
+
* number of credits consumed by the generation.
|
|
466
|
+
*/
|
|
467
|
+
outputCount?: number;
|
|
468
|
+
/**
|
|
469
|
+
* Rendering quality. Higher qualities consume more credits. Defaults to `high`.
|
|
470
|
+
*/
|
|
471
|
+
quality?: 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
472
|
+
/**
|
|
473
|
+
* An array of up to 16 images to be used as references for the generated image
|
|
474
|
+
* output. No two images may share the same tag. Each reference image adds 1 credit
|
|
475
|
+
* per generated image.
|
|
476
|
+
*/
|
|
477
|
+
referenceImages?: Array<GptImage2_5Flare.ReferenceImage>;
|
|
478
|
+
}
|
|
479
|
+
namespace GptImage2_5Flare {
|
|
480
|
+
interface ReferenceImage {
|
|
481
|
+
/**
|
|
482
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
483
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
484
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
485
|
+
*/
|
|
486
|
+
uri: string;
|
|
487
|
+
/**
|
|
488
|
+
* A tag to identify the reference image. This may be used to reference the image
|
|
489
|
+
* in prompt text. Must be 3-16 characters, start with a letter, and use only
|
|
490
|
+
* letters, digits, and underscores (no hyphens or other punctuation).
|
|
491
|
+
*/
|
|
492
|
+
tag?: string;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
interface GptImage2_5Sunburst {
|
|
496
|
+
model: 'gpt_image_2_5_sunburst';
|
|
497
|
+
/**
|
|
498
|
+
* A non-empty string describing the desired image.
|
|
499
|
+
*/
|
|
500
|
+
promptText: string;
|
|
501
|
+
/**
|
|
502
|
+
* The resolution of the output image, expressed as `<width>:<height>`. Use `auto`
|
|
503
|
+
* to let the model choose.
|
|
504
|
+
*/
|
|
505
|
+
ratio: '2048:880' | '1920:1088' | '1920:1280' | '1920:1440' | '1920:1536' | '1920:1920' | '1536:1920' | '1440:1920' | '1280:1920' | '1088:1920' | '2912:1248' | '2560:1440' | '2560:1712' | '2560:1920' | '2560:2048' | '2560:2560' | '2048:2560' | '1920:2560' | '1712:2560' | '1440:2560' | '3840:1648' | '3840:2160' | '3504:2336' | '3264:2448' | '3200:2560' | '2880:2880' | '2560:3200' | '2448:3264' | '2336:3504' | '2160:3840' | 'auto';
|
|
506
|
+
/**
|
|
507
|
+
* Background treatment. Defaults to `auto`, which lets the model pick. Use
|
|
508
|
+
* `transparent` to generate a PNG with an alpha-channel background.
|
|
509
|
+
*/
|
|
510
|
+
background?: 'transparent' | 'opaque' | 'auto';
|
|
511
|
+
/**
|
|
512
|
+
* The number of images to generate (1-10). Increasing this number will affect the
|
|
513
|
+
* number of credits consumed by the generation.
|
|
514
|
+
*/
|
|
515
|
+
outputCount?: number;
|
|
516
|
+
/**
|
|
517
|
+
* Rendering quality. Higher qualities consume more credits. Defaults to `high`.
|
|
518
|
+
*/
|
|
519
|
+
quality?: 'low' | 'medium' | 'high' | 'xhigh' | 'max';
|
|
520
|
+
/**
|
|
521
|
+
* An array of up to 16 images to be used as references for the generated image
|
|
522
|
+
* output. No two images may share the same tag. Each reference image adds 1 credit
|
|
523
|
+
* per generated image.
|
|
524
|
+
*/
|
|
525
|
+
referenceImages?: Array<GptImage2_5Sunburst.ReferenceImage>;
|
|
526
|
+
}
|
|
527
|
+
namespace GptImage2_5Sunburst {
|
|
528
|
+
interface ReferenceImage {
|
|
529
|
+
/**
|
|
530
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
531
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
532
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
533
|
+
*/
|
|
534
|
+
uri: string;
|
|
535
|
+
/**
|
|
536
|
+
* A tag to identify the reference image. This may be used to reference the image
|
|
537
|
+
* in prompt text. Must be 3-16 characters, start with a letter, and use only
|
|
538
|
+
* letters, digits, and underscores (no hyphens or other punctuation).
|
|
539
|
+
*/
|
|
540
|
+
tag?: string;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
448
543
|
interface Gemini2_5Flash {
|
|
449
544
|
model: 'gemini_2.5_flash';
|
|
450
545
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-image.d.ts","sourceRoot":"","sources":["../src/resources/text-to-image.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,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voice to use for text-to-speech generation. If omitted, a default voice is
|
|
68
|
+
* used.
|
|
68
69
|
*/
|
|
69
70
|
voice?: SeedAudio.Voice;
|
|
70
71
|
}
|
|
71
72
|
namespace SeedAudio {
|
|
72
73
|
/**
|
|
73
|
-
*
|
|
74
|
+
* The voice to use for text-to-speech generation. If omitted, a default voice is
|
|
75
|
+
* used.
|
|
74
76
|
*/
|
|
75
77
|
interface Voice {
|
|
76
78
|
/**
|
|
77
79
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
78
|
-
* `data:audio/mp3;base64,...`, up to
|
|
80
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
79
81
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
80
82
|
*/
|
|
81
83
|
audioUri: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-speech.d.mts","sourceRoot":"","sources":["../src/resources/text-to-speech.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,0BAA0B,CAAC,aAAa,CAAC;CACzD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,MAAM,wBAAwB,GAChC,wBAAwB,CAAC,SAAS,GAClC,wBAAwB,CAAC,oBAAoB,GAC7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