Skip to content
SynupAPI
Get an API key
GETapi.synup.com/api/v4/local-post-ideas/analyze-reference-image

Analyze reference image

Analyzes a reference image at the given URL and returns a textual description that can be used to ground post-idea generation. Optionally pass a category hint to focus the analysis.

Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Query

NameTypeRequiredDescription
imageUrlstringrequiredURL of the image to analyze.
categorystringoptionalOptional category hint to focus the analysis.

Headers

NameTypeRequiredDescription
Synup-VersionstringrequiredAPI version date (YYYY-MM-DD).

Request

Request
curl -X GET 'https://api.synup.com/api/v4/local-post-ideas/analyze-reference-image?imageUrl=&category=' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'

Responses

StatusDescription
200Successful response
401Unauthorized - Invalid or missing API key
Example response (generated from the schema)
{
  "data": {
    "analyzeReferenceImage": {
      "description": "string"
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.analyzeReferenceImageobjectoptional
data.analyzeReferenceImage.descriptionstringoptionalTextual description of the analyzed image.