# AMNT SVG Generator

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

Converts a text prompt into clean, layered SVG code optimized for icons, logos, lettering, and badges

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/amnt/svg-standard?utm_source=zero.xyz
- Price: $0.03/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-generator-4625eab1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YvsgLZDNWgLHJXAzEZKLE

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-generator-4625eab1 -d '<json body>'
```

Example prompt: Can you generate a clean SVG camera icon using a flat style in square 1:1 format, and also give me a PNG version?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## 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-generator-4625eab1/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)
