@runwayml/sdk 3.2.0 → 3.4.0
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 +21 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/image-to-video.d.mts +10 -6
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +10 -6
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/organization.d.mts +122 -2
- package/resources/organization.d.mts.map +1 -1
- package/resources/organization.d.ts +122 -2
- package/resources/organization.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +5 -4
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +5 -4
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/voice-dubbing.d.mts +48 -0
- package/resources/voice-dubbing.d.mts.map +1 -0
- package/resources/voice-dubbing.d.ts +48 -0
- package/resources/voice-dubbing.d.ts.map +1 -0
- package/resources/voice-dubbing.js +16 -0
- package/resources/voice-dubbing.js.map +1 -0
- package/resources/voice-dubbing.mjs +12 -0
- package/resources/voice-dubbing.mjs.map +1 -0
- package/resources/voice-isolation.d.mts +30 -0
- package/resources/voice-isolation.d.mts.map +1 -0
- package/resources/voice-isolation.d.ts +30 -0
- package/resources/voice-isolation.d.ts.map +1 -0
- package/resources/voice-isolation.js +16 -0
- package/resources/voice-isolation.js.map +1 -0
- package/resources/voice-isolation.mjs +12 -0
- package/resources/voice-isolation.mjs.map +1 -0
- package/src/client.ts +26 -0
- package/src/resources/image-to-video.ts +20 -6
- package/src/resources/index.ts +10 -0
- package/src/resources/organization.ts +149 -1
- package/src/resources/text-to-video.ts +5 -4
- package/src/resources/voice-dubbing.ts +97 -0
- package/src/resources/voice-isolation.ts +46 -0
- 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
|
@@ -59,6 +59,14 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
59
59
|
* Limits associated with the eleven_text_to_sound_v2 model.
|
|
60
60
|
*/
|
|
61
61
|
eleven_text_to_sound_v2?: Models.ElevenTextToSoundV2;
|
|
62
|
+
/**
|
|
63
|
+
* Limits associated with the eleven_voice_dubbing model.
|
|
64
|
+
*/
|
|
65
|
+
eleven_voice_dubbing?: Models.ElevenVoiceDubbing;
|
|
66
|
+
/**
|
|
67
|
+
* Limits associated with the eleven_voice_isolation model.
|
|
68
|
+
*/
|
|
69
|
+
eleven_voice_isolation?: Models.ElevenVoiceIsolation;
|
|
62
70
|
/**
|
|
63
71
|
* Limits associated with the gemini_2.5_flash model.
|
|
64
72
|
*/
|
|
@@ -91,6 +99,14 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
91
99
|
* Limits associated with the veo3 model.
|
|
92
100
|
*/
|
|
93
101
|
veo3?: Models.Veo3;
|
|
102
|
+
/**
|
|
103
|
+
* Limits associated with the veo3.1 model.
|
|
104
|
+
*/
|
|
105
|
+
'veo3.1'?: Models.Veo3_1;
|
|
106
|
+
/**
|
|
107
|
+
* Limits associated with the veo3.1_fast model.
|
|
108
|
+
*/
|
|
109
|
+
'veo3.1_fast'?: Models.Veo3_1Fast;
|
|
94
110
|
}
|
|
95
111
|
namespace Models {
|
|
96
112
|
/**
|
|
@@ -132,6 +148,32 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
132
148
|
*/
|
|
133
149
|
maxDailyGenerations: number;
|
|
134
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* Limits associated with the eleven_voice_dubbing model.
|
|
153
|
+
*/
|
|
154
|
+
interface ElevenVoiceDubbing {
|
|
155
|
+
/**
|
|
156
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
157
|
+
*/
|
|
158
|
+
maxConcurrentGenerations: number;
|
|
159
|
+
/**
|
|
160
|
+
* The maximum number of generations that can be created each day for this model.
|
|
161
|
+
*/
|
|
162
|
+
maxDailyGenerations: number;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Limits associated with the eleven_voice_isolation model.
|
|
166
|
+
*/
|
|
167
|
+
interface ElevenVoiceIsolation {
|
|
168
|
+
/**
|
|
169
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
170
|
+
*/
|
|
171
|
+
maxConcurrentGenerations: number;
|
|
172
|
+
/**
|
|
173
|
+
* The maximum number of generations that can be created each day for this model.
|
|
174
|
+
*/
|
|
175
|
+
maxDailyGenerations: number;
|
|
176
|
+
}
|
|
135
177
|
/**
|
|
136
178
|
* Limits associated with the gemini_2.5_flash model.
|
|
137
179
|
*/
|
|
@@ -236,6 +278,32 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
236
278
|
*/
|
|
237
279
|
maxDailyGenerations: number;
|
|
238
280
|
}
|
|
281
|
+
/**
|
|
282
|
+
* Limits associated with the veo3.1 model.
|
|
283
|
+
*/
|
|
284
|
+
interface Veo3_1 {
|
|
285
|
+
/**
|
|
286
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
287
|
+
*/
|
|
288
|
+
maxConcurrentGenerations: number;
|
|
289
|
+
/**
|
|
290
|
+
* The maximum number of generations that can be created each day for this model.
|
|
291
|
+
*/
|
|
292
|
+
maxDailyGenerations: number;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Limits associated with the veo3.1_fast model.
|
|
296
|
+
*/
|
|
297
|
+
interface Veo3_1Fast {
|
|
298
|
+
/**
|
|
299
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
300
|
+
*/
|
|
301
|
+
maxConcurrentGenerations: number;
|
|
302
|
+
/**
|
|
303
|
+
* The maximum number of generations that can be created each day for this model.
|
|
304
|
+
*/
|
|
305
|
+
maxDailyGenerations: number;
|
|
306
|
+
}
|
|
239
307
|
}
|
|
240
308
|
}
|
|
241
309
|
/**
|
|
@@ -264,6 +332,14 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
264
332
|
* Usage data for the eleven_text_to_sound_v2 model.
|
|
265
333
|
*/
|
|
266
334
|
eleven_text_to_sound_v2?: Models.ElevenTextToSoundV2;
|
|
335
|
+
/**
|
|
336
|
+
* Usage data for the eleven_voice_dubbing model.
|
|
337
|
+
*/
|
|
338
|
+
eleven_voice_dubbing?: Models.ElevenVoiceDubbing;
|
|
339
|
+
/**
|
|
340
|
+
* Usage data for the eleven_voice_isolation model.
|
|
341
|
+
*/
|
|
342
|
+
eleven_voice_isolation?: Models.ElevenVoiceIsolation;
|
|
267
343
|
/**
|
|
268
344
|
* Usage data for the gemini_2.5_flash model.
|
|
269
345
|
*/
|
|
@@ -296,6 +372,14 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
296
372
|
* Usage data for the veo3 model.
|
|
297
373
|
*/
|
|
298
374
|
veo3?: Models.Veo3;
|
|
375
|
+
/**
|
|
376
|
+
* Usage data for the veo3.1 model.
|
|
377
|
+
*/
|
|
378
|
+
'veo3.1'?: Models.Veo3_1;
|
|
379
|
+
/**
|
|
380
|
+
* Usage data for the veo3.1_fast model.
|
|
381
|
+
*/
|
|
382
|
+
'veo3.1_fast'?: Models.Veo3_1Fast;
|
|
299
383
|
}
|
|
300
384
|
namespace Models {
|
|
301
385
|
/**
|
|
@@ -325,6 +409,24 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
325
409
|
*/
|
|
326
410
|
dailyGenerations: number;
|
|
327
411
|
}
|
|
412
|
+
/**
|
|
413
|
+
* Usage data for the eleven_voice_dubbing model.
|
|
414
|
+
*/
|
|
415
|
+
interface ElevenVoiceDubbing {
|
|
416
|
+
/**
|
|
417
|
+
* The number of generations that have been run for this model in the past day.
|
|
418
|
+
*/
|
|
419
|
+
dailyGenerations: number;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Usage data for the eleven_voice_isolation model.
|
|
423
|
+
*/
|
|
424
|
+
interface ElevenVoiceIsolation {
|
|
425
|
+
/**
|
|
426
|
+
* The number of generations that have been run for this model in the past day.
|
|
427
|
+
*/
|
|
428
|
+
dailyGenerations: number;
|
|
429
|
+
}
|
|
328
430
|
/**
|
|
329
431
|
* Usage data for the gemini_2.5_flash model.
|
|
330
432
|
*/
|
|
@@ -397,6 +499,24 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
397
499
|
*/
|
|
398
500
|
dailyGenerations: number;
|
|
399
501
|
}
|
|
502
|
+
/**
|
|
503
|
+
* Usage data for the veo3.1 model.
|
|
504
|
+
*/
|
|
505
|
+
interface Veo3_1 {
|
|
506
|
+
/**
|
|
507
|
+
* The number of generations that have been run for this model in the past day.
|
|
508
|
+
*/
|
|
509
|
+
dailyGenerations: number;
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Usage data for the veo3.1_fast model.
|
|
513
|
+
*/
|
|
514
|
+
interface Veo3_1Fast {
|
|
515
|
+
/**
|
|
516
|
+
* The number of generations that have been run for this model in the past day.
|
|
517
|
+
*/
|
|
518
|
+
dailyGenerations: number;
|
|
519
|
+
}
|
|
400
520
|
}
|
|
401
521
|
}
|
|
402
522
|
}
|
|
@@ -404,7 +524,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
404
524
|
/**
|
|
405
525
|
* The list of models with usage during the queried time range.
|
|
406
526
|
*/
|
|
407
|
-
models: Array<'act_two' | 'eleven_multilingual_v2' | 'eleven_text_to_sound_v2' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3'>;
|
|
527
|
+
models: Array<'act_two' | 'eleven_multilingual_v2' | 'eleven_text_to_sound_v2' | 'eleven_voice_dubbing' | 'eleven_voice_isolation' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3' | 'veo3.1' | 'veo3.1_fast'>;
|
|
408
528
|
results: Array<OrganizationRetrieveUsageResponse.Result>;
|
|
409
529
|
}
|
|
410
530
|
export declare namespace OrganizationRetrieveUsageResponse {
|
|
@@ -428,7 +548,7 @@ export declare namespace OrganizationRetrieveUsageResponse {
|
|
|
428
548
|
/**
|
|
429
549
|
* The model whose usage resulted in the credit usage.
|
|
430
550
|
*/
|
|
431
|
-
model: 'act_two' | 'eleven_multilingual_v2' | 'eleven_text_to_sound_v2' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3';
|
|
551
|
+
model: 'act_two' | 'eleven_multilingual_v2' | 'eleven_text_to_sound_v2' | 'eleven_voice_dubbing' | 'eleven_voice_isolation' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3' | 'veo3.1' | 'veo3.1_fast';
|
|
432
552
|
}
|
|
433
553
|
}
|
|
434
554
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.mts","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAI5E;;;;OAIG;IACH,aAAa,CACX,IAAI,GAAE,+BAA+B,GAAG,IAAI,GA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veResponse {
|
|
|
59
59
|
* Limits associated with the eleven_text_to_sound_v2 model.
|
|
60
60
|
*/
|
|
61
61
|
eleven_text_to_sound_v2?: Models.ElevenTextToSoundV2;
|
|
62
|
+
/**
|
|
63
|
+
* Limits associated with the eleven_voice_dubbing model.
|
|
64
|
+
*/
|
|
65
|
+
eleven_voice_dubbing?: Models.ElevenVoiceDubbing;
|
|
66
|
+
/**
|
|
67
|
+
* Limits associated with the eleven_voice_isolation model.
|
|
68
|
+
*/
|
|
69
|
+
eleven_voice_isolation?: Models.ElevenVoiceIsolation;
|
|
62
70
|
/**
|
|
63
71
|
* Limits associated with the gemini_2.5_flash model.
|
|
64
72
|
*/
|
|
@@ -91,6 +99,14 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
91
99
|
* Limits associated with the veo3 model.
|
|
92
100
|
*/
|
|
93
101
|
veo3?: Models.Veo3;
|
|
102
|
+
/**
|
|
103
|
+
* Limits associated with the veo3.1 model.
|
|
104
|
+
*/
|
|
105
|
+
'veo3.1'?: Models.Veo3_1;
|
|
106
|
+
/**
|
|
107
|
+
* Limits associated with the veo3.1_fast model.
|
|
108
|
+
*/
|
|
109
|
+
'veo3.1_fast'?: Models.Veo3_1Fast;
|
|
94
110
|
}
|
|
95
111
|
namespace Models {
|
|
96
112
|
/**
|
|
@@ -132,6 +148,32 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
132
148
|
*/
|
|
133
149
|
maxDailyGenerations: number;
|
|
134
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* Limits associated with the eleven_voice_dubbing model.
|
|
153
|
+
*/
|
|
154
|
+
interface ElevenVoiceDubbing {
|
|
155
|
+
/**
|
|
156
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
157
|
+
*/
|
|
158
|
+
maxConcurrentGenerations: number;
|
|
159
|
+
/**
|
|
160
|
+
* The maximum number of generations that can be created each day for this model.
|
|
161
|
+
*/
|
|
162
|
+
maxDailyGenerations: number;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Limits associated with the eleven_voice_isolation model.
|
|
166
|
+
*/
|
|
167
|
+
interface ElevenVoiceIsolation {
|
|
168
|
+
/**
|
|
169
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
170
|
+
*/
|
|
171
|
+
maxConcurrentGenerations: number;
|
|
172
|
+
/**
|
|
173
|
+
* The maximum number of generations that can be created each day for this model.
|
|
174
|
+
*/
|
|
175
|
+
maxDailyGenerations: number;
|
|
176
|
+
}
|
|
135
177
|
/**
|
|
136
178
|
* Limits associated with the gemini_2.5_flash model.
|
|
137
179
|
*/
|
|
@@ -236,6 +278,32 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
236
278
|
*/
|
|
237
279
|
maxDailyGenerations: number;
|
|
238
280
|
}
|
|
281
|
+
/**
|
|
282
|
+
* Limits associated with the veo3.1 model.
|
|
283
|
+
*/
|
|
284
|
+
interface Veo3_1 {
|
|
285
|
+
/**
|
|
286
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
287
|
+
*/
|
|
288
|
+
maxConcurrentGenerations: number;
|
|
289
|
+
/**
|
|
290
|
+
* The maximum number of generations that can be created each day for this model.
|
|
291
|
+
*/
|
|
292
|
+
maxDailyGenerations: number;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Limits associated with the veo3.1_fast model.
|
|
296
|
+
*/
|
|
297
|
+
interface Veo3_1Fast {
|
|
298
|
+
/**
|
|
299
|
+
* The maximum number of generations that can be run concurrently for this model.
|
|
300
|
+
*/
|
|
301
|
+
maxConcurrentGenerations: number;
|
|
302
|
+
/**
|
|
303
|
+
* The maximum number of generations that can be created each day for this model.
|
|
304
|
+
*/
|
|
305
|
+
maxDailyGenerations: number;
|
|
306
|
+
}
|
|
239
307
|
}
|
|
240
308
|
}
|
|
241
309
|
/**
|
|
@@ -264,6 +332,14 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
264
332
|
* Usage data for the eleven_text_to_sound_v2 model.
|
|
265
333
|
*/
|
|
266
334
|
eleven_text_to_sound_v2?: Models.ElevenTextToSoundV2;
|
|
335
|
+
/**
|
|
336
|
+
* Usage data for the eleven_voice_dubbing model.
|
|
337
|
+
*/
|
|
338
|
+
eleven_voice_dubbing?: Models.ElevenVoiceDubbing;
|
|
339
|
+
/**
|
|
340
|
+
* Usage data for the eleven_voice_isolation model.
|
|
341
|
+
*/
|
|
342
|
+
eleven_voice_isolation?: Models.ElevenVoiceIsolation;
|
|
267
343
|
/**
|
|
268
344
|
* Usage data for the gemini_2.5_flash model.
|
|
269
345
|
*/
|
|
@@ -296,6 +372,14 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
296
372
|
* Usage data for the veo3 model.
|
|
297
373
|
*/
|
|
298
374
|
veo3?: Models.Veo3;
|
|
375
|
+
/**
|
|
376
|
+
* Usage data for the veo3.1 model.
|
|
377
|
+
*/
|
|
378
|
+
'veo3.1'?: Models.Veo3_1;
|
|
379
|
+
/**
|
|
380
|
+
* Usage data for the veo3.1_fast model.
|
|
381
|
+
*/
|
|
382
|
+
'veo3.1_fast'?: Models.Veo3_1Fast;
|
|
299
383
|
}
|
|
300
384
|
namespace Models {
|
|
301
385
|
/**
|
|
@@ -325,6 +409,24 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
325
409
|
*/
|
|
326
410
|
dailyGenerations: number;
|
|
327
411
|
}
|
|
412
|
+
/**
|
|
413
|
+
* Usage data for the eleven_voice_dubbing model.
|
|
414
|
+
*/
|
|
415
|
+
interface ElevenVoiceDubbing {
|
|
416
|
+
/**
|
|
417
|
+
* The number of generations that have been run for this model in the past day.
|
|
418
|
+
*/
|
|
419
|
+
dailyGenerations: number;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Usage data for the eleven_voice_isolation model.
|
|
423
|
+
*/
|
|
424
|
+
interface ElevenVoiceIsolation {
|
|
425
|
+
/**
|
|
426
|
+
* The number of generations that have been run for this model in the past day.
|
|
427
|
+
*/
|
|
428
|
+
dailyGenerations: number;
|
|
429
|
+
}
|
|
328
430
|
/**
|
|
329
431
|
* Usage data for the gemini_2.5_flash model.
|
|
330
432
|
*/
|
|
@@ -397,6 +499,24 @@ export declare namespace OrganizationRetrieveResponse {
|
|
|
397
499
|
*/
|
|
398
500
|
dailyGenerations: number;
|
|
399
501
|
}
|
|
502
|
+
/**
|
|
503
|
+
* Usage data for the veo3.1 model.
|
|
504
|
+
*/
|
|
505
|
+
interface Veo3_1 {
|
|
506
|
+
/**
|
|
507
|
+
* The number of generations that have been run for this model in the past day.
|
|
508
|
+
*/
|
|
509
|
+
dailyGenerations: number;
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* Usage data for the veo3.1_fast model.
|
|
513
|
+
*/
|
|
514
|
+
interface Veo3_1Fast {
|
|
515
|
+
/**
|
|
516
|
+
* The number of generations that have been run for this model in the past day.
|
|
517
|
+
*/
|
|
518
|
+
dailyGenerations: number;
|
|
519
|
+
}
|
|
400
520
|
}
|
|
401
521
|
}
|
|
402
522
|
}
|
|
@@ -404,7 +524,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
404
524
|
/**
|
|
405
525
|
* The list of models with usage during the queried time range.
|
|
406
526
|
*/
|
|
407
|
-
models: Array<'act_two' | 'eleven_multilingual_v2' | 'eleven_text_to_sound_v2' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3'>;
|
|
527
|
+
models: Array<'act_two' | 'eleven_multilingual_v2' | 'eleven_text_to_sound_v2' | 'eleven_voice_dubbing' | 'eleven_voice_isolation' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3' | 'veo3.1' | 'veo3.1_fast'>;
|
|
408
528
|
results: Array<OrganizationRetrieveUsageResponse.Result>;
|
|
409
529
|
}
|
|
410
530
|
export declare namespace OrganizationRetrieveUsageResponse {
|
|
@@ -428,7 +548,7 @@ export declare namespace OrganizationRetrieveUsageResponse {
|
|
|
428
548
|
/**
|
|
429
549
|
* The model whose usage resulted in the credit usage.
|
|
430
550
|
*/
|
|
431
|
-
model: 'act_two' | 'eleven_multilingual_v2' | 'eleven_text_to_sound_v2' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3';
|
|
551
|
+
model: 'act_two' | 'eleven_multilingual_v2' | 'eleven_text_to_sound_v2' | 'eleven_voice_dubbing' | 'eleven_voice_isolation' | 'gemini_2.5_flash' | 'gen3a_turbo' | 'gen4_aleph' | 'gen4_image' | 'gen4_image_turbo' | 'gen4_turbo' | 'upscale_v1' | 'veo3' | 'veo3.1' | 'veo3.1_fast';
|
|
432
552
|
}
|
|
433
553
|
}
|
|
434
554
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../src/resources/organization.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAI5E;;;;OAIG;IACH,aAAa,CACX,IAAI,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;CAGjD;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC;IAExC;;OAEG;IACH,KAAK,EAAE,4BAA4B,CAAC,KAAK,CAAC;CAC3C;AAED,yBAAiB,4BAA4B,CAAC;IA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aAAa,CAChB,CAAC;IAEF,OAAO,EAAE,KAAK,CAAC,iCAAiC,CAAC,MAAM,CAAC,CAAC;CAC1D;AAED,yBAAiB,iCAAiC,CAAC;IACjD,UAAiB,MAAM;QACrB;;;WAGG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;KACvC;IAED,UAAiB,MAAM,CAAC;QACtB,UAAiB,UAAU;YACzB;;eAEG;YACH,MAAM,EAAE,MAAM,CAAC;YAEf;;eAEG;YACH,KAAK,EACD,SAAS,GACT,wBAAwB,GACxB,yBAAyB,GACzB,sBAAsB,GACtB,wBAAwB,GACxB,kBAAkB,GAClB,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,kBAAkB,GAClB,YAAY,GACZ,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,aAAa,CAAC;SACnB;KACF;CACF;AAED,MAAM,WAAW,+BAA+B;IAC9C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -15,13 +15,14 @@ export interface TextToVideoCreateResponse {
|
|
|
15
15
|
}
|
|
16
16
|
export interface TextToVideoCreateParams {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* `veo3` videos must be 8 seconds long. `veo3.1` and `veo3.1_fast` videos must be
|
|
19
|
+
* 4, 6, or 8 seconds long.
|
|
19
20
|
*/
|
|
20
|
-
duration: 8;
|
|
21
|
+
duration: 4 | 6 | 8;
|
|
21
22
|
/**
|
|
22
23
|
* The model variant to use.
|
|
23
24
|
*/
|
|
24
|
-
model: 'veo3';
|
|
25
|
+
model: 'veo3.1' | 'veo3.1_fast' | 'veo3';
|
|
25
26
|
/**
|
|
26
27
|
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
27
28
|
* should describe in detail what should appear in the output.
|
|
@@ -30,7 +31,7 @@ export interface TextToVideoCreateParams {
|
|
|
30
31
|
/**
|
|
31
32
|
* A string representing the aspect ratio of the output video.
|
|
32
33
|
*/
|
|
33
|
-
ratio: '1280:720' | '720:1280';
|
|
34
|
+
ratio: '1280:720' | '720:1280' | '1080:1920' | '1920:1080';
|
|
34
35
|
/**
|
|
35
36
|
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
36
37
|
* get different results for the same other request parameters. Using the same seed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-video.d.mts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,uBAAuB;IACtC
|
|
1
|
+
{"version":3,"file":"text-to-video.d.mts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,QAAQ,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;IAEzC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAC;IAE3D;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -15,13 +15,14 @@ export interface TextToVideoCreateResponse {
|
|
|
15
15
|
}
|
|
16
16
|
export interface TextToVideoCreateParams {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* `veo3` videos must be 8 seconds long. `veo3.1` and `veo3.1_fast` videos must be
|
|
19
|
+
* 4, 6, or 8 seconds long.
|
|
19
20
|
*/
|
|
20
|
-
duration: 8;
|
|
21
|
+
duration: 4 | 6 | 8;
|
|
21
22
|
/**
|
|
22
23
|
* The model variant to use.
|
|
23
24
|
*/
|
|
24
|
-
model: 'veo3';
|
|
25
|
+
model: 'veo3.1' | 'veo3.1_fast' | 'veo3';
|
|
25
26
|
/**
|
|
26
27
|
* A non-empty string up to 1000 characters (measured in UTF-16 code units). This
|
|
27
28
|
* should describe in detail what should appear in the output.
|
|
@@ -30,7 +31,7 @@ export interface TextToVideoCreateParams {
|
|
|
30
31
|
/**
|
|
31
32
|
* A string representing the aspect ratio of the output video.
|
|
32
33
|
*/
|
|
33
|
-
ratio: '1280:720' | '720:1280';
|
|
34
|
+
ratio: '1280:720' | '720:1280' | '1080:1920' | '1920:1080';
|
|
34
35
|
/**
|
|
35
36
|
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
36
37
|
* get different results for the same other request parameters. Using the same seed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-video.d.ts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,uBAAuB;IACtC
|
|
1
|
+
{"version":3,"file":"text-to-video.d.ts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,QAAQ,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;IAEzC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAC;IAE3D;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
3
|
+
import { APIPromiseWithAwaitableTask } from "../lib/polling.mjs";
|
|
4
|
+
export declare class VoiceDubbing extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* This endpoint will start a new task to dub audio content to a target language.
|
|
7
|
+
*/
|
|
8
|
+
create(body: VoiceDubbingCreateParams, options?: RequestOptions): APIPromiseWithAwaitableTask<VoiceDubbingCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface VoiceDubbingCreateResponse {
|
|
11
|
+
/**
|
|
12
|
+
* The ID of the newly created task.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
export interface VoiceDubbingCreateParams {
|
|
17
|
+
/**
|
|
18
|
+
* A HTTPS URL or data URI containing the audio file to dub. See
|
|
19
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
20
|
+
*/
|
|
21
|
+
audioUri: string;
|
|
22
|
+
/**
|
|
23
|
+
* The model variant to use.
|
|
24
|
+
*/
|
|
25
|
+
model: 'eleven_voice_dubbing';
|
|
26
|
+
/**
|
|
27
|
+
* The target language code to dub the audio to (e.g., "es" for Spanish, "fr" for
|
|
28
|
+
* French).
|
|
29
|
+
*/
|
|
30
|
+
targetLang: 'en' | 'hi' | 'pt' | 'zh' | 'es' | 'fr' | 'de' | 'ja' | 'ar' | 'ru' | 'ko' | 'id' | 'it' | 'nl' | 'tr' | 'pl' | 'sv' | 'fil' | 'ms' | 'ro' | 'uk' | 'el' | 'cs' | 'da' | 'fi' | 'bg' | 'hr' | 'sk' | 'ta';
|
|
31
|
+
/**
|
|
32
|
+
* Whether to disable voice cloning and use a generic voice instead.
|
|
33
|
+
*/
|
|
34
|
+
disableVoiceCloning?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Whether to remove background audio from the dubbed output.
|
|
37
|
+
*/
|
|
38
|
+
dropBackgroundAudio?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The number of speakers in the audio. If not provided, it will be detected
|
|
41
|
+
* automatically.
|
|
42
|
+
*/
|
|
43
|
+
numSpeakers?: number;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace VoiceDubbing {
|
|
46
|
+
export { type VoiceDubbingCreateResponse as VoiceDubbingCreateResponse, type VoiceDubbingCreateParams as VoiceDubbingCreateParams, };
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=voice-dubbing.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voice-dubbing.d.mts","sourceRoot":"","sources":["../src/resources/voice-dubbing.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,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;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,sBAAsB,CAAC;IAE9B;;;OAGG;IACH,UAAU,EACN,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;IAET;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
3
|
+
import { APIPromiseWithAwaitableTask } from "../lib/polling.js";
|
|
4
|
+
export declare class VoiceDubbing extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* This endpoint will start a new task to dub audio content to a target language.
|
|
7
|
+
*/
|
|
8
|
+
create(body: VoiceDubbingCreateParams, options?: RequestOptions): APIPromiseWithAwaitableTask<VoiceDubbingCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface VoiceDubbingCreateResponse {
|
|
11
|
+
/**
|
|
12
|
+
* The ID of the newly created task.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
export interface VoiceDubbingCreateParams {
|
|
17
|
+
/**
|
|
18
|
+
* A HTTPS URL or data URI containing the audio file to dub. See
|
|
19
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
20
|
+
*/
|
|
21
|
+
audioUri: string;
|
|
22
|
+
/**
|
|
23
|
+
* The model variant to use.
|
|
24
|
+
*/
|
|
25
|
+
model: 'eleven_voice_dubbing';
|
|
26
|
+
/**
|
|
27
|
+
* The target language code to dub the audio to (e.g., "es" for Spanish, "fr" for
|
|
28
|
+
* French).
|
|
29
|
+
*/
|
|
30
|
+
targetLang: 'en' | 'hi' | 'pt' | 'zh' | 'es' | 'fr' | 'de' | 'ja' | 'ar' | 'ru' | 'ko' | 'id' | 'it' | 'nl' | 'tr' | 'pl' | 'sv' | 'fil' | 'ms' | 'ro' | 'uk' | 'el' | 'cs' | 'da' | 'fi' | 'bg' | 'hr' | 'sk' | 'ta';
|
|
31
|
+
/**
|
|
32
|
+
* Whether to disable voice cloning and use a generic voice instead.
|
|
33
|
+
*/
|
|
34
|
+
disableVoiceCloning?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Whether to remove background audio from the dubbed output.
|
|
37
|
+
*/
|
|
38
|
+
dropBackgroundAudio?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The number of speakers in the audio. If not provided, it will be detected
|
|
41
|
+
* automatically.
|
|
42
|
+
*/
|
|
43
|
+
numSpeakers?: number;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace VoiceDubbing {
|
|
46
|
+
export { type VoiceDubbingCreateResponse as VoiceDubbingCreateResponse, type VoiceDubbingCreateParams as VoiceDubbingCreateParams, };
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=voice-dubbing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voice-dubbing.d.ts","sourceRoot":"","sources":["../src/resources/voice-dubbing.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,cAAc,EAAE;OAClB,EAAE,2BAA2B,EAA0B;AAE9D,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;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,sBAAsB,CAAC;IAE9B;;;OAGG;IACH,UAAU,EACN,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;IAET;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.VoiceDubbing = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const polling_1 = require("../lib/polling.js");
|
|
7
|
+
class VoiceDubbing extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* This endpoint will start a new task to dub audio content to a target language.
|
|
10
|
+
*/
|
|
11
|
+
create(body, options) {
|
|
12
|
+
return (0, polling_1.wrapAsWaitableResource)(this._client)(this._client.post('/v1/voice_dubbing', { body, ...options }));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.VoiceDubbing = VoiceDubbing;
|
|
16
|
+
//# sourceMappingURL=voice-dubbing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voice-dubbing.js","sourceRoot":"","sources":["../src/resources/voice-dubbing.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,+CAAqF;AAErF,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAA,gCAAsB,EAA6B,IAAI,CAAC,OAAO,CAAC,CACrE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF;AAZD,oCAYC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { wrapAsWaitableResource } from "../lib/polling.mjs";
|
|
4
|
+
export class VoiceDubbing extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* This endpoint will start a new task to dub audio content to a target language.
|
|
7
|
+
*/
|
|
8
|
+
create(body, options) {
|
|
9
|
+
return wrapAsWaitableResource(this._client)(this._client.post('/v1/voice_dubbing', { body, ...options }));
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=voice-dubbing.mjs.map
|