# HivemindOS SVG Edit

> HivemindOS SVG Edit is a paid API for AI agents from api.hivemindos.app, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-10).

Edits an existing SVG based on a text instruction, accepting the SVG as inline markup, a URL, or base64-encoded data.

## Facts

- Endpoint: POST https://api.hivemindos.app/v1/x402/svg-studio/svgs.edit?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hivemindos-svg-edit-943d0ec4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x79YIdH_iDt0wQVlxtWuj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hivemindos-svg-edit-943d0ec4 -d '<json body>'
```

Example prompt: Take this SVG logo and change the background color to dark navy, make the icon white, and increase the font size of the company name — here's the SVG markup: <svg>...</svg>. Use high reasoning effort.

## When to prefer this

Use this endpoint when you already have an existing SVG and need to modify it according to natural language instructions, rather than generating a new SVG from scratch. Ideal for updating colors, text, layout, or elements in an existing vector file without manual editing tools.

## Known failure modes

- SVG markup is malformed or exceeds 200,000 character limit — returns an error
- Prompt is ambiguous or contradicts the SVG structure — may produce unexpected edits
- URL-referenced SVG is unreachable or returns non-SVG content — fetch fails
- Payment in USDC on Base fails or is not included — request is rejected without processing
- Both url and base64 provided simultaneously — validation error

## How this service works

Edit an SVG: changes an SVG as instructed, from inline markup or a URL. $0.50 this call, in USDC on Base; you pay only if it succeeds. HivemindOS SuperAgent API.

## Output

Returns the modified SVG as text/markup with the requested edits applied, reflecting the changes described in the prompt.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "svg": {
   "type": "string",
   "maxLength": 200000
  },
  "prompt": {
   "type": "string",
   "maxLength": 4000
  },
  "svgSource": {
   "type": "object",
   "properties": {
    "url": {
     "type": "string",
     "format": "uri"
    },
    "base64": {
     "type": "string",
     "description": "Raw base64, no data: prefix."
    }
   },
   "description": "Either url (http/https) or base64, not both."
  },
  "reasoningEffort": {
   "enum": [
    "low",
    "medium",
    "high",
    "xhigh"
   ],
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hivemindos-svg-edit-943d0ec4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.hivemindos.app](https://www.zero.xyz/host/api.hivemindos.app/llms.txt)
