@doufunao123/asset-gateway 0.2.0 → 0.2.1

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -591,7 +591,7 @@ function createGenerateCommand() {
591
591
  const body = {
592
592
  asset_type: "model3d"
593
593
  };
594
- if (options.image) body.image_url = options.image;
594
+ if (options.image) body.input_file = options.image;
595
595
  if (options.prompt) body.prompt = options.prompt;
596
596
  const data = await ctx.client.post("/api/generate", body);
597
597
  const localPath = await saveOutput(data, "model3d", options.outputDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doufunao123/asset-gateway",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Universal asset generation gateway CLI",
5
5
  "type": "module",
6
6
  "bin": {