@pippit-dev/cli 1.0.5 → 1.0.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
@@ -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
+ a0c76ece08d3a2d862c42c5b7b7c18c26bddb70515d377f5f348b790b063c408 pippit-tool-cli-1.0.7-darwin-amd64.tar.gz
2
+ 3ac483fd72d418dc122b1715508799d0145d5b0a4d34a67e14737b991205c5b6 pippit-tool-cli-1.0.7-darwin-arm64.tar.gz
3
+ b60665ff4943b78d3f471117b8102d25ccf1702f7f2be77b9a72e7165eeafd37 pippit-tool-cli-1.0.7-linux-amd64.tar.gz
4
+ 7e8eefeb90c48add42aa4ba7e928dc45ae83d163fde263d390857dd20cf4c239 pippit-tool-cli-1.0.7-linux-arm64.tar.gz
5
+ 9a16066735c5624720e796771fd71d76d268709f18939904619d9a51d9985654 pippit-tool-cli-1.0.7-windows-amd64.zip
6
+ c44215200e681f0980979178ef8a9435c22cdb64c01ce2f48168d07b9c9fe565 pippit-tool-cli-1.0.7-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.7",
4
4
  "description": "Pippit CLI",
5
5
  "bin": {
6
6
  "pippit-tool-cli": "scripts/run.js"
@@ -4,7 +4,7 @@ const path = require("path");
4
4
  const { runSilent } = require("./platform");
5
5
  const { DEFAULT_PKG } = require("./skills");
6
6
 
7
- const CHECK_INTERVAL_MS = 24 * 60 * 60 * 1000;
7
+ const CHECK_INTERVAL_MS = 60 * 60 * 1000;
8
8
 
9
9
  function defaultCacheFile() {
10
10
  return path.join(os.homedir(), ".pippit_tool_cli", "version-check.json");