{"uid":"cap_uc1WZTh32Tj6T5e7195_g","slug":"amnt-svg-lite-61e8dd39","name":"AMNT SVG Lite","description":"Text to SVG code in about 8 seconds. Best for simple icons, charts, patterns and flat backgrounds. Returns clean SVG, each part its own layer.","url":"https://www.amnt.io/api/agent/amnt/svg-lite?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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jxuykpf3Ugz6Oa3-U7i-R","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a plain-text prompt into clean, layered SVG code optimized for icons, charts, patterns, and flat backgrounds in about 8 seconds.","exampleAgentPrompt":"Generate an SVG of a camera icon in a flat style at 1:1 aspect ratio, and also give me a PNG version.","exampleUseCases":[{"title":"App icon in SVG format","prompt":"Create a flat-style SVG icon of a calendar with a checkmark on it, square format, and also export it as a PNG so I can use it in my app."},{"title":"Patterned background for slide deck","prompt":"Generate a repeating geometric pattern SVG in a flat style at 16:9 aspect ratio — something minimal with hexagons and a pastel color scheme."},{"title":"Simple pie chart vector graphic","prompt":"Make an SVG pie chart icon showing three roughly equal segments in different colors, icon style, square format."}],"resultDescription":"Returns a JSON object containing the SVG as clean, script-free code with each element on its own named layer, a public URL to the SVG, render time in milliseconds, the model used, and optionally links to additional requested formats (PNG, PDF, EPS, DXF, WebP, JPG, or icon sets).","failureModes":["Prompt too long (exceeds 2000 characters) — request rejected","Invalid aspect ratio format — defaults or errors","Unsupported format string in formats field — may be ignored or cause error","Generation timeout if model is overloaded — no SVG returned","Complex or photorealistic prompts may produce poor or empty SVG output — model is optimized for simple, flat graphics"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.01), clean SVG from a text prompt — especially for icons, flat illustrations, simple charts, or background patterns. It returns editable, layer-structured SVG code with no embedded scripts or external links, making it ideal for programmatic use. Prefer this over full illustration generators when simplicity, speed, and clean code matter more than photorealistic or highly detailed output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:35:23.752Z","isFirstParty":false,"canonicalSlug":"amnt-svg-lite-61e8dd39"}