@doufunao123/asset-gateway 0.18.1 → 0.21.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.
Files changed (3) hide show
  1. package/README.md +12 -2
  2. package/dist/index.js +412 -623
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Lightweight npm CLI client for the universal asset generation gateway.
4
4
 
5
+ The CLI is a thin wrapper around `@doufunao123/assetforge-sdk`. For programmatic access, use the SDK directly.
6
+
5
7
  ## Install
6
8
 
7
9
  ```bash
@@ -56,10 +58,18 @@ asset-gateway auth clear # Remove saved credentials
56
58
  asset-gateway generate image --prompt "a cat" --size 1024x1024
57
59
  asset-gateway generate image --prompt "icon" --transparent --provider flux
58
60
  asset-gateway generate video --prompt "ocean waves"
59
- asset-gateway generate audio --prompt "epic battle" --type bgm --duration 30
60
- asset-gateway generate model --image https://example.com/ref.png
61
+ asset-gateway generate sfx --prompt "epic battle impact" --duration 3
62
+ asset-gateway generate character --prompt "medieval knight" --format fbx --pbr
63
+ asset-gateway generate prop --prompt "ornate treasure chest" --polycount 5000
64
+ asset-gateway generate model --image https://example.com/ref.png --ai-model latest
61
65
  asset-gateway generate text --prompt "describe a forest" --model gpt-5.4
62
66
 
67
+ # 3D post-processing
68
+ asset-gateway process3d remesh --task-id <id> --format glb --polycount 20000
69
+ asset-gateway process3d retexture --task-id <id> --prompt "worn bronze armor"
70
+ asset-gateway process3d rig --task-id <id> --height 1.8
71
+ asset-gateway process3d refine --task-id <id> --pbr --hd-texture
72
+
63
73
  # Providers
64
74
  asset-gateway provider list
65
75
  asset-gateway provider health