---
title: "Create Image"
method: POST
path: "/images/"
tags: ["Images"]
---

# Create Image

`POST /images/`

## Request

- Base URL: `https://api.chutes.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.chutes.ai/images/`
- Auth: API key in header `Authorization`

Create an image; really here we're just storing the metadata
in the DB and kicking off the image build asynchronously.

## Headers

- `X-Chutes-Hotkey` string, nullable
- `X-Chutes-Signature` string, nullable
- `X-Chutes-Nonce` string, nullable
- `Authorization` string, nullable

## Request body `multipart/form-data`

- BodyCreateImageImagesPost
  - `wait` boolean, required
  - `build_context` string, binary, required
  - `username` string, required
  - `name` string, required
  - `readme` string, required
  - `logo_id` string, required
  - `tag` string, required
  - `dockerfile` string, required
  - `image` string, required
  - `public` boolean, required

## Response `202`

Successful Response

- string

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `23e8895b217d`: 2 breaking, 3 info
  - the `build_context` request property contentMediaType changed from `` to `application/octet-stream`
  - the response's body type changed from no type to `string` for status `202`
  - the `build_context` request property format was generalized from `binary` to no format
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - …1 more
- **2026-08-26** `8d909638091e`: 1 info
  - endpoint added
- **2026-08-22** `05d9af05d87e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/chutes/apis/chutes-api/changes/images/post.md)

---

[API](https://skmtc.dev/chutes/apis/chutes-api.md) - [All operations](https://skmtc.dev/chutes/apis/chutes-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chutes/apis/chutes-api/revisions/8add5b0e22da?raw)
