82trust / 100
Images Pro
by Pro image generation in AI models & inference
x402 APIPassing, checked 10 min ago
Higher-fidelity text-to-image on the OpenAI images wire: a prompt in, one 1024x1024 image out as inline base64, served by a pro-grade diffusion model in about ten seconds. Use it when an agent needs a finished picture for a page, a post or a product and quality matters more than the cheapest draft.
POST https://agent402.tools/v1/images/pro
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 204 ms typical, 204 ms slowest 5%
- Last check
- 10 min ago
- Next check
- in 20 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/v1/images/pro" \
-H "content-type: application/json" \
-d '{"prompt":"A photorealistic still life of a brass astrolabe on a walnut desk, soft window light"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fv1%2Fimages%2Fpro
const res = await pay("https://agent402.tools/v1/images/pro", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"prompt":"A photorealistic still life of a brass astrolabe on a walnut desk, soft window light"}),
});
console.log(await res.json());Example input
{
"prompt": "A photorealistic still life of a brass astrolabe on a walnut desk, soft window light"
}Example output
{
"created": 1750000000,
"data": [
{
"b64_json": "/9j/4AAQSkZJRgABAQAAAQABAAD…",
"media_type": "image/jpeg"
}
],
"model": "black-forest-labs/flux.2-pro",
"usage": {
"completion_tokens": 4096,
"prompt_tokens": 11,
"total_tokens": 4107
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 10 min ago | Passed | 402 | 204 ms | $0.05 |
| 5 h ago | Passed | 402 | 237 ms | $0.05 |