ByteDance’s Seedance 2.5 Flash is now available on AI Gateway.
Seedance 2.5 Flash is a faster, lower-cost version of Seedance 2.5. The output is close to the standard model in human realism, reference-based editing, and prompt adherence.
Generate videos with synchronized audio from text prompts or image, video, and audio references. Clips can be 4 to 30 seconds long at up to 720p and 24 frames per second, in landscape, square, or portrait formats. You can also edit or extend existing videos, or provide images to set the first and last frames.
Use bytedance/seedance-2.5-flash with AI SDK 7 to generate a video with audio from a text prompt:
import { experimental_generateVideo as generateVideo } from 'ai';
const { videos } = await generateVideo({ model: 'bytedance/seedance-2.5-flash', prompt: 'A paper boat drifts down a rain-soaked city street at dusk.', aspectRatio: '16:9', duration: 5,});
To guide generation with reference images and videos, pass their URLs in inputReferences. Images and videos are numbered separately in the prompt as [Image 1], [Video 1], and so on:
import { experimental_generateVideo as generateVideo } from 'ai';
const { videos } = await generateVideo({ model: 'bytedance/seedance-2.5-flash', prompt: 'The lion from [Image 1] walks through a sunlit meadow, filmed like [Video 1].', aspectRatio: '16:9', duration: 5, inputReferences: [ { data: '...', mediaType: 'image/jpeg', }, { data: '...', mediaType: 'video/mp4', }, ],});
Try Seedance 2.5 Flash in the model playground, or follow the video generation quickstart.