{"uid":"cap_x79YIdH_iDt0wQVlxtWuj","slug":"hivemindos-svg-edit-943d0ec4","name":"HivemindOS SVG 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.","url":"https://api.hivemindos.app/v1/x402/svg-studio/svgs.edit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rPCRPvWphNBVzfP9zrxY_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Edits an existing SVG based on a text instruction, accepting the SVG as inline markup, a URL, or base64-encoded data.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Brand color update on logo SVG","prompt":"I have an SVG logo and need to update all the brand colors to match our new palette — change the primary color from #FF6600 to #2D6BE4 and the secondary from #333333 to #1A1A2E. Here's the SVG inline: <svg xmlns='http://www.w3.org/2000/svg'>...</svg>. Use medium reasoning effort."},{"title":"Add text label to SVG icon","prompt":"Edit this SVG icon at https://mysite.com/assets/icon.svg to add the label 'Pro' in bold white text at the top-right corner, inside a small red badge. Use high reasoning effort."},{"title":"Simplify complex SVG illustration","prompt":"This SVG illustration is too detailed for small sizes — can you simplify it by removing the background texture and reducing the number of decorative paths? Here's the base64 of the SVG. Use low reasoning effort since it's a quick cleanup."}],"resultDescription":"Returns the modified SVG as text/markup with the requested edits applied, reflecting the changes described in the prompt.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:48:06.184Z","isFirstParty":false,"canonicalSlug":"hivemindos-svg-edit-943d0ec4"}