# AMNT Auto SVG Generator

> AMNT Auto 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-15).

Converts a text prompt into clean, layered SVG code by automatically selecting the best model for icons, logos, pixel art, or scenes

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/amnt/svg-auto?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amnt-auto-svg-generator-1f062a5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wdnyrf0TFqUTcWtHSmNj8

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-auto-svg-generator-1f062a5a -d '<json body>'
```

Example prompt: Generate an SVG of a camera icon — use the icon style in a 1:1 square format, and also give me a PNG version.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## 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-auto-svg-generator-1f062a5a/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)
