Convert images to embroidery stitch files programmatically.
Include your API key in the Authorization header:
Authorization: Bearer your_api_key_here
Get your API key from the Studio dashboard.
/api/v1/convertUpload an image and receive machine-ready embroidery files (DST + PES) with a stitch preview.
Content-Type: multipart/form-data
| Field | Type | Description |
|---|---|---|
| file | File | PNG, JPEG, or WebP. Max 10MB. |
curl -X POST https://d3vur.app/api/v1/convert \ -H "Authorization: Bearer your_api_key" \ -F "[email protected]"
import requests
resp = requests.post(
"https://d3vur.app/api/v1/convert",
headers={"Authorization": "Bearer your_api_key"},
files={"file": open("logo.png", "rb")},
)
data = resp.json()
print(f"Stitches: {data['stitch_count']}")
print(f"DST: {data['files']['dst']}")
print(f"PES: {data['files']['pes']}"){
"job_id": "43c4e7a8-368d-4654-8b2a-8e3acc94a414",
"status": "completed",
"stitch_count": 846,
"color_count": 1,
"estimated_minutes": 1.2,
"files": {
"dst": "https://...supabase.co/.../design.dst",
"pes": "https://...supabase.co/.../design.pes",
"preview": "https://...supabase.co/.../preview.png"
},
"meta": {
"dst_size_bytes": 3062,
"pes_size_bytes": 6201,
"duration_ms": 1498
}
}| Plan | Requests/Day | Price |
|---|---|---|
| Free | 10 | $0 |
| Pro | 100 | $29/mo |
| Studio | Unlimited | $99/mo |
| Status | Meaning |
|---|---|
| 400 | Invalid file type or missing file |
| 401 | Missing or invalid API key |
| 422 | Conversion failed (image too complex or unsupported) |
| 429 | Rate limit exceeded |