---
title: "[BETA] Image Variations"
url: "/docs/image_variations"
canonical_url: "https://docs.litellm.ai/docs/image_variations"
type: "docs"
last_updated: "2026-10-09"
summary: "OpenAI's /image/variations endpoint is now supported."
related:
  - "/docs/image_edits"
  - "/docs/videos"
---
# [BETA] Image Variations

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt


OpenAI's `/image/variations` endpoint is now supported.

## Quick Start

```python
from litellm import image_variation
import os 

# set env vars 
os.environ["OPENAI_API_KEY"] = ""
os.environ["TOPAZ_API_KEY"] = ""

# openai call
response = image_variation(
    model="dall-e-2", image=image_url
)

# topaz call
response = image_variation(
    model="topaz/Standard V2", image=image_url
)

print(response)
```

## Supported Providers

- OpenAI
- Topaz

## Related pages

- [/images/edits](https://docs.litellm.ai/docs/image_edits.md)
- [/videos](https://docs.litellm.ai/docs/videos.md)
