78trust / 100

Image Quality

by x402-gateway-production.up.railway.app in AI models & inference

x402 APIPassing, checked 1 h ago

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

POST https://x402-gateway-production.up.railway.app/api/image/quality

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
355 ms typical, 411 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://x402-gateway-production.up.railway.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%2Fx402-gateway-production.up.railway.app%2Fapi%2Fimage%2Fquality
const res = await pay("https://x402-gateway-production.up.railway.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
1 h agoPassed402355 ms$0.05
5 h agoPassed402331 ms$0.05
8 h agoPassed402358 ms$0.05
12 h agoPassed402363 ms$0.05
16 h agoPassed402411 ms$0.05
19 h agoPassed402331 ms$0.05
23 h agoPassed402337 ms$0.05
26 h agoPassed402390 ms$0.05
31 h agoPassed4024.5 s$0.05
34 h agoPassed402180 ms$0.05
37 h agoPassed402356 ms$0.05
42 h agoPassed402341 ms$0.05