Skip to content

feat(ai-byteplus): add first-class Seedance 2.5 support - #1060

Open
tombeckenham wants to merge 1 commit into
mainfrom
feat/byteplus-seedance-2-5
Open

feat(ai-byteplus): add first-class Seedance 2.5 support#1060
tombeckenham wants to merge 1 commit into
mainfrom
feat/byteplus-seedance-2-5

Conversation

@tombeckenham

@tombeckenham tombeckenham commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Promotes Seedance 2.5 (dreamina-seedance-2-5-260628) from the untyped escape hatch into BYTEPLUS_VIDEO_MODELS with full capability tables.
  • Documents and enforces ModelArk-live capabilities:
    • Duration 4–30s (or -1 auto)
    • Resolutions 480p / 720p only (no 1080p / 4k)
    • Multimodal reference media (images/video/audio), including audio-only
    • First-and-last-frame, priority, generate_audio
    • New output_format provider option (mp4 | mov)
  • Updates the video adapter guards, unit tests, README, BytePlus/video-generation docs, and Seedance Studio catalog so 2.5 is a first-class picker entry.

Context

Seedance 2.5 is fully public on ModelArk (docs updated 2026-08-07). It previously only worked via byteplusVideo(string) because capability cells could not be verified while the model returned ModelNotOpen.

Test plan

  • pnpm test:lib in @tanstack/ai-byteplus (281 tests)
  • pnpm test:types / pnpm test:oxlint in @tanstack/ai-byteplus
  • pnpm build for @tanstack/ai-byteplus
  • CI pnpm test:pr / PR checks
  • Optional: live call against Ark with an activated 2.5 resource pack

Summary by CodeRabbit

  • New Features

    • Added first-class support for BytePlus Seedance 2.5 video generation.
    • Supports 4–30 second videos, 480p/720p resolution, audio-only references, first/last-frame workflows, priority, audio generation, and MP4/MOV output.
    • Added Seedance 2.5 to model selection and the Seedance Studio example.
  • Documentation

    • Updated BytePlus video-generation documentation with Seedance 2.5 capabilities, limits, and configuration guidance.
  • Tests

    • Added coverage for Seedance 2.5 metadata, options, references, output formats, and duration limits.

Promote dreamina-seedance-2-5-260628 from the open string escape hatch into
BYTEPLUS_VIDEO_MODELS with documented capabilities: 4–30s duration, 480p/720p,
multimodal references including audio-only input, priority/generate_audio, and
output_format. Update adapter guards, unit tests, docs, and the Seedance Studio
example catalog.
@nx-cloud

nx-cloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit c5083b7

Command Status Duration Result
nx run-many --targets=build --exclude=examples/... ✅ Succeeded 3s View ↗

☁️ Nx Cloud last updated this comment at 2026-08-07 10:56:38 UTC

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Changes

The BytePlus adapter now provides typed Seedance 2.5 support for multimodal references, 4–30 second durations, 480p/720p output, audio-only references, priority, audio generation, and MP4/MOV output. Tests, documentation, and Seedance Studio examples were updated.

Seedance 2.5 model contracts
packages/ai-byteplus/src/model-meta.ts, packages/ai-byteplus/src/video/wire-types.ts
The model metadata and create-request types include Seedance 2.5 capabilities, duration ranges, modalities, resolutions, and output_format.
Provider capabilities and validation
packages/ai-byteplus/src/video/video-provider-options.ts, packages/ai-byteplus/src/adapters/video.ts, packages/ai-byteplus/src/index.ts
Capability sets include Seedance 2.5. Audio-only references are validated by model. The new output-format type and capability query are re-exported.
Test coverage
packages/ai-byteplus/tests/model-meta.test.ts, packages/ai-byteplus/tests/video.test.ts
Tests cover model recognition, duration and resolution narrowing, audio-only references, output formats, and unknown-model behavior.
Documentation and examples
docs/..., examples/ts-react-media/..., packages/ai-byteplus/README.md, .changeset/seedance-2-5.md
Documentation and examples describe Seedance 2.5 support and updated option behavior.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Client
  participant BytePlusVideoAdapter
  participant supportsAudioOnlyReference
  participant Ark
  Client->>BytePlusVideoAdapter: Submit Seedance 2.5 video request
  BytePlusVideoAdapter->>supportsAudioOnlyReference: Check audio-only reference support
  supportsAudioOnlyReference-->>BytePlusVideoAdapter: Return capability result
  BytePlusVideoAdapter->>Ark: Forward validated request and output_format
  Ark-->>BytePlusVideoAdapter: Return video task response
  BytePlusVideoAdapter-->>Client: Return adapter result
