TanStack

VideoUrlResult

Interface: VideoUrlResult

Defined in: packages/ai/src/types.ts:2204

Experimental

Result containing the URL to a generated video.

Video generation is an experimental feature and may change.

Properties

artifacts?

ts
optional artifacts?: PersistedArtifactRef[];

Defined in: packages/ai/src/types.ts:2218

Experimental

Persisted artifact references for generated assets, when available


expiresAt?

ts
optional expiresAt?: Date;

Defined in: packages/ai/src/types.ts:2210

Experimental

When the URL expires, if applicable


jobId

ts
jobId: string;

Defined in: packages/ai/src/types.ts:2206

Experimental

Job identifier


url

ts
url: string;

Defined in: packages/ai/src/types.ts:2208

Experimental

URL to the generated video


usage?

ts
optional usage?: TokenUsage<ProviderUsageDetails>;

Defined in: packages/ai/src/types.ts:2216

Experimental

Usage information for the completed generation, when the adapter can report it. For usage-based providers (e.g. fal) this carries billed — the real billed quantity paired with its unit — so consumers can compute exact cost.