🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@marswave/listenhub-cli

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marswave/listenhub-cli - npm Package Compare versions

Comparing version
0.0.14
to
0.0.15
+6
-3
package.json
{
"name": "@marswave/listenhub-cli",
"version": "0.0.14",
"version": "0.0.15",
"description": "Command-line interface for ListenHub",
"license": "MIT",
"repository": "marswaveai/listenhub-cli",
"repository": {
"type": "git",
"url": "git+https://github.com/marswaveai/listenhub-cli.git"
},
"bin": {

@@ -28,3 +31,3 @@ "listenhub": "dist/cli.mjs"

"dependencies": {
"@marswave/listenhub-sdk": "^0.0.16",
"@marswave/listenhub-sdk": "^0.0.17",
"commander": "^14.0.3",

@@ -31,0 +34,0 @@ "open": "^10.0.0",

@@ -248,2 +248,3 @@ # ListenHub CLI

OpenAPI `image create` supports local file references via base64 encoding (no size limit enforced by CLI).
OpenAPI `video create` supports local image/video/audio paths via a presigned upload URL. For Seedance, local image references automatically include width/height metadata; remote image URLs and all reference videos still need explicit metadata.

@@ -260,4 +261,10 @@ ```bash

# URLs are passed through directly in both modes
listenhub openapi video create --prompt "same style" --reference-video https://example.com/clip.mp4 --input-video-duration 5
# OpenAPI Seedance: local image references auto-populate width/height metadata
listenhub openapi video create --prompt "same style" --first-frame ./frame.png
# Remote URLs and reference videos need dimensions to avoid server-side 32004 validation errors
listenhub openapi video create --prompt "same style" \
--reference-video https://example.com/clip.mp4 \
--reference-video-meta 1280x720:5:30:8000000 \
--input-video-duration 5
```

@@ -293,6 +300,11 @@

# With first frame
# With local first frame (auto-upload + auto metadata)
listenhub openapi video create --prompt "Camera zooms out" \
--first-frame https://example.com/frame.png
--first-frame ./frame.png
# With remote first frame
listenhub openapi video create --prompt "Camera zooms out" \
--first-frame https://example.com/frame.png \
--first-frame-meta 1080x1920:3600000
# Estimate credits before creating

@@ -299,0 +311,0 @@ listenhub openapi video estimate --model doubao-seedance-2-pro --resolution 1080p --duration 10

@@ -248,2 +248,3 @@ # ListenHub CLI

OpenAPI `image create` 通过 base64 编码支持本地参考图(CLI 侧不限制文件大小)。
OpenAPI `video create` 通过预签名 URL 支持本地图片/视频/音频路径。Seedance 的本地图片参考会自动带上宽高元数据;远程图片 URL 和所有参考视频仍需要显式 metadata。

@@ -260,4 +261,10 @@ ```bash

# URL 在两种模式下都直接透传
listenhub openapi video create --prompt "同样风格" --reference-video https://example.com/clip.mp4 --input-video-duration 5
# OpenAPI Seedance:本地图片参考会自动补宽高 metadata
listenhub openapi video create --prompt "同样风格" --first-frame ./frame.png
# 远程 URL 和参考视频仍需要尺寸元数据,否则服务端会返回 32004 参数错误
listenhub openapi video create --prompt "同样风格" \
--reference-video https://example.com/clip.mp4 \
--reference-video-meta 1280x720:5:30:8000000 \
--input-video-duration 5
```

@@ -293,6 +300,11 @@

# 指定首帧
# 指定本地首帧(自动上传 + 自动 metadata)
listenhub openapi video create --prompt "镜头缓缓拉远" \
--first-frame https://example.com/frame.png
--first-frame ./frame.png
# 指定远程首帧
listenhub openapi video create --prompt "镜头缓缓拉远" \
--first-frame https://example.com/frame.png \
--first-frame-meta 1080x1920:3600000
# 生成前预估积分

@@ -299,0 +311,0 @@ listenhub openapi video estimate --model doubao-seedance-2-pro --resolution 1080p --duration 10

Sorry, the diff of this file is too big to display