---
title: "Generate Image"
method: POST
path: "/v1/images/generate"
tags: ["images"]
---

# Generate Image

`POST /v1/images/generate`

## Request

- Base URL: `https://api.myarchivist.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myarchivist.ai/v1/images/generate`
- Auth: HTTP bearer

## Headers

- `x-api-key` string, nullable

## Request body

- ImageGenerateRequest
  - `campaign_id` string, required
  - `type` string, required
  - `user_input` string, nullable
  - `entity_id` string, nullable

## Response `200`

Successful Response

- ImageGenerateResponse
  - `url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myarchivist/apis/archivist-public-api.md) · [All operations](https://skmtc.dev/myarchivist/apis/archivist-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myarchivist/apis/archivist-public-api/revisions/3ea6ca7efc56?raw)
