---
title: "Generate Image Api"
method: POST
path: "/images/generation"
tags: ["images"]
---

# Generate Image Api

`POST /images/generation`

## Request body

- GenerateImageRequest
  - `prompt` string, required
  - `model` string, nullable
  - `negative_prompt` string, nullable
  - `num_steps` integer, nullable
  - `sampling_steps` integer, nullable
  - `num_inference_steps` integer, nullable
  - `guidance_scale` number, nullable
  - `width` integer, nullable
  - `height` integer, nullable
  - `seed` integer, nullable
  - `image` string, nullable
  - `images` string[], nullable
  - `strength` number, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
