# AMNT SVG Lite

> AMNT SVG Lite is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Converts a plain-text prompt into clean, layered SVG code optimized for icons, charts, patterns, and flat backgrounds in about 8 seconds.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/amnt/svg-lite?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amnt-svg-lite-61e8dd39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uc1WZTh32Tj6T5e7195_g

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability amnt-svg-lite-61e8dd39 -d '<json body>'
```

Example prompt: Generate an SVG of a camera icon in a flat style at 1:1 aspect ratio, and also give me a PNG version.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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 SV
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amnt-svg-lite-61e8dd39/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.amnt.io](https://www.zero.xyz/host/www.amnt.io/llms.txt)
