---
title: "POST /api/v1/client/prompt/image"
method: POST
path: "/api/v1/client/prompt/image"
tags: ["Client API"]
---

# POST /api/v1/client/prompt/image

`POST /api/v1/client/prompt/image`

Enhance text-to-image prompts for better AI generation results

## Request body

- object
  - `prompt` string
  - `negative_prompt` string, nullable

## Response `200`

Enhanced prompts returned successfully

- object
  - `prompt` string
  - `negative_prompt` string, nullable

## Other responses

- `422` — Validation failed or insufficient GHX balance
- `429` — Rate limit exceeded. Check X-RateLimit-Type header to determine if minute (RPM) or daily (RPD) limit was hit.

---

[API](https://skmtc.net/deapi/apis/deapi-rest-api.md) · [All operations](https://skmtc.net/deapi/apis/deapi-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deapi/deapi-rest-api/versions/c70b8b231ca8/schema)
