Connect ArcSVG to your AI or codebase in seconds.
One API key unlocks both our stateless Remote MCP server and REST API v1 — 1 credit per image (from $0.077), auto-refunded on failure.
Quick Connect
Paste this prompt straight into Cursor, Claude Code, Codex, Windsurf, or ChatGPT — your AI will set up MCP or write the API integration for you.
Help me integrate ArcSVG (raster image to editable layered SVG, 1 credit per image, from $0.077/image, auto-refund on failure).
## Connection Details
- Remote MCP Endpoint (Stateless Streamable HTTP): https://arcsvg.com/mcp
- REST API Base URL: https://arcsvg.com/api/v1
- Auth Header: Authorization: Bearer YOUR_ARCSVG_API_KEY (or X-API-Key)
- Note: If no real key is configured yet, remind me to create one at https://arcsvg.com/app/developers and replace YOUR_ARCSVG_API_KEY.
- Docs: MCP https://arcsvg.com/docs/developers/mcp | REST API https://arcsvg.com/docs/developers/api | Machine summary https://arcsvg.com/llms.txt
## Option 1: Configure Remote MCP (preferred for AI agents)
- Claude Code: claude mcp add --transport http arcsvg https://arcsvg.com/mcp --header "Authorization: Bearer YOUR_ARCSVG_API_KEY"
- Cursor / JSON: {"mcpServers":{"arcsvg":{"url":"https://arcsvg.com/mcp","headers":{"Authorization":"Bearer YOUR_ARCSVG_API_KEY"}}}}
- Tools: vectorize_image (image_url or image_base64), get_vectorize_task, list_vectorize_tasks, get_credits_balance
## Option 2: Call the REST API in code
1. Submit: POST https://arcsvg.com/api/v1/vectorize
- Accepts multipart/form-data (field "file", PNG/JPEG/WebP <= 20MB) or JSON ({"image_url": "..."} or {"image_base64": "..."})
- Default (wait=0) returns 202 immediately; optional wait=15 (max 20s): returns 200 with svg if ready, 202 if still running, or 422 with task object (status: "failed", error) if it fails within wait
2. Poll: GET https://arcsvg.com/api/v1/tasks/{task_id}?wait=10 (returns 200 until status is "succeeded" or "failed")
3. Output: Read task.svg & task.metrics from JSON, or download raw image/svg+xml via GET https://arcsvg.com/api/v1/tasks/{task_id}/svg
Please set up the MCP configuration or implement the API client for my current project.Available MCP Tools
MCP Guide →vectorize_imageSubmit a PNG/JPEG/WebP image via image_url or image_base64 (short wait 0–20s, default 12s; returns SVG or running task_id).
get_vectorize_taskPoll a task by task_id with lightweight long-polling (default 10s) to retrieve quality metrics and SVG source.
list_vectorize_tasksList your recent vectorization tasks and metrics.
get_credits_balanceCheck current credits balance and estimated remaining images.
Simple icons usually return the SVG inline within seconds. For complex artwork, vectorize_image returns a task_id so your agent can call get_vectorize_task to wait and retrieve the finished SVG.
REST API Endpoints
REST API Docs →/api/v1/vectorizeSubmit image via multipart/form-data (file) or JSON (image_url / image_base64). Optional wait=0..20.
/api/v1/tasks/:idGet task status, vector metrics, and SVG markup (200 OK). Supports ?wait=0..20 and ?include_svg=false.
/api/v1/tasks/:id/svgDownload raw image/svg+xml once succeeded (409 while running, 422 if failed).
/api/v1/tasksList recent tasks in reverse chronological order (?limit=1..50, default 20).
/api/v1/creditsQuery current credits balance and cost per image.
POST /api/v1/vectorize returns 202 Accepted immediately by default. Pass wait=15 (max 20) to wait briefly: 200 with SVG on success, 202 if still running, or 422 with the failed task object.
Ready to plug ArcSVG into your workflow?
Free accounts get 10 credits on signup and 3 credits every month — shared across the web workbench, REST API, and MCP.