# Analyze reference image

```http
GET https://api.synup.com/api/v4/social-post-ideas/analyze-reference-image
```

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

Source: https://developer.synup.com/api/social-post-ideas/analyze-reference-image

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `imageUrl` | string | required | URL of the image to analyze. |
| `category` | string | optional | Optional category hint to focus the analysis. |

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Synup-Version` | string | required | API version date (YYYY-MM-DD). |

## Example request

```bash
curl -X GET 'https://api.synup.com/api/v4/social-post-ideas/analyze-reference-image' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'
```

## Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized - Invalid or missing API key |
