Skip to main content
API Reference: POST /images/variations

Provider capabilities

The table below summarizes gateway support for this endpoint by provider.
Legend:
  • Supported by Provider and Truefoundry
  • Provided by provider, but not by Truefoundry
  • Provider does not support this feature
For every gateway endpoint and provider, see Supported APIs. TrueFoundry AI Gateway supports image variation capabilities that allow you to generate new versions of existing images while preserving the core visual elements and style. This feature is perfect for creating artistic variations, exploring different compositions, or generating multiple options from a single source image.

Supported Providers

  • OpenAI: Supports dall-e-2 model
  • AWS Bedrock: Supports amazon-nova-canvas model

Requirements

Example Usage

The meaning of the parameters are present in the OpenAI API documentation. The AWS Bedrock specfic parameters are explained here

Response Format

The API returns an ImagesResponse object containing: