Skip to main content
POST

Authorizations

Authorization
string
header
required

Supabase user JWT (or an internal service token). Send as Authorization: Bearer <token>.

Body

application/json
image_url
string<uri>
required

HTTPS URL of the image to analyze.

Example:

"https://example.com/photo.jpg"

prompt_mode
enum<string>
required

Analysis mode. standalone produces a single <image1> reference tag. reference produces per-person <imageN> tags using gender and count hints.

Available options:
standalone,
reference
reference_info
object

Required when prompt_mode is reference.

Response

Prompt generated successfully.

status
integer
Example:

200

prompt
string

Generated text prompt describing the image.

Example:

"Two professionals, <image1> male and <image2> female, standing in a modern glass office lobby with city views"