Skip to main content
POST
/
api
/
v1
/
client
/
prompt
/
image
cURL
curl --request POST \
  --url https://api.deapi.ai/api/v1/client/prompt/image \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A beautiful landscape",
  "negative_prompt": "blurry, low quality"
}
'
{
  "prompt": "<string>",
  "negative_prompt": "<string>"
}
Tip: Provide at least a basic concept or subject. The more context you give, the more targeted the enhancement will be.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
Minimum string length: 3
Example:

"A beautiful landscape"

negative_prompt
string | null
Minimum string length: 3
Example:

"blurry, low quality"

Response

Enhanced prompts returned successfully

prompt
string
negative_prompt
string | null