@runapi.ai/mcp 0.1.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +367 -0
  4. package/data/contract.json +3493 -0
  5. package/data/pricing.json +1263 -0
  6. package/dist/bin/runapi-mcp.d.ts +2 -0
  7. package/dist/bin/runapi-mcp.js +10 -0
  8. package/dist/bin/runapi-mcp.js.map +1 -0
  9. package/dist/scripts/sync-data.d.ts +2 -0
  10. package/dist/scripts/sync-data.js +22 -0
  11. package/dist/scripts/sync-data.js.map +1 -0
  12. package/dist/src/config.d.ts +7 -0
  13. package/dist/src/config.js +32 -0
  14. package/dist/src/config.js.map +1 -0
  15. package/dist/src/constants.d.ts +5 -0
  16. package/dist/src/constants.js +6 -0
  17. package/dist/src/constants.js.map +1 -0
  18. package/dist/src/index.d.ts +2 -0
  19. package/dist/src/index.js +6 -0
  20. package/dist/src/index.js.map +1 -0
  21. package/dist/src/init.d.ts +1 -0
  22. package/dist/src/init.js +52 -0
  23. package/dist/src/init.js.map +1 -0
  24. package/dist/src/lib/contract.d.ts +21 -0
  25. package/dist/src/lib/contract.js +81 -0
  26. package/dist/src/lib/contract.js.map +1 -0
  27. package/dist/src/lib/data.d.ts +3 -0
  28. package/dist/src/lib/data.js +22 -0
  29. package/dist/src/lib/data.js.map +1 -0
  30. package/dist/src/lib/errors.d.ts +10 -0
  31. package/dist/src/lib/errors.js +88 -0
  32. package/dist/src/lib/errors.js.map +1 -0
  33. package/dist/src/lib/input-rules.d.ts +9 -0
  34. package/dist/src/lib/input-rules.js +61 -0
  35. package/dist/src/lib/input-rules.js.map +1 -0
  36. package/dist/src/lib/pricing.d.ts +7 -0
  37. package/dist/src/lib/pricing.js +42 -0
  38. package/dist/src/lib/pricing.js.map +1 -0
  39. package/dist/src/lib/runapi-client.d.ts +22 -0
  40. package/dist/src/lib/runapi-client.js +119 -0
  41. package/dist/src/lib/runapi-client.js.map +1 -0
  42. package/dist/src/lib/schema.d.ts +3 -0
  43. package/dist/src/lib/schema.js +44 -0
  44. package/dist/src/lib/schema.js.map +1 -0
  45. package/dist/src/lib/text.d.ts +5 -0
  46. package/dist/src/lib/text.js +27 -0
  47. package/dist/src/lib/text.js.map +1 -0
  48. package/dist/src/lib/tool-response.d.ts +6 -0
  49. package/dist/src/lib/tool-response.js +11 -0
  50. package/dist/src/lib/tool-response.js.map +1 -0
  51. package/dist/src/server-instructions.d.ts +1 -0
  52. package/dist/src/server-instructions.js +66 -0
  53. package/dist/src/server-instructions.js.map +1 -0
  54. package/dist/src/server.d.ts +2 -0
  55. package/dist/src/server.js +20 -0
  56. package/dist/src/server.js.map +1 -0
  57. package/dist/src/tools/authenticated-handlers.d.ts +77 -0
  58. package/dist/src/tools/authenticated-handlers.js +144 -0
  59. package/dist/src/tools/authenticated-handlers.js.map +1 -0
  60. package/dist/src/tools/authenticated.d.ts +3 -0
  61. package/dist/src/tools/authenticated.js +53 -0
  62. package/dist/src/tools/authenticated.js.map +1 -0
  63. package/dist/src/tools/catalog-handlers.d.ts +88 -0
  64. package/dist/src/tools/catalog-handlers.js +104 -0
  65. package/dist/src/tools/catalog-handlers.js.map +1 -0
  66. package/dist/src/tools/catalog.d.ts +3 -0
  67. package/dist/src/tools/catalog.js +29 -0
  68. package/dist/src/tools/catalog.js.map +1 -0
  69. package/dist/src/types.d.ts +75 -0
  70. package/dist/src/types.js +2 -0
  71. package/dist/src/types.js.map +1 -0
  72. package/package.json +66 -0
