Visual QA
Changed onAnalyze an image and return a caption, image metadata, and scores for the requested features (see the features enum).
Requires an Enterprise plan: requests authenticated with a non-Enterprise API key receive a 403 with a link to contact our sales team.
post/v2/visual-qa
Request
- Base URLhttps://image-api.photoroom.com
- URLhttps://image-api.photoroom.com/v2/visual-qa
- AuthAPI key in header x-api-key
Request body multipart/form-data
Example request
{
"imageUrl": "https://example.com/image.jpg",
"referenceImageUrl": "https://example.com/reference.jpg",
"features": [
"aiGenerated",
"text"
]
}Response
OK
Example response
{
"caption": "Three gold rings with blue stones on a marble surface."
}Changes
- info
endpoint added
- info