---
title: "Image Generations"
method: POST
path: "/v1/images/generations"
---

# Image Generations

`POST /v1/images/generations`

## Request

- Base URL: `https://api.empiriolabs.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.empiriolabs.ai/v1/images/generations`
- Auth: none declared
- TypeScript: <https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/docs/v1/images/generations/post.ts> (a function with typed inputs; its response is checked against the schema)

Route image generation requests to the model's worker, store results in Bunny.

Supports template resolution: when the request body includes
`template: "<slug>"`, the image template's canonical prompt,
recommended model, and default params are merged in before the
worker call.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway.md) - [All operations](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/empiriolabs/apis/empiriolabs-gateway/revisions/94bb966b0560?raw)