@@ -0,0 +1,1263 @@
1
+ {
2
+ "markup_rate": 2.0,
3
+ "provider_markup": {
4
+ "Anthropic": 0.5,
5
+ "DeepSeek": 2.0
6
+ },
7
+ "endpoint_markup": {
8
+ "Luma/Luma/luma-modify-video/modify_video": 1.0,
9
+ "OpenAI/GPT/gpt-5.2/chat_completion": 0.5,
10
+ "OpenAI/GPT/gpt-5.2/response": 0.5,
11
+ "OpenAI/GPT/gpt-5.4/chat_completion": 0.5,
12
+ "OpenAI/GPT/gpt-5.4/response": 0.5,
13
+ "OpenAI/GPT/gpt-5.4-mini/chat_completion": 0.5,
14
+ "OpenAI/GPT/gpt-5.4-mini/response": 0.5,
15
+ "OpenAI/GPT/gpt-5.5/chat_completion": 0.5,
16
+ "OpenAI/GPT/gpt-5.5/response": 0.5,
17
+ "OpenAI/GPT/gpt-5.3-codex/chat_completion": 0.5,
18
+ "OpenAI/GPT/gpt-5.3-codex/response": 0.5,
19
+ "OpenAI/GPT/gpt-5.3-codex-spark/chat_completion": 0.5,
20
+ "OpenAI/GPT/gpt-5.3-codex-spark/response": 0.5,
21
+ "OpenAI/GPT/gpt-5.4-nano/chat_completion": 0.5,
22
+ "OpenAI/GPT/gpt-5.4-nano/response": 0.5,
23
+ "OpenAI/GPT/codex-auto-review/chat_completion": 0.5,
24
+ "OpenAI/GPT/codex-auto-review/response": 0.5,
25
+ "OpenAI/GPT/gpt-5.5-pro/response": 0.5,
26
+ "OpenAI/GPT/gpt-5.4-pro/response": 0.5,
27
+ "OpenAI/GPT/gpt-5.2-pro/response": 0.5,
28
+ "Google/Gemini/gemini-2.5-flash/chat_completion": 0.5,
29
+ "Google/Gemini/gemini-2.5-pro/chat_completion": 0.5,
30
+ "Google/Gemini/gemini-3.1-pro-preview/chat_completion": 0.5,
31
+ "Google/Gemini/gemini-3-flash-preview/chat_completion": 0.5,
32
+ "Google/Gemini/gemini-3-flash-preview/stream_generate_content": 0.5,
33
+ "Google/Gemini/gemini-3-pro-preview/chat_completion": 0.5
34
+ },
35
+ "endpoints": {
36
+ "Suno/Suno/suno-v4/text_to_music": {
37
+ "cost_unit_price_cents": 6
38
+ },
39
+ "Suno/Suno/suno-v4/extend_music": {
40
+ "cost_unit_price_cents": 6
41
+ },
42
+ "Suno/Suno/suno-v4/cover_audio": {
43
+ "cost_unit_price_cents": 6
44
+ },
45
+ "Suno/Suno/suno-v4/create_mashup": {
46
+ "cost_unit_price_cents": 6
47
+ },
48
+ "Suno/Suno/suno-v4.5/text_to_music": {
49
+ "cost_unit_price_cents": 6
50
+ },
51
+ "Suno/Suno/suno-v4.5/extend_music": {
52
+ "cost_unit_price_cents": 6
53
+ },
54
+ "Suno/Suno/suno-v4.5/cover_audio": {
55
+ "cost_unit_price_cents": 6
56
+ },
57
+ "Suno/Suno/suno-v4.5/create_mashup": {
58
+ "cost_unit_price_cents": 6
59
+ },
60
+ "Suno/Suno/suno-v4.5-all/text_to_music": {
61
+ "cost_unit_price_cents": 6
62
+ },
63
+ "Suno/Suno/suno-v4.5-all/extend_music": {
64
+ "cost_unit_price_cents": 6
65
+ },
66
+ "Suno/Suno/suno-v4.5-all/cover_audio": {
67
+ "cost_unit_price_cents": 6
68
+ },
69
+ "Suno/Suno/suno-v4.5-all/create_mashup": {
70
+ "cost_unit_price_cents": 6
71
+ },
72
+ "Suno/Suno/suno-v4.5-plus/text_to_music": {
73
+ "cost_unit_price_cents": 6
74
+ },
75
+ "Suno/Suno/suno-v4.5-plus/extend_music": {
76
+ "cost_unit_price_cents": 6
77
+ },
78
+ "Suno/Suno/suno-v4.5-plus/cover_audio": {
79
+ "cost_unit_price_cents": 6
80
+ },
81
+ "Suno/Suno/suno-v4.5-plus/create_mashup": {
82
+ "cost_unit_price_cents": 6
83
+ },
84
+ "Suno/Suno/suno-v4.5-plus/add_instrumental": {
85
+ "cost_unit_price_cents": 6
86
+ },
87
+ "Suno/Suno/suno-v4.5-plus/add_vocals": {
88
+ "cost_unit_price_cents": 6
89
+ },
90
+ "Suno/Suno/suno-v5/text_to_music": {
91
+ "cost_unit_price_cents": 6
92
+ },
93
+ "Suno/Suno/suno-v5/extend_music": {
94
+ "cost_unit_price_cents": 6
95
+ },
96
+ "Suno/Suno/suno-v5/cover_audio": {
97
+ "cost_unit_price_cents": 6
98
+ },
99
+ "Suno/Suno/suno-v5/create_mashup": {
100
+ "cost_unit_price_cents": 6
101
+ },
102
+ "Suno/Suno/suno-v5/add_instrumental": {
103
+ "cost_unit_price_cents": 6
104
+ },
105
+ "Suno/Suno/suno-v5/add_vocals": {
106
+ "cost_unit_price_cents": 6
107
+ },
108
+ "Suno/Suno/suno-v5.5/add_instrumental": {
109
+ "cost_unit_price_cents": 6
110
+ },
111
+ "Suno/Suno/suno-v5/text_to_sound": {
112
+ "cost_unit_price_cents": 2.5
113
+ },
114
+ "Suno/Suno/suno-v5.5/text_to_music": {
115
+ "cost_unit_price_cents": 6
116
+ },
117
+ "Suno/Suno/suno-v5.5/extend_music": {
118
+ "cost_unit_price_cents": 6
119
+ },
120
+ "Suno/Suno/suno-v5.5/cover_audio": {
121
+ "cost_unit_price_cents": 6
122
+ },
123
+ "Suno/Suno/suno-v5.5/create_mashup": {
124
+ "cost_unit_price_cents": 6
125
+ },
126
+ "Suno/Suno/suno-v5.5/text_to_sound": {
127
+ "cost_unit_price_cents": 2.5
128
+ },
129
+ "Suno/Suno/_/convert_audio": {
130
+ "cost_unit_price_cents": 0.5
131
+ },
132
+ "Suno/Suno/_/separate_audio_stems": {
133
+ "cost_unit_price_cents": 5,
134
+ "cost_billing_config": {
135
+ "key": "type",
136
+ "overrides": {
137
+ "split_stem": 25
138
+ }
139
+ }
140
+ },
141
+ "Suno/Suno/_/boost_style": {
142
+ "cost_unit_price_cents": 0.5
143
+ },
144
+ "Suno/Suno/_/get_timestamped_lyrics": {
145
+ "cost_unit_price_cents": 0.5
146
+ },
147
+ "Suno/Suno/_/generate_persona": {
148
+ "cost_unit_price_cents": 25
149
+ },
150
+ "Suno/Suno/_/visualize_music": {
151
+ "cost_unit_price_cents": 1
152
+ },
153
+ "Suno/Suno/_/generate_lyrics": {
154
+ "cost_unit_price_cents": 0.5
155
+ },
156
+ "Suno/Suno/_/replace_section": {
157
+ "cost_unit_price_cents": 2.5
158
+ },
159
+ "Suno/Suno/_/voice_to_validation_phrase": {
160
+ "cost_unit_price_cents": 0
161
+ },
162
+ "Suno/Suno/_/regenerate_validation_phrase": {
163
+ "cost_unit_price_cents": 0
164
+ },
165
+ "Suno/Suno/_/generate_voice": {
166
+ "cost_unit_price_cents": 0
167
+ },
168
+ "Suno/Suno/_/check_voice": {
169
+ "cost_unit_price_cents": 0
170
+ },
171
+ "Google/Veo 3.1/veo-3.1/text_to_video": {
172
+ "cost_unit_price_cents": 112.5
173
+ },
174
+ "Google/Veo 3.1/veo-3.1-fast/text_to_video": {
175
+ "cost_unit_price_cents": 15
176
+ },
177
+ "Google/Veo 3.1/_/upscale_video": {
178
+ "cost_unit_price_cents": 30,
179
+ "cost_billing_config": {
180
+ "key": "output_resolution",
181
+ "overrides": {
182
+ "1080p": 3.75,
183
+ "4k": 30
184
+ }
185
+ }
186
+ },
187
+ "Google/Veo 3.1/_/extend_video": {
188
+ "cost_unit_price_cents": 15
189
+ },
190
+ "Bytedance/Seedance/seedance-v1-lite/text_to_video": {
191
+ "cost_unit_price_cents": 1,
192
+ "cost_billing_config": {
193
+ "key": "output_resolution",
194
+ "overrides": {
195
+ "480p": 0.2,
196
+ "720p": 0.45,
197
+ "1080p": 1.0
198
+ }
199
+ }
200
+ },
201
+ "Bytedance/Seedance/seedance-v1-pro/text_to_video": {
202
+ "cost_unit_price_cents": 1.5,
203
+ "cost_billing_config": {
204
+ "key": "output_resolution",
205
+ "overrides": {
206
+ "480p": 0.28,
207
+ "720p": 0.6,
208
+ "1080p": 1.4
209
+ }
210
+ }
211
+ },
212
+ "Bytedance/Seedance/seedance-v1-pro-fast/text_to_video": {
213
+ "cost_unit_price_cents": 1,
214
+ "cost_billing_config": {
215
+ "key": "output_resolution",
216
+ "overrides": {
217
+ "720p": 0.32,
218
+ "1080p": 0.72
219
+ }
220
+ }
221
+ },
222
+ "Bytedance/Seedance/seedance-1.5-pro/text_to_video": {
223
+ "cost_unit_price_cents": 2,
224
+ "cost_billing_config": {
225
+ "key": "output_resolution",
226
+ "overrides": {
227
+ "480p": 0.875,
228
+ "720p": 1.75,
229
+ "1080p": 3.75
230
+ }
231
+ }
232
+ },
233
+ "Bytedance/Seedance/seedance-2.0/text_to_video": {
234
+ "cost_unit_price_cents": 20.5
235
+ },
236
+ "Bytedance/Seedance/seedance-2.0-fast/text_to_video": {
237
+ "cost_unit_price_cents": 16.5
238
+ },
239
+ "Bytedance/Seedream/seedream-4.5-text-to-image/text_to_image": {
240
+ "cost_unit_price_cents": 3.5
241
+ },
242
+ "Bytedance/Seedream/seedream-4.5-edit/edit_image": {
243
+ "cost_unit_price_cents": 3.5
244
+ },
245
+ "Bytedance/Seedream/seedream-5-lite-text-to-image/text_to_image": {
246
+ "cost_unit_price_cents": 3
247
+ },
248
+ "Bytedance/Seedream/seedream-5-lite-edit/edit_image": {
249
+ "cost_unit_price_cents": 3
250
+ },
251
+ "Bytedance/Seedream/seedream-v4-text-to-image/text_to_image": {
252
+ "cost_unit_price_cents": 5
253
+ },
254
+ "Bytedance/Seedream/seedream-v4-edit/edit_image": {
255
+ "cost_unit_price_cents": 5,
256
+ "cost_billing_config": {
257
+ "key": "output_count",
258
+ "overrides": {
259
+ "1": 5,
260
+ "2": 10,
261
+ "3": 15,
262
+ "4": 20,
263
+ "5": 25,
264
+ "6": 30
265
+ }
266
+ }
267
+ },
268
+ "xAI/Grok Imagine/grok-imagine-text-to-video/text_to_video": {
269
+ "cost_unit_price_cents": 1,
270
+ "cost_billing_config": {
271
+ "key": "output_resolution",
272
+ "overrides": {
273
+ "480p": 0.8,
274
+ "720p": 1.5
275
+ }
276
+ }
277
+ },
278
+ "xAI/Grok Imagine/grok-imagine-image-to-video/image_to_video": {
279
+ "cost_unit_price_cents": 1,
280
+ "cost_billing_config": {
281
+ "key": "output_resolution",
282
+ "overrides": {
283
+ "480p": 0.8,
284
+ "720p": 1.5
285
+ }
286
+ }
287
+ },
288
+ "xAI/Grok Imagine/grok-imagine-text-to-image/text_to_image": {
289
+ "cost_unit_price_cents": 2,
290
+ "cost_billing_config": {
291
+ "key": "enable_pro",
292
+ "overrides": {
293
+ "true": 2.5,
294
+ "false": 2
295
+ }
296
+ }
297
+ },
298
+ "xAI/Grok Imagine/grok-imagine-edit-image/edit_image": {
299
+ "cost_unit_price_cents": 2
300
+ },
301
+ "xAI/Grok Imagine/_/extend_video": {
302
+ "cost_unit_price_cents": 15,
303
+ "cost_billing_config": {
304
+ "keys": [
305
+ "extension_duration_seconds",
306
+ "output_resolution"
307
+ ],
308
+ "matrix": {
309
+ "6": {
310
+ "480p": 5,
311
+ "720p": 10
312
+ },
313
+ "10": {
314
+ "480p": 10,
315
+ "720p": 15
316
+ }
317
+ }
318
+ }
319
+ },
320
+ "xAI/Grok Imagine/_/upscale_image": {
321
+ "cost_unit_price_cents": 5
322
+ },
323
+ "MiniMax/Hailuo/hailuo-02-text-to-video-pro/text_to_video": {
324
+ "cost_unit_price_cents": 28.5
325
+ },
326
+ "MiniMax/Hailuo/hailuo-02-text-to-video-standard/text_to_video": {
327
+ "cost_unit_price_cents": 25,
328
+ "cost_billing_config": {
329
+ "key": "duration_seconds",
330
+ "overrides": {
331
+ "6": 15,
332
+ "10": 25
333
+ }
334
+ }
335
+ },
336
+ "MiniMax/Hailuo/hailuo-02-image-to-video-pro/image_to_video": {
337
+ "cost_unit_price_cents": 28.5
338
+ },
339
+ "MiniMax/Hailuo/hailuo-02-image-to-video-standard/image_to_video": {
340
+ "cost_unit_price_cents": 15,
341
+ "cost_billing_config": {
342
+ "keys": [
343
+ "duration_seconds",
344
+ "output_resolution"
345
+ ],
346
+ "matrix": {
347
+ "6": {
348
+ "512p": 6,
349
+ "768p": 15
350
+ },
351
+ "10": {
352
+ "512p": 10,
353
+ "768p": 25
354
+ }
355
+ }
356
+ }
357
+ },
358
+ "MiniMax/Hailuo/hailuo-2.3-image-to-video-pro/image_to_video": {
359
+ "cost_unit_price_cents": 45,
360
+ "cost_billing_config": {
361
+ "keys": [
362
+ "duration_seconds",
363
+ "output_resolution"
364
+ ],
365
+ "matrix": {
366
+ "6": {
367
+ "768p": 22.5,
368
+ "1080p": 40
369
+ },
370
+ "10": {
371
+ "768p": 45
372
+ }
373
+ }
374
+ }
375
+ },
376
+ "MiniMax/Hailuo/hailuo-2.3-image-to-video-standard/image_to_video": {
377
+ "cost_unit_price_cents": 25,
378
+ "cost_billing_config": {
379
+ "keys": [
380
+ "duration_seconds",
381
+ "output_resolution"
382
+ ],
383
+ "matrix": {
384
+ "6": {
385
+ "768p": 15,
386
+ "1080p": 25
387
+ },
388
+ "10": {
389
+ "768p": 25
390
+ }
391
+ }
392
+ }
393
+ },
394
+ "Alibaba/HappyHorse/happyhorse-text-to-video/text_to_video": {
395
+ "cost_unit_price_cents": 24,
396
+ "cost_billing_config": {
397
+ "key": "output_resolution",
398
+ "overrides": {
399
+ "720p": 14,
400
+ "1080p": 24
401
+ }
402
+ }
403
+ },
404
+ "Alibaba/HappyHorse/happyhorse-image-to-video/image_to_video": {
405
+ "cost_unit_price_cents": 24,
406
+ "cost_billing_config": {
407
+ "key": "output_resolution",
408
+ "overrides": {
409
+ "720p": 14,
410
+ "1080p": 24
411
+ }
412
+ }
413
+ },
414
+ "Alibaba/HappyHorse/happyhorse-character/text_to_video": {
415
+ "cost_unit_price_cents": 24,
416
+ "cost_billing_config": {
417
+ "key": "output_resolution",
418
+ "overrides": {
419
+ "720p": 14,
420
+ "1080p": 24
421
+ }
422
+ }
423
+ },
424
+ "Alibaba/HappyHorse/happyhorse-edit-video/edit_video": {
425
+ "cost_unit_price_cents": 24,
426
+ "cost_billing_config": {
427
+ "key": "output_resolution",
428
+ "overrides": {
429
+ "720p": 14,
430
+ "1080p": 24
431
+ },
432
+ "duration_source": {
433
+ "kind": "response_body",
434
+ "path": "videos[0].url"
435
+ }
436
+ }
437
+ },
438
+ "Topaz/Topaz/topaz-upscale-image/upscale_image": {
439
+ "cost_unit_price_cents": 20,
440
+ "cost_billing_config": {
441
+ "key": "upscale_factor",
442
+ "overrides": {
443
+ "1": 5,
444
+ "2": 5,
445
+ "4": 10,
446
+ "8": 20
447
+ }
448
+ }
449
+ },
450
+ "Topaz/Topaz/topaz-upscale-video/upscale_video": {
451
+ "cost_unit_price_cents": 6
452
+ },
453
+ "Google/Nano Banana/nano-banana/text_to_image": {
454
+ "cost_unit_price_cents": 2
455
+ },
456
+ "Google/Nano Banana/nano-banana-pro/text_to_image": {
457
+ "cost_unit_price_cents": 9
458
+ },
459
+ "Google/Nano Banana/nano-banana-edit/edit_image": {
460
+ "cost_unit_price_cents": 2
461
+ },
462
+ "Google/Nano Banana/nano-banana-2/text_to_image": {
463
+ "cost_unit_price_cents": 8,
464
+ "cost_billing_config": {
465
+ "key": "output_resolution",
466
+ "overrides": {
467
+ "1k": 8,
468
+ "2k": 12,
469
+ "4k": 18
470
+ }
471
+ }
472
+ },
473
+ "Google/Imagen 4/imagen-4/text_to_image": {
474
+ "cost_unit_price_cents": 4
475
+ },
476
+ "Google/Imagen 4/imagen-4-fast/text_to_image": {
477
+ "cost_unit_price_cents": 2
478
+ },
479
+ "Google/Imagen 4/imagen-4-ultra/text_to_image": {
480
+ "cost_unit_price_cents": 6
481
+ },
482
+ "Google/Imagen 4/imagen-4-pro-remix-image/remix_image": {
483
+ "cost_unit_price_cents": 9,
484
+ "cost_billing_config": {
485
+ "key": "output_resolution",
486
+ "overrides": {
487
+ "1k": 9,
488
+ "2k": 9,
489
+ "4k": 12
490
+ }
491
+ }
492
+ },
493
+ "Google/Gemini Omni/gemini-omni-text-to-video/text_to_video": {
494
+ "cost_unit_price_cents": 180,
495
+ "cost_billing_config": {
496
+ "keys": [
497
+ "input_mode",
498
+ "duration_seconds",
499
+ "output_resolution"
500
+ ],
501
+ "matrix": {
502
+ "generated": {
503
+ "4": {
504
+ "720p": 45,
505
+ "1080p": 45,
506
+ "4k": 105
507
+ },
508
+ "6": {
509
+ "720p": 60,
510
+ "1080p": 60,
511
+ "4k": 120
512
+ },
513
+ "8": {
514
+ "720p": 75,
515
+ "1080p": 75,
516
+ "4k": 135
517
+ },
518
+ "10": {
519
+ "720p": 90,
520
+ "1080p": 90,
521
+ "4k": 150
522
+ }
523
+ },
524
+ "video": {
525
+ "any": {
526
+ "720p": 120,
527
+ "1080p": 120,
528
+ "4k": 180
529
+ }
530
+ }
531
+ }
532
+ }
533
+ },
534
+ "Runway/Runway/runway/text_to_video": {
535
+ "cost_unit_price_cents": 15,
536
+ "cost_billing_config": {
537
+ "keys": [
538
+ "duration_seconds",
539
+ "output_resolution"
540
+ ],
541
+ "matrix": {
542
+ "5": {
543
+ "720p": 6,
544
+ "1080p": 15
545
+ },
546
+ "10": {
547
+ "720p": 15
548
+ }
549
+ }
550
+ }
551
+ },
552
+ "Runway/Runway/runway/extend_video": {
553
+ "cost_unit_price_cents": 6,
554
+ "cost_billing_config": {
555
+ "key": "output_resolution",
556
+ "overrides": {
557
+ "720p": 6,
558
+ "1080p": 15
559
+ }
560
+ }
561
+ },
562
+ "Runway/Runway Aleph/runway-aleph/edit_video": {
563
+ "cost_unit_price_cents": 55
564
+ },
565
+ "Kuaishou/Kling/kling-3.0/text_to_video": {
566
+ "cost_unit_price_cents": 33.5,
567
+ "cost_billing_config": {
568
+ "keys": [
569
+ "enable_sound",
570
+ "output_resolution"
571
+ ],
572
+ "matrix": {
573
+ "false": {
574
+ "720p": 7,
575
+ "1080p": 9,
576
+ "4k": 33.5
577
+ },
578
+ "true": {
579
+ "720p": 10,
580
+ "1080p": 13.5,
581
+ "4k": 33.5
582
+ }
583
+ }
584
+ }
585
+ },
586
+ "Kuaishou/Kling/kling-3.0/motion_control": {
587
+ "cost_unit_price_cents": 10,
588
+ "cost_billing_config": {
589
+ "key": "resolution",
590
+ "overrides": {
591
+ "720p": 10,
592
+ "1080p": 13.5
593
+ },
594
+ "duration_source": {
595
+ "kind": "response_body",
596
+ "path": "videos[0].url"
597
+ }
598
+ }
599
+ },
600
+ "Kuaishou/Kling/kling-ai-avatar-pro/ai_avatar": {
601
+ "cost_unit_price_cents": 8
602
+ },
603
+ "Kuaishou/Kling/kling-ai-avatar-standard/ai_avatar": {
604
+ "cost_unit_price_cents": 4
605
+ },
606
+ "Kuaishou/Kling/kling-ai-avatar-v1-pro/ai_avatar": {
607
+ "cost_unit_price_cents": 8
608
+ },
609
+ "Kuaishou/Kling/kling-v1-avatar-standard/ai_avatar": {
610
+ "cost_unit_price_cents": 4
611
+ },
612
+ "Kuaishou/Kling/kling-v2.1-pro/image_to_video": {
613
+ "cost_unit_price_cents": 5
614
+ },
615
+ "Kuaishou/Kling/kling-v2.1-standard/image_to_video": {
616
+ "cost_unit_price_cents": 2.5
617
+ },
618
+ "Kuaishou/Kling/kling-v2.1-master-text-to-video/text_to_video": {
619
+ "cost_unit_price_cents": 16
620
+ },
621
+ "Kuaishou/Kling/kling-v2.1-master-image-to-video/image_to_video": {
622
+ "cost_unit_price_cents": 16
623
+ },
624
+ "Kuaishou/Kling/kling-v2.5-turbo-text-to-video-pro/text_to_video": {
625
+ "cost_unit_price_cents": 4.5
626
+ },
627
+ "Kuaishou/Kling/kling-v2.5-turbo-image-to-video-pro/image_to_video": {
628
+ "cost_unit_price_cents": 4.5
629
+ },
630
+ "Black Forest Labs/Flux Kontext/flux-kontext-pro/text_to_image": {
631
+ "cost_unit_price_cents": 5
632
+ },
633
+ "Black Forest Labs/Flux Kontext/flux-kontext-max/text_to_image": {
634
+ "cost_unit_price_cents": 10
635
+ },
636
+ "Black Forest Labs/Flux 2/flux-2-pro-text-to-image/text_to_image": {
637
+ "cost_unit_price_cents": 2.5,
638
+ "cost_billing_config": {
639
+ "key": "output_resolution",
640
+ "overrides": {
641
+ "1k": 2.5,
642
+ "2k": 3.5
643
+ }
644
+ }
645
+ },
646
+ "Black Forest Labs/Flux 2/flux-2-pro-remix-image/remix_image": {
647
+ "cost_unit_price_cents": 2.5,
648
+ "cost_billing_config": {
649
+ "key": "output_resolution",
650
+ "overrides": {
651
+ "1k": 2.5,
652
+ "2k": 3.5
653
+ }
654
+ }
655
+ },
656
+ "Black Forest Labs/Flux 2/flux-2-flex-text-to-image/text_to_image": {
657
+ "cost_unit_price_cents": 7,
658
+ "cost_billing_config": {
659
+ "key": "output_resolution",
660
+ "overrides": {
661
+ "1k": 7,
662
+ "2k": 12
663
+ }
664
+ }
665
+ },
666
+ "Black Forest Labs/Flux 2/flux-2-flex-remix-image/remix_image": {
667
+ "cost_unit_price_cents": 7,
668
+ "cost_billing_config": {
669
+ "key": "output_resolution",
670
+ "overrides": {
671
+ "1k": 7,
672
+ "2k": 12
673
+ }
674
+ }
675
+ },
676
+ "Alibaba/Qwen 2/qwen-2-text-to-image/text_to_image": {
677
+ "cost_unit_price_cents": 2.8
678
+ },
679
+ "Alibaba/Qwen 2/qwen-2-remix-image/remix_image": {
680
+ "cost_unit_price_cents": 2
681
+ },
682
+ "Alibaba/Qwen 2/qwen-2-edit-image/edit_image": {
683
+ "cost_unit_price_cents": 2
684
+ },
685
+ "Alibaba/Z Image/z-image/text_to_image": {
686
+ "cost_unit_price_cents": 0.5
687
+ },
688
+ "Recraft/Recraft/recraft-crisp-upscale/upscale_image": {
689
+ "cost_unit_price_cents": 0.5
690
+ },
691
+ "Recraft/Recraft/recraft-remove-background/remove_background": {
692
+ "cost_unit_price_cents": 0.5
693
+ },
694
+ "Ideogram/Ideogram V3/ideogram-v3-text-to-image/text_to_image": {
695
+ "cost_unit_price_cents": 3.5,
696
+ "cost_billing_config": {
697
+ "key": "rendering_speed",
698
+ "overrides": {
699
+ "turbo": 1.75,
700
+ "balanced": 3.5,
701
+ "quality": 5
702
+ }
703
+ }
704
+ },
705
+ "Ideogram/Ideogram V3/ideogram-v3-edit/edit_image": {
706
+ "cost_unit_price_cents": 3.5,
707
+ "cost_billing_config": {
708
+ "key": "rendering_speed",
709
+ "overrides": {
710
+ "turbo": 1.75,
711
+ "balanced": 3.5,
712
+ "quality": 5
713
+ }
714
+ }
715
+ },
716
+ "Ideogram/Ideogram V3/ideogram-v3-remix/remix_image": {
717
+ "cost_unit_price_cents": 3.5,
718
+ "cost_billing_config": {
719
+ "key": "rendering_speed",
720
+ "overrides": {
721
+ "turbo": 1.75,
722
+ "balanced": 3.5,
723
+ "quality": 5
724
+ }
725
+ }
726
+ },
727
+ "Ideogram/Ideogram V3/ideogram-v3-character/text_to_image": {
728
+ "cost_unit_price_cents": 9,
729
+ "cost_billing_config": {
730
+ "key": "rendering_speed",
731
+ "overrides": {
732
+ "turbo": 6,
733
+ "balanced": 9,
734
+ "quality": 12
735
+ }
736
+ }
737
+ },
738
+ "Ideogram/Ideogram V3/ideogram-v3-character-edit/edit_image": {
739
+ "cost_unit_price_cents": 9,
740
+ "cost_billing_config": {
741
+ "key": "rendering_speed",
742
+ "overrides": {
743
+ "turbo": 6,
744
+ "balanced": 9,
745
+ "quality": 12
746
+ }
747
+ }
748
+ },
749
+ "Ideogram/Ideogram V3/ideogram-v3-character-remix/remix_image": {
750
+ "cost_unit_price_cents": 9,
751
+ "cost_billing_config": {
752
+ "key": "rendering_speed",
753
+ "overrides": {
754
+ "turbo": 6,
755
+ "balanced": 9,
756
+ "quality": 12
757
+ }
758
+ }
759
+ },
760
+ "Ideogram/Ideogram V3/ideogram-v3-reframe/reframe_image": {
761
+ "cost_unit_price_cents": 3.5,
762
+ "cost_billing_config": {
763
+ "key": "rendering_speed",
764
+ "overrides": {
765
+ "turbo": 1.75,
766
+ "balanced": 3.5,
767
+ "quality": 5
768
+ }
769
+ }
770
+ },
771
+ "ElevenLabs/ElevenLabs/text-to-speech-turbo-v2.5/text_to_speech": {
772
+ "cost_unit_price_cents": 3
773
+ },
774
+ "ElevenLabs/ElevenLabs/text-to-speech-multilingual-v2/text_to_speech": {
775
+ "cost_unit_price_cents": 6
776
+ },
777
+ "ElevenLabs/ElevenLabs/text-to-dialogue-v3/text_to_dialogue": {
778
+ "cost_unit_price_cents": 7
779
+ },
780
+ "ElevenLabs/ElevenLabs/sound-effect-v2/text_to_sound": {
781
+ "cost_unit_price_cents": 7.5
782
+ },
783
+ "ElevenLabs/ElevenLabs/speech-to-text/speech_to_text": {
784
+ "cost_unit_price_cents": 2
785
+ },
786
+ "ElevenLabs/ElevenLabs/audio-isolation/isolate_audio": {
787
+ "cost_unit_price_cents": 6
788
+ },
789
+ "OpenAI/GPT Image/gpt-image-1.5/text_to_image": {
790
+ "cost_unit_price_cents": 2,
791
+ "cost_billing_config": {
792
+ "key": "quality",
793
+ "overrides": {
794
+ "medium": 2,
795
+ "high": 11
796
+ }
797
+ }
798
+ },
799
+ "OpenAI/GPT Image/gpt-image-1.5/edit_image": {
800
+ "cost_unit_price_cents": 2,
801
+ "cost_billing_config": {
802
+ "key": "quality",
803
+ "overrides": {
804
+ "medium": 2,
805
+ "high": 11
806
+ }
807
+ }
808
+ },
809
+ "OpenAI/GPT Image 2/gpt-image-2/text_to_image": {
810
+ "cost_unit_price_cents": 3,
811
+ "cost_billing_config": {
812
+ "key": "output_resolution",
813
+ "overrides": {
814
+ "1k": 3,
815
+ "2k": 5,
816
+ "4k": 8
817
+ }
818
+ }
819
+ },
820
+ "OpenAI/GPT Image 2/gpt-image-2/edit_image": {
821
+ "cost_unit_price_cents": 3,
822
+ "cost_billing_config": {
823
+ "key": "output_resolution",
824
+ "overrides": {
825
+ "1k": 3,
826
+ "2k": 5,
827
+ "4k": 8
828
+ }
829
+ }
830
+ },
831
+ "OpenAI/GPT-4o Image/gpt-4o-image/text_to_image": {
832
+ "cost_unit_price_cents": 3,
833
+ "cost_billing_config": {
834
+ "key": "output_count",
835
+ "overrides": {
836
+ "2": 3.5,
837
+ "4": 4
838
+ }
839
+ }
840
+ },
841
+ "OpenAI/GPT/gpt-5.2/chat_completion": {
842
+ "cost_unit_price_cents": 25,
843
+ "cost_input_price_per_1m_cents": 175,
844
+ "cost_cache_read_price_per_1m_cents": 17.5,
845
+ "cost_output_price_per_1m_cents": 1400
846
+ },
847
+ "OpenAI/GPT/gpt-5.2/response": {
848
+ "cost_unit_price_cents": 25,
849
+ "cost_input_price_per_1m_cents": 175,
850
+ "cost_cache_read_price_per_1m_cents": 17.5,
851
+ "cost_output_price_per_1m_cents": 1400
852
+ },
853
+ "OpenAI/GPT/gpt-5.4/chat_completion": {
854
+ "cost_unit_price_cents": 25,
855
+ "cost_input_price_per_1m_cents": 250,
856
+ "cost_cache_read_price_per_1m_cents": 25,
857
+ "cost_output_price_per_1m_cents": 1500
858
+ },
859
+ "OpenAI/GPT/gpt-5.4/response": {
860
+ "cost_unit_price_cents": 25,
861
+ "cost_input_price_per_1m_cents": 250,
862
+ "cost_cache_read_price_per_1m_cents": 25,
863
+ "cost_output_price_per_1m_cents": 1500
864
+ },
865
+ "OpenAI/GPT/gpt-5.4-mini/chat_completion": {
866
+ "cost_unit_price_cents": 10,
867
+ "cost_input_price_per_1m_cents": 75,
868
+ "cost_cache_read_price_per_1m_cents": 7.5,
869
+ "cost_output_price_per_1m_cents": 450
870
+ },
871
+ "OpenAI/GPT/gpt-5.4-mini/response": {
872
+ "cost_unit_price_cents": 10,
873
+ "cost_input_price_per_1m_cents": 75,
874
+ "cost_cache_read_price_per_1m_cents": 7.5,
875
+ "cost_output_price_per_1m_cents": 450
876
+ },
877
+ "OpenAI/GPT/gpt-5.5/chat_completion": {
878
+ "cost_unit_price_cents": 50,
879
+ "cost_input_price_per_1m_cents": 500,
880
+ "cost_cache_read_price_per_1m_cents": 50,
881
+ "cost_output_price_per_1m_cents": 3000
882
+ },
883
+ "OpenAI/GPT/gpt-5.5/response": {
884
+ "cost_unit_price_cents": 50,
885
+ "cost_input_price_per_1m_cents": 500,
886
+ "cost_cache_read_price_per_1m_cents": 50,
887
+ "cost_output_price_per_1m_cents": 3000
888
+ },
889
+ "OpenAI/GPT/gpt-5.3-codex/chat_completion": {
890
+ "cost_unit_price_cents": 25,
891
+ "cost_input_price_per_1m_cents": 175,
892
+ "cost_cache_read_price_per_1m_cents": 17.5,
893
+ "cost_output_price_per_1m_cents": 1400
894
+ },
895
+ "OpenAI/GPT/gpt-5.3-codex/response": {
896
+ "cost_unit_price_cents": 25,
897
+ "cost_input_price_per_1m_cents": 175,
898
+ "cost_cache_read_price_per_1m_cents": 17.5,
899
+ "cost_output_price_per_1m_cents": 1400
900
+ },
901
+ "OpenAI/GPT/gpt-5.3-codex-spark/chat_completion": {
902
+ "cost_unit_price_cents": 10,
903
+ "cost_input_price_per_1m_cents": 75,
904
+ "cost_cache_read_price_per_1m_cents": 7.5,
905
+ "cost_output_price_per_1m_cents": 450
906
+ },
907
+ "OpenAI/GPT/gpt-5.3-codex-spark/response": {
908
+ "cost_unit_price_cents": 10,
909
+ "cost_input_price_per_1m_cents": 75,
910
+ "cost_cache_read_price_per_1m_cents": 7.5,
911
+ "cost_output_price_per_1m_cents": 450
912
+ },
913
+ "OpenAI/GPT/gpt-5.4-nano/chat_completion": {
914
+ "cost_unit_price_cents": 5,
915
+ "cost_input_price_per_1m_cents": 20,
916
+ "cost_cache_read_price_per_1m_cents": 2,
917
+ "cost_output_price_per_1m_cents": 125
918
+ },
919
+ "OpenAI/GPT/gpt-5.4-nano/response": {
920
+ "cost_unit_price_cents": 5,
921
+ "cost_input_price_per_1m_cents": 20,
922
+ "cost_cache_read_price_per_1m_cents": 2,
923
+ "cost_output_price_per_1m_cents": 125
924
+ },
925
+ "OpenAI/GPT/codex-auto-review/chat_completion": {
926
+ "cost_unit_price_cents": 25,
927
+ "cost_input_price_per_1m_cents": 175,
928
+ "cost_cache_read_price_per_1m_cents": 17.5,
929
+ "cost_output_price_per_1m_cents": 1400
930
+ },
931
+ "OpenAI/GPT/codex-auto-review/response": {
932
+ "cost_unit_price_cents": 25,
933
+ "cost_input_price_per_1m_cents": 175,
934
+ "cost_cache_read_price_per_1m_cents": 17.5,
935
+ "cost_output_price_per_1m_cents": 1400
936
+ },
937
+ "OpenAI/GPT/gpt-5.5-pro/response": {
938
+ "cost_unit_price_cents": 250,
939
+ "cost_input_price_per_1m_cents": 3000,
940
+ "cost_output_price_per_1m_cents": 18000
941
+ },
942
+ "OpenAI/GPT/gpt-5.4-pro/response": {
943
+ "cost_unit_price_cents": 250,
944
+ "cost_input_price_per_1m_cents": 3000,
945
+ "cost_output_price_per_1m_cents": 18000
946
+ },
947
+ "OpenAI/GPT/gpt-5.2-pro/response": {
948
+ "cost_unit_price_cents": 200,
949
+ "cost_input_price_per_1m_cents": 2100,
950
+ "cost_output_price_per_1m_cents": 16800
951
+ },
952
+ "Google/Gemini/gemini-2.5-flash/chat_completion": {
953
+ "cost_unit_price_cents": 5,
954
+ "cost_input_price_per_1m_cents": 30,
955
+ "cost_output_price_per_1m_cents": 250
956
+ },
957
+ "Google/Gemini/gemini-2.5-pro/chat_completion": {
958
+ "cost_unit_price_cents": 15,
959
+ "cost_input_price_per_1m_cents": 125,
960
+ "cost_output_price_per_1m_cents": 1000
961
+ },
962
+ "Google/Gemini/gemini-3.1-pro-preview/chat_completion": {
963
+ "cost_unit_price_cents": 20,
964
+ "cost_input_price_per_1m_cents": 200,
965
+ "cost_output_price_per_1m_cents": 1200
966
+ },
967
+ "Google/Gemini/gemini-3-flash-preview/chat_completion": {
968
+ "cost_unit_price_cents": 5,
969
+ "cost_input_price_per_1m_cents": 50,
970
+ "cost_output_price_per_1m_cents": 300
971
+ },
972
+ "Google/Gemini/gemini-3-flash-preview/stream_generate_content": {
973
+ "cost_unit_price_cents": 5,
974
+ "cost_input_price_per_1m_cents": 50,
975
+ "cost_output_price_per_1m_cents": 300
976
+ },
977
+ "Google/Gemini/gemini-3-pro-preview/chat_completion": {
978
+ "cost_unit_price_cents": 20,
979
+ "cost_input_price_per_1m_cents": 200,
980
+ "cost_output_price_per_1m_cents": 1200
981
+ },
982
+ "Anthropic/Claude/claude-opus-4-8/message": {
983
+ "cost_unit_price_cents": 50,
984
+ "cost_input_price_per_1m_cents": 500,
985
+ "cost_output_price_per_1m_cents": 2500,
986
+ "cost_cache_read_price_per_1m_cents": 50,
987
+ "cost_cache_write_5m_price_per_1m_cents": 625,
988
+ "cost_cache_write_1h_price_per_1m_cents": 1000
989
+ },
990
+ "Anthropic/Claude/claude-opus-4-7/message": {
991
+ "cost_unit_price_cents": 50,
992
+ "cost_input_price_per_1m_cents": 500,
993
+ "cost_output_price_per_1m_cents": 2500,
994
+ "cost_cache_read_price_per_1m_cents": 50,
995
+ "cost_cache_write_5m_price_per_1m_cents": 625,
996
+ "cost_cache_write_1h_price_per_1m_cents": 1000
997
+ },
998
+ "Anthropic/Claude/claude-opus-4-5-20251101/message": {
999
+ "cost_unit_price_cents": 50,
1000
+ "cost_input_price_per_1m_cents": 500,
1001
+ "cost_output_price_per_1m_cents": 2500,
1002
+ "cost_cache_read_price_per_1m_cents": 50,
1003
+ "cost_cache_write_5m_price_per_1m_cents": 625,
1004
+ "cost_cache_write_1h_price_per_1m_cents": 1000
1005
+ },
1006
+ "Anthropic/Claude/claude-sonnet-4-5-20250929/message": {
1007
+ "cost_unit_price_cents": 25,
1008
+ "cost_input_price_per_1m_cents": 300,
1009
+ "cost_output_price_per_1m_cents": 1500,
1010
+ "cost_cache_read_price_per_1m_cents": 30,
1011
+ "cost_cache_write_5m_price_per_1m_cents": 375,
1012
+ "cost_cache_write_1h_price_per_1m_cents": 600
1013
+ },
1014
+ "Anthropic/Claude/claude-opus-4-6/message": {
1015
+ "cost_unit_price_cents": 50,
1016
+ "cost_input_price_per_1m_cents": 500,
1017
+ "cost_output_price_per_1m_cents": 2500,
1018
+ "cost_cache_read_price_per_1m_cents": 50,
1019
+ "cost_cache_write_5m_price_per_1m_cents": 625,
1020
+ "cost_cache_write_1h_price_per_1m_cents": 1000
1021
+ },
1022
+ "Anthropic/Claude/claude-sonnet-4-6/message": {
1023
+ "cost_unit_price_cents": 25,
1024
+ "cost_input_price_per_1m_cents": 300,
1025
+ "cost_output_price_per_1m_cents": 1500,
1026
+ "cost_cache_read_price_per_1m_cents": 30,
1027
+ "cost_cache_write_5m_price_per_1m_cents": 375,
1028
+ "cost_cache_write_1h_price_per_1m_cents": 600
1029
+ },
1030
+ "Anthropic/Claude/claude-haiku-4-5-20251001/message": {
1031
+ "cost_unit_price_cents": 10,
1032
+ "cost_input_price_per_1m_cents": 100,
1033
+ "cost_output_price_per_1m_cents": 500,
1034
+ "cost_cache_read_price_per_1m_cents": 10,
1035
+ "cost_cache_write_5m_price_per_1m_cents": 125,
1036
+ "cost_cache_write_1h_price_per_1m_cents": 200
1037
+ },
1038
+ "DeepSeek/DeepSeek/deepseek-v4-flash/message": {
1039
+ "cost_unit_price_cents": 3,
1040
+ "cost_input_price_per_1m_cents": 14,
1041
+ "cost_output_price_per_1m_cents": 28,
1042
+ "cost_cache_read_price_per_1m_cents": 0.28
1043
+ },
1044
+ "DeepSeek/DeepSeek/deepseek-v4-flash/chat_completion": {
1045
+ "cost_unit_price_cents": 3,
1046
+ "cost_input_price_per_1m_cents": 14,
1047
+ "cost_output_price_per_1m_cents": 28,
1048
+ "cost_cache_read_price_per_1m_cents": 0.28
1049
+ },
1050
+ "DeepSeek/DeepSeek/deepseek-v4-pro/message": {
1051
+ "cost_unit_price_cents": 25,
1052
+ "cost_input_price_per_1m_cents": 174,
1053
+ "cost_output_price_per_1m_cents": 348,
1054
+ "cost_cache_read_price_per_1m_cents": 1.45
1055
+ },
1056
+ "DeepSeek/DeepSeek/deepseek-v4-pro/chat_completion": {
1057
+ "cost_unit_price_cents": 25,
1058
+ "cost_input_price_per_1m_cents": 174,
1059
+ "cost_output_price_per_1m_cents": 348,
1060
+ "cost_cache_read_price_per_1m_cents": 1.45
1061
+ },
1062
+ "MeiGen-AI/InfiniteTalk/infinitetalk-from-audio/audio_to_video": {
1063
+ "cost_unit_price_cents": 6,
1064
+ "cost_billing_config": {
1065
+ "key": "output_resolution",
1066
+ "overrides": {
1067
+ "480p": 1.5,
1068
+ "720p": 6
1069
+ },
1070
+ "duration_source": {
1071
+ "kind": "response_body",
1072
+ "path": "videos[0].url"
1073
+ }
1074
+ }
1075
+ },
1076
+ "Alibaba/Wan/wan-2.2-a14b-text-to-video-turbo/text_to_video": {
1077
+ "cost_unit_price_cents": 20,
1078
+ "cost_billing_config": {
1079
+ "key": "output_resolution",
1080
+ "overrides": {
1081
+ "480p": 20,
1082
+ "580p": 30,
1083
+ "720p": 40
1084
+ }
1085
+ }
1086
+ },
1087
+ "Alibaba/Wan/wan-2.2-a14b-image-to-video-turbo/image_to_video": {
1088
+ "cost_unit_price_cents": 20,
1089
+ "cost_billing_config": {
1090
+ "key": "output_resolution",
1091
+ "overrides": {
1092
+ "480p": 20,
1093
+ "580p": 30,
1094
+ "720p": 40
1095
+ }
1096
+ }
1097
+ },
1098
+ "Alibaba/Wan/wan-2.2-a14b-speech-to-video-turbo/speech_to_video": {
1099
+ "cost_unit_price_cents": 12,
1100
+ "cost_billing_config": {
1101
+ "key": "output_resolution",
1102
+ "overrides": {
1103
+ "480p": 6,
1104
+ "580p": 9,
1105
+ "720p": 12
1106
+ },
1107
+ "duration_source": {
1108
+ "kind": "response_body",
1109
+ "path": "videos[0].url"
1110
+ }
1111
+ }
1112
+ },
1113
+ "Alibaba/Wan/wan-2.2-animate-move/animate": {
1114
+ "cost_unit_price_cents": 6.5,
1115
+ "cost_billing_config": {
1116
+ "key": "output_resolution",
1117
+ "overrides": {
1118
+ "480p": 3,
1119
+ "580p": 5,
1120
+ "720p": 6.5
1121
+ },
1122
+ "duration_source": {
1123
+ "kind": "response_body",
1124
+ "path": "videos[0].url"
1125
+ }
1126
+ }
1127
+ },
1128
+ "Alibaba/Wan/wan-2.2-animate-replace/animate": {
1129
+ "cost_unit_price_cents": 6.5,
1130
+ "cost_billing_config": {
1131
+ "key": "output_resolution",
1132
+ "overrides": {
1133
+ "480p": 3,
1134
+ "580p": 5,
1135
+ "720p": 6.5
1136
+ },
1137
+ "duration_source": {
1138
+ "kind": "response_body",
1139
+ "path": "videos[0].url"
1140
+ }
1141
+ }
1142
+ },
1143
+ "Alibaba/Wan/wan-2.5-text-to-video/text_to_video": {
1144
+ "cost_unit_price_cents": 6,
1145
+ "cost_billing_config": {
1146
+ "key": "output_resolution",
1147
+ "overrides": {
1148
+ "720p": 6,
1149
+ "1080p": 10
1150
+ }
1151
+ }
1152
+ },
1153
+ "Alibaba/Wan/wan-2.5-image-to-video/image_to_video": {
1154
+ "cost_unit_price_cents": 6,
1155
+ "cost_billing_config": {
1156
+ "key": "output_resolution",
1157
+ "overrides": {
1158
+ "720p": 6,
1159
+ "1080p": 10
1160
+ }
1161
+ }
1162
+ },
1163
+ "Alibaba/Wan/wan-2.6-text-to-video/text_to_video": {
1164
+ "cost_unit_price_cents": 7,
1165
+ "cost_billing_config": {
1166
+ "key": "output_resolution",
1167
+ "overrides": {
1168
+ "720p": 7,
1169
+ "1080p": 10.5
1170
+ }
1171
+ }
1172
+ },
1173
+ "Alibaba/Wan/wan-2.6-image-to-video/image_to_video": {
1174
+ "cost_unit_price_cents": 7,
1175
+ "cost_billing_config": {
1176
+ "key": "output_resolution",
1177
+ "overrides": {
1178
+ "720p": 7,
1179
+ "1080p": 10.5
1180
+ }
1181
+ }
1182
+ },
1183
+ "Alibaba/Wan/wan-2.6-edit-video/edit_video": {
1184
+ "cost_unit_price_cents": 7,
1185
+ "cost_billing_config": {
1186
+ "key": "output_resolution",
1187
+ "overrides": {
1188
+ "720p": 7,
1189
+ "1080p": 10.5
1190
+ }
1191
+ }
1192
+ },
1193
+ "Alibaba/Wan/wan-2.6-flash-image-to-video/image_to_video": {
1194
+ "cost_unit_price_cents": 15,
1195
+ "cost_billing_config": {
1196
+ "key": "audio",
1197
+ "overrides": {
1198
+ "false": 15,
1199
+ "true": 30
1200
+ }
1201
+ }
1202
+ },
1203
+ "Alibaba/Wan/wan-2.6-flash-edit-video/edit_video": {
1204
+ "cost_unit_price_cents": 15,
1205
+ "cost_billing_config": {
1206
+ "key": "audio",
1207
+ "overrides": {
1208
+ "false": 15,
1209
+ "true": 30
1210
+ }
1211
+ }
1212
+ },
1213
+ "Alibaba/Wan/wan-2.7-text-to-video/text_to_video": {
1214
+ "cost_unit_price_cents": 8,
1215
+ "cost_billing_config": {
1216
+ "key": "output_resolution",
1217
+ "overrides": {
1218
+ "720p": 8,
1219
+ "1080p": 12
1220
+ }
1221
+ }
1222
+ },
1223
+ "Alibaba/Wan/wan-2.7-image-to-video/image_to_video": {
1224
+ "cost_unit_price_cents": 8,
1225
+ "cost_billing_config": {
1226
+ "key": "output_resolution",
1227
+ "overrides": {
1228
+ "720p": 8,
1229
+ "1080p": 12
1230
+ }
1231
+ }
1232
+ },
1233
+ "Alibaba/Wan/wan-2.7-image/text_to_image": {
1234
+ "cost_unit_price_cents": 2.5
1235
+ },
1236
+ "Alibaba/Wan/wan-2.7-image-pro/text_to_image": {
1237
+ "cost_unit_price_cents": 6
1238
+ },
1239
+ "Alibaba/Wan/wan-2.7-r2v/text_to_video": {
1240
+ "cost_unit_price_cents": 8,
1241
+ "cost_billing_config": {
1242
+ "key": "output_resolution",
1243
+ "overrides": {
1244
+ "720p": 8,
1245
+ "1080p": 12
1246
+ }
1247
+ }
1248
+ },
1249
+ "Alibaba/Wan/wan-2.7-edit-video/edit_video": {
1250
+ "cost_unit_price_cents": 8,
1251
+ "cost_billing_config": {
1252
+ "key": "output_resolution",
1253
+ "overrides": {
1254
+ "720p": 8,
1255
+ "1080p": 12
1256
+ }
1257
+ }
1258
+ },
1259
+ "Luma/Luma/luma-modify-video/modify_video": {
1260
+ "cost_unit_price_cents": 50
1261
+ }
1262
+ }
1263
+ }