Optional providerProvider name. When supplied without model, the default image model for
the provider is resolved automatically from the built-in defaults registry.
`"openai"`, `"stability"`, `"replicate"`
Optional modelModel in provider:model format (legacy) or plain model name when provider is set.
`"openai:dall-e-3"`, `"stability:stable-diffusion-xl-1024-v1-0"`
Either `provider` or `model` (or an API key env var for auto-detection) is required.
Text description of the desired image.
Optional modalitiesOutput modalities requested from the provider (provider-dependent).
Optional nNumber of images to generate. Defaults to 1 for most providers.
Optional sizePixel dimensions string, e.g. "1024x1024". Provider-dependent.
Optional aspectAspect ratio string, e.g. "16:9". Used by some providers instead of size.
Optional qualityQuality hint forwarded to the provider (e.g. "hd" for DALL-E 3).
Optional backgroundBackground style for transparent-capable providers.
Optional outputDesired output file format (e.g. "png", "jpeg", "webp").
Optional outputCompression level (0–100) for lossy output formats.
Optional responseWhether the provider should return a URL or base64-encoded data.
Optional apiOverride the provider API key instead of reading from environment variables.
Optional baseOverride the provider base URL.
Optional userOptional user identifier forwarded to the provider for moderation tracking.
Optional seedRandom seed for reproducible generation (provider-dependent support).
Optional negativeNegative prompt describing content to avoid (provider-dependent support).
Optional providerArbitrary provider-specific options not covered by the standard fields.
Optional providerProvider preferences for reordering or filtering the fallback chain.
When supplied, the available image providers are reordered according to
preferred and filtered by blocked before building the chain.
Optional policyContent policy tier. When mature or private-adult, the image provider chain is reordered to prefer uncensored providers (Replicate, Fal) over censored ones (DALL-E, Stability safe mode).
Optional usageOptional durable usage ledger configuration for helper-level accounting.
Options for a generateImage call.