# AMNT SVG Generate HD

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

Converts a text prompt into a high-definition SVG by generating a fine raster image then performing a clean vector trace, with control over style, color palette, detail level, and output formats.

## Facts

- Endpoint: POST https://www.amnt.io/api/os-tools/svg-generate-hd
- Price: $0.08/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-hd-b8203f38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ty-rM7u1SQgrv0N3biDaO

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-hd-b8203f38 -d '<json body>'
```

Example prompt: Generate an HD SVG of a friendly fox mascot waving, use the icon style with stacked mode, 32 colors, medium detail, and make the background transparent — also give me a PNG version alongside the SVG.

## When to prefer this

Choose this endpoint when you need production-quality SVG output from a text prompt, especially for logos, icons, mascots, and illustrations that require a clean vector trace. The HD pipeline (fine raster → clean trace) makes it superior to standard prompt-to-SVG tools for professional design assets. Prefer it over lower-quality alternatives when output will be used at large scale, in print, or embedded in a UI where crispness matters.

## Known failure modes

- Prompt too long (exceeds 2000 characters) — request rejected
- Invalid enum value for mode, style, detail, or background — validation error
- Color count outside 2–64 range — validation error
- Unsupported format string in formats field — may return error or silently ignore unknown tokens
- Complex photorealistic prompts may produce noisy traces despite HD pipeline
- Payment not included or insufficient — x402 payment required error

## How this service works

AMNT SVG Generate HD - Prompt to SVG at HD quality: finer drawing, then a clean trace.

## Output

Returns an SVG file (always included) and optionally PNG, PDF, EPS, DXF, or icon/small variants depending on the formats parameter. The SVG is produced via a two-stage HD pipeline: a high-resolution raster render followed by a clean vector trace, yielding finer detail than a standard single-pass conversion.

## 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."
  },
  "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-hd-b8203f38/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)
