← Back to directory

Use when an agent needs an SVG made safe and small: strips scripts and editor ju...

https://baconservices.com/api/agent-commerce/v1/capabilities/svg-cleanup/execute

Overview

Use when an agent needs an SVG made safe and small: strips scripts and editor junk, rounds paths, returns the cleaned SVG with a report.

Protocol x402 (POST)
Price $0.01
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Bacon Services
Source bazaar
Indexed 2026-11-05 07:01:12

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "keep_ids": false, "precision": 3, "simplify": "none", "svg_url": "https://baconservices.com/assets/img/ai-vector/bacon-mascot.svg" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "capability": "svg-cleanup", "ok": true, "payment": { "network": "eip155:8453", "testnet": false, "transaction": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "request_id": "uuid", "result": { "elements_after": 45, "elements_before": 45, "height": "1024", "input_bytes": 22333, "output_bytes": 15493, "points_removed": 0, "precision": 3, "removed": { "animation": 0, "comments": 0, "editor_data": 0, "empty": 0, "external_references": 0, "groups_unwrapped": 0, "hidden": 0, "identity_transforms": 44, "links": 0, "metadata": 0, "redundant_values": 6, "unknown": 0, "unsafe": 0, "unused_classes": 0, "unused_css_rules": 0, "unused_definitions": 0, "unused_ids": 0 }, "saved_percent": 30.6, "simplify": "none", "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 2048 2048\" width=\"1024\" height=\"1024\" preserveAspectRatio=\"none\" display=\"block\"><path d=\"M0 0H2048V2048H0V0z\" fill=\"#fff\"/></svg>", "view_box": "0 0 2048 2048", "warnings": [], "width": "1024" } }, "type": "json" }