@openrouter/sdk 0.12.15 → 0.12.17

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.
Files changed (103) hide show
  1. package/esm/funcs/apiKeysCreate.d.ts +1 -1
  2. package/esm/funcs/apiKeysCreate.js +2 -2
  3. package/esm/funcs/generationsGetGeneration.d.ts +2 -1
  4. package/esm/funcs/generationsGetGeneration.js +2 -1
  5. package/esm/funcs/generationsListGenerationContent.d.ts +16 -0
  6. package/esm/funcs/generationsListGenerationContent.js +108 -0
  7. package/esm/funcs/guardrailsCreate.d.ts +1 -1
  8. package/esm/funcs/guardrailsCreate.js +2 -2
  9. package/esm/funcs/guardrailsList.js +1 -0
  10. package/esm/funcs/ttsCreateSpeech.d.ts +18 -0
  11. package/esm/funcs/ttsCreateSpeech.js +110 -0
  12. package/esm/funcs/workspacesBulkAddMembers.d.ts +19 -0
  13. package/esm/funcs/workspacesBulkAddMembers.js +105 -0
  14. package/esm/funcs/workspacesBulkRemoveMembers.d.ts +19 -0
  15. package/esm/funcs/workspacesBulkRemoveMembers.js +105 -0
  16. package/esm/funcs/workspacesCreate.d.ts +19 -0
  17. package/esm/funcs/workspacesCreate.js +99 -0
  18. package/esm/funcs/workspacesDelete.d.ts +19 -0
  19. package/esm/funcs/workspacesDelete.js +102 -0
  20. package/esm/funcs/workspacesGet.d.ts +19 -0
  21. package/esm/funcs/workspacesGet.js +102 -0
  22. package/esm/funcs/workspacesList.d.ts +21 -0
  23. package/esm/funcs/workspacesList.js +133 -0
  24. package/esm/funcs/workspacesUpdate.d.ts +19 -0
  25. package/esm/funcs/workspacesUpdate.js +105 -0
  26. package/esm/lib/config.d.ts +2 -2
  27. package/esm/lib/config.js +2 -2
  28. package/esm/models/bulkaddworkspacemembersrequest.d.ts +15 -0
  29. package/esm/models/bulkaddworkspacemembersrequest.js +18 -0
  30. package/esm/models/bulkaddworkspacemembersresponse.d.ts +18 -0
  31. package/esm/models/bulkaddworkspacemembersresponse.js +21 -0
  32. package/esm/models/bulkremoveworkspacemembersrequest.d.ts +15 -0
  33. package/esm/models/bulkremoveworkspacemembersrequest.js +18 -0
  34. package/esm/models/bulkremoveworkspacemembersresponse.d.ts +13 -0
  35. package/esm/models/bulkremoveworkspacemembersresponse.js +19 -0
  36. package/esm/models/createguardrailrequest.d.ts +5 -0
  37. package/esm/models/createguardrailrequest.js +2 -0
  38. package/esm/models/createworkspacerequest.d.ts +55 -0
  39. package/esm/models/createworkspacerequest.js +31 -0
  40. package/esm/models/createworkspaceresponse.d.ts +11 -0
  41. package/esm/models/createworkspaceresponse.js +15 -0
  42. package/esm/models/deleteworkspaceresponse.d.ts +13 -0
  43. package/esm/models/deleteworkspaceresponse.js +14 -0
  44. package/esm/models/generationcontentdata.d.ts +55 -0
  45. package/esm/models/generationcontentdata.js +45 -0
  46. package/esm/models/generationcontentresponse.d.ts +17 -0
  47. package/esm/models/generationcontentresponse.js +15 -0
  48. package/esm/models/generationresponse.d.ts +198 -0
  49. package/esm/models/generationresponse.js +109 -0
  50. package/esm/models/getworkspaceresponse.d.ts +11 -0
  51. package/esm/models/getworkspaceresponse.js +15 -0
  52. package/esm/models/guardrail.d.ts +4 -0
  53. package/esm/models/guardrail.js +2 -0
  54. package/esm/models/index.d.ts +16 -0
  55. package/esm/models/index.js +16 -0
  56. package/esm/models/listworkspacesresponse.d.ts +18 -0
  57. package/esm/models/listworkspacesresponse.js +21 -0
  58. package/esm/models/modelscountresponse.d.ts +4 -4
  59. package/esm/models/modelscountresponse.js +4 -4
  60. package/esm/models/operations/bulkaddworkspacemembers.d.ts +61 -0
  61. package/esm/models/operations/bulkaddworkspacemembers.js +24 -0
  62. package/esm/models/operations/bulkremoveworkspacemembers.d.ts +61 -0
  63. package/esm/models/operations/bulkremoveworkspacemembers.js +24 -0
  64. package/esm/models/operations/createkeys.d.ts +5 -0
  65. package/esm/models/operations/createkeys.js +2 -0
  66. package/esm/models/operations/createtts.d.ts +779 -0
  67. package/esm/models/operations/createtts.js +193 -0
  68. package/esm/models/operations/createworkspace.d.ts +56 -0
  69. package/esm/models/operations/createworkspace.js +23 -0
  70. package/esm/models/operations/deleteworkspace.d.ts +58 -0
  71. package/esm/models/operations/deleteworkspace.js +21 -0
  72. package/esm/models/operations/getgeneration.d.ts +0 -196
  73. package/esm/models/operations/getgeneration.js +0 -102
  74. package/esm/models/operations/getworkspace.d.ts +58 -0
  75. package/esm/models/operations/getworkspace.js +21 -0
  76. package/esm/models/operations/index.d.ts +9 -0
  77. package/esm/models/operations/index.js +9 -0
  78. package/esm/models/operations/listgenerationcontent.d.ts +58 -0
  79. package/esm/models/operations/listgenerationcontent.js +21 -0
  80. package/esm/models/operations/listguardrails.d.ts +5 -0
  81. package/esm/models/operations/listguardrails.js +2 -0
  82. package/esm/models/operations/listworkspaces.d.ts +72 -0
  83. package/esm/models/operations/listworkspaces.js +35 -0
  84. package/esm/models/operations/updateworkspace.d.ts +61 -0
  85. package/esm/models/operations/updateworkspace.js +24 -0
  86. package/esm/models/updateworkspacerequest.d.ts +55 -0
  87. package/esm/models/updateworkspacerequest.js +31 -0
  88. package/esm/models/updateworkspaceresponse.d.ts +11 -0
  89. package/esm/models/updateworkspaceresponse.js +15 -0
  90. package/esm/models/workspace.d.ts +61 -0
  91. package/esm/models/workspace.js +39 -0
  92. package/esm/models/workspacemember.d.ts +43 -0
  93. package/esm/models/workspacemember.js +35 -0
  94. package/esm/sdk/generations.d.ts +6 -1
  95. package/esm/sdk/generations.js +7 -0
  96. package/esm/sdk/sdk.d.ts +6 -0
  97. package/esm/sdk/sdk.js +8 -0
  98. package/esm/sdk/tts.d.ts +12 -0
  99. package/esm/sdk/tts.js +19 -0
  100. package/esm/sdk/workspaces.d.ts +58 -0
  101. package/esm/sdk/workspaces.js +80 -0
  102. package/jsr.json +1 -1
  103. package/package.json +6 -6
