POST
/
api
/
v1
/
client
/
prompt
/
image2image
Image-to-Image Prompt Booster
curl --request POST \
  --url https://api.modelbeam.srv1069417.hstgr.cloud/api/v1/client/prompt/image2image \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'prompt=<string>' \
  --form image='@example-file' \
  --form 'negative_prompt=<string>'
{
  "prompt": "<string>",
  "negative_prompt": "<string>"
}

Authorizations

Authorization
string
header
required

API key obtained from the ModelBeam dashboard

Body

multipart/form-data
prompt
string
required

Original prompt

Minimum string length: 3
image
file
required

Reference image

negative_prompt
string
required

Original negative prompt

Minimum string length: 3

Response

Prompt enhanced

prompt
string
negative_prompt
string