@todoforai/image-api 2.2.4 → 2.2.5

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 (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2129,7 +2129,7 @@ var require_commander = __commonJS((exports) => {
2129
2129
  // package.json
2130
2130
  var package_default = {
2131
2131
  name: "@todoforai/image-api",
2132
- version: "2.2.4",
2132
+ version: "2.2.5",
2133
2133
  description: "AI image generation and editing through TODOforAI (gpt-image, nano-banana, mai-image)",
2134
2134
  type: "module",
2135
2135
  bin: {
@@ -2279,6 +2279,8 @@ async function runImageGen(content, opts) {
2279
2279
  console.error(`Saved ${opts.output} (${buf.length} bytes)`);
2280
2280
  if (result.revisedPrompt)
2281
2281
  console.error(`Revised prompt: ${result.revisedPrompt}`);
2282
+ if (result.imageModel)
2283
+ console.error(`Image model: ${result.imageModel}`);
2282
2284
  if (result.cost !== undefined)
2283
2285
  console.error(`Cost: $${result.cost.toFixed(3)}`);
2284
2286
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todoforai/image-api",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "AI image generation and editing through TODOforAI (gpt-image, nano-banana, mai-image)",
5
5
  "type": "module",
6
6
  "bin": {