Loading

Possibly related PRs

  • TanStack/ai#1035: Both PRs update BytePlus Seedance capabilities, metadata, adapter logic, and tests.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the primary change: first-class Seedance 2.5 support for the BytePlus adapter.
Description check ✅ Passed The description clearly covers the changes, motivation, capabilities, and test plan, although it does not use all template headings or checklist items.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/byteplus-seedance-2-5

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Aug 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

@tanstack/ai

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai@1060

@tanstack/ai-acp

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-acp@1060

@tanstack/ai-angular

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-angular@1060

@tanstack/ai-anthropic

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-anthropic@1060

@tanstack/ai-bedrock

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-bedrock@1060

@tanstack/ai-byteplus

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-byteplus@1060

@tanstack/ai-claude-code

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-claude-code@1060

@tanstack/ai-client

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-client@1060

@tanstack/ai-code-mode

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-code-mode@1060

@tanstack/ai-code-mode-skills

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-code-mode-skills@1060

@tanstack/ai-codex

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-codex@1060

@tanstack/ai-devtools-core

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-devtools-core@1060

@tanstack/ai-durable-stream

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-durable-stream@1060

@tanstack/ai-elevenlabs

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-elevenlabs@1060

@tanstack/ai-event-client

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-event-client@1060

@tanstack/ai-fal

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-fal@1060

@tanstack/ai-gemini

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-gemini@1060

@tanstack/ai-grok

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-grok@1060

@tanstack/ai-grok-build

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-grok-build@1060

@tanstack/ai-groq

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-groq@1060

@tanstack/ai-isolate-cloudflare

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-cloudflare@1060

@tanstack/ai-isolate-node

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-node@1060

@tanstack/ai-isolate-quickjs

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-quickjs@1060

@tanstack/ai-isolate-quickjs-bun

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-isolate-quickjs-bun@1060

@tanstack/ai-mcp

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-mcp@1060

@tanstack/ai-memory

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-memory@1060

@tanstack/ai-mistral

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-mistral@1060

@tanstack/ai-ollama

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-ollama@1060

@tanstack/ai-openai

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-openai@1060

@tanstack/ai-opencode

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-opencode@1060

@tanstack/ai-openrouter

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-openrouter@1060

@tanstack/ai-persistence

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-persistence@1060

@tanstack/ai-preact

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-preact@1060

@tanstack/ai-react

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-react@1060

@tanstack/ai-react-ui

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-react-ui@1060

@tanstack/ai-sandbox

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox@1060

@tanstack/ai-sandbox-cloudflare

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-cloudflare@1060

@tanstack/ai-sandbox-daytona

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-daytona@1060

@tanstack/ai-sandbox-docker

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-docker@1060

@tanstack/ai-sandbox-local-process

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-local-process@1060

@tanstack/ai-sandbox-sprites

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-sprites@1060

@tanstack/ai-sandbox-vercel

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-sandbox-vercel@1060

@tanstack/ai-solid

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-solid@1060

@tanstack/ai-solid-ui

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-solid-ui@1060

@tanstack/ai-svelte

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-svelte@1060

@tanstack/ai-utils

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-utils@1060

