{"uid":"cap_YvsgLZDNWgLHJXAzEZKLE","slug":"amnt-svg-generator-4625eab1","name":"AMNT SVG Generator","description":"AMNT SVG 1.1 - Text to tiny, clean SVG code. Best for icons, logos, lettering and badges. Returns real shapes and editable text, each part its own layer. About 10 s.","url":"https://www.amnt.io/api/agent/amnt/svg-standard?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["prompt"],"properties":{"style":{"enum":["auto","icon","logo","flat","illustration","pixel"],"type":"string","default":"auto","description":"Style"},"aspect":{"type":"string","default":"1:1","examples":["1:1"],"maxLength":12,"description":"\"auto\", a preset (1:1, 4:5, 3:4, 2:3, 9:16, 1:2, 5:4, 4:3, 3:2, 16:9, 2:1) or any W:H up to 3:1. Same price in every shape."},"prompt":{"type":"string","examples":["a camera icon"],"maxLength":2000,"description":"What to draw, in plain words."},"formats":{"type":"string","examples":["pdf,png"],"maxLength":80,"description":"Any of png, pdf, eps, dxf, icons, small, webp, jpg. Comma separated. SVG always comes back."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ms":{"type":"integer","description":"Time taken."},"ran":{"type":"string","description":"The model that made it (Auto picks one per request)."},"svg":{"type":"string","description":"The SVG, as clean code: real shapes, strokes and editable text. No scripts, no outside links."},"url":{"type":"string","description":"A public link to the same SVG."},"files":{"type":"object","description":"Links to any extra formats asked for."},"model":{"type":"string","description":"The AMNT SVG model asked for."},"layers":{"type":"array","description":"Each part as its own named layer."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_vig7Rxbwlicf86mJaEI5p","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a text prompt into clean, layered SVG code optimized for icons, logos, lettering, and badges","exampleAgentPrompt":"Can you generate a clean SVG camera icon using a flat style in square 1:1 format, and also give me a PNG version?","exampleUseCases":[{"title":"App icon from text description","prompt":"Create an SVG icon of a lightning bolt for my mobile app — use the flat style, square format, and also export a PNG so I can use it right away."},{"title":"Logo badge for a brand","prompt":"Generate an SVG logo badge that says 'Morning Bloom' with a small coffee cup — use the logo style and a 16:9 aspect ratio, and give me a PDF version too."},{"title":"Pixel-art icon for a game UI","prompt":"Make me a pixel-art style SVG sword icon for my game's inventory screen — square 1:1 ratio, and export it as a webp as well."}],"resultDescription":"Returns clean SVG markup with real shapes, strokes, and editable text organized into named layers, plus a public URL to the SVG file and optional download links for any extra formats (PNG, PDF, EPS, DXF, WebP, JPG) that were requested. Also includes the model name used and the time taken in milliseconds.","failureModes":["Prompt too vague or ambiguous resulting in unexpected output","Unsupported aspect ratio format causing a validation error","Requested format not in supported list (png, pdf, eps, dxf, icons, small, webp, jpg)","Generation timeout if server load is high (typical ~10s)","Prompt exceeds 2000 character limit"],"whenToPreferThis":"Choose this endpoint when you need programmatically usable, editable SVG code with named layers rather than a raster image. Ideal for generating icons, logos, badges, and lettering where scalability and editability matter. Particularly strong for flat, pixel, and logo styles. Prefer over raster image generators when the output must be vector-format or must be post-edited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:31:58.563Z","isFirstParty":false,"canonicalSlug":"amnt-svg-generator-4625eab1"}