78trust / 100

Generate

by Combify Compute in AI models & inference

x402 APIPassing, checked 2 h ago

Create new imagery from a text description (FLUX.1 schnell), fixed price $0.02 USDC. Use this when you need a new picture; use /caption to read an existing image. POST JSON body {prompt (required, max 2048 chars), steps (optional 1-8, default 4, higher is slower but sharper), seed (optional, same seed repeats the image)}. Returns base64 JPEG. Unpaid calls get 402; paid calls settle only on success.

POST https://compute.combify.app/generate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
246 ms typical, 444 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://compute.combify.app/generate" \
  -H "content-type: application/json" \
  -d '{"prompt":"a cyberpunk lizard"}'
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%2Fcompute.combify.app%2Fgenerate
const res = await pay("https://compute.combify.app/generate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"prompt":"a cyberpunk lizard"}),
});
console.log(await res.json());

Example input

{
  "prompt": "a cyberpunk lizard"
}

Example output

{
  "content_type": "image/jpeg",
  "est_cost_usd": 0.00063,
  "image": "base64-encoded JPEG",
  "model": "@cf/black-forest-labs/flux-1-schnell"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402273 ms$0.02
5 h agoPassed402233 ms$0.02
9 h agoPassed402235 ms$0.02
12 h agoPassed402221 ms$0.02
16 h agoPassed402246 ms$0.02
19 h agoPassed402444 ms$0.02
23 h agoPassed402283 ms$0.02
27 h agoPassed4021.5 s$0.02
31 h agoPassed402223 ms$0.02
35 h agoPassed402299 ms$0.02
37 h agoPassed402265 ms$0.02
43 h agoPassed402237 ms$0.02