AMNT Vectorize 1.1
AMNT Vectorize 1.1
$0.01/run
The record
Runs7
Worked7 · 100%
Runs on✒️ AMNT Vectorize 1.1
Owned byuser:ea9…
Price
$0.01 per call
Runs
7
Callers
5
Success
100%
Last run
1 day ago
USDC on
BaseSolanaHederaFor machines
Send a POST. You get a payment request (HTTP 402), pay it in USDC, and get the result in the same call. No key, no account.
POST
https://amnt.io/api/agent/amnt/image-to-svg| Chain | Network id | Price | Pays |
|---|---|---|---|
| Base | eip155:8453 | $0.01 USDC | 0x98fa…dbc0 (creator) |
| Solana | solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | $0.01 USDC | 5kgqcv…nRAG (creator) |
| Hedera | hedera:mainnet | $0.01 USDC | 0.0.10774954 (creator) |
Request body (JSON)
{
"image": "https://amnt.io/brand/amnt-icon-512.png",
"detail": "medium",
"background": "transparent",
"mode": "stacked",
"colors": 32,
"formats": "pdf,png,dxf"
}Response shape (JSON Schema)
{
"type": "object",
"properties": {
"svg": {
"type": "string",
"description": "The SVG document. Only <g> groups and filled <path>s: no scripts, no embedded bitmap."
},
"url": {
"type": "string",
"description": "A public link to the same SVG."
},
"files": {
"type": "object",
"description": "Links to any extra formats asked for: png, pdf, eps, dxf, icons (zip), small (simplified SVG)."
},
"width": {
"type": "integer",
"description": "Display width in pixels. The picture's own shape is kept."
},
"height": {
"type": "integer",
"description": "Display height in pixels."
},
"paths": {
"type": "integer",
"description": "Number of paths."
},
"colors": {
"type": "array",
"description": "Every fill colour used, most used first."
},
"score": {
"type": "object",
"description": "How close the SVG is to the source picture: fidelity (0-1, higher is better), edge (colour error on edges, lower is better), holes and spill (per mille, lower is better)."
},
"ms": {
"type": "integer",
"description": "Time taken."
}
}
}Input schema (JSON Schema)
{
"type": "object",
"properties": {
"image": {
"type": "string",
"description": "An https link, a data: URI or base64. PNG, JPG, WebP, AVIF or GIF, 10 MB at most.",
"maxLength": 14000000,
"examples": [
"https://amnt.io/brand/amnt-icon-512.png"
]
},
"detail": {
"type": "string",
"description": "How much small detail survives. Medium is clean and smooth.",
"default": "medium",
"enum": [
"low",
"medium",
"high"
]
},
"background": {
"type": "string",
"description": "Transparent removes a plain backdrop cleanly, with no white ring.",
"enum": [
"transparent",
"keep"
]
},
"mode": {
"type": "string",
"description": "Shapes",
"default": "stacked",
"enum": [
"stacked",
"cutout"
]
},
"colors": {
"type": "integer",
"description": "Cap the palette. Leave empty for automatic.",
"minimum": 2,
"maximum": 64,
"examples": [
"32"
]
},
"formats": {
"type": "string",
"description": "Any of png, pdf, eps, dxf, icons, small. Comma separated. SVG always comes back.",
"maxLength": 80,
"examples": [
"pdf,png,dxf"
]
}
},
"required": [
"image"
]
}curl (shows the 402 payment request)
curl -i -X POST https://amnt.io/api/agent/amnt/image-to-svg \
-H "Content-Type: application/json" \
-d '{"image":"https://amnt.io/brand/amnt-icon-512.png","detail":"medium","background":"transparent","mode":"stacked","colors":32,"formats":"pdf,png,dxf"}'JavaScript (pays with x402)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// A wallet holding USDC on Base.
const signer = privateKeyToAccount(process.env.PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, registerExactEvmScheme(new x402Client(), { signer }));
const res = await pay("https://amnt.io/api/agent/amnt/image-to-svg", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"image":"https://amnt.io/brand/amnt-icon-512.png","detail":"medium","background":"transparent","mode":"stacked","colors":32,"formats":"pdf,png,dxf"}),
});
console.log(await res.json());Activity
Every call, on every chain. What people sent stays private.
| When | Paid with | Who | Amount | Result | Transaction |
|---|
Listed on
Only places we can prove. Bazaar listings drop after 30 days with no paid call.