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

WhenResultHTTPTimePrice
1 h agoPassed402247 ms$0.25
5 h agoPassed402310 ms$0.25
8 h agoPassed402325 ms$0.25
12 h agoPassed402365 ms$0.25
16 h agoPassed402275 ms$0.25
19 h agoPassed402292 ms$0.25
23 h agoPassed402376 ms$0.25
26 h agoPassed402282 ms$0.25
30 h agoPassed402364 ms$0.25
34 h agoPassed402275 ms$0.25
37 h agoPassed402367 ms$0.25
42 h agoPassed402297 ms$0.25
45 h agoPassed4021.3 s$0.25
2 days agoPassed402237 ms$0.25