Skip to content

feat(seedance): add dedicated Seedance resource to TypeScript and Python SDKs#315

Draft
Germey with Copilot wants to merge 2 commits into
mainfrom
copilot/sync-update-from-docs-one-more-time
Draft

feat(seedance): add dedicated Seedance resource to TypeScript and Python SDKs#315
Germey with Copilot wants to merge 2 commits into
mainfrom
copilot/sync-update-from-docs-one-more-time

Conversation

Copilot AI commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

The Seedance API uses a structured content array input (not a plain prompt) and requires model — making it incompatible with the generic Video.generate() interface. This adds dedicated Seedance/AsyncSeedance resource classes to both SDKs, following the same pattern as Kling and Veo.

New resources

  • typescript/src/resources/seedance.tsSeedance class, SeedanceModel enum type (8 model values), SeedanceContentItem union type
  • python/src/acedatacloud/resources/seedance.pySeedance + AsyncSeedance classes with identical interface

Client wiring

  • client.seedance exposed on both sync/async clients in TypeScript and Python
  • SeedanceModel and SeedanceContentItem exported from TypeScript index

API surface

await client.seedance.generate({
  model: 'doubao-seedance-1-0-pro-250528',
  content: [
    { type: 'text', text: 'A kitten yawning at the camera.' },
    { type: 'image_url', image_url: { url: 'https://...' }, role: 'first_frame' },
  ],
  resolution: '720p',
  ratio: '16:9',
  duration: 5,
});

Supports all optional fields from the spec: resolution, ratio, duration, frames, seed, camerafixed, watermark, generate_audio, return_last_frame, execution_expires_after, callback_url, async.

Copilot AI changed the title [WIP] Sync SDK with latest API specs from Docs feat(seedance): add dedicated Seedance resource to TypeScript and Python SDKs Jul 11, 2026
Copilot AI requested a review from Germey July 11, 2026 17:47
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.

sync: update from Docs (baccafb docs: sync from PlatformBackend [automated])

2 participants