API
Image Description
POST /api/ai/describe — generate a description for an image
Image Description
Generate a detailed text description for an image.
SDK equivalent: sdk.describe() — see Vision SDK
Endpoint
POST /api/ai/describeRequest
curl -X POST https://lab.coreviz.io/api/ai/describe \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{ "image": "https://example.com/photo.jpg" }'Request Body
| Field | Type | Required | Description |
|---|---|---|---|
image | string | Yes | Image URL or base64 data URI |
prompt | string | No | Custom prompt to guide the description |
Response
{ "description": "A red sports car parked on a cobblestone street..." }| Field | Type | Description |
|---|---|---|
description | string | Generated description text |