# AMNT SVG Pro - Text to SVG Generator

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

Generates detailed, layered SVG artwork from a text prompt using AMNT's strongest model, optimized for mascots, characters, and NFT art.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/amnt/svg-pro?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amnt-svg-pro-text-to-svg-generator-3c72f285
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7_GIOsK4u1MLTjMLmCf7W

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-pro-text-to-svg-generator-3c72f285 -d '<json body>'
```

Example prompt: Generate a detailed SVG of a friendly dragon mascot in illustration style with a 1:1 aspect ratio — I want clean, editable code with each body part on its own named layer, and also export it as a PNG.

## When to prefer this

Choose this endpoint when you need high-quality, layered SVG output for complex subjects like mascots, characters, or NFT art — especially when editability matters (named layers, clean shapes). Prefer it over simpler SVG generators when the subject has multiple distinct parts that benefit from layer separation, or when you need additional export formats alongside the SVG.

## Known failure modes

- Prompt too long (exceeds 2000 character limit) — request rejected
- Invalid aspect ratio string — returns validation error
- Unsupported format requested in formats field — format silently skipped or error
- Generation timeout — ~40s latency means occasional timeouts under load
- Ambiguous or abstract prompts may produce unexpected or low-quality SVG output
- Payment failure via x402 protocol — endpoint returns 402 before generation begins

## How this service works

AMNT SVG Pro 1.1 - Text to detailed SVG code from AMNT's strongest model. Best for mascots, characters and NFT art. Returns clean SVG, each part its own named layer. About 40 s.

## Output

Returns a JSON object containing: clean SVG source code with real shapes and editable text (no scripts or external links), a public URL to the SVG, an array of named layers (one per visual element), links to any additionally requested format files (PNG, PDF, EPS, etc.), the model that ran, and generation time 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-pro-text-to-svg-generator-3c72f285/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)
