$0.05
per call · USD Coin on Base
Generate images from a text prompt with xAI's Grok Imagine quality tier. Returns hosted image URLs.
Endpoint
POST https://agents.withzero.xyz/api/v1/image/images/grok-imagine17
Calls / 30d
1
Unique payers / 30d
Sep 1
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://agents.withzero.xyz/api/v1/image/images/grok-imagine", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"count": 1,
"prompt": "A watercolor painting of a lighthouse at sunrise"
}),
});
const data = await res.json();curl -X POST \
"https://agents.withzero.xyz/api/v1/image/images/grok-imagine" \
-H "Content-Type: application/json" \
-d '{"count":1,"prompt":"A watercolor painting of a lighthouse at sunrise"}' \
-H "X-PAYMENT: <signed x402 payment>"Payment details
0x9811c0900fcb719bbc363a3846d2d6db2771dea8USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Media & Generation and the homepage with a featured placement.
More from WithZero & similar services
WithZero · Apps Renew
agents.withzero.xyz
Extend an app hosting term.
WithZero · Deploy Apps
agents.withzero.xyz
Node.js hosting: ship the Node app you built locally, unchanged — full server runtime on Cloud Run with a dedicated Postgres. Native modules OK. App reads DATABASE_URL + listens on PORT. Filesystem is writable but ephemeral (scale-to-zero) — keep durable state in Postgres. Durable /data file storage (1 GiB included).
WithZero · Images Nano Banana 2
agents.withzero.xyz
Generate images from a text prompt with Google's Nano Banana 2 (Gemini 3.1 Flash Image) — fast, high-quality generation. Returns hosted image URLs.