@@ -0,0 +1,779 @@
1
+ import * as z from "zod/v4";
2
+ import { OpenEnum } from "../../types/enums.js";
3
+ export type CreateTtsGlobals = {
4
+ /**
5
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
6
+ *
7
+ * @remarks
8
+ * This is used to track API usage per application.
9
+ */
10
+ httpReferer?: string | undefined;
11
+ /**
12
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
13
+ *
14
+ * @remarks
15
+ */
16
+ appTitle?: string | undefined;
17
+ /**
18
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
19
+ *
20
+ * @remarks
21
+ */
22
+ appCategories?: string | undefined;
23
+ };
24
+ /**
25
+ * Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body.
26
+ */
27
+ export type Options = {
28
+ oneai?: {
29
+ [k: string]: any | null;
30
+ } | undefined;
31
+ ai21?: {
32
+ [k: string]: any | null;
33
+ } | undefined;
34
+ aionLabs?: {
35
+ [k: string]: any | null;
36
+ } | undefined;
37
+ akashml?: {
38
+ [k: string]: any | null;
39
+ } | undefined;
40
+ alibaba?: {
41
+ [k: string]: any | null;
42
+ } | undefined;
43
+ amazonBedrock?: {
44
+ [k: string]: any | null;
45
+ } | undefined;
46
+ amazonNova?: {
47
+ [k: string]: any | null;
48
+ } | undefined;
49
+ ambient?: {
50
+ [k: string]: any | null;
51
+ } | undefined;
52
+ anthropic?: {
53
+ [k: string]: any | null;
54
+ } | undefined;
55
+ anyscale?: {
56
+ [k: string]: any | null;
57
+ } | undefined;
58
+ arceeAi?: {
59
+ [k: string]: any | null;
60
+ } | undefined;
61
+ atlasCloud?: {
62
+ [k: string]: any | null;
63
+ } | undefined;
64
+ atoma?: {
65
+ [k: string]: any | null;
66
+ } | undefined;
67
+ avian?: {
68
+ [k: string]: any | null;
69
+ } | undefined;
70
+ azure?: {
71
+ [k: string]: any | null;
72
+ } | undefined;
73
+ baidu?: {
74
+ [k: string]: any | null;
75
+ } | undefined;
76
+ baseten?: {
77
+ [k: string]: any | null;
78
+ } | undefined;
79
+ blackForestLabs?: {
80
+ [k: string]: any | null;
81
+ } | undefined;
82
+ byteplus?: {
83
+ [k: string]: any | null;
84
+ } | undefined;
85
+ centml?: {
86
+ [k: string]: any | null;
87
+ } | undefined;
88
+ cerebras?: {
89
+ [k: string]: any | null;
90
+ } | undefined;
91
+ chutes?: {
92
+ [k: string]: any | null;
93
+ } | undefined;
94
+ cirrascale?: {
95
+ [k: string]: any | null;
96
+ } | undefined;
97
+ clarifai?: {
98
+ [k: string]: any | null;
99
+ } | undefined;
100
+ cloudflare?: {
101
+ [k: string]: any | null;
102
+ } | undefined;
103
+ cohere?: {
104
+ [k: string]: any | null;
105
+ } | undefined;
106
+ crofai?: {
107
+ [k: string]: any | null;
108
+ } | undefined;
109
+ crusoe?: {
110
+ [k: string]: any | null;
111
+ } | undefined;
112
+ deepinfra?: {
113
+ [k: string]: any | null;
114
+ } | undefined;
115
+ deepseek?: {
116
+ [k: string]: any | null;
117
+ } | undefined;
118
+ dekallm?: {
119
+ [k: string]: any | null;
120
+ } | undefined;
121
+ enfer?: {
122
+ [k: string]: any | null;
123
+ } | undefined;
124
+ fakeProvider?: {
125
+ [k: string]: any | null;
126
+ } | undefined;
127
+ featherless?: {
128
+ [k: string]: any | null;
129
+ } | undefined;
130
+ fireworks?: {
131
+ [k: string]: any | null;
132
+ } | undefined;
133
+ friendli?: {
134
+ [k: string]: any | null;
135
+ } | undefined;
136
+ gmicloud?: {
137
+ [k: string]: any | null;
138
+ } | undefined;
139
+ googleAiStudio?: {
140
+ [k: string]: any | null;
141
+ } | undefined;
142
+ googleVertex?: {
143
+ [k: string]: any | null;
144
+ } | undefined;
145
+ gopomelo?: {
146
+ [k: string]: any | null;
147
+ } | undefined;
148
+ groq?: {
149
+ [k: string]: any | null;
150
+ } | undefined;
151
+ huggingface?: {
152
+ [k: string]: any | null;
153
+ } | undefined;
154
+ hyperbolic?: {
155
+ [k: string]: any | null;
156
+ } | undefined;
157
+ hyperbolicQuantized?: {
158
+ [k: string]: any | null;
159
+ } | undefined;
160
+ inception?: {
161
+ [k: string]: any | null;
162
+ } | undefined;
163
+ inceptron?: {
164
+ [k: string]: any | null;
165
+ } | undefined;
166
+ inferenceNet?: {
167
+ [k: string]: any | null;
168
+ } | undefined;
169
+ infermatic?: {
170
+ [k: string]: any | null;
171
+ } | undefined;
172
+ inflection?: {
173
+ [k: string]: any | null;
174
+ } | undefined;
175
+ inocloud?: {
176
+ [k: string]: any | null;
177
+ } | undefined;
178
+ ioNet?: {
179
+ [k: string]: any | null;
180
+ } | undefined;
181
+ ionstream?: {
182
+ [k: string]: any | null;
183
+ } | undefined;
184
+ klusterai?: {
185
+ [k: string]: any | null;
186
+ } | undefined;
187
+ lambda?: {
188
+ [k: string]: any | null;
189
+ } | undefined;
190
+ lepton?: {
191
+ [k: string]: any | null;
192
+ } | undefined;
193
+ liquid?: {
194
+ [k: string]: any | null;
195
+ } | undefined;
196
+ lynn?: {
197
+ [k: string]: any | null;
198
+ } | undefined;
199
+ lynnPrivate?: {
200
+ [k: string]: any | null;
201
+ } | undefined;
202
+ mancer?: {
203
+ [k: string]: any | null;
204
+ } | undefined;
205
+ mancerOld?: {
206
+ [k: string]: any | null;
207
+ } | undefined;
208
+ mara?: {
209
+ [k: string]: any | null;
210
+ } | undefined;
211
+ meta?: {
212
+ [k: string]: any | null;
213
+ } | undefined;
214
+ minimax?: {
215
+ [k: string]: any | null;
216
+ } | undefined;
217
+ mistral?: {
218
+ [k: string]: any | null;
219
+ } | undefined;
220
+ modal?: {
221
+ [k: string]: any | null;
222
+ } | undefined;
223
+ modelrun?: {
224
+ [k: string]: any | null;
225
+ } | undefined;
226
+ modular?: {
227
+ [k: string]: any | null;
228
+ } | undefined;
229
+ moonshotai?: {
230
+ [k: string]: any | null;
231
+ } | undefined;
232
+ morph?: {
233
+ [k: string]: any | null;
234
+ } | undefined;
235
+ ncompass?: {
236
+ [k: string]: any | null;
237
+ } | undefined;
238
+ nebius?: {
239
+ [k: string]: any | null;
240
+ } | undefined;
241
+ nextbit?: {
242
+ [k: string]: any | null;
243
+ } | undefined;
244
+ nineteen?: {
245
+ [k: string]: any | null;
246
+ } | undefined;
247
+ novita?: {
248
+ [k: string]: any | null;
249
+ } | undefined;
250
+ nvidia?: {
251
+ [k: string]: any | null;
252
+ } | undefined;
253
+ octoai?: {
254
+ [k: string]: any | null;
255
+ } | undefined;
256
+ openInference?: {
257
+ [k: string]: any | null;
258
+ } | undefined;
259
+ openai?: {
260
+ [k: string]: any | null;
261
+ } | undefined;
262
+ parasail?: {
263
+ [k: string]: any | null;
264
+ } | undefined;
265
+ perplexity?: {
266
+ [k: string]: any | null;
267
+ } | undefined;
268
+ phala?: {
269
+ [k: string]: any | null;
270
+ } | undefined;
271
+ recraft?: {
272
+ [k: string]: any | null;
273
+ } | undefined;
274
+ recursal?: {
275
+ [k: string]: any | null;
276
+ } | undefined;
277
+ reflection?: {
278
+ [k: string]: any | null;
279
+ } | undefined;
280
+ reka?: {
281
+ [k: string]: any | null;
282
+ } | undefined;
283
+ relace?: {
284
+ [k: string]: any | null;
285
+ } | undefined;
286
+ replicate?: {
287
+ [k: string]: any | null;
288
+ } | undefined;
289
+ sambanova?: {
290
+ [k: string]: any | null;
291
+ } | undefined;
292
+ sambanovaCloaked?: {
293
+ [k: string]: any | null;
294
+ } | undefined;
295
+ seed?: {
296
+ [k: string]: any | null;
297
+ } | undefined;
298
+ sfCompute?: {
299
+ [k: string]: any | null;
300
+ } | undefined;
301
+ siliconflow?: {
302
+ [k: string]: any | null;
303
+ } | undefined;
304
+ sourceful?: {
305
+ [k: string]: any | null;
306
+ } | undefined;
307
+ stealth?: {
308
+ [k: string]: any | null;
309
+ } | undefined;
310
+ stepfun?: {
311
+ [k: string]: any | null;
312
+ } | undefined;
313
+ streamlake?: {
314
+ [k: string]: any | null;
315
+ } | undefined;
316
+ switchpoint?: {
317
+ [k: string]: any | null;
318
+ } | undefined;
319
+ targon?: {
320
+ [k: string]: any | null;
321
+ } | undefined;
322
+ together?: {
323
+ [k: string]: any | null;
324
+ } | undefined;
325
+ togetherLite?: {
326
+ [k: string]: any | null;
327
+ } | undefined;
328
+ ubicloud?: {
329
+ [k: string]: any | null;
330
+ } | undefined;
331
+ upstage?: {
332
+ [k: string]: any | null;
333
+ } | undefined;
334
+ venice?: {
335
+ [k: string]: any | null;
336
+ } | undefined;
337
+ wandb?: {
338
+ [k: string]: any | null;
339
+ } | undefined;
340
+ xai?: {
341
+ [k: string]: any | null;
342
+ } | undefined;
343
+ xiaomi?: {
344
+ [k: string]: any | null;
345
+ } | undefined;
346
+ zAi?: {
347
+ [k: string]: any | null;
348
+ } | undefined;
349
+ };
350
+ /**
351
+ * Provider-specific passthrough configuration
352
+ */
353
+ export type Provider = {
354
+ /**
355
+ * Provider-specific options keyed by provider slug. The options for the matched provider are spread into the upstream request body.
356
+ */
357
+ options?: Options | undefined;
358
+ };
359
+ /**
360
+ * Audio output format
361
+ */
362
+ export declare const ResponseFormat: {
363
+ readonly Mp3: "mp3";
364
+ readonly Pcm: "pcm";
365
+ };
366
+ /**
367
+ * Audio output format
368
+ */
369
+ export type ResponseFormat = OpenEnum<typeof ResponseFormat>;
370
+ /**
371
+ * Text-to-speech request input
372
+ */
373
+ export type CreateTtsRequestBody = {
374
+ /**
375
+ * Text to synthesize
376
+ */
377
+ input: string;
378
+ /**
379
+ * TTS model identifier
380
+ */
381
+ model: string;
382
+ /**
383
+ * Provider-specific passthrough configuration
384
+ */
385
+ provider?: Provider | undefined;
386
+ /**
387
+ * Audio output format
388
+ */
389
+ responseFormat?: ResponseFormat | undefined;
390
+ /**
391
+ * Playback speed multiplier. Only used by models that support it (e.g. OpenAI TTS). Ignored by other providers.
392
+ */
393
+ speed?: number | undefined;
394
+ /**
395
+ * Voice identifier
396
+ */
397
+ voice: string;
398
+ };
399
+ export type CreateTtsRequest = {
400
+ /**
401
+ * The app identifier should be your app's URL and is used as the primary identifier for rankings.
402
+ *
403
+ * @remarks
404
+ * This is used to track API usage per application.
405
+ */
406
+ httpReferer?: string | undefined;
407
+ /**
408
+ * The app display name allows you to customize how your app appears in OpenRouter's dashboard.
409
+ *
410
+ * @remarks
411
+ */
412
+ appTitle?: string | undefined;
413
+ /**
414
+ * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.
415
+ *
416
+ * @remarks
417
+ */
418
+ appCategories?: string | undefined;
419
+ requestBody: CreateTtsRequestBody;
420
+ };
421
+ /** @internal */
422
+ export type Options$Outbound = {
423
+ "01ai"?: {
424
+ [k: string]: any | null;
425
+ } | undefined;
426
+ ai21?: {
427
+ [k: string]: any | null;
428
+ } | undefined;
429
+ "aion-labs"?: {
430
+ [k: string]: any | null;
431
+ } | undefined;
432
+ akashml?: {
433
+ [k: string]: any | null;
434
+ } | undefined;
435
+ alibaba?: {
436
+ [k: string]: any | null;
437
+ } | undefined;
438
+ "amazon-bedrock"?: {
439
+ [k: string]: any | null;
440
+ } | undefined;
441
+ "amazon-nova"?: {
442
+ [k: string]: any | null;
443
+ } | undefined;
444
+ ambient?: {
445
+ [k: string]: any | null;
446
+ } | undefined;
447
+ anthropic?: {
448
+ [k: string]: any | null;
449
+ } | undefined;
450
+ anyscale?: {
451
+ [k: string]: any | null;
452
+ } | undefined;
453
+ "arcee-ai"?: {
454
+ [k: string]: any | null;
455
+ } | undefined;
456
+ "atlas-cloud"?: {
457
+ [k: string]: any | null;
458
+ } | undefined;
459
+ atoma?: {
460
+ [k: string]: any | null;
461
+ } | undefined;
462
+ avian?: {
463
+ [k: string]: any | null;
464
+ } | undefined;
465
+ azure?: {
466
+ [k: string]: any | null;
467
+ } | undefined;
468
+ baidu?: {
469
+ [k: string]: any | null;
470
+ } | undefined;
471
+ baseten?: {
472
+ [k: string]: any | null;
473
+ } | undefined;
474
+ "black-forest-labs"?: {
475
+ [k: string]: any | null;
476
+ } | undefined;
477
+ byteplus?: {
478
+ [k: string]: any | null;
479
+ } | undefined;
480
+ centml?: {
481
+ [k: string]: any | null;
482
+ } | undefined;
483
+ cerebras?: {
484
+ [k: string]: any | null;
485
+ } | undefined;
486
+ chutes?: {
487
+ [k: string]: any | null;
488
+ } | undefined;
489
+ cirrascale?: {
490
+ [k: string]: any | null;
491
+ } | undefined;
492
+ clarifai?: {
493
+ [k: string]: any | null;
494
+ } | undefined;
495
+ cloudflare?: {
496
+ [k: string]: any | null;
497
+ } | undefined;
498
+ cohere?: {
499
+ [k: string]: any | null;
500
+ } | undefined;
501
+ crofai?: {
502
+ [k: string]: any | null;
503
+ } | undefined;
504
+ crusoe?: {
505
+ [k: string]: any | null;
506
+ } | undefined;
507
+ deepinfra?: {
508
+ [k: string]: any | null;
509
+ } | undefined;
510
+ deepseek?: {
511
+ [k: string]: any | null;
512
+ } | undefined;
513
+ dekallm?: {
514
+ [k: string]: any | null;
515
+ } | undefined;
516
+ enfer?: {
517
+ [k: string]: any | null;
518
+ } | undefined;
519
+ "fake-provider"?: {
520
+ [k: string]: any | null;
521
+ } | undefined;
522
+ featherless?: {
523
+ [k: string]: any | null;
524
+ } | undefined;
525
+ fireworks?: {
526
+ [k: string]: any | null;
527
+ } | undefined;
528
+ friendli?: {
529
+ [k: string]: any | null;
530
+ } | undefined;
531
+ gmicloud?: {
532
+ [k: string]: any | null;
533
+ } | undefined;
534
+ "google-ai-studio"?: {
535
+ [k: string]: any | null;
536
+ } | undefined;
537
+ "google-vertex"?: {
538
+ [k: string]: any | null;
539
+ } | undefined;
540
+ gopomelo?: {
541
+ [k: string]: any | null;
542
+ } | undefined;
543
+ groq?: {
544
+ [k: string]: any | null;
545
+ } | undefined;
546
+ huggingface?: {
547
+ [k: string]: any | null;
548
+ } | undefined;
549
+ hyperbolic?: {
550
+ [k: string]: any | null;
551
+ } | undefined;
552
+ "hyperbolic-quantized"?: {
553
+ [k: string]: any | null;
554
+ } | undefined;
555
+ inception?: {
556
+ [k: string]: any | null;
557
+ } | undefined;
558
+ inceptron?: {
559
+ [k: string]: any | null;
560
+ } | undefined;
561
+ "inference-net"?: {
562
+ [k: string]: any | null;
563
+ } | undefined;
564
+ infermatic?: {
565
+ [k: string]: any | null;
566
+ } | undefined;
567
+ inflection?: {
568
+ [k: string]: any | null;
569
+ } | undefined;
570
+ inocloud?: {
571
+ [k: string]: any | null;
572
+ } | undefined;
573
+ "io-net"?: {
574
+ [k: string]: any | null;
575
+ } | undefined;
576
+ ionstream?: {
577
+ [k: string]: any | null;
578
+ } | undefined;
579
+ klusterai?: {
580
+ [k: string]: any | null;
581
+ } | undefined;
582
+ lambda?: {
583
+ [k: string]: any | null;
584
+ } | undefined;
585
+ lepton?: {
586
+ [k: string]: any | null;
587
+ } | undefined;
588
+ liquid?: {
589
+ [k: string]: any | null;
590
+ } | undefined;
591
+ lynn?: {
592
+ [k: string]: any | null;
593
+ } | undefined;
594
+ "lynn-private"?: {
595
+ [k: string]: any | null;
596
+ } | undefined;
597
+ mancer?: {
598
+ [k: string]: any | null;
599
+ } | undefined;
600
+ "mancer-old"?: {
601
+ [k: string]: any | null;
602
+ } | undefined;
603
+ mara?: {
604
+ [k: string]: any | null;
605
+ } | undefined;
606
+ meta?: {
607
+ [k: string]: any | null;
608
+ } | undefined;
609
+ minimax?: {
610
+ [k: string]: any | null;
611
+ } | undefined;
612
+ mistral?: {
613
+ [k: string]: any | null;
614
+ } | undefined;
615
+ modal?: {
616
+ [k: string]: any | null;
617
+ } | undefined;
618
+ modelrun?: {
619
+ [k: string]: any | null;
620
+ } | undefined;
621
+ modular?: {
622
+ [k: string]: any | null;
623
+ } | undefined;
624
+ moonshotai?: {
625
+ [k: string]: any | null;
626
+ } | undefined;
627
+ morph?: {
628
+ [k: string]: any | null;
629
+ } | undefined;
630
+ ncompass?: {
631
+ [k: string]: any | null;
632
+ } | undefined;
633
+ nebius?: {
634
+ [k: string]: any | null;
635
+ } | undefined;
636
+ nextbit?: {
637
+ [k: string]: any | null;
638
+ } | undefined;
639
+ nineteen?: {
640
+ [k: string]: any | null;
641
+ } | undefined;
642
+ novita?: {
643
+ [k: string]: any | null;
644
+ } | undefined;
645
+ nvidia?: {
646
+ [k: string]: any | null;
647
+ } | undefined;
648
+ octoai?: {
649
+ [k: string]: any | null;
650
+ } | undefined;
651
+ "open-inference"?: {
652
+ [k: string]: any | null;
653
+ } | undefined;
654
+ openai?: {
655
+ [k: string]: any | null;
656
+ } | undefined;
657
+ parasail?: {
658
+ [k: string]: any | null;
659
+ } | undefined;
660
+ perplexity?: {
661
+ [k: string]: any | null;
662
+ } | undefined;
663
+ phala?: {
664
+ [k: string]: any | null;
665
+ } | undefined;
666
+ recraft?: {
667
+ [k: string]: any | null;
668
+ } | undefined;
669
+ recursal?: {
670
+ [k: string]: any | null;
671
+ } | undefined;
672
+ reflection?: {
673
+ [k: string]: any | null;
674
+ } | undefined;
675
+ reka?: {
676
+ [k: string]: any | null;
677
+ } | undefined;
678
+ relace?: {
679
+ [k: string]: any | null;
680
+ } | undefined;
681
+ replicate?: {
682
+ [k: string]: any | null;
683
+ } | undefined;
684
+ sambanova?: {
685
+ [k: string]: any | null;
686
+ } | undefined;
687
+ "sambanova-cloaked"?: {
688
+ [k: string]: any | null;
689
+ } | undefined;
690
+ seed?: {
691
+ [k: string]: any | null;
692
+ } | undefined;
693
+ "sf-compute"?: {
694
+ [k: string]: any | null;
695
+ } | undefined;
696
+ siliconflow?: {
697
+ [k: string]: any | null;
698
+ } | undefined;
699
+ sourceful?: {
700
+ [k: string]: any | null;
701
+ } | undefined;
702
+ stealth?: {
703
+ [k: string]: any | null;
704
+ } | undefined;
705
+ stepfun?: {
706
+ [k: string]: any | null;
707
+ } | undefined;
708
+ streamlake?: {
709
+ [k: string]: any | null;
710
+ } | undefined;
711
+ switchpoint?: {
712
+ [k: string]: any | null;
713
+ } | undefined;
714
+ targon?: {
715
+ [k: string]: any | null;
716
+ } | undefined;
717
+ together?: {
718
+ [k: string]: any | null;
719
+ } | undefined;
720
+ "together-lite"?: {
721
+ [k: string]: any | null;
722
+ } | undefined;
723
+ ubicloud?: {
724
+ [k: string]: any | null;
725
+ } | undefined;
726
+ upstage?: {
727
+ [k: string]: any | null;
728
+ } | undefined;
729
+ venice?: {
730
+ [k: string]: any | null;
731
+ } | undefined;
732
+ wandb?: {
733
+ [k: string]: any | null;
734
+ } | undefined;
735
+ xai?: {
736
+ [k: string]: any | null;
737
+ } | undefined;
738
+ xiaomi?: {
739
+ [k: string]: any | null;
740
+ } | undefined;
741
+ "z-ai"?: {
742
+ [k: string]: any | null;
743
+ } | undefined;
744
+ };
745
+ /** @internal */
746
+ export declare const Options$outboundSchema: z.ZodType<Options$Outbound, Options>;
747
+ export declare function optionsToJSON(options: Options): string;
748
+ /** @internal */
749
+ export type Provider$Outbound = {
750
+ options?: Options$Outbound | undefined;
751
+ };
752
+ /** @internal */
753
+ export declare const Provider$outboundSchema: z.ZodType<Provider$Outbound, Provider>;
754
+ export declare function providerToJSON(provider: Provider): string;
755
+ /** @internal */
756
+ export declare const ResponseFormat$outboundSchema: z.ZodType<string, ResponseFormat>;
757
+ /** @internal */
758
+ export type CreateTtsRequestBody$Outbound = {
759
+ input: string;
760
+ model: string;
761
+ provider?: Provider$Outbound | undefined;
762
+ response_format: string;
763
+ speed?: number | undefined;
764
+ voice: string;
765
+ };
766
+ /** @internal */
767
+ export declare const CreateTtsRequestBody$outboundSchema: z.ZodType<CreateTtsRequestBody$Outbound, CreateTtsRequestBody>;
768
+ export declare function createTtsRequestBodyToJSON(createTtsRequestBody: CreateTtsRequestBody): string;
769
+ /** @internal */
770
+ export type CreateTtsRequest$Outbound = {
771
+ "HTTP-Referer"?: string | undefined;
772
+ appTitle?: string | undefined;
773
+ appCategories?: string | undefined;
774
+ RequestBody: CreateTtsRequestBody$Outbound;
775
+ };
776
+ /** @internal */
777
+ export declare const CreateTtsRequest$outboundSchema: z.ZodType<CreateTtsRequest$Outbound, CreateTtsRequest>;
778
+ export declare function createTtsRequestToJSON(createTtsRequest: CreateTtsRequest): string;
779
+ //# sourceMappingURL=createtts.d.ts.map