Optional listOptional shutdownOptional editOptional upscaleUpscale / super-resolve an image.
Providers that do not support upscaling should leave this undefined.
Optional variateGenerate visual variations of the supplied image.
Providers that do not support variations should leave this undefined.
Optional transferRestyle image after styleImage, sending the provider both. A provider
with no call that takes both images leaves this undefined.
Optional styleThe model a style transfer runs on for modelId (an empty string for
the provider's default), decided by an initialised provider from its own
configuration, without a request. Throws for a model its style transfer
cannot run. A provider whose base URL is not its own may take a model
outside its list, by its own rule: OpenAI and Fal any name, Replicate
any owner/name (never a pinned version), Stability none, since its
endpoint takes no model. A provider defines this exactly when it
defines transferStyle.
Readonly providerReadonly isOptional Readonly default
Perform an image-to-image edit, inpainting, or outpainting operation. Providers that do not support editing should leave this
undefined.