fix(video): send reference metadata from cli#20
Merged
Conversation
0xFANGO
marked this pull request as ready for review
July 6, 2026 19:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更摘要
listenhub video create/listenhub openapi video create支持本地图片自动读取宽高并补顶层referenceImages。/openapi/v1/files预签名 URL 上传后再传给生成接口。@marswave/listenhub-sdk@^0.0.17,OpenAPI 本地上传直接复用 SDKOpenAPIClient.createFileUpload,删除发布前临时 upload wrapper。根因
api-server 已上线 Seedance 参考媒体尺寸/时长校验,但 CLI 之前只能构造 URL-only
content[].image_url/video_url或要求用户手填 metadata。本地图片用户无法由 CLI 自动兜底宽高,容易触发32004。依赖关系
@marswave/listenhub-sdk@0.0.17,本 PR 已 bump 到^0.0.17。验证
pnpm ready中的vp checkpnpm ready中的vp test run(5 files / 40 tests)pnpm buildgit diff --checkReview Gate
Part of marswaveai/listenhub-ralph#327