Interface: ImageRequest
@providerprotocol/ai / @providerprotocol/ai / ImageRequest
Interface: ImageRequest<TParams>
Section titled “Interface: ImageRequest<TParams>”Defined in: src/types/image.ts:233
Internal
Request passed from image() core to providers for generation.
Type Parameters
Section titled “Type Parameters”TParams
Section titled “TParams”TParams = unknown
Properties
Section titled “Properties”config
Section titled “config”config:
ProviderConfig
Defined in: src/types/image.ts:241
Provider infrastructure config
params?
Section titled “params?”
optionalparams:TParams
Defined in: src/types/image.ts:238
Provider-specific parameters (passed through unchanged)
prompt
Section titled “prompt”prompt:
string
Defined in: src/types/image.ts:235
Generation prompt
signal?
Section titled “signal?”
optionalsignal:AbortSignal
Defined in: src/types/image.ts:244
Abort signal for cancellation