# Review image

> Queues a judgement of an image against what was asked for — whether it holds up, and where it does not. `effort` trades latency and cost for thoroughness.

`POST /image/review`

**Auth:** API key or OAuth token

## Request body

- `url` (required, string)
- `effort` (string) — Reviewer panel to run. 'high' runs five strong vision models; 'low' runs three smaller ones for triage. Default `"high"`. One of: `"high"`, `"low"`.

## Response

### 201 — Image review task created

- `data` (required, object)
  - `estimatedCost` (required, string) — Estimated cost in USD reserved for this task. Failed tasks are not charged. Example `"0.0002"`.
  - `taskId` (required, string) — Task ID Example `"tsk_01KE7XWWEQ4MCGWKBQKJ1G47RP"`.

```json
{
  "data": {
    "estimatedCost": "0.0002",
    "taskId": "tsk_01KE7XWWEQ4MCGWKBQKJ1G47RP"
  }
}
```

### 400 — Validation Error

- `success` (required, false)
- `error` (required, array)
- `data` (required, any)

```json
{
  "success": false,
  "error": []
}
```

## Request samples

### cURL

```bash
curl -X POST https://api.mynth.io/image/review \
  -H "Authorization: Bearer $MYNTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "string"
  }'
```

### JavaScript

```ts
const response = await fetch("https://api.mynth.io/image/review", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MYNTH_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "string"
  }),
});

const { data } = await response.json();
```

The full schema for this endpoint is in the [OpenAPI document](https://api.mynth.io/openapi.json).
