15trust / 100

Image

by GEDX402 Image in AI models & inference

x402 APIFailing, checked 4 h ago

Fast text-to-image with Flux 1 Schnell (@cf/black-forest-labs/flux-1-schnell). POST prompt and optional dimensions; returns base64 image output. Hero: GET /heroes/flux-schnell. Per-generation x402 pricing per USDC per request (see npm run pricing:report).

POST https://image.gedx402.com/v1/image/:model

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
4 h ago: Expected HTTP 402, got 404
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://image.gedx402.com/v1/image/:model" \
  -H "content-type: application/json" \
  -d '{"num_steps":4,"prompt":"A cat astronaut on the moon"}'
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%2Fimage.gedx402.com%2Fv1%2Fimage%2F%3Amodel
const res = await pay("https://image.gedx402.com/v1/image/:model", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"num_steps":4,"prompt":"A cat astronaut on the moon"}),
});
console.log(await res.json());

Example input

{
  "num_steps": 4,
  "prompt": "A cat astronaut on the moon"
}

Example output

{
  "image": "<base64>"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoExpected HTTP 402, got 404404829 ms-
8 h agoExpected HTTP 402, got 404404641 ms-
13 h agoExpected HTTP 402, got 404404777 ms-
17 h agoExpected HTTP 402, got 404404537 ms-
21 h agoExpected HTTP 402, got 404404370 ms-
24 h agoExpected HTTP 402, got 404404390 ms-
28 h agoExpected HTTP 402, got 404404489 ms-
32 h agoExpected HTTP 402, got 404404503 ms-
37 h agoExpected HTTP 402, got 404404550 ms-
41 h agoExpected HTTP 402, got 404404431 ms-
45 h agoExpected HTTP 402, got 404404377 ms-
2 days agoExpected HTTP 402, got 404404383 ms-
2 days agoExpected HTTP 402, got 404404580 ms-
2 days agoExpected HTTP 402, got 404404668 ms-