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 identifier. Prefer the plain model name with provider set;
the combined "provider:model" string is also accepted.
`"gpt-image-2.5-flare"` (with `provider: 'openai'`), `"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. OpenAI's GPT Image models take
low, medium, high and auto; DALL·E 3's standard and hd are
sent to them as medium and high.
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. With neither provider nor
model, it is refused unless the global default names the provider the call goes to first: it is never sent
to a provider detected from the environment.
Optional baseOverride the provider base URL, refused as apiKey is with neither provider nor model. An empty or
whitespace-only value is unset: it is not refused, the global default's URL and then the provider's base-URL
variable apply as they do with no baseUrl, and with none the call goes to the provider's own endpoint.
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 (OpenAI, Stability safe mode) and
disable_safety_checker: true is applied automatically to the
Replicate request so the community model's own NSFW filter does
not veto the prompt.
Optional capabilitiesRequired provider capabilities for mature/private-adult routing.
When referenceImageUrl is set, 'face-consistency' is added
automatically so the catalog prefers an IP-Adapter or Instant-ID
model that actually respects the reference. Ignored for
safe/standard tiers.
Optional usageOptional durable usage ledger configuration for helper-level accounting.
Optional referenceReference image URL for character/face consistency. See IImageProvider docs.
Optional facePre-computed 512-dim face embedding for drift detection.
Optional consistencyCharacter consistency mode: 'strict' | 'balanced' | 'loose'. Default 'balanced'.
Options for a generateImage call.