POST
/
v1
/
image-to-prompt
{
  "code": 200,
  "message": "success",
  "data": {
    "prompt": "a young anime boy,  with short dark brown hair and striking blue eyes,  looks off into the distance. He wears a dark purple zip-up jacket with a logo featuring a circle and a map pin in the center and the word \"Lonne\" in text underneath. The jacket has a zipper and another logo to the right side, and his pose is confident and focused. Deep blues and purples dominate in the background, with a vibrant blue backdrop and hints of red and dark tones. Visible are parts of what appear to be industrial structures and supports, adding an urban aesthetic.  The style is anime-inspired, with soft shading and  stylized details.  Impressionistic,  focus on details, vibrant colors, medium resolution.\n"
  }
}

Pricing

  • Cost: 2 credits per request

Headers

x-api-key
string
required

Body

application/json
image
string
required

Base64 encoded image string. Must start with data URI scheme, e.g.: 'data:image/jpeg;base64,' or 'data:image/png;base64,'. Supported formats: PNG, JPEG, WEBP

Response

200 - application/json
code
integer
required
message
string
required
data
object
required