---
title: "Detect Handwriting Route"
method: POST
path: "/image/detect-handwriting"
tags: ["image"]
---

# Detect Handwriting Route

`POST /image/detect-handwriting`

Accepts a list of image URLs and returns whether each image contains handwriting.
Uses acompletion with prompt_id="detect_handwriting" to analyze each image in parallel.
The LLM returns either "handwriting" or "print" for each image.

Example input:
    {
      "image_urls": ["https://example.com/image1.jpg", "https://example.com/image2.jpg"]
    }

Returns:
    {
      "status": "success",
      "message": "Handwriting detection completed",
      "handwriting_results": [
        {"url": "https://example.com/image1.jpg", "is_handwritten": true},
        {"url": "https://example.com/image2.jpg", "is_handwritten": false}
      ]
    }

## Request body

- DetectHandwritingRequest
  - `image_urls` string[], required

## Response `200`

Successful Response

- DetectHandwritingResponse
  - `status` string, required
  - `message` string, required
  - `handwriting_results` object[], required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/c407f3b5a05b/schema)