@tanstack/ai-vue

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-vue@1060

@tanstack/ai-vue-ui

npm i https://pkg.pr.new/TanStack/ai/@tanstack/ai-vue-ui@1060

@tanstack/openai-base

npm i https://pkg.pr.new/TanStack/ai/@tanstack/openai-base@1060

@tanstack/preact-ai-devtools

npm i https://pkg.pr.new/TanStack/ai/@tanstack/preact-ai-devtools@1060

@tanstack/react-ai-devtools

npm i https://pkg.pr.new/TanStack/ai/@tanstack/react-ai-devtools@1060

@tanstack/solid-ai-devtools

npm i https://pkg.pr.new/TanStack/ai/@tanstack/solid-ai-devtools@1060

commit: c5083b7

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🧹 Nitpick comments (1)
packages/ai-byteplus/tests/model-meta.test.ts (1)

37-44: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚖️ Poor tradeoff

Move the modified tests beside their source modules.

The modified tests remain outside the required colocated layout.

  • packages/ai-byteplus/tests/model-meta.test.ts#L37-L44,L112-L114: move this test beside packages/ai-byteplus/src/model-meta.ts.
  • packages/ai-byteplus/tests/video.test.ts#L593-L646,L1180-L1205: move this test beside packages/ai-byteplus/src/adapters/video.ts.

