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>" }
Enhance text-to-image prompts for better AI generation results.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
3
"A beautiful landscape"
"blurry, low quality"
Enhanced prompts returned successfully
Was this page helpful?