@runwayml/sdk 4.19.1 → 4.20.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 +7 -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 +2 -2
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +2 -2
- 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 +46 -22
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +46 -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-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 +15 -8
- package/resources/video-to-hdr.d.mts.map +1 -1
- package/resources/video-to-hdr.d.ts +15 -8
- 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/src/resources/image-to-video.ts +258 -26
- package/src/resources/organization/organization.ts +12 -0
- package/src/resources/organization/webapp/audit-logs.ts +90 -20
- package/src/resources/realtime-sessions.ts +6 -3
- package/src/resources/tasks.ts +12 -6
- 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 +21 -8
- package/src/resources/video-to-video.ts +70 -5
- 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
|
@@ -127,6 +127,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
127
127
|
| 'seedream5_pro'
|
|
128
128
|
| 'seedream5_lite'
|
|
129
129
|
| 'gemini_omni_flash'
|
|
130
|
+
| 'gemini_omni_flash_1.1'
|
|
130
131
|
| 'eleven_multilingual_v2'
|
|
131
132
|
| 'seed_audio'
|
|
132
133
|
| 'eleven_v3'
|
|
@@ -144,10 +145,15 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
144
145
|
| 'seedance2_fast'
|
|
145
146
|
| 'seedance2_mini'
|
|
146
147
|
| 'hailuo3'
|
|
148
|
+
| 'h3_max'
|
|
147
149
|
| 'wan3'
|
|
150
|
+
| 'wan3_prime'
|
|
151
|
+
| 'grok_imagine_1_5'
|
|
152
|
+
| 'grok_imagine_image_2'
|
|
148
153
|
| 'muse_image'
|
|
149
154
|
| 'magnific_precision_upscaler_v2'
|
|
150
155
|
| 'magnific_video_upscaler_creative'
|
|
156
|
+
| 'ruby'
|
|
151
157
|
| 'kling2.5_turbo_pro'
|
|
152
158
|
| 'kling3.0_pro'
|
|
153
159
|
| 'kling3.0_4k'
|
|
@@ -222,6 +228,7 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
222
228
|
| 'seedream5_pro'
|
|
223
229
|
| 'seedream5_lite'
|
|
224
230
|
| 'gemini_omni_flash'
|
|
231
|
+
| 'gemini_omni_flash_1.1'
|
|
225
232
|
| 'eleven_multilingual_v2'
|
|
226
233
|
| 'seed_audio'
|
|
227
234
|
| 'eleven_v3'
|
|
@@ -239,10 +246,15 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
239
246
|
| 'seedance2_fast'
|
|
240
247
|
| 'seedance2_mini'
|
|
241
248
|
| 'hailuo3'
|
|
249
|
+
| 'h3_max'
|
|
242
250
|
| 'wan3'
|
|
251
|
+
| 'wan3_prime'
|
|
252
|
+
| 'grok_imagine_1_5'
|
|
253
|
+
| 'grok_imagine_image_2'
|
|
243
254
|
| 'muse_image'
|
|
244
255
|
| 'magnific_precision_upscaler_v2'
|
|
245
256
|
| 'magnific_video_upscaler_creative'
|
|
257
|
+
| 'ruby'
|
|
246
258
|
| 'kling2.5_turbo_pro'
|
|
247
259
|
| 'kling3.0_pro'
|
|
248
260
|
| 'kling3.0_4k'
|
|
@@ -58,7 +58,10 @@ export interface AuditLogRetrieveResponse {
|
|
|
58
58
|
| 'TeamSettingsUpdated'
|
|
59
59
|
| 'InviteLinkToggled'
|
|
60
60
|
| 'UserGroupCreated'
|
|
61
|
+
| 'UserGroupUpdated'
|
|
61
62
|
| 'UserGroupDeleted'
|
|
63
|
+
| 'UserGroupArchived'
|
|
64
|
+
| 'UserGroupRestored'
|
|
62
65
|
| 'UserGroupMemberAdded'
|
|
63
66
|
| 'UserGroupMemberRemoved'
|
|
64
67
|
| 'SSOLogin'
|
|
@@ -72,11 +75,19 @@ export interface AuditLogRetrieveResponse {
|
|
|
72
75
|
| 'AssetDownloaded'
|
|
73
76
|
| 'AssetShared'
|
|
74
77
|
| 'AssetUnshared'
|
|
78
|
+
| 'CommentCreated'
|
|
79
|
+
| 'CommentEdited'
|
|
80
|
+
| 'CommentDeleted'
|
|
81
|
+
| 'CommentAgentCallRun'
|
|
82
|
+
| 'CommentRemovedByModerator'
|
|
83
|
+
| 'CommentRestoredByModerator'
|
|
84
|
+
| 'CommentRemovalReasonChanged'
|
|
75
85
|
| 'PermissionGranted'
|
|
76
86
|
| 'PermissionUpdated'
|
|
77
87
|
| 'PermissionRevoked'
|
|
78
88
|
| 'PermissionAccepted'
|
|
79
89
|
| 'SubscriptionCancelled'
|
|
90
|
+
| 'SubscriptionReactivatedWithOffer'
|
|
80
91
|
| 'SubscriptionPlanSwitched'
|
|
81
92
|
| 'CreditsTransferred'
|
|
82
93
|
| 'SeatsTransferred'
|
|
@@ -103,6 +114,10 @@ export interface AuditLogRetrieveResponse {
|
|
|
103
114
|
| 'AccountLinkDeleted'
|
|
104
115
|
| 'OrganizationSettingsUpdated'
|
|
105
116
|
| 'OrganizationDisabledModelsUpdated'
|
|
117
|
+
| 'OrganizationApiAccountReleased'
|
|
118
|
+
| 'OrganizationApiAccountMemberInvited'
|
|
119
|
+
| 'OrganizationApiAccountMemberRoleChanged'
|
|
120
|
+
| 'OrganizationApiAccountMemberRemoved'
|
|
106
121
|
| 'WorkspaceCountryLockUpdated'
|
|
107
122
|
| 'WorkspaceTagCreated'
|
|
108
123
|
| 'WorkspaceTagUpdated'
|
|
@@ -190,14 +205,34 @@ export namespace AuditLogRetrieveResponse {
|
|
|
190
205
|
* Action-specific details.
|
|
191
206
|
*/
|
|
192
207
|
export interface Metadata {
|
|
208
|
+
'Agent session ID'?: unknown;
|
|
209
|
+
|
|
210
|
+
'Agent tagged'?: unknown;
|
|
211
|
+
|
|
193
212
|
Amount?: unknown;
|
|
194
213
|
|
|
214
|
+
'Amount received'?: unknown;
|
|
215
|
+
|
|
216
|
+
'API account'?: unknown;
|
|
217
|
+
|
|
218
|
+
'API project ID'?: unknown;
|
|
219
|
+
|
|
195
220
|
Application?: unknown;
|
|
196
221
|
|
|
197
222
|
'Asset name'?: unknown;
|
|
198
223
|
|
|
224
|
+
'Comment ID'?: unknown;
|
|
225
|
+
|
|
226
|
+
'Comment target ID'?: unknown;
|
|
227
|
+
|
|
228
|
+
'Comment target type'?: unknown;
|
|
229
|
+
|
|
199
230
|
'Default task name template'?: unknown;
|
|
200
231
|
|
|
232
|
+
Direction?: unknown;
|
|
233
|
+
|
|
234
|
+
'Error code'?: unknown;
|
|
235
|
+
|
|
201
236
|
'Group name'?: unknown;
|
|
202
237
|
|
|
203
238
|
'Hard spend cap'?: unknown;
|
|
@@ -208,24 +243,36 @@ export namespace AuditLogRetrieveResponse {
|
|
|
208
243
|
|
|
209
244
|
'Member email'?: unknown;
|
|
210
245
|
|
|
246
|
+
Mentions?: unknown;
|
|
247
|
+
|
|
211
248
|
Model?: unknown;
|
|
212
249
|
|
|
213
250
|
'New role'?: unknown;
|
|
214
251
|
|
|
215
252
|
'New User'?: unknown;
|
|
216
253
|
|
|
254
|
+
'New value'?: unknown;
|
|
255
|
+
|
|
217
256
|
Operation?: unknown;
|
|
218
257
|
|
|
258
|
+
Outcome?: unknown;
|
|
259
|
+
|
|
219
260
|
Plan?: unknown;
|
|
220
261
|
|
|
221
262
|
Platform?: unknown;
|
|
222
263
|
|
|
223
264
|
'Previous role'?: unknown;
|
|
224
265
|
|
|
266
|
+
'Previous value'?: unknown;
|
|
267
|
+
|
|
268
|
+
Reason?: unknown;
|
|
269
|
+
|
|
225
270
|
'Removed member'?: unknown;
|
|
226
271
|
|
|
227
272
|
Role?: unknown;
|
|
228
273
|
|
|
274
|
+
Setting?: unknown;
|
|
275
|
+
|
|
229
276
|
'Shared with projects'?: unknown;
|
|
230
277
|
|
|
231
278
|
'Shared with workspace'?: unknown;
|
|
@@ -270,7 +317,10 @@ export interface AuditLogListResponse {
|
|
|
270
317
|
| 'TeamSettingsUpdated'
|
|
271
318
|
| 'InviteLinkToggled'
|
|
272
319
|
| 'UserGroupCreated'
|
|
320
|
+
| 'UserGroupUpdated'
|
|
273
321
|
| 'UserGroupDeleted'
|
|
322
|
+
| 'UserGroupArchived'
|
|
323
|
+
| 'UserGroupRestored'
|
|
274
324
|
| 'UserGroupMemberAdded'
|
|
275
325
|
| 'UserGroupMemberRemoved'
|
|
276
326
|
| 'SSOLogin'
|
|
@@ -284,11 +334,19 @@ export interface AuditLogListResponse {
|
|
|
284
334
|
| 'AssetDownloaded'
|
|
285
335
|
| 'AssetShared'
|
|
286
336
|
| 'AssetUnshared'
|
|
337
|
+
| 'CommentCreated'
|
|
338
|
+
| 'CommentEdited'
|
|
339
|
+
| 'CommentDeleted'
|
|
340
|
+
| 'CommentAgentCallRun'
|
|
341
|
+
| 'CommentRemovedByModerator'
|
|
342
|
+
| 'CommentRestoredByModerator'
|
|
343
|
+
| 'CommentRemovalReasonChanged'
|
|
287
344
|
| 'PermissionGranted'
|
|
288
345
|
| 'PermissionUpdated'
|
|
289
346
|
| 'PermissionRevoked'
|
|
290
347
|
| 'PermissionAccepted'
|
|
291
348
|
| 'SubscriptionCancelled'
|
|
349
|
+
| 'SubscriptionReactivatedWithOffer'
|
|
292
350
|
| 'SubscriptionPlanSwitched'
|
|
293
351
|
| 'CreditsTransferred'
|
|
294
352
|
| 'SeatsTransferred'
|
|
@@ -315,6 +373,10 @@ export interface AuditLogListResponse {
|
|
|
315
373
|
| 'AccountLinkDeleted'
|
|
316
374
|
| 'OrganizationSettingsUpdated'
|
|
317
375
|
| 'OrganizationDisabledModelsUpdated'
|
|
376
|
+
| 'OrganizationApiAccountReleased'
|
|
377
|
+
| 'OrganizationApiAccountMemberInvited'
|
|
378
|
+
| 'OrganizationApiAccountMemberRoleChanged'
|
|
379
|
+
| 'OrganizationApiAccountMemberRemoved'
|
|
318
380
|
| 'WorkspaceCountryLockUpdated'
|
|
319
381
|
| 'WorkspaceTagCreated'
|
|
320
382
|
| 'WorkspaceTagUpdated'
|
|
@@ -377,26 +439,34 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
377
439
|
* `EmailChangeRequested`, `EmailChanged`, `UserRegistered`, `UserAccountDeleted`,
|
|
378
440
|
* `WorkspaceCreated`, `WorkspaceDeleted`, `MemberInvited`, `MemberRemoved`,
|
|
379
441
|
* `MemberRoleChanged`, `InviteAccepted`, `TeamSettingsUpdated`,
|
|
380
|
-
* `InviteLinkToggled`, `UserGroupCreated`, `UserGroupDeleted`,
|
|
381
|
-
* `
|
|
382
|
-
* `
|
|
383
|
-
* `
|
|
384
|
-
* `
|
|
385
|
-
* `
|
|
386
|
-
* `
|
|
387
|
-
* `
|
|
388
|
-
* `
|
|
389
|
-
* `
|
|
390
|
-
* `
|
|
391
|
-
* `
|
|
392
|
-
* `
|
|
393
|
-
* `
|
|
394
|
-
* `
|
|
395
|
-
* `
|
|
396
|
-
* `
|
|
397
|
-
* `
|
|
398
|
-
* `
|
|
399
|
-
* `
|
|
442
|
+
* `InviteLinkToggled`, `UserGroupCreated`, `UserGroupUpdated`, `UserGroupDeleted`,
|
|
443
|
+
* `UserGroupArchived`, `UserGroupRestored`, `UserGroupMemberAdded`,
|
|
444
|
+
* `UserGroupMemberRemoved`, `SSOLogin`, `SSOUserProvisioned`, `SSOConfigCreated`,
|
|
445
|
+
* `SSOUserAutoAddedToTeam`, `SSODomainRegistrationCloned`, `AssetCreated`,
|
|
446
|
+
* `AssetUpdated`, `AssetDeleted`, `AssetDownloaded`, `AssetShared`,
|
|
447
|
+
* `AssetUnshared`, `CommentCreated`, `CommentEdited`, `CommentDeleted`,
|
|
448
|
+
* `CommentAgentCallRun`, `CommentRemovedByModerator`,
|
|
449
|
+
* `CommentRestoredByModerator`, `CommentRemovalReasonChanged`,
|
|
450
|
+
* `PermissionGranted`, `PermissionUpdated`, `PermissionRevoked`,
|
|
451
|
+
* `PermissionAccepted`, `SubscriptionCancelled`,
|
|
452
|
+
* `SubscriptionReactivatedWithOffer`, `SubscriptionPlanSwitched`,
|
|
453
|
+
* `CreditsTransferred`, `SeatsTransferred`, `SessionShared`, `SessionUnshared`,
|
|
454
|
+
* `VideoProjectShared`, `VideoProjectUnshared`, `BrandKitShared`,
|
|
455
|
+
* `BrandKitUnshared`, `AgentCustomSkillCreated`, `AgentCustomSkillDeleted`,
|
|
456
|
+
* `AgentCustomSkillShared`, `AgentCustomSkillUnshared`, `AgentSessionShared`,
|
|
457
|
+
* `AgentSessionUnshared`, `AgentConnectorLinkTokenCreated`,
|
|
458
|
+
* `AgentConnectorConnected`, `AgentConnectorDisconnected`,
|
|
459
|
+
* `AgentConnectorAssetExported`, `AgentConnectorSessionEnabled`,
|
|
460
|
+
* `AgentConnectorSessionDisabled`, `GenerationCreated`, `AccountLinkCreated`,
|
|
461
|
+
* `AccountLinkDeleted`, `OrganizationSettingsUpdated`,
|
|
462
|
+
* `OrganizationDisabledModelsUpdated`, `OrganizationApiAccountReleased`,
|
|
463
|
+
* `OrganizationApiAccountMemberInvited`,
|
|
464
|
+
* `OrganizationApiAccountMemberRoleChanged`,
|
|
465
|
+
* `OrganizationApiAccountMemberRemoved`, `WorkspaceCountryLockUpdated`,
|
|
466
|
+
* `WorkspaceTagCreated`, `WorkspaceTagUpdated`, `WorkspaceTagDeleted`,
|
|
467
|
+
* `WorkspaceTagAssigned`, `WorkspaceTagUnassigned`, `MeteredBillingConfigUpdated`,
|
|
468
|
+
* `MeteredBillingRefillTriggered`, `MeteredBillingRetryTriggered`,
|
|
469
|
+
* `EnterpriseSpendCapEnforcementUpdated`.
|
|
400
470
|
*/
|
|
401
471
|
actions?: string;
|
|
402
472
|
|
|
@@ -54,7 +54,8 @@ export interface DeprecatedLivekit {
|
|
|
54
54
|
roomName: string;
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
* WebSocket URL of the external LiveKit server the avatar worker should join.
|
|
57
|
+
* WebSocket URL of the external LiveKit server the avatar worker should join. Must
|
|
58
|
+
* be a wss:// or https:// URL that resolves to a public host.
|
|
58
59
|
*/
|
|
59
60
|
url: string;
|
|
60
61
|
|
|
@@ -311,7 +312,8 @@ export namespace RealtimeSessionCreateParams {
|
|
|
311
312
|
*/
|
|
312
313
|
export interface Elevenlabs {
|
|
313
314
|
/**
|
|
314
|
-
* ConvAI signed WebSocket URL (~15 min lifetime).
|
|
315
|
+
* ConvAI signed WebSocket URL (~15 min lifetime). Must be a wss:// or https:// URL
|
|
316
|
+
* that resolves to a public host.
|
|
315
317
|
*/
|
|
316
318
|
signedUrl: string;
|
|
317
319
|
|
|
@@ -337,7 +339,8 @@ export namespace RealtimeSessionCreateParams {
|
|
|
337
339
|
type: 'livekit';
|
|
338
340
|
|
|
339
341
|
/**
|
|
340
|
-
* WebSocket URL of the external LiveKit server the avatar worker should join.
|
|
342
|
+
* WebSocket URL of the external LiveKit server the avatar worker should join. Must
|
|
343
|
+
* be a wss:// or https:// URL that resolves to a public host.
|
|
341
344
|
*/
|
|
342
345
|
url: string;
|
|
343
346
|
|
package/src/resources/tasks.ts
CHANGED
|
@@ -128,7 +128,8 @@ export namespace TaskRetrieveResponse {
|
|
|
128
128
|
id: string;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* Final cost in credits for a terminal task.
|
|
131
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
132
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
132
133
|
*/
|
|
133
134
|
cost: Cancelled.Cost;
|
|
134
135
|
|
|
@@ -142,7 +143,8 @@ export namespace TaskRetrieveResponse {
|
|
|
142
143
|
|
|
143
144
|
export namespace Cancelled {
|
|
144
145
|
/**
|
|
145
|
-
* Final cost in credits for a terminal task.
|
|
146
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
147
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
146
148
|
*/
|
|
147
149
|
export interface Cost {
|
|
148
150
|
/**
|
|
@@ -198,7 +200,8 @@ export namespace TaskRetrieveResponse {
|
|
|
198
200
|
id: string;
|
|
199
201
|
|
|
200
202
|
/**
|
|
201
|
-
* Final cost in credits for a terminal task.
|
|
203
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
204
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
202
205
|
*/
|
|
203
206
|
cost: Failed.Cost;
|
|
204
207
|
|
|
@@ -224,7 +227,8 @@ export namespace TaskRetrieveResponse {
|
|
|
224
227
|
|
|
225
228
|
export namespace Failed {
|
|
226
229
|
/**
|
|
227
|
-
* Final cost in credits for a terminal task.
|
|
230
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
231
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
228
232
|
*/
|
|
229
233
|
export interface Cost {
|
|
230
234
|
/**
|
|
@@ -244,7 +248,8 @@ export namespace TaskRetrieveResponse {
|
|
|
244
248
|
id: string;
|
|
245
249
|
|
|
246
250
|
/**
|
|
247
|
-
* Final cost in credits for a terminal task.
|
|
251
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
252
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
248
253
|
*/
|
|
249
254
|
cost: Succeeded.Cost;
|
|
250
255
|
|
|
@@ -265,7 +270,8 @@ export namespace TaskRetrieveResponse {
|
|
|
265
270
|
|
|
266
271
|
export namespace Succeeded {
|
|
267
272
|
/**
|
|
268
|
-
* Final cost in credits for a terminal task.
|
|
273
|
+
* Final cost in credits for a terminal task. Fully refunded tasks report 0; tasks
|
|
274
|
+
* that later returned unused prepaid credits report what remains charged.
|
|
269
275
|
*/
|
|
270
276
|
export interface Cost {
|
|
271
277
|
/**
|
|
@@ -89,19 +89,21 @@ export declare namespace TextToSpeechCreateParams {
|
|
|
89
89
|
speechRate?: number;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* The voice to use for text-to-speech generation. If omitted, a default voice is
|
|
93
|
+
* used.
|
|
93
94
|
*/
|
|
94
95
|
voice?: SeedAudio.Voice;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
export namespace SeedAudio {
|
|
98
99
|
/**
|
|
99
|
-
*
|
|
100
|
+
* The voice to use for text-to-speech generation. If omitted, a default voice is
|
|
101
|
+
* used.
|
|
100
102
|
*/
|
|
101
103
|
export interface Voice {
|
|
102
104
|
/**
|
|
103
105
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
104
|
-
* `data:audio/mp3;base64,...`, up to
|
|
106
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
105
107
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
106
108
|
*/
|
|
107
109
|
audioUri: string;
|