Api Endpoint

HivemindOS

Edit an SVG: changes an SVG as instructed, from inline markup or a URL. Use when an agent must change colours, shapes or text in an existing SVG without redrawing it. $0.78 this call, in USDC on Base; you pay only if it succeeds. HivemindOS SuperAgent API.

Open interactive test console

Offering

Provider
api.hivemindos.app
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.hivemindos.app/v1/x402/svg-studio/svgs.edit
MIME type
Not provided
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
svg, vector, design

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.78 USDC
Atomic price: 780000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "780000",
    "payTo": "0xbD62F8DCB52E21CA5BDf20ba173488Da101eBCf0"
  }
]

Observed health

Status
Healthy
Latest latency
294 ms
Average latency
654 ms
HTTP status
204
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "description": "Send svg (inline markup) or svgSource.",
      "properties": {
        "prompt": {
          "description": "The change to make.",
          "maxLength": 4000,
          "type": "string"
        },
        "reasoningEffort": {
          "description": "How hard to think: higher is slower and better for detailed art.",
          "enum": [
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "type": "string"
        },
        "svg": {
          "description": "Inline SVG markup to edit.",
          "maxLength": 200000,
          "type": "string"
        },
        "svgSource": {
          "description": "Either url (http/https) or base64, not both.",
          "properties": {
            "base64": {
              "description": "Raw base64, no data: prefix.",
              "type": "string"
            },
            "url": {
              "description": "A public http or https address.",
              "format": "uri",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "required": [
        "prompt"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "chargedCredits": {
          "description": "Agent Credits the service charged (500 = $1).",
          "type": "number"
        },
        "followUp": {
          "description": "apiKey holding the credits the call did not use, or null when none are left.",
          "properties": {
            "apiKey": {
              "type": "string"
            },
            "keyId": {
              "type": [
                "string",
                "null"
              ]
            },
            "remainingCredits": {
              "type": "number"
            },
            "use": {
              "type": "string"
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "ok": {
          "description": "true when the call worked; a failed call is never charged.",
          "type": "boolean"
        },
        "operationId": {
          "type": "string"
        },
        "result": {
          "description": "The edited SVG markup."
        },
        "serviceId": {
          "type": "string"
        },
        "status": {
          "description": "The service's own HTTP status.",
          "type": "integer"
        },
        "x402": {
          "description": "The payment: settled only after the call worked.",
          "properties": {
            "charged": {
              "type": "boolean"
            },
            "network": {
              "type": [
                "string",
                "null"
              ]
            },
            "payer": {
              "type": [
                "string",
                "null"
              ]
            },
            "priceUsd": {
              "type": "number"
            },
            "receiptId": {
              "type": "string"
            },
            "transaction": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": "object"
        }
      },
      "required": [
        "ok",
        "x402"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}