@openachieve/ai 0.78.0 → 0.79.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/dist/image-models.generated.d.ts +30 -0
- package/dist/image-models.generated.d.ts.map +1 -1
- package/dist/image-models.generated.js +181 -151
- package/dist/image-models.generated.js.map +1 -1
- package/dist/models.generated.d.ts +164 -19
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +153 -29
- package/dist/models.generated.js.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
-
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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,11 @@ export const IMAGE_MODELS = {
|
|
|
86
86
|
input: ["image", "text"],
|
|
87
87
|
output: ["image", "text"],
|
|
88
88
|
cost: {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
89
|
+
input: 0.3,
|
|
90
|
+
output: 2.5,
|
|
91
|
+
cacheRead: 0.03,
|
|
92
|
+
cacheWrite: 0.08333333333333334,
|
|
93
|
+
},
|
|
94
94
|
},
|
|
95
95
|
"google/gemini-3-pro-image-preview": {
|
|
96
96
|
id: "google/gemini-3-pro-image-preview",
|
|
@@ -101,11 +101,11 @@ export const IMAGE_MODELS = {
|
|
|
101
101
|
input: ["image", "text"],
|
|
102
102
|
output: ["image", "text"],
|
|
103
103
|
cost: {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
104
|
+
input: 2,
|
|
105
|
+
output: 12,
|
|
106
|
+
cacheRead: 0.19999999999999998,
|
|
107
|
+
cacheWrite: 0.375,
|
|
108
|
+
},
|
|
109
109
|
},
|
|
110
110
|
"google/gemini-3.1-flash-image-preview": {
|
|
111
111
|
id: "google/gemini-3.1-flash-image-preview",
|
|
@@ -116,11 +116,11 @@ export const IMAGE_MODELS = {
|
|
|
116
116
|
input: ["image", "text"],
|
|
117
117
|
output: ["image", "text"],
|
|
118
118
|
cost: {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
119
|
+
input: 0.5,
|
|
120
|
+
output: 3,
|
|
121
|
+
cacheRead: 0,
|
|
122
|
+
cacheWrite: 0,
|
|
123
|
+
},
|
|
124
124
|
},
|
|
125
125
|
"microsoft/mai-image-2.5": {
|
|
126
126
|
id: "microsoft/mai-image-2.5",
|
|
@@ -131,11 +131,11 @@ export const IMAGE_MODELS = {
|
|
|
131
131
|
input: ["text", "image"],
|
|
132
132
|
output: ["image"],
|
|
133
133
|
cost: {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
134
|
+
input: 5,
|
|
135
|
+
output: 0,
|
|
136
|
+
cacheRead: 0,
|
|
137
|
+
cacheWrite: 0,
|
|
138
|
+
},
|
|
139
139
|
},
|
|
140
140
|
"openai/gpt-5-image": {
|
|
141
141
|
id: "openai/gpt-5-image",
|
|
@@ -146,11 +146,11 @@ export const IMAGE_MODELS = {
|
|
|
146
146
|
input: ["image", "text"],
|
|
147
147
|
output: ["image", "text"],
|
|
148
148
|
cost: {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
149
|
+
input: 10,
|
|
150
|
+
output: 10,
|
|
151
|
+
cacheRead: 1.25,
|
|
152
|
+
cacheWrite: 0,
|
|
153
|
+
},
|
|
154
154
|
},
|
|
155
155
|
"openai/gpt-5-image-mini": {
|
|
156
156
|
id: "openai/gpt-5-image-mini",
|
|
@@ -161,11 +161,11 @@ export const IMAGE_MODELS = {
|
|
|
161
161
|
input: ["image", "text"],
|
|
162
162
|
output: ["image", "text"],
|
|
163
163
|
cost: {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
164
|
+
input: 2.5,
|
|
165
|
+
output: 2,
|
|
166
|
+
cacheRead: 0.25,
|
|
167
|
+
cacheWrite: 0,
|
|
168
|
+
},
|
|
169
169
|
},
|
|
170
170
|
"openai/gpt-5.4-image-2": {
|
|
171
171
|
id: "openai/gpt-5.4-image-2",
|
|
@@ -176,11 +176,11 @@ export const IMAGE_MODELS = {
|
|
|
176
176
|
input: ["image", "text"],
|
|
177
177
|
output: ["image", "text"],
|
|
178
178
|
cost: {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
179
|
+
input: 8,
|
|
180
|
+
output: 15,
|
|
181
|
+
cacheRead: 2,
|
|
182
|
+
cacheWrite: 0,
|
|
183
|
+
},
|
|
184
184
|
},
|
|
185
185
|
"openrouter/auto": {
|
|
186
186
|
id: "openrouter/auto",
|
|
@@ -191,11 +191,11 @@ export const IMAGE_MODELS = {
|
|
|
191
191
|
input: ["text", "image"],
|
|
192
192
|
output: ["text", "image"],
|
|
193
193
|
cost: {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
194
|
+
input: -1000000,
|
|
195
|
+
output: -1000000,
|
|
196
|
+
cacheRead: 0,
|
|
197
|
+
cacheWrite: 0,
|
|
198
|
+
},
|
|
199
199
|
},
|
|
200
200
|
"recraft/recraft-v3": {
|
|
201
201
|
id: "recraft/recraft-v3",
|
|
@@ -206,11 +206,11 @@ export const IMAGE_MODELS = {
|
|
|
206
206
|
input: ["text", "image"],
|
|
207
207
|
output: ["image"],
|
|
208
208
|
cost: {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
209
|
+
input: 0,
|
|
210
|
+
output: 0,
|
|
211
|
+
cacheRead: 0,
|
|
212
|
+
cacheWrite: 0,
|
|
213
|
+
},
|
|
214
214
|
},
|
|
215
215
|
"recraft/recraft-v4": {
|
|
216
216
|
id: "recraft/recraft-v4",
|
|
@@ -221,11 +221,11 @@ export const IMAGE_MODELS = {
|
|
|
221
221
|
input: ["text", "image"],
|
|
222
222
|
output: ["image"],
|
|
223
223
|
cost: {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
224
|
+
input: 0,
|
|
225
|
+
output: 0,
|
|
226
|
+
cacheRead: 0,
|
|
227
|
+
cacheWrite: 0,
|
|
228
|
+
},
|
|
229
229
|
},
|
|
230
230
|
"recraft/recraft-v4-pro": {
|
|
231
231
|
id: "recraft/recraft-v4-pro",
|
|
@@ -236,11 +236,11 @@ export const IMAGE_MODELS = {
|
|
|
236
236
|
input: ["text", "image"],
|
|
237
237
|
output: ["image"],
|
|
238
238
|
cost: {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}
|
|
239
|
+
input: 0,
|
|
240
|
+
output: 0,
|
|
241
|
+
cacheRead: 0,
|
|
242
|
+
cacheWrite: 0,
|
|
243
|
+
},
|
|
244
244
|
},
|
|
245
245
|
"recraft/recraft-v4-pro-vector": {
|
|
246
246
|
id: "recraft/recraft-v4-pro-vector",
|
|
@@ -251,11 +251,11 @@ export const IMAGE_MODELS = {
|
|
|
251
251
|
input: ["text", "image"],
|
|
252
252
|
output: ["image"],
|
|
253
253
|
cost: {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}
|
|
254
|
+
input: 0,
|
|
255
|
+
output: 0,
|
|
256
|
+
cacheRead: 0,
|
|
257
|
+
cacheWrite: 0,
|
|
258
|
+
},
|
|
259
259
|
},
|
|
260
260
|
"recraft/recraft-v4-vector": {
|
|
261
261
|
id: "recraft/recraft-v4-vector",
|
|
@@ -266,11 +266,11 @@ export const IMAGE_MODELS = {
|
|
|
266
266
|
input: ["text", "image"],
|
|
267
267
|
output: ["image"],
|
|
268
268
|
cost: {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
}
|
|
269
|
+
input: 0,
|
|
270
|
+
output: 0,
|
|
271
|
+
cacheRead: 0,
|
|
272
|
+
cacheWrite: 0,
|
|
273
|
+
},
|
|
274
274
|
},
|
|
275
275
|
"recraft/recraft-v4.1": {
|
|
276
276
|
id: "recraft/recraft-v4.1",
|
|
@@ -281,11 +281,11 @@ export const IMAGE_MODELS = {
|
|
|
281
281
|
input: ["text", "image"],
|
|
282
282
|
output: ["image"],
|
|
283
283
|
cost: {
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
}
|
|
284
|
+
input: 0,
|
|
285
|
+
output: 0,
|
|
286
|
+
cacheRead: 0,
|
|
287
|
+
cacheWrite: 0,
|
|
288
|
+
},
|
|
289
289
|
},
|
|
290
290
|
"recraft/recraft-v4.1-pro": {
|
|
291
291
|
id: "recraft/recraft-v4.1-pro",
|
|
@@ -296,11 +296,11 @@ export const IMAGE_MODELS = {
|
|
|
296
296
|
input: ["text", "image"],
|
|
297
297
|
output: ["image"],
|
|
298
298
|
cost: {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
}
|
|
299
|
+
input: 0,
|
|
300
|
+
output: 0,
|
|
301
|
+
cacheRead: 0,
|
|
302
|
+
cacheWrite: 0,
|
|
303
|
+
},
|
|
304
304
|
},
|
|
305
305
|
"recraft/recraft-v4.1-pro-vector": {
|
|
306
306
|
id: "recraft/recraft-v4.1-pro-vector",
|
|
@@ -311,11 +311,11 @@ export const IMAGE_MODELS = {
|
|
|
311
311
|
input: ["text", "image"],
|
|
312
312
|
output: ["image"],
|
|
313
313
|
cost: {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}
|
|
314
|
+
input: 0,
|
|
315
|
+
output: 0,
|
|
316
|
+
cacheRead: 0,
|
|
317
|
+
cacheWrite: 0,
|
|
318
|
+
},
|
|
319
319
|
},
|
|
320
320
|
"recraft/recraft-v4.1-utility": {
|
|
321
321
|
id: "recraft/recraft-v4.1-utility",
|
|
@@ -326,11 +326,11 @@ export const IMAGE_MODELS = {
|
|
|
326
326
|
input: ["text", "image"],
|
|
327
327
|
output: ["image"],
|
|
328
328
|
cost: {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
}
|
|
329
|
+
input: 0,
|
|
330
|
+
output: 0,
|
|
331
|
+
cacheRead: 0,
|
|
332
|
+
cacheWrite: 0,
|
|
333
|
+
},
|
|
334
334
|
},
|
|
335
335
|
"recraft/recraft-v4.1-utility-pro": {
|
|
336
336
|
id: "recraft/recraft-v4.1-utility-pro",
|
|
@@ -341,11 +341,11 @@ export const IMAGE_MODELS = {
|
|
|
341
341
|
input: ["text", "image"],
|
|
342
342
|
output: ["image"],
|
|
343
343
|
cost: {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}
|
|
344
|
+
input: 0,
|
|
345
|
+
output: 0,
|
|
346
|
+
cacheRead: 0,
|
|
347
|
+
cacheWrite: 0,
|
|
348
|
+
},
|
|
349
349
|
},
|
|
350
350
|
"recraft/recraft-v4.1-vector": {
|
|
351
351
|
id: "recraft/recraft-v4.1-vector",
|
|
@@ -356,11 +356,11 @@ export const IMAGE_MODELS = {
|
|
|
356
356
|
input: ["text", "image"],
|
|
357
357
|
output: ["image"],
|
|
358
358
|
cost: {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
}
|
|
359
|
+
input: 0,
|
|
360
|
+
output: 0,
|
|
361
|
+
cacheRead: 0,
|
|
362
|
+
cacheWrite: 0,
|
|
363
|
+
},
|
|
364
364
|
},
|
|
365
365
|
"sourceful/riverflow-v2-fast": {
|
|
366
366
|
id: "sourceful/riverflow-v2-fast",
|
|
@@ -371,11 +371,11 @@ export const IMAGE_MODELS = {
|
|
|
371
371
|
input: ["text", "image"],
|
|
372
372
|
output: ["image"],
|
|
373
373
|
cost: {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
}
|
|
374
|
+
input: 0,
|
|
375
|
+
output: 0,
|
|
376
|
+
cacheRead: 0,
|
|
377
|
+
cacheWrite: 0,
|
|
378
|
+
},
|
|
379
379
|
},
|
|
380
380
|
"sourceful/riverflow-v2-fast-preview": {
|
|
381
381
|
id: "sourceful/riverflow-v2-fast-preview",
|
|
@@ -386,11 +386,11 @@ export const IMAGE_MODELS = {
|
|
|
386
386
|
input: ["text", "image"],
|
|
387
387
|
output: ["image"],
|
|
388
388
|
cost: {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
}
|
|
389
|
+
input: 0,
|
|
390
|
+
output: 0,
|
|
391
|
+
cacheRead: 0,
|
|
392
|
+
cacheWrite: 0,
|
|
393
|
+
},
|
|
394
394
|
},
|
|
395
395
|
"sourceful/riverflow-v2-max-preview": {
|
|
396
396
|
id: "sourceful/riverflow-v2-max-preview",
|
|
@@ -401,11 +401,11 @@ export const IMAGE_MODELS = {
|
|
|
401
401
|
input: ["text", "image"],
|
|
402
402
|
output: ["image"],
|
|
403
403
|
cost: {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
}
|
|
404
|
+
input: 0,
|
|
405
|
+
output: 0,
|
|
406
|
+
cacheRead: 0,
|
|
407
|
+
cacheWrite: 0,
|
|
408
|
+
},
|
|
409
409
|
},
|
|
410
410
|
"sourceful/riverflow-v2-pro": {
|
|
411
411
|
id: "sourceful/riverflow-v2-pro",
|
|
@@ -416,11 +416,11 @@ export const IMAGE_MODELS = {
|
|
|
416
416
|
input: ["text", "image"],
|
|
417
417
|
output: ["image"],
|
|
418
418
|
cost: {
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
}
|
|
419
|
+
input: 0,
|
|
420
|
+
output: 0,
|
|
421
|
+
cacheRead: 0,
|
|
422
|
+
cacheWrite: 0,
|
|
423
|
+
},
|
|
424
424
|
},
|
|
425
425
|
"sourceful/riverflow-v2-standard-preview": {
|
|
426
426
|
id: "sourceful/riverflow-v2-standard-preview",
|
|
@@ -431,11 +431,41 @@ export const IMAGE_MODELS = {
|
|
|
431
431
|
input: ["text", "image"],
|
|
432
432
|
output: ["image"],
|
|
433
433
|
cost: {
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
}
|
|
434
|
+
input: 0,
|
|
435
|
+
output: 0,
|
|
436
|
+
cacheRead: 0,
|
|
437
|
+
cacheWrite: 0,
|
|
438
|
+
},
|
|
439
|
+
},
|
|
440
|
+
"sourceful/riverflow-v2.5-fast:free": {
|
|
441
|
+
id: "sourceful/riverflow-v2.5-fast:free",
|
|
442
|
+
name: "Sourceful: Riverflow V2.5 Fast (free)",
|
|
443
|
+
api: "openrouter-images",
|
|
444
|
+
provider: "openrouter",
|
|
445
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
446
|
+
input: ["text", "image"],
|
|
447
|
+
output: ["image"],
|
|
448
|
+
cost: {
|
|
449
|
+
input: 0,
|
|
450
|
+
output: 0,
|
|
451
|
+
cacheRead: 0,
|
|
452
|
+
cacheWrite: 0,
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
"sourceful/riverflow-v2.5-pro:free": {
|
|
456
|
+
id: "sourceful/riverflow-v2.5-pro:free",
|
|
457
|
+
name: "Sourceful: Riverflow V2.5 Pro (free)",
|
|
458
|
+
api: "openrouter-images",
|
|
459
|
+
provider: "openrouter",
|
|
460
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
461
|
+
input: ["text", "image"],
|
|
462
|
+
output: ["image"],
|
|
463
|
+
cost: {
|
|
464
|
+
input: 0,
|
|
465
|
+
output: 0,
|
|
466
|
+
cacheRead: 0,
|
|
467
|
+
cacheWrite: 0,
|
|
468
|
+
},
|
|
439
469
|
},
|
|
440
470
|
"x-ai/grok-imagine-image-quality": {
|
|
441
471
|
id: "x-ai/grok-imagine-image-quality",
|
|
@@ -446,11 +476,11 @@ export const IMAGE_MODELS = {
|
|
|
446
476
|
input: ["text", "image"],
|
|
447
477
|
output: ["image"],
|
|
448
478
|
cost: {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
}
|
|
479
|
+
input: 0,
|
|
480
|
+
output: 0,
|
|
481
|
+
cacheRead: 0,
|
|
482
|
+
cacheWrite: 0,
|
|
483
|
+
},
|
|
454
484
|
},
|
|
455
485
|
},
|
|
456
486
|
};
|