{"uid":"cap_hREi-0fFF5dfShKzrM9M8","slug":"amnt-svg-generate-16396d6e","name":"AMNT SVG Generate","description":"AMNT SVG Generate - Describe it, get a clean SVG back in one call: drawn for vector, then traced.","url":"https://www.amnt.io/api/os-tools/svg-generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["stacked","cutout"],"type":"string","default":"stacked","description":"Shapes"},"style":{"enum":["auto","flat","icon","logo","illustration","pixel"],"type":"string","default":"auto","description":"Flat, icon and logo trace cleanest."},"aspect":{"enum":["1:1","3:2","2:3","16:9","9:16"],"type":"string","default":"1:1","description":"Shape"},"colors":{"type":"integer","maximum":64,"minimum":2,"examples":["32"],"description":"Cap the palette. Leave empty for automatic."},"detail":{"enum":["low","medium","high"],"type":"string","default":"medium","description":"How much small detail survives. Medium removes the grain that makes a trace look traced."},"prompt":{"type":"string","examples":["a friendly fox mascot waving"],"maxLength":2000,"description":"What to draw, in plain words."},"formats":{"type":"string","examples":["pdf,png,dxf"],"maxLength":80,"description":"Any of png, pdf, eps, dxf, icons, small. Comma separated. SVG always comes back."},"background":{"enum":["transparent","keep"],"type":"string","description":"Transparent removes a plain backdrop cleanly, with no white ring."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3oYoIizdbyz3trF83kFyt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Takes a text prompt and returns a clean, vector-traced SVG (plus optional formats) by rendering an image and auto-tracing it into scalable vector output.","exampleAgentPrompt":"Generate me a flat-style SVG of a friendly fox mascot waving, in a 1:1 square format with a transparent background, about 32 colors, medium detail — and also give me a PNG version.","exampleUseCases":[{"title":"App icon from text description","prompt":"Create a flat icon SVG of a lightning bolt inside a rounded shield, square format, transparent background, 16 colors, low detail — something clean enough to use as an app icon."},{"title":"Brand mascot vector creation","prompt":"Generate an illustration-style SVG of a cheerful robot barista holding a coffee cup, 3:2 aspect ratio, medium detail, 32 colors, keep the white background."},{"title":"CAD-ready DXF from prompt","prompt":"Make a high-detail SVG and DXF of a geometric honeycomb pattern in cutout mode, 1:1 square, 8 colors, transparent background — I need it ready for laser cutting."}],"resultDescription":"Returns a clean, vector-traced SVG always included, plus any additionally requested formats (PNG, PDF, EPS, DXF, icons, small) as separate files or URLs in the response. The SVG is produced by first rendering the prompt as an image, then tracing it into precise vector paths with palette and detail controlled by the input parameters.","failureModes":["Prompt too vague or abstract resulting in poor trace quality","Requesting more than 64 colors causes validation error","Prompt exceeds 2000 character limit","Unsupported format string causes parsing failure","Complex photorealistic prompts produce noisy traces not suitable for vector use","Network or payment authorization failure returns 402 or 5xx"],"whenToPreferThis":"Choose this endpoint when you need a scalable vector graphic (SVG) generated directly from a text description in a single API call, especially for icons, logos, flat illustrations, or pixel art that need clean traces. It is ideal when you also need derivative formats like DXF for CNC/laser cutting, EPS for print, or PDF alongside the SVG. Prefer it over raster-only image generation when the output must scale without quality loss or be imported into vector editing tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:30:06.298Z","isFirstParty":false}