78trust / 100
Image Gpt Image 2 5
by x402engine.app in AI models & inference
x402 APIPassing, checked 1 h ago
x402engine — Generate one 1024×1024 PNG with GPT Image 2.5 Flare at high quality
POST https://x402engine.app/api/image/gpt-image-2.5
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 297 ms typical, 376 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402engine.app/api/image/gpt-image-2.5" \
-H "content-type: application/json" \
-d '{"prompt":"A small red sailboat on a calm lake at sunrise"}'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%2Fx402engine.app%2Fapi%2Fimage%2Fgpt-image-2.5
const res = await pay("https://x402engine.app/api/image/gpt-image-2.5", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"prompt":"A small red sailboat on a calm lake at sunrise"}),
});
console.log(await res.json());Example input
{
"prompt": "A small red sailboat on a calm lake at sunrise"
}Example output
{
"images": [
{
"height": 1024,
"url": "https://example.com/generated-image.png",
"width": 1024
}
]
}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 |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 247 ms | $0.25 |
| 5 h ago | Passed | 402 | 310 ms | $0.25 |
| 8 h ago | Passed | 402 | 325 ms | $0.25 |
| 12 h ago | Passed | 402 | 365 ms | $0.25 |
| 16 h ago | Passed | 402 | 275 ms | $0.25 |
| 19 h ago | Passed | 402 | 292 ms | $0.25 |
| 23 h ago | Passed | 402 | 376 ms | $0.25 |
| 26 h ago | Passed | 402 | 282 ms | $0.25 |
| 30 h ago | Passed | 402 | 364 ms | $0.25 |
| 34 h ago | Passed | 402 | 275 ms | $0.25 |
| 37 h ago | Passed | 402 | 367 ms | $0.25 |
| 42 h ago | Passed | 402 | 297 ms | $0.25 |
| 45 h ago | Passed | 402 | 1.3 s | $0.25 |
| 2 days ago | Passed | 402 | 237 ms | $0.25 |