autoclaw 1.0.34 → 1.0.35

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.
@@ -80,7 +80,11 @@ const handler = async (args, config) => {
80
80
  apiKey: apiKey,
81
81
  baseURL: baseURL
82
82
  });
83
- const { prompt, image_path, mask_path, n = 1, size = "1024x1024", quality = "standard", style = "vivid", output_dir = "." } = args;
83
+ const { prompt, image_path, mask_path, output_dir = "." } = args;
84
+ const n = args.n || config.imageN || 1;
85
+ const size = args.size || config.imageSize || "1024x1024";
86
+ const quality = args.quality || config.imageQuality || "standard";
87
+ const style = args.style || config.imageStyle || "vivid";
84
88
  let mode = args.mode;
85
89
  let model = args.model || config.imageModel || "dall-e-3";
86
90
  // Infer mode if not provided
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoclaw",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {