LabelGrid API
Use the REST API to create product label projects and export SVG or 600 DPI PNG files from your own software.
API keys
Create an account or sign in to create a server-side API key.
Get an API keyEndpoints
Download OpenAPI specificationBase URL https://servoniva.top/api/v1. Send your key in the Authorization: Bearer header.
/accountRead the current plan and usage./projectsList projects owned by the key holder./projectsCreate a project from a template or a structured label design./projects/{id}Read project metadata and label data./projects/{id}Permanently delete a project./ai/draftsGenerate an editable project from a brief and dimensions./projects/{id}/exportsDownload an SVG or a 600 DPI PNG.The API uses the same project, AI, and export allowances as your workspace. Requests are limited to 60 per minute per account.
API exports support text and basic shapes. Use the web editor to export files with uploaded images or to download PDFs and batch ZIPs.
Examples
Create a label project
curl -X POST "https://servoniva.top/api/v1/projects" \
-H "Authorization: Bearer $LABELGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Wild Sage",
"design": {
"productName": "Wild Sage",
"brand": "FIELD NOTES",
"widthMm": 70,
"heightMm": 30,
"volume": "10 mL",
"layout": "framed",
"paper": "#CBD6B5",
"ink": "#283B27"
}
}'Generate a project with AI
Cloud AI sends the brief, dimensions, and any product name, brand, or size to OpenAI. Submit only details you can share with OpenAI.
curl -X POST "https://servoniva.top/api/v1/ai/drafts" \
-H "Authorization: Bearer $LABELGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A minimal navy label for Studio Tape, 24 mm.","widthMm":70,"heightMm":40}'Download an SVG
Use the id returned by the create or AI request as PROJECT_ID.
curl -X POST "https://servoniva.top/api/v1/projects/$PROJECT_ID/exports" \
-H "Authorization: Bearer $LABELGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{"format":"svg"}' --output label.svgErrors return JSON with an error.code and error.message.