As per coding guidelines, “Test files should be placed alongside source code as *.test.ts files using Vitest with happy-dom for DOM testing.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/ai-byteplus/tests/model-meta.test.ts` around lines 37 - 44, Move the
tests from packages/ai-byteplus/tests/model-meta.test.ts beside
src/model-meta.ts and move the tests from
packages/ai-byteplus/tests/video.test.ts beside src/adapters/video.ts,
preserving their existing Vitest coverage and behavior in colocated *.test.ts
files.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.changeset/seedance-2-5.md:
- Around line 1-2: Update the changeset frontmatter for `@tanstack/ai-byteplus`
from patch to minor to reflect the public exported model-union and
capability-type shape change.
- Around line 7-12: Align the Seedance 2.5 availability wording with
ModelNotOpen activation requirements rather than calling it fully open: update
.changeset/seedance-2-5.md lines 7-12 and packages/ai-byteplus/README.md lines
169-170 to state that Ark Console model activation or a resource pack may be
required. Do not present documentation-based capability claims as live/API
verification unless the source is updated to record that verification.

In `@examples/ts-react-media/src/lib/seedance.ts`:
- Around line 61-64: Align the Seedance 2.5 catalog entry with the actual Studio
behavior: either add audio-only reference support and an audio upload path in
SeedanceStudio, or remove the “audio-only references” claim from the Seedance
2.5 blurb. Ensure the catalog and Studio enforce the same capability.
- Around line 70-72: Update the duration hint in SeedanceStudio to include
Seedance 2.5 alongside the currently listed supported models, keeping it
consistent with the autoDuration setting in the Seedance configuration.

---

Nitpick comments:
In `@packages/ai-byteplus/tests/model-meta.test.ts`:
- Around line 37-44: Move the tests from
packages/ai-byteplus/tests/model-meta.test.ts beside src/model-meta.ts and move
the tests from packages/ai-byteplus/tests/video.test.ts beside
src/adapters/video.ts, preserving their existing Vitest coverage and behavior in
colocated *.test.ts files.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 6211a196-8902-4b41-808c-a9d6c37f986f

📥 Commits

Reviewing files that changed from the base of the PR and between 59aa8b5 and c5083b7.

📒 Files selected for processing (15)
  • .changeset/seedance-2-5.md
  • docs/adapters/byteplus.md
  • docs/config.json
  • docs/media/video-generation.md
  • examples/ts-react-media/src/components/SeedanceStudio.tsx
  • examples/ts-react-media/src/lib/seedance.ts
  • examples/ts-react-media/src/lib/server-functions.ts
  • packages/ai-byteplus/README.md
  • packages/ai-byteplus/src/adapters/video.ts
  • packages/ai-byteplus/src/index.ts
  • packages/ai-byteplus/src/model-meta.ts
  • packages/ai-byteplus/src/video/video-provider-options.ts
  • packages/ai-byteplus/src/video/wire-types.ts
  • packages/ai-byteplus/tests/model-meta.test.ts
  • packages/ai-byteplus/tests/video.test.ts

Comment on lines +1 to +2
---
'@tanstack/ai-byteplus': patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Use a minor changeset for this public type-shape change.

Adding dreamina-seedance-2-5-260628 to exported model unions and mapped capability types can make exhaustive consumer code fail to type-check. This is a public type-shape change, not only a bug fix. Change patch to minor.

Proposed changeset version
- '`@tanstack/ai-byteplus`': patch
+ '`@tanstack/ai-byteplus`': minor

Based on learnings, this pre-1.0 repository uses a minor bump for breaking or public type-shape changes.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
---
'@tanstack/ai-byteplus': patch
---
'`@tanstack/ai-byteplus`': minor
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.changeset/seedance-2-5.md around lines 1 - 2, Update the changeset
frontmatter for `@tanstack/ai-byteplus` from patch to minor to reflect the public
exported model-union and capability-type shape change.

Source: Learnings

Comment on lines +7 to +12
The model is fully open on ModelArk with documented capabilities: 4–30s
duration (or `-1`), 480p/720p only, multimodal reference media including
audio-only input, first-and-last-frame mode, `priority`, `generate_audio`, and
`output_format` (`mp4` | `mov`). The video adapter, typed model tables, unit
tests, docs, and Seedance Studio example catalog all treat it as a known
model rather than an escape-hatch string.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

rg -n -C 3 \
  'dreamina-seedance-2-5-260628|verified live|from ModelArk docs' \
  .changeset/seedance-2-5.md \
  packages/ai-byteplus/README.md \
  examples/ts-react-media/src/lib/seedance.ts

Repository: TanStack/ai

Length of output: 2416


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '--- files ---\n'
git ls-files | rg -n '(^|/)(\.changeset/seedance-2-5\.md|README\.md|byteplus\.md|seedance\.ts)$' || true

printf '\n--- .changeset/seedance-2-5.md ---\n'
cat -n .changeset/seedance-2-5.md

printf '\n--- packages/ai-byteplus/README.md 150-188 ---\n'
sed -n '150,188p' packages/ai-byteplus/README.md | nl -ba -v150

printf '\n--- docs/adapters/byteplus.md around seedance support/activation ---\n'
rg -n -C 4 'Seedance 2\.5|seedance-2-5-260628|activation|account|live verification|from ModelArk|ModelArk' docs/adapters/byteplus.md packages/ai-byteplus/README.md examples/ts-react-media/src/lib/seedance.ts .changeset/seedance-2-5.md

printf '\n--- examples/ts-react-media/src/lib/seedance.ts 45-75 ---\n'
sed -n '45,75p' examples/ts-react-media/src/lib/seedance.ts | nl -ba -v45

Repository: TanStack/ai

Length of output: 240


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '%s\n' '--- relevant file matches ---'
git ls-files | rg '(^|/)(\.changeset/seedance-2-5\.md|README\.md|byteplus\.md|seedance\.ts)$' || true

printf '%s\n' '--- .changeset/seedance-2-5.md ---'
cat -n .changeset/seedance-2-5.md

printf '%s\n' '--- packages/ai-byteplus/README.md 150-188 ---'
sed -n '150,188p' packages/ai-byteplus/README.md | nl -ba -v150

printf '%s\n' '--- docs/adapters/byteplus.md model/support mentions ---'
rg -n -C 4 'Seedance 2\.5|seedance-2-5-260628|activation|account|live verification|from ModelArk|ModelArk' docs/adapters/byteplus.md packages/ai-byteplus/README.md examples/ts-react-media/src/lib/seedance.ts .changeset/seedance-2-5.md || true

printf '%s\n' '--- examples/ts-react-media/src/lib/seedance.ts 45-75 ---'
sed -n '45,75p' examples/ts-react-media/src/lib/seedance.ts | nl -ba -v45

Repository: TanStack/ai

Length of output: 3168


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

echo '--- packages/ai-byteplus/README.md 150-188 ---'
sed -n '150,188p' packages/ai-byteplus/README.md

echo '--- docs/adapters/byteplus.md 320-350 ---'
sed -n '320,350p' docs/adapters/byteplus.md

echo '--- Seedance 2.5 mentions ---'
rg -n -C 4 'Seedance 2\.5|seedance-2-5-260628|activation|account|live verification|from ModelArk|ModelArk' docs/adapters/byteplus.md packages/ai-byteplus/README.md examples/ts-react-media/src/lib/seedance.ts .changeset/seedance-2-5.md || true

echo '--- examples/ts-react-media/src/lib/seedance.ts 1-90 ---'
sed -n '1,90p' examples/ts-react-media/src/lib/seedance.ts

Repository: TanStack/ai

Length of output: 24250


Align the Seedance 2.5 availability wording with the account-activation requirements.

docs/adapters/byteplus.md says Seedance 2.5 may still require Ark Console model activation / a resource pack, but .changeset/seedance-2-5.md calls the model “fully open”. If this is intended as package/model support text, qualify it to match ModelNotOpen activation; if the goal was live/API verification, record that source instead of “from ModelArk docs” usage in examples/ts-react-media/src/lib/seedance.ts.

📍 Affects 2 files
  • .changeset/seedance-2-5.md#L7-L12 (this comment)
  • packages/ai-byteplus/README.md#L169-L170
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.changeset/seedance-2-5.md around lines 7 - 12, Align the Seedance 2.5
availability wording with ModelNotOpen activation requirements rather than
calling it fully open: update .changeset/seedance-2-5.md lines 7-12 and
packages/ai-byteplus/README.md lines 169-170 to state that Ark Console model
activation or a resource pack may be required. Do not present
documentation-based capability claims as live/API verification unless the source
is updated to record that verification.

Comment on lines +61 to +64
id: 'dreamina-seedance-2-5-260628',
name: 'Seedance 2.5',
blurb: 'Current multimodal flagship — up to 30s, audio-only references',
extras: {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Keep the catalog claim aligned with the Studio.

The new blurb says that Seedance 2.5 supports audio-only references. examples/ts-react-media/src/components/SeedanceStudio.tsx Lines [484-492] still reject audio-only references, and the component provides no audio upload control. Add a Studio path for this capability, or remove the claim from the Studio catalog.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/ts-react-media/src/lib/seedance.ts` around lines 61 - 64, Align the
Seedance 2.5 catalog entry with the actual Studio behavior: either add
audio-only reference support and an audio upload path in SeedanceStudio, or
remove the “audio-only references” claim from the Seedance 2.5 blurb. Ensure the
catalog and Studio enforce the same capability.

Comment on lines +70 to +72
priority: true,
autoDuration: true,
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Update the auto-duration hint for Seedance 2.5.

autoDuration: true makes the control visible for Seedance 2.5. examples/ts-react-media/src/components/SeedanceStudio.tsx Line [1012] still says that duration: -1 is supported only by Seedance 2.0 and 1.5-pro.

Proposed hint update
- hint="Sends duration: -1 (Seedance 2.0 and 1.5-pro only)"
+ hint="Sends duration: -1 (Seedance 2.5, 2.0 and 1.5-pro)"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/ts-react-media/src/lib/seedance.ts` around lines 70 - 72, Update the
duration hint in SeedanceStudio to include Seedance 2.5 alongside the currently
listed supported models, keeping it consistent with the autoDuration setting in
the Seedance configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants