Skip to content
Dashboard

Starlight Precise 2.6

Starlight Precise 2.6 is Topaz Labs’ generative video enhancement model for upscaling and restoration with high fidelity. It improves faces, textures, and fine details while maintaining temporal consistency across frames. An input video and accurate source metadata are required, making it suited to refining generated footage and restoring archival video for higher-resolution delivery. Your use is subject to Topaz Labs's Terms & Privacy Policies.

View API reference
Price
$0.09, Per second
Lowest available configuration
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({
model: 'topaz/starlight-precise-2.6',
prompt: '',
inputReferences: [
{ data: 'https://example.com/input.mp4', mediaType: 'video/mp4' },
],
resolution: '1920x1080',
providerOptions: {
topaz: {
source: { width: 1280, height: 720, duration: 5, frameRate: 30 },
},
},
});
Read docs

Copy link to headingProviders

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Checking availability for your team
Provider
Input
Output
Capabilities
ZDR
No Training
Free AI Gateway Credit
Release Date
$0.09/sec+1 more
10/06/2026

Getting started

Enhance an existing video with experimental_generateVideo from AI SDK 6 or later. Set AI_GATEWAY_API_KEY; AI Gateway routes the request to Topaz and waits for the result.

Install the AI SDK (pnpm add ai dotenv), create an API key from the API Keys page, and set it as AI_GATEWAY_API_KEY in your environment. Full setup is covered in the video API setup.

index.ts
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({
model: 'topaz/starlight-precise-2.6',
prompt: '',
inputReferences: [
{ data: 'https://example.com/input.mp4', mediaType: 'video/mp4' },
],
resolution: '1920x1080',
providerOptions: {
topaz: {
source: { width: 1280, height: 720, duration: 5, frameRate: 30 },
},
},
});

Enhance a video

Supply your input video and the output dimensions.

index.ts
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({
model: 'topaz/starlight-precise-2.6',
prompt: '',
inputReferences: [
{ data: 'https://example.com/input.mp4', mediaType: 'video/mp4' },
],
resolution: '1920x1080',
providerOptions: {
topaz: {
source: { width: 1280, height: 720, duration: 5, frameRate: 30 },
},
},
});
ParameterTypeRequiredDescription
promptstringYesUse an empty string; the SDK requires a prompt but Topaz does not use text.
inputReferencesArray<{ data: string | Uint8Array | URL; mediaType: string }>YesExactly one input video. For MP4, use mediaType: "video/mp4".
resolutionstringNoOutput dimensions as width x height, e.g. 1920x1080. Required unless output.width/output.height or complete source metadata supplies them.

Input limits

InputFormatsSourcesMax countMax sizeLimits
video—URL, File bytes1—Supply one existing video through inputReferences.
Enhances the whole input video. Text prompts, duration, aspectRatio, and seed do not control the output.

Provider options

Starlight requires the actual input metadata under providerOptions.topaz.source. The SDK does not inspect the video.

index.ts
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({
model: 'topaz/starlight-precise-2.6',
prompt: '',
inputReferences: [
{ data: 'https://example.com/input.mp4', mediaType: 'video/mp4' },
],
resolution: '1920x1080',
providerOptions: {
topaz: {
source: { width: 1280, height: 720, duration: 5, frameRate: 30 },
},
},
});

Pass these fields under providerOptions.topaz.

ParameterTypeRequiredDescription
source{ width: number; height: number; duration: number; frameRate: number; frameCount?: number }YesActual input width and height in pixels, duration in seconds, and frame rate. If supplied, all four fields are required. Set frameCount explicitly for variable-frame-rate input.
output{ width?: number; height?: number }NoOutput dimensions; these take precedence over resolution.
sharpnessnumberNoOutput sharpening from 1 to 5. Defaults to 5.

Copy link to headingMore models by Topaz Labs

Model
Context
Latency
Throughput
Input
Output
Cache
Search
Capabilities
Providers
ZDR
No Training
Free AI Gateway Credit
Release Date
—
$0.08/video+17 more
—
topaz logo
10/06/2026
—
$0.08/img+7 more
—
topaz logo
10/06/2026