feat(video): expose Seedance mixed references and render controls - #45
Merged
VickyXAI merged 2 commits intoSep 29, 2026
Merged
Conversation
This was referenced Sep 23, 2026
…lidate clips client-side Reference media (images, video, audio) is refused by the wallet gateways since blockrun#728 / blockrun-sol#374 and served only by api.blockrun.ai. SEEDANCE_CAPABILITIES.md described it as live on all three gateways behind R2V_ENABLED, which is no longer true, and documented gateway internals and other repos; the SDK-facing parts move into the README video section. - Validate referenceVideos / referenceAudios per field with specific errors, and mirror the gateway's "reference audio needs an image or video" rule so it fails before the 402. - TSDoc: account-API-only note, per-model gating of the output controls, last_frame_url on returnLastFrame, content[] roles on generateFromContent. - README: output controls example and a reference-media section. - CHANGELOG: Unreleased entry. - Tests for each client-side refusal.
VickyXAI
force-pushed
the
codex/seedance-capability-parity
branch
from
September 29, 2026 12:05
1492b2e to
9da0c98
Compare
VickyXAI
added a commit
that referenced
this pull request
Sep 30, 2026
…arity feat(video): expose Seedance mixed references and render controls
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.
Expose typed video/audio references and output controls, allow 30 images on Seedance 2.5, and map the supported camelCase controls in both generate and generateFromContent. Retain frame/reference validation and expose last-frame response fields.
Validation
9 video unit tests passed; TypeScript checking, ESLint, CJS/ESM/declaration build, and git diff checks passed.
Rollout and limits
This PR does not deploy or change
R2V_ENABLED. Existing production 503s caused by an explicit off switch require a separate controlled enablement. Publish client changes after the gateway changes are deployed.No new paid upstream renders were performed. New request/response behavior is validated against the captured public upstream parameter schema and mocked contract/payment tests; perform a small paid render smoke test before production enablement. Automatic duration, editing/extension, 2.5 reference video/audio and 1080p, callbacks and draft/flex remain held pending cost/output or lifecycle validation.
See
SEEDANCE_CAPABILITIES.mdfor input examples and capability limits. No authentication, signed-quote format or settlement formula changes.Related PRs