interface VideoEstimateRequest {
    duration: number;
    fps: number;
    frames?: number;
    hasVideoInput?: boolean;
    height: number;
    model: string;
    numberOfMedia: number;
    referenceVideo?: unknown;
    referenceVideoUrls?: string[];
    steps?: number;
    tokenType: TokenType;
    width: number;
}

Properties

duration: number
fps: number
frames?: number

Number of frames to generate.

Use duration instead

hasVideoInput?: boolean

Price Seedance estimates using the video-input rate band.

height: number
model: string
numberOfMedia: number
referenceVideo?: unknown

Optional estimate-only signal: presence implies Seedance video-input pricing.

referenceVideoUrls?: string[]

Optional estimate-only signal: non-empty list implies Seedance video-input pricing.

steps?: number
tokenType: TokenType
width: number