Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

VideoUrlResult.md

96 lines1.8 KB

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

Experimental

Result containing the URL to a generated video.

Video generation is an experimental feature and may change.

Properties

artifacts?

optional artifacts?: PersistedArtifactRef[];

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

Experimental

Persisted artifact references for generated assets, when available


body?

optional body?: undefined;

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

Experimental


expiresAt?

optional expiresAt?: Date;

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

Experimental

When the URL expires, if applicable


jobId

jobId: string;

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

Experimental

Job identifier


url

url: string;

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

Experimental

URL to the generated video


usage?

optional usage?: TokenUsage<ProviderUsageDetails>;

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

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.