{
  "x402Version": 2,
  "id": 36465,
  "slug": "36465",
  "resource": "https://api.hivemindos.app/v1/x402/svg-studio/svgs.edit",
  "description": "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.",
  "type": "http",
  "serviceName": "HivemindOS",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790325041/bazaar-icons/9fda8e3264f238af.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xbD62F8DCB52E21CA5BDf20ba173488Da101eBCf0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "500000",
      "amountUsd": 0.5,
      "maxTimeoutSeconds": 900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "prompt": "Make the circle red",
            "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"blue\"/></svg>"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "chargedCredits": 0,
            "ok": true,
            "operationId": "…",
            "result": {},
            "serviceId": "…",
            "status": 200,
            "x402": {
              "charged": true,
              "priceUsd": 0.99,
              "receiptId": "x402call_…"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "Send svg (inline markup) or svgSource.",
                "properties": {
                  "prompt": {
                    "maxLength": 4000,
                    "type": "string"
                  },
                  "reasoningEffort": {
                    "enum": [
                      "low",
                      "medium",
                      "high",
                      "xhigh"
                    ],
                    "type": "string"
                  },
                  "svg": {
                    "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": {
                        "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": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_svz4q1d7"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "svg",
    "vector",
    "design",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "api.hivemindos.app",
  "lastUpdated": "2026-09-25T08:32:33.908Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-25T08:32:33.246Z"
  },
  "metadata": {
    "serviceName": "HivemindOS",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790325041/bazaar-icons/9fda8e3264f238af.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "prompt": "Make the circle red",
              "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"blue\"/></svg>"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "chargedCredits": 0,
              "ok": true,
              "operationId": "…",
              "result": {},
              "serviceId": "…",
              "status": 200,
              "x402": {
                "charged": true,
                "priceUsd": 0.99,
                "receiptId": "x402call_…"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "description": "Send svg (inline markup) or svgSource.",
                  "properties": {
                    "prompt": {
                      "maxLength": 4000,
                      "type": "string"
                    },
                    "reasoningEffort": {
                      "enum": [
                        "low",
                        "medium",
                        "high",
                        "xhigh"
                      ],
                      "type": "string"
                    },
                    "svg": {
                      "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": {
                          "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": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_svz4q1d7"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.hivemindos.app",
    "manifest_name": "api.hivemindos.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}