# AMNT SVG Generate

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

Takes a text prompt and returns a clean, vector-traced SVG (plus optional formats) by rendering an image and auto-tracing it into scalable vector output.

## Facts

- Endpoint: POST https://www.amnt.io/api/os-tools/svg-generate
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amnt-svg-generate-16396d6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hREi-0fFF5dfShKzrM9M8

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-generate-16396d6e -d '<json body>'
```

Example prompt: Generate me a flat-style SVG of a friendly fox mascot waving, in a 1:1 square format with a transparent background, about 32 colors, medium detail — and also give me a PNG version.

## When to prefer this

Choose this endpoint when you need a scalable vector graphic (SVG) generated directly from a text description in a single API call, especially for icons, logos, flat illustrations, or pixel art that need clean traces. It is ideal when you also need derivative formats like DXF for CNC/laser cutting, EPS for print, or PDF alongside the SVG. Prefer it over raster-only image generation when the output must scale without quality loss or be imported into vector editing tools.

## Known failure modes

- Prompt too vague or abstract resulting in poor trace quality
- Requesting more than 64 colors causes validation error
- Prompt exceeds 2000 character limit
- Unsupported format string causes parsing failure
- Complex photorealistic prompts produce noisy traces not suitable for vector use
- Network or payment authorization failure returns 402 or 5xx

## How this service works

AMNT SVG Generate - Describe it, get a clean SVG back in one call: drawn for vector, then traced.

## Output

Returns a clean, vector-traced SVG always included, plus any additionally requested formats (PNG, PDF, EPS, DXF, icons, small) as separate files or URLs in the response. The SVG is produced by first rendering the prompt as an image, then tracing it into precise vector paths with palette and detail controlled by the input parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "stacked",
    "cutout"
   ],
   "type": "string",
   "default": "stacked",
   "description": "Shapes"
  },
  "style": {
   "enum": [
    "auto",
    "flat",
    "icon",
    "logo",
    "illustration",
    "pixel"
   ],
   "type": "string",
   "default": "auto",
   "description": "Flat, icon and logo trace cleanest."
  },
  "aspect": {
   "enum": [
    "1:1",
    "3:2",
    "2:3",
    "16:9",
    "9:16"
   ],
   "type": "string",
   "default": "1:1",
   "description": "Shape"
  },
  "colors": {
   "type": "integer",
   "maximum": 64,
   "minimum": 2,
   "examples": [
    "32"
   ],
   "description": "Cap the palette. Leave empty for automatic."
  },
  "detail": {
   "enum": [
    "low",
    "medium",
    "high"
   ],
   "type": "string",
   "default": "medium",
   "description": "How much small detail survives. Medium removes the grain that makes a trace look traced."
  },
  "prompt": {
   "type": "string",
   "examples": [
    "a friendly fox mascot waving"
   ],
   "maxLength": 2000,
   "description": "What to draw, in plain words."
  },
  "formats": {
   "type": "string",
   "examples": [
    "pdf,png,dxf"
   ],
   "maxLength": 80,
   "description": "Any of png, pdf, eps, dxf, icons, small. Comma separated. SVG always comes back."
  },
  "background": {
   "enum": [
    "transparent",
    "keep"
   ],
   "type": "string",
   "description": "Transparent removes a plain backdrop cleanly, with no white ring."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amnt-svg-generate-16396d6e/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)
