@pippit-dev/cli 1.0.5 → 1.0.6

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
@@ -223,11 +223,11 @@ pippit-tool-cli generate-video \
223
223
  --video "~/images/video2.mp4" \
224
224
  --duration 5 \
225
225
  --ratio "9:16" \
226
- --model "seedance2.0_direct" \
226
+ --model "Seedance_2.0_mini" \
227
227
  --resolution "720p"
228
228
  ```
229
229
 
230
- 命令输出 `thread_id`、`run_id` 和 `web_thread_link`。提交生视频 HTTP 请求时,参考图和参考视频会使用上传接口返回的 `pippit_asset_id`。图片最多 9 张,支持 `.jpg`、`.jpeg`、`.png`、`.gif`、`.bmp`、`.webp`、`.svg`;视频最多 3 个,支持 `.mp4`、`.avi`、`.mov`、`.wmv`、`.flv`、`.webm`、`.mkv`、`.m4v`。普通用户支持模型 `seedance2.0_direct` 和 `seedance2.0_fast_direct`;VIP 用户额外支持 `seedance2.0_vision` 和 `seedance2.0_fast_vision`。模型、比例、分辨率、素材数量等参数的语义校验当前预留在后续实现。
230
+ 命令输出 `thread_id`、`run_id` 和 `web_thread_link`。提交生视频 HTTP 请求时,参考图和参考视频会使用上传接口返回的 `pippit_asset_id`。图片最多 9 张,支持 `.jpg`、`.jpeg`、`.png`、`.gif`、`.bmp`、`.webp`、`.svg`;视频最多 3 个,支持 `.mp4`、`.avi`、`.mov`、`.wmv`、`.flv`、`.webm`、`.mkv`、`.m4v`。普通用户支持模型 `seedance2.0_direct` 和 `seedance2.0_fast_direct`;VIP 用户额外支持 `seedance2.0_vision`、`seedance2.0_fast_vision` 和 `Seedance_2.0_mini`。模型、比例、分辨率、素材数量等参数的语义校验当前预留在后续实现。
231
231
 
232
232
  查询并下载生视频结果:
233
233
 
package/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- 49044de4df08065cb51223c192dffa9e67d19c7a7013d5cd1c9e40125c5f4481 pippit-tool-cli-1.0.5-darwin-amd64.tar.gz
2
- 22708f0a82207cbf1715297a71f0c926b2a29a1adf6cfc7192767ea5cbc43f0c pippit-tool-cli-1.0.5-darwin-arm64.tar.gz
3
- 9a0b0139343013f3296fa81b4ea21060580a682485ffa34a8b4241621496ae89 pippit-tool-cli-1.0.5-linux-amd64.tar.gz
4
- 4b08d015ea34b3e92a00fed7c91731614bd19571812889c5c84b36d976c5d667 pippit-tool-cli-1.0.5-linux-arm64.tar.gz
5
- 74932104a77ddb87c9388eb8549fe1951c1d437433e0bd836e66995b0dfb5d32 pippit-tool-cli-1.0.5-windows-amd64.zip
6
- 1219784da1a712bb722a1348d342371783b21141db061817c672a3dd488c868c pippit-tool-cli-1.0.5-windows-arm64.zip
1
+ 4a91568122037aef82ae4f4503d8aa32ec9b08a36fcdfa126ba2c5abd9883393 pippit-tool-cli-1.0.6-darwin-amd64.tar.gz
2
+ 1e8361815dcebac9a7a5f47d7d4d22509be0ec40988f8930bf87259388a5124d pippit-tool-cli-1.0.6-darwin-arm64.tar.gz
3
+ 7f1100d92609ccba09c6702a36972f266ba9c2efbd11cb42848ffb0f2caa9381 pippit-tool-cli-1.0.6-linux-amd64.tar.gz
4
+ cd62aec82919c293a12f94ea7884f2e304022188792d89385047643f67ddfb08 pippit-tool-cli-1.0.6-linux-arm64.tar.gz
5
+ 8951e38595e2b825ef85910452c9d3cbd8f91eb9453cf284e4f0e97f89d64166 pippit-tool-cli-1.0.6-windows-amd64.zip
6
+ 4a52b208d52c0c81186e38b066c0c0f503ca1b881bc9980b700e146d5d5ceb67 pippit-tool-cli-1.0.6-windows-arm64.zip
@@ -42,7 +42,7 @@ func NewCommand(stdout, stderr io.Writer, runner *common.Runner) *cobra.Command
42
42
  flags.StringArrayVar(&opts.VideoPaths, "video", nil, "local reference video path; repeat for multiple videos, up to 3")
43
43
  flags.IntVar(&durationSec, "duration", 0, "video duration in seconds")
44
44
  flags.StringVar(&opts.Ratio, "ratio", "", "video ratio, such as 9:16, 16:9, 3:4, 4:3")
45
- flags.StringVar(&opts.Model, "model", "", "video model; normal users: seedance2.0_direct, seedance2.0_fast_direct; VIP users: seedance2.0_direct, seedance2.0_fast_direct, seedance2.0_vision, seedance2.0_fast_vision")
45
+ flags.StringVar(&opts.Model, "model", "", "video model; normal users: seedance2.0_direct, seedance2.0_fast_direct; VIP users: seedance2.0_direct, seedance2.0_fast_direct, seedance2.0_vision, seedance2.0_fast_vision, Seedance_2.0_mini")
46
46
  flags.StringVar(&opts.Resolution, "resolution", "", "video resolution, such as 720p, 1080p")
47
47
  return cmd
48
48
  }
@@ -66,7 +66,7 @@ func TestGenerateVideo(t *testing.T) {
66
66
  if param["duration_sec"] != float64(5) {
67
67
  t.Fatalf("duration_sec = %v, want 5", param["duration_sec"])
68
68
  }
69
- if param["ratio"] != "9:16" || param["model"] != "seedance2.0_vision" || param["resolution"] != "720p" {
69
+ if param["ratio"] != "9:16" || param["model"] != "Seedance_2.0_mini" || param["resolution"] != "720p" {
70
70
  t.Fatalf("param = %#v, want ratio/model/resolution", param)
71
71
  }
72
72
  assertAssetRefs(t, param["images"], []string{"image_asset_1", "image_asset_2"})
@@ -100,7 +100,7 @@ func TestGenerateVideo(t *testing.T) {
100
100
  "--video", video2,
101
101
  "--duration", "5",
102
102
  "--ratio", "9:16",
103
- "--model", "seedance2.0_vision",
103
+ "--model", "Seedance_2.0_mini",
104
104
  "--resolution", "720p",
105
105
  })
106
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pippit-dev/cli",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Pippit CLI",
5
5
  "bin": {
6
6
  "pippit-tool-cli": "scripts/run.js"