Skip to content

Model3dFile

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

Experimental

One file of a finished 3D model, for example a rigged GLB or a texture.

3D model generation is experimental and may change.

Properties

contentType?

ts
optional contentType?: string;

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

Experimental

MIME type of the file, when known (e.g. model/gltf-binary)


format?

ts
optional format?: Model3dFormat;

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

Experimental

Set for mesh files. Not set for textures and other non-mesh files; use contentType.


role?

ts
optional role?: Model3dFileRole;

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

Experimental

What the file holds, when the provider tells us


url

ts
url: string;

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

Experimental

URL of the file