{"uid":"cap_wdnyrf0TFqUTcWtHSmNj8","slug":"amnt-auto-svg-generator-1f062a5a","name":"AMNT Auto SVG Generator","description":"Text to SVG code. AMNT picks the best model for each request: icons, logos, pixel art, scenes. Returns clean SVG, each part its own named layer. 8-30 s.","url":"https://www.amnt.io/api/agent/amnt/svg-auto?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_CtvwmmrkU3cXIscChta5-","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 by automatically selecting the best model for icons, logos, pixel art, or scenes","exampleAgentPrompt":"Generate an SVG of a camera icon — use the icon style in a 1:1 square format, and also give me a PNG version.","exampleUseCases":[{"title":"App icon generation for developers","prompt":"Create an SVG icon of a lightning bolt for my app — use the icon style, square format, and return a PNG too so I can use both."},{"title":"Brand logo creation","prompt":"Generate a flat-style SVG logo of a tree inside a circle for my outdoor brand, in a 16:9 wide aspect ratio."},{"title":"Pixel art game asset","prompt":"Make a pixel art SVG of a small spaceship in a 1:1 square format — I need it as both SVG and WebP."}],"resultDescription":"Returns a JSON object containing the full SVG as clean, script-free code with named layers for each element, a public URL to the hosted SVG, the name of the model that generated it, elapsed time in milliseconds, and optionally links to additional formats like PNG, PDF, EPS, DXF, or WebP if requested.","failureModes":["Prompt exceeds 2000 characters — request rejected","Invalid aspect ratio format — must match preset or W:H pattern up to 3:1","Invalid style enum value — must be one of auto, icon, logo, flat, illustration, pixel","Unsupported format string — only png, pdf, eps, dxf, icons, small, webp, jpg accepted","Generation timeout — complex scenes may occasionally fail to complete","Payment failure — x402 payment of $0.03 USDC required per call"],"whenToPreferThis":"Choose this endpoint when you need clean, editable SVG output with separately named layers from a plain-text description, especially when you want automatic model selection across icon, logo, flat, illustration, and pixel art styles. Prefer it over generic image generators when scalability, editability, and structured layer output matter. It is especially useful for programmatic graphic pipelines, app asset generation, or design tooling where SVG fidelity and layering are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:40:54.541Z","isFirstParty":false,"canonicalSlug":"amnt-auto-svg-generator-1f062a5a"}