80trust / 100

Image Quality

by x402engine.app in AI models & inference

x402 APIPassing, checked 28 min ago

x402engine — High-quality image generation using FLUX.2 Pro (~5s, production-ready)

POST https://x402engine.app/api/image/quality

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
270 ms typical, 657 ms slowest 5%
Last check
28 min ago
Next check
in 2 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402engine.app/api/image/quality" \
  -H "content-type: application/json" \
  -d '{"height":1024,"prompt":"a sunset over mountains","seed":42,"width":1024}'
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%2Fquality
const res = await pay("https://x402engine.app/api/image/quality", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"height":1024,"prompt":"a sunset over mountains","seed":42,"width":1024}),
});
console.log(await res.json());

Example input

{
  "height": 1024,
  "prompt": "a sunset over mountains",
  "seed": 42,
  "width": 1024
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
28 min agoPassed402185 ms$0.05
4 h agoPassed402257 ms$0.05
8 h agoPassed402408 ms$0.05
11 h agoPassed402657 ms$0.05
15 h agoPassed402229 ms$0.05
19 h agoPassed402322 ms$0.05
22 h agoPassed402275 ms$0.05
26 h agoPassed402246 ms$0.05
30 h agoPassed402270 ms$0.05
32 h agoPassed4021.3 s$0.05
38 h agoPassed402200 ms$0.05