@wavespeed/cli 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.
package/README.md CHANGED
@@ -47,16 +47,16 @@ wavespeed login
47
47
  ```bash
48
48
  # 1. Browse the catalog
49
49
  wavespeed models # browse the full live catalog, grouped by type
50
- wavespeed models "nano banana" # search
50
+ wavespeed models "z-image" # search
51
51
  wavespeed models --type text-to-video # filter by modality
52
52
 
53
53
  # 2. Inspect a model's inputs (dynamic — fetched live)
54
- wavespeed run google/nano-banana-2/text-to-image -h
54
+ wavespeed run wavespeed-ai/z-image/turbo -h
55
55
 
56
- # 3. Run it (URLs print to stdout; no files unless you ask)
57
- wavespeed run google/nano-banana-2/text-to-image \
58
- -p "a cyberpunk skyline at golden hour" \
59
- -i aspect_ratio="16:9" -i resolution="2k"
56
+ # 3. Run it (URLs print to stdout; no files unless you ask).
57
+ # z-image/turbo returns in ~5s, a good default for trying the CLI.
58
+ wavespeed run wavespeed-ai/z-image/turbo \
59
+ -p "a cyberpunk skyline at golden hour"
60
60
 
61
61
  # Save outputs locally
62
62
  wavespeed run ... -p "..." --download # → ./wavespeed-output/
@@ -161,7 +161,7 @@ Get a key at [wavespeed.ai/accesskey](https://wavespeed.ai/accesskey).
161
161
  git clone https://github.com/WaveSpeedAI/wavespeed-cli.git
162
162
  cd cli
163
163
  npm install
164
- npm run dev -- run google/nano-banana-2/text-to-image -p "a serene mountain lake"
164
+ npm run dev -- run wavespeed-ai/z-image/turbo -p "a serene mountain lake"
165
165
  npm run build && npm link
166
166
  ```
167
167
 
package/dist/cli.js CHANGED
@@ -40,8 +40,8 @@ program
40
40
  ${chalk.bold('Quick start:')}
41
41
  ${chalk.cyan('$ wavespeed login')}
42
42
  ${chalk.cyan('$ wavespeed models # browse the catalog')}
43
- ${chalk.cyan('$ wavespeed run google/nano-banana-2/text-to-image -h # see the model\'s flags')}
44
- ${chalk.cyan('$ wavespeed run google/nano-banana-2/text-to-image -p "a cyberpunk skyline"')}
43
+ ${chalk.cyan('$ wavespeed run wavespeed-ai/z-image/turbo -h # see the model\'s flags')}
44
+ ${chalk.cyan('$ wavespeed run wavespeed-ai/z-image/turbo -p "a cyberpunk skyline" # ~5s')}
45
45
  ${chalk.cyan('$ wavespeed run bytedance/seedance-2.0/text-to-video -p "drone shot over snowy peaks"')}
46
46
 
47
47
  ${chalk.bold('Use from any coding agent (Claude Code, Cursor, Codex):')}
@@ -103,7 +103,7 @@ async function loginFlow(opts) {
103
103
  console.log();
104
104
  console.log(chalk.bold('Try it:'));
105
105
  console.log(' ' + chalk.cyan('wavespeed models # browse the catalog'));
106
- console.log(' ' + chalk.cyan('wavespeed run google/nano-banana-2/text-to-image -p "a cyberpunk skyline at golden hour"'));
106
+ console.log(' ' + chalk.cyan('wavespeed run wavespeed-ai/z-image/turbo -p "a cyberpunk skyline at golden hour"'));
107
107
  console.log(' ' + chalk.cyan('wavespeed run bytedance/seedance-2.0/text-to-video -p "drone shot over snowy peaks"'));
108
108
  console.log();
109
109
  }
@@ -68,7 +68,7 @@ export function registerSchema(program) {
68
68
  program
69
69
  .command('schema')
70
70
  .description('Show the input schema for a model — what params it accepts and which are required')
71
- .argument('<model>', 'Model ID (e.g. google/nano-banana-2/edit). Run `wavespeed models` to find them.')
71
+ .argument('<model>', 'Model ID (e.g. wavespeed-ai/z-image/turbo). Run `wavespeed models` to find them.')
72
72
  .option('--json', 'Emit the raw JSON schema on stdout')
73
73
  .option('--refresh', 'Force a live fetch (bypass the 1h cache)')
74
74
  .action(async (modelId, opts) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavespeed/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "WaveSpeed CLI — one command to run any WaveSpeed AI model from your terminal.",
5
5
  "publishConfig": {
6
6
  "access": "public"