---
title: "Create Variation"
method: POST
path: "/v1/images/variations"
tags: ["v1", "images"]
---

# Create Variation

`POST /v1/images/variations`

Create variations of an image.

DALL·E 2 only. Upload an image to generate variations.

## Response `200`

Successful Response

- ImagesResponse — Response from image generation.
  - `created` integer, required — Unix timestamp when images were created
  - `data` Image[], required — List of generated images
    - `url` string, nullable — URL of the generated image (if response_format=url)
    - `b64_json` string, nullable — Base64-encoded image data (if response_format=b64_json)
    - `revised_prompt` string, nullable — Revised prompt used for generation (dall-e-3)

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/dedalus-labs/apis/dedalus-api.md) · [All operations](https://skmtc.net/dedalus-labs/apis/dedalus-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dedalus-labs/dedalus-api/versions/81ffcde15f4c/schema)
