Programmatic Vector Conversion
Integrate hand-drawn art conversion into your workflows with our AI-powered XML conversion API.
Endpoints
POST /api/v2/convert
v2.3.1
Request Parameters
base64
String encoded image (PNG/JPEG)
format
"svg", "xml", or "dxf"
resolution
Output scale (300-2400 dpi)
Usage Example
curl -X POST 'https://el-nhnha.com/api/v2/convert' \
-H 'Content-Type: application/json' \
-d '{
"base64": "iVBORw0KGgoAAA...",
"format": "svg",
"resolution": 600
}'
Response Schema
{
"content": 1729354000000,
"vector_data": "<svg>...
3
100 free requests/month
POST /api/v2/upload
v2.3.1
Form Data
file
Binary image file (PNG/Jpeg)
format
"svg", "xml", or "dxf"
dpi
300, 600, or 1200
Example
curl -X POST 'https://el-nhnha.com/api/v2/upload' \
-F 'file=@art.png' \
-F 'format=dxf' \
-F 'dpi=600'
Response
{
"url": "https://cdn.el-nhnha.com/6h7tj4/drawing327.xml",
"checksum": "sha256:e91cf3b8...",
"expires": "2025-10-31T23:59:59Z"
}
1
Use for large file transfers
System Status
GET /api/v2/status
Authentication
Bearer token authentication (optional)
Unauthenticated users get 30 requests/day
Auth token increases limit to 500 requests/day
Example Response
{
"status": "OK",
"version": "2.3.1",
"load": "15%",
"max_requests": 500
}