---
title: "Perform text detection and bounding on an image."
method: POST
path: "/api/ai/images/v2/image-text-detection"
---

# Perform text detection and bounding on an image.

`POST /api/ai/images/v2/image-text-detection`

## Response `200`

Success

- object
  - `id` string — The ID of the response
  - `status` string — The status of the response
  - `timestamp` integer — The timestamp of the response
  - `content` ImageDetectedText[] — The detected text content
    - `confidence` number — The confidence level of the detected text
    - `detected_text` string — The detected text
    - `geometry` ImageTextGeometry
      - `bounding_box` ImageTextBoundingBox
        - `height` number — The height of the bounding box
        - `left` number — The left coordinate of the bounding box
        - `top` number — The top coordinate of the bounding box
        - `width` number — The width of the bounding box
      - `polygon` ImageTextPoint[] — The polygon coordinates of the geometry
        - `x` number — The X coordinate of the point
        - `y` number — The Y coordinate of the point
    - `id` integer — The ID of the detected text
    - `parent_id` integer — The ID of the parent text (if applicable)
    - `type` string — The type of the detected text
  - `processing_count` integer — The number of images processed

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - Invalid API Key or Organization Key
- `404` — Not Found
- `406` — Not Acceptable - Invalid Content Type or Content not supported
- `500` — Internal Server Error

---

[API](https://skmtc.net/worqhat/apis/worqhat-ai-api-endpoints.md) · [All operations](https://skmtc.net/worqhat/apis/worqhat-ai-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worqhat/worqhat-ai-api-endpoints/revisions/a1044e79bd85/schema)
