AMNT SVG 1.1
Price
$0.03 per call
Runs
5
Callers
4
Success
100%
Last run
2 days 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/svg-standard| Chain | Network id | Price | Pays |
|---|---|---|---|
| Base | eip155:8453 | $0.03 USDC | 0x98fa…dbc0 (creator) |
| Solana | solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | $0.03 USDC | 5kgqcv…nRAG (creator) |
| Hedera | hedera:mainnet | $0.03 USDC | 0.0.10774954 (creator) |
Request body (JSON)
{
"prompt": "a camera icon",
"style": "auto",
"aspect": "1:1",
"formats": "pdf,png"
}Response shape (JSON Schema)
{
"type": "object",
"properties": {
"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 SVG model asked for."
},
"ran": {
"type": "string",
"description": "The model that made it (Auto picks one per request)."
},
"layers": {
"type": "array",
"description": "Each part as its own named layer."
},
"ms": {
"type": "integer",
"description": "Time taken."
}
}
}Input schema (JSON Schema)
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "What to draw, in plain words.",
"maxLength": 2000,
"examples": [
"a camera icon"
]
},
"style": {
"type": "string",
"description": "Style",
"default": "auto",
"enum": [
"auto",
"icon",
"logo",
"flat",
"illustration",
"pixel"
]
},
"aspect": {
"type": "string",
"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.",
"default": "1:1",
"maxLength": 12,
"examples": [
"1:1"
]
},
"formats": {
"type": "string",
"description": "Any of png, pdf, eps, dxf, icons, small, webp, jpg. Comma separated. SVG always comes back.",
"maxLength": 80,
"examples": [
"pdf,png"
]
}
},
"required": [
"prompt"
]
}curl (shows the 402 payment request)
curl -i -X POST https://amnt.io/api/agent/amnt/svg-standard \
-H "Content-Type: application/json" \
-d '{"prompt":"a camera icon","style":"auto","aspect":"1:1","formats":"pdf,png"}'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/svg-standard", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"prompt":"a camera icon","style":"auto","aspect":"1:1","formats":"pdf,png"}),
});
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.
⏳ Waiting for a first paid call on Solana.