---
title: "Prompt enhancement"
method: POST
path: "/prompt_enhancer"
tags: ["Image Generation"]
---

# Prompt enhancement

`POST /prompt_enhancer`

**Description**

The /prompt_enhancer route is designed to boost users' creativity by transforming simple prompts into more detailed and vivid descriptions. This helps generate richer, more diverse images. (It is also available as a built-in flag in all of our /text-to-image routes, excluding tailored generation.)

We recommend using this feature by offering users a range of prompts to choose from before generating an image, enabling them to explore creative ideas.

*Works best with short to medium prompts of up to approximately 50 words.

**Examples:**

**original prompt**: A cat

<img src="https://bria-datasets.s3.amazonaws.com/api_doc/prompt_enhancement/cat_orig.png" width="200" height="200"/> 

**enhanced prompt**: A black and white photograph of a sophisticated Siamese cat, sitting in a chair next to a large window, with the urban cityscape visible in the background

<img src="https://bria-datasets.s3.amazonaws.com/api_doc/prompt_enhancement/cat_bw.png" width="200" height="200"/>

## Headers

- `api_token` string, required

## Request body

- object
  - `prompt` string — The original prompt that to enhance.

## Response `200`

Successful operation.

- object
  - `results` string — the new enhanced prompt

## Other responses

- `400` — Bad request.
- `429` — Request limit exceeded. Your account has reached its maximum allowed requests. Please upgrade your plan or try again later.
- `500` — Internal server error.

---

[API](https://skmtc.net/bria-ai/apis/the-bria-api.md) · [All operations](https://skmtc.net/bria-ai/apis/the-bria-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bria-ai/the-bria-api/revisions/2768230345a5/schema)
