$0.03
per call · USD Coin on Base
Generate images from text prompts. Pay per call with USDC (x402) or credits - archtools.dev
Endpoint
POST https://archtools.dev/v1/tools/image-generate5
Calls / 30d
3
Unique payers / 30d
Sep 4
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://archtools.dev/v1/tools/image-generate", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"prompt": "example",
"size": "1024x1024",
"style": "vivid"
}),
});
const data = await res.json();curl -X POST \
"https://archtools.dev/v1/tools/image-generate" \
-H "Content-Type: application/json" \
-d '{"prompt":"example","size":"1024x1024","style":"vivid"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"ok": true
}Payment details
0x2583aac89f58a63d9ccbedaa5e3baf2196aa967eUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Media & Generation and the homepage with a featured placement.
More from Archtools & similar services
Archtools · Tools Transcribe Audio
archtools.dev
Transcribe audio to text in 100+ languages via Whisper. Send a file URL, get an accurate transcript back in one call. Pay per call with USDC (x402) or credits - archtools.dev
Archtools · Tools Search WEB
archtools.dev
Web search with structured results - title, URL and snippet - ready for agent consumption. Fresh results in one POST. Pay per call with USDC (x402) or credits - archtools.dev
Archtools · Tools Text TO Speech
archtools.dev
Convert text to natural-sounding audio via ElevenLabs (returns base64 MP3). Pay per call with USDC (x402) or credits - archtools.dev