@marswave/listenhub-cli
Advanced tools
+6
-3
| { | ||
| "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", |
+16
-4
@@ -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 |
+16
-4
@@ -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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
187434
8.89%3721
7.45%404
3.06%3
-25%+ Added
- Removed