@doufunao123/asset-gateway 0.2.0 → 0.2.2
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/index.js +1 -1
- 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.
|
|
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);
|