AI やコードベースに数秒で ArcSVG を接続。
1つの API キーでステートレス Remote MCP と REST API v1 の両方を解放。1枚 1 クレジット($0.077〜)、失敗時は自動返金。
クイック接続
このプロンプトを Cursor、Claude Code、Codex、Windsurf、ChatGPT に貼り付けるだけで、AI が MCP 設定や API 連携コードを自動構築します。
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.利用可能な MCP ツール
MCP ガイド →vectorize_imageimage_url または image_base64 で PNG/JPEG/WebP を送信(短時間待機 0–20 秒・既定 12 秒、SVG または task_id を返却)。
get_vectorize_tasktask_id でジョブを軽量ロングポーリング(既定 10 秒)し、品質指標と SVG ソースを取得。
list_vectorize_tasks最近のベクター化ジョブと品質指標の一覧を取得。
get_credits_balance現在のクレジット残高と残り変換可能枚数の目安を確認。
シンプルなアイコンは通常数秒以内に SVG を直接返却します。複雑なアートワークでは vectorize_image が task_id を返すため、エージェントが get_vectorize_task で完了を待って SVG を取得します。
REST API エンドポイント
REST API ドキュメント →/api/v1/vectorizemultipart/form-data(file)または JSON(image_url / image_base64)で画像を送信。任意の wait=0..20 に対応。
/api/v1/tasks/:idジョブ状態、ベクター指標、SVG ソースを取得(200 OK)。?wait=0..20 および ?include_svg=false に対応。
/api/v1/tasks/:id/svgジョブ完了後に生の image/svg+xml を取得(処理中 409、失敗 422)。
/api/v1/tasks最近のジョブを新しい順に一覧取得(?limit=1..50、既定 20)。
/api/v1/credits現在のクレジット残高と 1 枚あたりの消費クレジットを照会。
POST /api/v1/vectorize は既定で即座に 202 Accepted を返します。wait=15(最大 20)を指定すると完了時は 200、処理中は 202、待機内失敗時は失敗ジョブ付きで 422 を返します。
ArcSVG をワークフローに組み込みませんか?
無料アカウントには登録時に 10 クレジット、以降毎月 3 クレジットまで付与され、Web ワークベンチ・REST API・MCP で共通利用できます。