80trust / 100

Image Fast

by x402engine.app in AI models & inference

x402 APIPassing, checked 32 min ago

x402engine — Quick image generation using FLUX Schnell (~2s, good for drafts)

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
278 ms typical, 311 ms slowest 5%
Last check
32 min 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/fast" \
  -H "content-type: application/json" \
  -d '{"height":1024,"prompt":"a red sports car","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%2Ffast
const res = await pay("https://x402engine.app/api/image/fast", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"height":1024,"prompt":"a red sports car","seed":42,"width":1024}),
});
console.log(await res.json());

Example input

{
  "height": 1024,
  "prompt": "a red sports car",
  "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
32 min agoPassed402276 ms$0.015
4 h agoPassed402278 ms$0.015
8 h agoPassed402311 ms$0.015
11 h agoPassed402310 ms$0.015
15 h agoPassed402362 ms$0.015
19 h agoPassed402190 ms$0.015
22 h agoPassed402279 ms$0.015
26 h agoPassed402263 ms$0.015
30 h agoPassed402186 ms$0.015
33 h agoPassed402291 ms$0.015
38 h agoPassed402188 ms$0.015