cURL
curl --request POST \ --url https://api.deapi.ai/api/v1/client/prompt/image2image \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'prompt=A beautiful landscape with mountains' \ --form 'negative_prompt=blurry, low quality' \ --form image='@example-file'
{ "prompt": "<string>", "negative_prompt": "<string>" }
Enhance image-to-image transformation prompts with visual context awareness. Requires a reference image.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
3
"A beautiful landscape with mountains"
"blurry, low quality"
Reference image for image-to-image transformation. Supported formats: JPEG, PNG, BMP, GIF, SVG, WebP.
Enhanced prompts returned successfully
Was this page helpful?