Skip to content

Type Alias: ImageProvider

@providerprotocol/ai


@providerprotocol/ai / @providerprotocol/ai / ImageProvider

Type Alias: ImageProvider<TParams, TOptions>

Section titled “Type Alias: ImageProvider<TParams, TOptions>”

ImageProvider<TParams, TOptions> = Provider<TOptions> & object

Defined in: src/types/provider.ts:500

Provider with Image modality support.

Type alias for providers that support image generation.

readonly optional __params: TParams

Internal

TParams = unknown

Model-specific parameters type

TOptions = unknown

Provider-specific options type