@openeryc/pi-ai 0.75.57 → 0.75.59

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.
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated by scripts/generate-image-models.ts
2
2
  // Do not edit manually - run 'npm run generate-image-models' to update
3
3
  export const IMAGE_MODELS = {
4
- openrouter: {
4
+ "openrouter": {
5
5
  "black-forest-labs/flux.2-flex": {
6
6
  id: "black-forest-labs/flux.2-flex",
7
7
  name: "Black Forest Labs: FLUX.2 Flex",
@@ -11,11 +11,11 @@ export const IMAGE_MODELS = {
11
11
  input: ["text", "image"],
12
12
  output: ["image"],
13
13
  cost: {
14
- input: 0,
15
- output: 0,
16
- cacheRead: 0,
17
- cacheWrite: 0,
18
- },
14
+ "input": 0,
15
+ "output": 0,
16
+ "cacheRead": 0,
17
+ "cacheWrite": 0
18
+ }
19
19
  },
20
20
  "black-forest-labs/flux.2-klein-4b": {
21
21
  id: "black-forest-labs/flux.2-klein-4b",
@@ -26,11 +26,11 @@ export const IMAGE_MODELS = {
26
26
  input: ["text", "image"],
27
27
  output: ["image"],
28
28
  cost: {
29
- input: 0,
30
- output: 0,
31
- cacheRead: 0,
32
- cacheWrite: 0,
33
- },
29
+ "input": 0,
30
+ "output": 0,
31
+ "cacheRead": 0,
32
+ "cacheWrite": 0
33
+ }
34
34
  },
35
35
  "black-forest-labs/flux.2-max": {
36
36
  id: "black-forest-labs/flux.2-max",
@@ -41,11 +41,11 @@ export const IMAGE_MODELS = {
41
41
  input: ["text", "image"],
42
42
  output: ["image"],
43
43
  cost: {
44
- input: 0,
45
- output: 0,
46
- cacheRead: 0,
47
- cacheWrite: 0,
48
- },
44
+ "input": 0,
45
+ "output": 0,
46
+ "cacheRead": 0,
47
+ "cacheWrite": 0
48
+ }
49
49
  },
50
50
  "black-forest-labs/flux.2-pro": {
51
51
  id: "black-forest-labs/flux.2-pro",
@@ -56,11 +56,11 @@ export const IMAGE_MODELS = {
56
56
  input: ["text", "image"],
57
57
  output: ["image"],
58
58
  cost: {
59
- input: 0,
60
- output: 0,
61
- cacheRead: 0,
62
- cacheWrite: 0,
63
- },
59
+ "input": 0,
60
+ "output": 0,
61
+ "cacheRead": 0,
62
+ "cacheWrite": 0
63
+ }
64
64
  },
65
65
  "bytedance-seed/seedream-4.5": {
66
66
  id: "bytedance-seed/seedream-4.5",
@@ -71,11 +71,11 @@ export const IMAGE_MODELS = {
71
71
  input: ["image", "text"],
72
72
  output: ["image"],
73
73
  cost: {
74
- input: 0,
75
- output: 0,
76
- cacheRead: 0,
77
- cacheWrite: 0,
78
- },
74
+ "input": 0,
75
+ "output": 0,
76
+ "cacheRead": 0,
77
+ "cacheWrite": 0
78
+ }
79
79
  },
80
80
  "google/gemini-2.5-flash-image": {
81
81
  id: "google/gemini-2.5-flash-image",
@@ -86,11 +86,26 @@ export const IMAGE_MODELS = {
86
86
  input: ["image", "text"],
87
87
  output: ["image", "text"],
88
88
  cost: {
89
- input: 0.3,
90
- output: 2.5,
91
- cacheRead: 0.03,
92
- cacheWrite: 0.08333333333333334,
93
- },
89
+ "input": 0.3,
90
+ "output": 2.5,
91
+ "cacheRead": 0.03,
92
+ "cacheWrite": 0.08333333333333334
93
+ }
94
+ },
95
+ "google/gemini-3-pro-image": {
96
+ id: "google/gemini-3-pro-image",
97
+ name: "Google: Nano Banana Pro (Gemini 3 Pro Image)",
98
+ api: "openrouter-images",
99
+ provider: "openrouter",
100
+ baseUrl: "https://openrouter.ai/api/v1",
101
+ input: ["image", "text"],
102
+ output: ["image", "text"],
103
+ cost: {
104
+ "input": 2,
105
+ "output": 12,
106
+ "cacheRead": 0.19999999999999998,
107
+ "cacheWrite": 0.375
108
+ }
94
109
  },
95
110
  "google/gemini-3-pro-image-preview": {
96
111
  id: "google/gemini-3-pro-image-preview",
@@ -101,11 +116,26 @@ export const IMAGE_MODELS = {
101
116
  input: ["image", "text"],
102
117
  output: ["image", "text"],
103
118
  cost: {
104
- input: 2,
105
- output: 12,
106
- cacheRead: 0.19999999999999998,
107
- cacheWrite: 0.375,
108
- },
119
+ "input": 2,
120
+ "output": 12,
121
+ "cacheRead": 0.19999999999999998,
122
+ "cacheWrite": 0.375
123
+ }
124
+ },
125
+ "google/gemini-3.1-flash-image": {
126
+ id: "google/gemini-3.1-flash-image",
127
+ name: "Google: Nano Banana 2 (Gemini 3.1 Flash Image)",
128
+ api: "openrouter-images",
129
+ provider: "openrouter",
130
+ baseUrl: "https://openrouter.ai/api/v1",
131
+ input: ["image", "text"],
132
+ output: ["image", "text"],
133
+ cost: {
134
+ "input": 0.5,
135
+ "output": 3,
136
+ "cacheRead": 0,
137
+ "cacheWrite": 0
138
+ }
109
139
  },
110
140
  "google/gemini-3.1-flash-image-preview": {
111
141
  id: "google/gemini-3.1-flash-image-preview",
@@ -116,11 +146,41 @@ export const IMAGE_MODELS = {
116
146
  input: ["image", "text"],
117
147
  output: ["image", "text"],
118
148
  cost: {
119
- input: 0.5,
120
- output: 3,
121
- cacheRead: 0,
122
- cacheWrite: 0,
123
- },
149
+ "input": 0.5,
150
+ "output": 3,
151
+ "cacheRead": 0,
152
+ "cacheWrite": 0
153
+ }
154
+ },
155
+ "google/gemini-3.1-flash-lite-image": {
156
+ id: "google/gemini-3.1-flash-lite-image",
157
+ name: "Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
158
+ api: "openrouter-images",
159
+ provider: "openrouter",
160
+ baseUrl: "https://openrouter.ai/api/v1",
161
+ input: ["image", "text"],
162
+ output: ["image", "text"],
163
+ cost: {
164
+ "input": 0.25,
165
+ "output": 1.5,
166
+ "cacheRead": 0,
167
+ "cacheWrite": 0
168
+ }
169
+ },
170
+ "microsoft/mai-image-2.5": {
171
+ id: "microsoft/mai-image-2.5",
172
+ name: "Microsoft: MAI-Image-2.5",
173
+ api: "openrouter-images",
174
+ provider: "openrouter",
175
+ baseUrl: "https://openrouter.ai/api/v1",
176
+ input: ["text", "image"],
177
+ output: ["image"],
178
+ cost: {
179
+ "input": 5,
180
+ "output": 0,
181
+ "cacheRead": 0,
182
+ "cacheWrite": 0
183
+ }
124
184
  },
125
185
  "openai/gpt-5-image": {
126
186
  id: "openai/gpt-5-image",
@@ -131,11 +191,11 @@ export const IMAGE_MODELS = {
131
191
  input: ["image", "text"],
132
192
  output: ["image", "text"],
133
193
  cost: {
134
- input: 10,
135
- output: 10,
136
- cacheRead: 1.25,
137
- cacheWrite: 0,
138
- },
194
+ "input": 10,
195
+ "output": 10,
196
+ "cacheRead": 1.25,
197
+ "cacheWrite": 0
198
+ }
139
199
  },
140
200
  "openai/gpt-5-image-mini": {
141
201
  id: "openai/gpt-5-image-mini",
@@ -146,11 +206,11 @@ export const IMAGE_MODELS = {
146
206
  input: ["image", "text"],
147
207
  output: ["image", "text"],
148
208
  cost: {
149
- input: 2.5,
150
- output: 2,
151
- cacheRead: 0.25,
152
- cacheWrite: 0,
153
- },
209
+ "input": 2.5,
210
+ "output": 2,
211
+ "cacheRead": 0.25,
212
+ "cacheWrite": 0
213
+ }
154
214
  },
155
215
  "openai/gpt-5.4-image-2": {
156
216
  id: "openai/gpt-5.4-image-2",
@@ -161,11 +221,56 @@ export const IMAGE_MODELS = {
161
221
  input: ["image", "text"],
162
222
  output: ["image", "text"],
163
223
  cost: {
164
- input: 8,
165
- output: 15,
166
- cacheRead: 2,
167
- cacheWrite: 0,
168
- },
224
+ "input": 8,
225
+ "output": 15,
226
+ "cacheRead": 2,
227
+ "cacheWrite": 0
228
+ }
229
+ },
230
+ "openai/gpt-image-1": {
231
+ id: "openai/gpt-image-1",
232
+ name: "OpenAI: GPT Image 1",
233
+ api: "openrouter-images",
234
+ provider: "openrouter",
235
+ baseUrl: "https://openrouter.ai/api/v1",
236
+ input: ["text", "image"],
237
+ output: ["image"],
238
+ cost: {
239
+ "input": 10,
240
+ "output": 10,
241
+ "cacheRead": 1.25,
242
+ "cacheWrite": 0
243
+ }
244
+ },
245
+ "openai/gpt-image-1-mini": {
246
+ id: "openai/gpt-image-1-mini",
247
+ name: "OpenAI: GPT Image 1 Mini",
248
+ api: "openrouter-images",
249
+ provider: "openrouter",
250
+ baseUrl: "https://openrouter.ai/api/v1",
251
+ input: ["text", "image"],
252
+ output: ["image"],
253
+ cost: {
254
+ "input": 2.5,
255
+ "output": 2.5,
256
+ "cacheRead": 0.25,
257
+ "cacheWrite": 0
258
+ }
259
+ },
260
+ "openai/gpt-image-2": {
261
+ id: "openai/gpt-image-2",
262
+ name: "OpenAI: GPT Image 2",
263
+ api: "openrouter-images",
264
+ provider: "openrouter",
265
+ baseUrl: "https://openrouter.ai/api/v1",
266
+ input: ["text", "image"],
267
+ output: ["image"],
268
+ cost: {
269
+ "input": 8,
270
+ "output": 8,
271
+ "cacheRead": 2,
272
+ "cacheWrite": 0
273
+ }
169
274
  },
170
275
  "openrouter/auto": {
171
276
  id: "openrouter/auto",
@@ -176,11 +281,11 @@ export const IMAGE_MODELS = {
176
281
  input: ["text", "image"],
177
282
  output: ["text", "image"],
178
283
  cost: {
179
- input: -1000000,
180
- output: -1000000,
181
- cacheRead: 0,
182
- cacheWrite: 0,
183
- },
284
+ "input": -1000000,
285
+ "output": -1000000,
286
+ "cacheRead": 0,
287
+ "cacheWrite": 0
288
+ }
184
289
  },
185
290
  "recraft/recraft-v3": {
186
291
  id: "recraft/recraft-v3",
@@ -191,11 +296,11 @@ export const IMAGE_MODELS = {
191
296
  input: ["text", "image"],
192
297
  output: ["image"],
193
298
  cost: {
194
- input: 0,
195
- output: 0,
196
- cacheRead: 0,
197
- cacheWrite: 0,
198
- },
299
+ "input": 0,
300
+ "output": 0,
301
+ "cacheRead": 0,
302
+ "cacheWrite": 0
303
+ }
199
304
  },
200
305
  "recraft/recraft-v4": {
201
306
  id: "recraft/recraft-v4",
@@ -206,11 +311,11 @@ export const IMAGE_MODELS = {
206
311
  input: ["text", "image"],
207
312
  output: ["image"],
208
313
  cost: {
209
- input: 0,
210
- output: 0,
211
- cacheRead: 0,
212
- cacheWrite: 0,
213
- },
314
+ "input": 0,
315
+ "output": 0,
316
+ "cacheRead": 0,
317
+ "cacheWrite": 0
318
+ }
214
319
  },
215
320
  "recraft/recraft-v4-pro": {
216
321
  id: "recraft/recraft-v4-pro",
@@ -221,11 +326,11 @@ export const IMAGE_MODELS = {
221
326
  input: ["text", "image"],
222
327
  output: ["image"],
223
328
  cost: {
224
- input: 0,
225
- output: 0,
226
- cacheRead: 0,
227
- cacheWrite: 0,
228
- },
329
+ "input": 0,
330
+ "output": 0,
331
+ "cacheRead": 0,
332
+ "cacheWrite": 0
333
+ }
229
334
  },
230
335
  "recraft/recraft-v4-pro-vector": {
231
336
  id: "recraft/recraft-v4-pro-vector",
@@ -236,11 +341,11 @@ export const IMAGE_MODELS = {
236
341
  input: ["text", "image"],
237
342
  output: ["image"],
238
343
  cost: {
239
- input: 0,
240
- output: 0,
241
- cacheRead: 0,
242
- cacheWrite: 0,
243
- },
344
+ "input": 0,
345
+ "output": 0,
346
+ "cacheRead": 0,
347
+ "cacheWrite": 0
348
+ }
244
349
  },
245
350
  "recraft/recraft-v4-vector": {
246
351
  id: "recraft/recraft-v4-vector",
@@ -251,11 +356,11 @@ export const IMAGE_MODELS = {
251
356
  input: ["text", "image"],
252
357
  output: ["image"],
253
358
  cost: {
254
- input: 0,
255
- output: 0,
256
- cacheRead: 0,
257
- cacheWrite: 0,
258
- },
359
+ "input": 0,
360
+ "output": 0,
361
+ "cacheRead": 0,
362
+ "cacheWrite": 0
363
+ }
259
364
  },
260
365
  "recraft/recraft-v4.1": {
261
366
  id: "recraft/recraft-v4.1",
@@ -266,11 +371,11 @@ export const IMAGE_MODELS = {
266
371
  input: ["text", "image"],
267
372
  output: ["image"],
268
373
  cost: {
269
- input: 0,
270
- output: 0,
271
- cacheRead: 0,
272
- cacheWrite: 0,
273
- },
374
+ "input": 0,
375
+ "output": 0,
376
+ "cacheRead": 0,
377
+ "cacheWrite": 0
378
+ }
274
379
  },
275
380
  "recraft/recraft-v4.1-pro": {
276
381
  id: "recraft/recraft-v4.1-pro",
@@ -281,11 +386,11 @@ export const IMAGE_MODELS = {
281
386
  input: ["text", "image"],
282
387
  output: ["image"],
283
388
  cost: {
284
- input: 0,
285
- output: 0,
286
- cacheRead: 0,
287
- cacheWrite: 0,
288
- },
389
+ "input": 0,
390
+ "output": 0,
391
+ "cacheRead": 0,
392
+ "cacheWrite": 0
393
+ }
289
394
  },
290
395
  "recraft/recraft-v4.1-pro-vector": {
291
396
  id: "recraft/recraft-v4.1-pro-vector",
@@ -296,11 +401,11 @@ export const IMAGE_MODELS = {
296
401
  input: ["text", "image"],
297
402
  output: ["image"],
298
403
  cost: {
299
- input: 0,
300
- output: 0,
301
- cacheRead: 0,
302
- cacheWrite: 0,
303
- },
404
+ "input": 0,
405
+ "output": 0,
406
+ "cacheRead": 0,
407
+ "cacheWrite": 0
408
+ }
304
409
  },
305
410
  "recraft/recraft-v4.1-utility": {
306
411
  id: "recraft/recraft-v4.1-utility",
@@ -311,11 +416,11 @@ export const IMAGE_MODELS = {
311
416
  input: ["text", "image"],
312
417
  output: ["image"],
313
418
  cost: {
314
- input: 0,
315
- output: 0,
316
- cacheRead: 0,
317
- cacheWrite: 0,
318
- },
419
+ "input": 0,
420
+ "output": 0,
421
+ "cacheRead": 0,
422
+ "cacheWrite": 0
423
+ }
319
424
  },
320
425
  "recraft/recraft-v4.1-utility-pro": {
321
426
  id: "recraft/recraft-v4.1-utility-pro",
@@ -326,11 +431,11 @@ export const IMAGE_MODELS = {
326
431
  input: ["text", "image"],
327
432
  output: ["image"],
328
433
  cost: {
329
- input: 0,
330
- output: 0,
331
- cacheRead: 0,
332
- cacheWrite: 0,
333
- },
434
+ "input": 0,
435
+ "output": 0,
436
+ "cacheRead": 0,
437
+ "cacheWrite": 0
438
+ }
334
439
  },
335
440
  "recraft/recraft-v4.1-vector": {
336
441
  id: "recraft/recraft-v4.1-vector",
@@ -341,11 +446,11 @@ export const IMAGE_MODELS = {
341
446
  input: ["text", "image"],
342
447
  output: ["image"],
343
448
  cost: {
344
- input: 0,
345
- output: 0,
346
- cacheRead: 0,
347
- cacheWrite: 0,
348
- },
449
+ "input": 0,
450
+ "output": 0,
451
+ "cacheRead": 0,
452
+ "cacheWrite": 0
453
+ }
349
454
  },
350
455
  "sourceful/riverflow-v2-fast": {
351
456
  id: "sourceful/riverflow-v2-fast",
@@ -356,71 +461,56 @@ export const IMAGE_MODELS = {
356
461
  input: ["text", "image"],
357
462
  output: ["image"],
358
463
  cost: {
359
- input: 0,
360
- output: 0,
361
- cacheRead: 0,
362
- cacheWrite: 0,
363
- },
464
+ "input": 0,
465
+ "output": 0,
466
+ "cacheRead": 0,
467
+ "cacheWrite": 0
468
+ }
364
469
  },
365
- "sourceful/riverflow-v2-fast-preview": {
366
- id: "sourceful/riverflow-v2-fast-preview",
367
- name: "Sourceful: Riverflow V2 Fast Preview",
368
- api: "openrouter-images",
369
- provider: "openrouter",
370
- baseUrl: "https://openrouter.ai/api/v1",
371
- input: ["text", "image"],
372
- output: ["image"],
373
- cost: {
374
- input: 0,
375
- output: 0,
376
- cacheRead: 0,
377
- cacheWrite: 0,
378
- },
379
- },
380
- "sourceful/riverflow-v2-max-preview": {
381
- id: "sourceful/riverflow-v2-max-preview",
382
- name: "Sourceful: Riverflow V2 Max Preview",
470
+ "sourceful/riverflow-v2-pro": {
471
+ id: "sourceful/riverflow-v2-pro",
472
+ name: "Sourceful: Riverflow V2 Pro",
383
473
  api: "openrouter-images",
384
474
  provider: "openrouter",
385
475
  baseUrl: "https://openrouter.ai/api/v1",
386
476
  input: ["text", "image"],
387
477
  output: ["image"],
388
478
  cost: {
389
- input: 0,
390
- output: 0,
391
- cacheRead: 0,
392
- cacheWrite: 0,
393
- },
479
+ "input": 0,
480
+ "output": 0,
481
+ "cacheRead": 0,
482
+ "cacheWrite": 0
483
+ }
394
484
  },
395
- "sourceful/riverflow-v2-pro": {
396
- id: "sourceful/riverflow-v2-pro",
397
- name: "Sourceful: Riverflow V2 Pro",
485
+ "sourceful/riverflow-v2.5-fast": {
486
+ id: "sourceful/riverflow-v2.5-fast",
487
+ name: "Sourceful: Riverflow V2.5 Fast",
398
488
  api: "openrouter-images",
399
489
  provider: "openrouter",
400
490
  baseUrl: "https://openrouter.ai/api/v1",
401
491
  input: ["text", "image"],
402
492
  output: ["image"],
403
493
  cost: {
404
- input: 0,
405
- output: 0,
406
- cacheRead: 0,
407
- cacheWrite: 0,
408
- },
494
+ "input": 0,
495
+ "output": 0,
496
+ "cacheRead": 0,
497
+ "cacheWrite": 0
498
+ }
409
499
  },
410
- "sourceful/riverflow-v2-standard-preview": {
411
- id: "sourceful/riverflow-v2-standard-preview",
412
- name: "Sourceful: Riverflow V2 Standard Preview",
500
+ "sourceful/riverflow-v2.5-pro": {
501
+ id: "sourceful/riverflow-v2.5-pro",
502
+ name: "Sourceful: Riverflow V2.5 Pro",
413
503
  api: "openrouter-images",
414
504
  provider: "openrouter",
415
505
  baseUrl: "https://openrouter.ai/api/v1",
416
506
  input: ["text", "image"],
417
507
  output: ["image"],
418
508
  cost: {
419
- input: 0,
420
- output: 0,
421
- cacheRead: 0,
422
- cacheWrite: 0,
423
- },
509
+ "input": 0,
510
+ "output": 0,
511
+ "cacheRead": 0,
512
+ "cacheWrite": 0
513
+ }
424
514
  },
425
515
  "x-ai/grok-imagine-image-quality": {
426
516
  id: "x-ai/grok-imagine-image-quality",
@@ -431,11 +521,11 @@ export const IMAGE_MODELS = {
431
521
  input: ["text", "image"],
432
522
  output: ["image"],
433
523
  cost: {
434
- input: 0,
435
- output: 0,
436
- cacheRead: 0,
437
- cacheWrite: 0,
438
- },
524
+ "input": 0,
525
+ "output": 0,
526
+ "cacheRead": 0,
527
+ "cacheWrite": 0
528
+ }
439
529
  },
440
530
  },
441
531
  };