Platform
Checking your session…
← All models

ByteDanceSeedance 2.5Text → Video

Latest cinematic video with audio, multi-reference input, and mp4/mov output in 10- or 8-bit. Up to 30s.

Reference ImageStart/End FrameAudio1080p4-30 sec

Install the SDK

The SDK targets Node 20+ and ships with TypeScript types.

npm install @picsart/ai-sdk

Authenticate

Create a client once with your API key — it's sent as a bearer token on every request.

import { createClient } from '@picsart/ai-sdk';

const ai = createClient({
  apiKey: process.env.PICSART_API_KEY, // sent as: Authorization: Bearer <key>
  apiUrl: 'https://api.picsart.com',
});

Run the model

Call the model with its parameters. This example uses the required ones.

import { createClient } from '@picsart/ai-sdk';

const ai = createClient({
  apiKey: process.env.PICSART_API_KEY,
  apiUrl: 'https://api.picsart.com',
});

const result = await ai.generate('seedance-2.5', {
  prompt: "A serene mountain lake at golden hour, ultra detailed",
  aspectRatio: "16:9",
  resolution: "1080p",
  duration: 5
});

console.log(result.url); // video URL

Parameters

16 parameters. Required ones must be supplied; the rest fall back to their defaults. The API takes these same names over HTTP.

ParameterTypeRequiredDefaultDetails
prompt
Prompt
textno——
aspectRatioenumno16:916:9, 9:16, 1:1, 4:3, 3:4, 21:9, adaptive
resolutionenumno1080p480p, 720p, 1080p
durationenumno5-1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
generateAudiobooleannotrue—
returnLastFrame
Capture Last Frame
booleannofalse—
outputFormat
Format
enumnomp4mp4, mov
colorDepth
Color Depth
enumno10bit10bit, 8bit
draft
Draft
booleannofalse—
draftTask
Draft
objectno—{ id }
omniReferenceTaskType
Task Type
enumnoautoauto, reference, edit, extend
imageUrls
Reference Images
file (image[])no——
videoUrls
Reference Videos
file (video[])no—max 30s
audioUrls
Reference Audios
file (audio[])no—max 30s
startFrame
Start Frame
file (image)no——
endFrame
End Frame
file (image)no——

Output

generate() resolves once the job completes. A video URL.

Result
{
  "items": [
    {
      "url": "https://cdn.picsart.com/…/result"
    }
  ],
  "model": "seedance-2.5"
}