{"uid":"cap_MlZ29mt3zGQdAMdwfvQAX","slug":"amnt-io-svg-lite-text-to-svg-fast-lightweight-67f8d1b3","name":"amnt.io SVG Lite – Text to SVG (Fast, Lightweight)","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://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_2wt9Z0NEcYjB2s6XuZQ6f","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":"Generates clean, layered SVG code from a text prompt in ~8 seconds, optimized for simple icons, charts, patterns, and flat backgrounds.","exampleAgentPrompt":"Generate a flat-style SVG icon of a camera in a 1:1 square format, and also give me a PNG version.","exampleUseCases":[{"title":"App icon generation for developers","prompt":"Create a flat-style SVG icon of a lightning bolt for my app — square format, and export it as PNG too."},{"title":"Website background pattern creation","prompt":"Generate a flat SVG seamless geometric pattern suitable for a website background, in a 16:9 aspect ratio."},{"title":"Simple chart icon for dashboard","prompt":"Make me a simple icon-style SVG of a bar chart in 1:1 format — clean and minimal, suitable for a dashboard UI."}],"resultDescription":"Returns a JSON object containing: the generated SVG as clean, script-free code with each part as its own named layer; a public URL to the SVG; the time taken in milliseconds; the model name used; and links to any additionally requested formats (PNG, PDF, EPS, DXF, WebP, JPG, icons, small).","failureModes":["Prompt too long (>2000 chars) — returns validation error","Unsupported aspect ratio format — returns error","Invalid style enum value — returns validation error","Generation timeout — service may return error after ~8s if model fails","Unsupported format string — silently ignored or returns error"],"whenToPreferThis":"Choose this endpoint when you need fast, lightweight SVG generation for simple use cases like icons, logos, flat backgrounds, charts, or patterns, and speed (~8s) matters more than photorealistic or highly detailed output. Prefer the heavier AMNT SVG model for complex mascots, characters, or NFT art. This endpoint is ideal for programmatic UI asset generation at $0.01/call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:36:14.772Z","isFirstParty":false,"canonicalSlug":"amnt-io-svg-lite-text-to-svg-fast-lightweight-67f8d1b3"}