@wavespeed/cli 0.4.5 → 0.4.7

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
@@ -84,8 +84,8 @@ wavespeed run ... -p "..." --json | jq '.outputs[0]'
84
84
  "input": { "aspect_ratio": "16:9", "resolution": "2k" } },
85
85
  "social": { "model": "bytedance/seedream-v5.0-pro",
86
86
  "input": { "aspect_ratio": "1:1", "resolution": "1k" } },
87
- "vid": { "model": "bytedance/seedance-2.5/text-to-video",
88
- "input": { "resolution": "720p", "duration": 5 } }
87
+ "vid": { "model": "wavespeed-ai/minimax-h3/text-to-video",
88
+ "input": { "resolution": "768p", "duration": 5 } }
89
89
  }
90
90
  }
91
91
  ```
@@ -103,12 +103,12 @@ Resolution: positional with `/` is a model ID; otherwise looked up as an alias.
103
103
  |---|---|
104
104
  | Text → image | `bytedance/seedream-v5.0-pro` |
105
105
  | Image edit | `bytedance/seedream-v5.0-pro/edit` |
106
- | Text → video | `bytedance/seedance-2.5/text-to-video` |
107
- | Image → video | `bytedance/seedance-2.5/image-to-video` |
108
- | Video edit | `bytedance/seedance-2.5/video-edit` |
109
- | Video extend | `bytedance/seedance-2.5/video-extend` |
106
+ | Text → video | `wavespeed-ai/minimax-h3/text-to-video` |
107
+ | Image → video | `wavespeed-ai/minimax-h3/image-to-video` |
108
+ | Video edit | `wavespeed-ai/minimax-h3/video-edit` |
109
+ | Video extend | `wavespeed-ai/minimax-h3/video-extend` |
110
110
 
111
- Browse alternatives with `wavespeed models <query>`.
111
+ MiniMax H3 is the open-weights default: cheap, fast, and native stereo audio — the best place to start. When you need the highest quality, switch to `bytedance/seedance-2.5/*` (text-to-video, image-to-video, video-edit, video-extend). Browse alternatives with `wavespeed models <query>`.
112
112
 
113
113
  ## Use from coding agents
114
114
 
package/dist/cli.js CHANGED
@@ -44,7 +44,7 @@ ${chalk.bold('Quick start:')}
44
44
  ${chalk.cyan('$ wavespeed models # browse the catalog')}
45
45
  ${chalk.cyan('$ wavespeed run wavespeed-ai/z-image/turbo -h # see the model\'s flags')}
46
46
  ${chalk.cyan('$ wavespeed run wavespeed-ai/z-image/turbo -p "a cyberpunk skyline" # ~5s')}
47
- ${chalk.cyan('$ wavespeed run bytedance/seedance-2.5/text-to-video -p "drone shot over snowy peaks"')}
47
+ ${chalk.cyan('$ wavespeed run wavespeed-ai/minimax-h3/text-to-video -p "drone shot over snowy peaks"')}
48
48
 
49
49
  ${chalk.bold('Use from any coding agent (Claude Code, Cursor, Codex):')}
50
50
  ${chalk.cyan('$ wavespeed skill install')} ${chalk.gray('# drops a SKILL.md so the agent knows how to call wavespeed')}
@@ -109,7 +109,7 @@ async function loginFlow(opts) {
109
109
  console.log(chalk.bold('Try it:'));
110
110
  console.log(' ' + chalk.cyan('wavespeed models # browse the catalog'));
111
111
  console.log(' ' + chalk.cyan('wavespeed run wavespeed-ai/z-image/turbo -p "a cyberpunk skyline at golden hour"'));
112
- console.log(' ' + chalk.cyan('wavespeed run bytedance/seedance-2.5/text-to-video -p "drone shot over snowy peaks"'));
112
+ console.log(' ' + chalk.cyan('wavespeed run wavespeed-ai/minimax-h3/text-to-video -p "drone shot over snowy peaks"'));
113
113
  console.log();
114
114
  }
115
115
  export function registerAuth(program) {
@@ -35,7 +35,7 @@ export function registerHistory(program) {
35
35
  .option('--page <n>', 'Page number', '1')
36
36
  .option('--limit <n>', 'Page size (1-100)', '20')
37
37
  .option('--model <id>', 'Filter by model ID')
38
- .option('--status <s>', 'Filter by status (created, processing, completed, failed, cancelled, timeout)')
38
+ .option('--status <s>', 'Filter by status (created, processing, completed, failed, cancelled, timeout, deleted)')
39
39
  .option('--since <time>', 'Predictions created after this time (ISO or YYYY-MM-DD)')
40
40
  .option('--until <time>', 'Predictions created before this time (ISO or YYYY-MM-DD)')
41
41
  .option('--json', 'Emit JSON: {page, items: [...]}')
package/dist/lib/api.js CHANGED
@@ -153,6 +153,7 @@ export const PREDICTION_STATUSES = [
153
153
  'failed',
154
154
  'cancelled',
155
155
  'timeout',
156
+ 'deleted',
156
157
  ];
157
158
  /**
158
159
  * Submit a prediction WITHOUT waiting for it. Split from polling so the
@@ -176,7 +177,7 @@ export async function waitForPrediction(id, opts = {}) {
176
177
  opts.onTick?.(item.status);
177
178
  if (item.status === 'completed')
178
179
  return item;
179
- if (item.status === 'failed' || item.status === 'cancelled' || item.status === 'timeout') {
180
+ if (item.status === 'failed' || item.status === 'cancelled' || item.status === 'timeout' || item.status === 'deleted') {
180
181
  throw new Error(`Prediction ${item.status}${item.error ? `: ${item.error}` : ''} (task_id: ${id})`);
181
182
  }
182
183
  if (opts.signal?.cancelled)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wavespeed/cli",
3
- "version": "0.4.5",
4
- "description": "WaveSpeed CLI \u2014 one command to run any WaveSpeed AI model from your terminal.",
3
+ "version": "0.4.7",
4
+ "description": "WaveSpeed CLI — one command to run any WaveSpeed AI model from your terminal.",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
package/skills/SKILL.md CHANGED
@@ -31,12 +31,12 @@ wavespeed run bytedance/seedream-v5.0-pro \
31
31
  |---|---|
32
32
  | Text → image | `bytedance/seedream-v5.0-pro` |
33
33
  | Image edit (instruction-driven) | `bytedance/seedream-v5.0-pro/edit` — requires `images: [url, ...]` |
34
- | Text → video | `bytedance/seedance-2.5/text-to-video` |
35
- | Image → video | `bytedance/seedance-2.5/image-to-video` — requires `image: url` |
36
- | Video edit (instruction-driven) | `bytedance/seedance-2.5/video-edit` — requires `video: url` |
37
- | Video extend | `bytedance/seedance-2.5/video-extend` — requires `video: url` |
34
+ | Text → video | `wavespeed-ai/minimax-h3/text-to-video` |
35
+ | Image → video | `wavespeed-ai/minimax-h3/image-to-video` — requires `image: url` |
36
+ | Video edit (instruction-driven) | `wavespeed-ai/minimax-h3/video-edit` — requires `video: url` |
37
+ | Video extend | `wavespeed-ai/minimax-h3/video-extend` — requires `video: url` |
38
38
 
39
- These are good starting points. Browse alternatives with `wavespeed models <query>`.
39
+ These are good starting points. MiniMax H3 is the open-weights default: cheap, fast, and native stereo audio — the best place to start. When you need the highest quality, switch to `bytedance/seedance-2.5/*` (text-to-video, image-to-video, video-edit, video-extend). Browse alternatives with `wavespeed models <query>`.
40
40
 
41
41
  ## Common recipes
42
42
 
@@ -47,7 +47,7 @@ wavespeed run bytedance/seedream-v5.0-pro/edit \
47
47
  -i images='["@./input.jpg"]' --json
48
48
 
49
49
  # Image-to-video — same @ marker for single-URL fields
50
- wavespeed run bytedance/seedance-2.5/image-to-video \
50
+ wavespeed run wavespeed-ai/minimax-h3/image-to-video \
51
51
  -p "subtle parallax, gentle wind" \
52
52
  -i image=@./hero.jpg -i duration=5 --json
53
53