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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 273 ms | $0.02 |
| 5 h ago | Passed | 402 | 233 ms | $0.02 |
| 9 h ago | Passed | 402 | 235 ms | $0.02 |
| 12 h ago | Passed | 402 | 221 ms | $0.02 |
| 16 h ago | Passed | 402 | 246 ms | $0.02 |
| 19 h ago | Passed | 402 | 444 ms | $0.02 |
| 23 h ago | Passed | 402 | 283 ms | $0.02 |
| 27 h ago | Passed | 402 | 1.5 s | $0.02 |
| 31 h ago | Passed | 402 | 223 ms | $0.02 |
| 35 h ago | Passed | 402 | 299 ms | $0.02 |
| 37 h ago | Passed | 402 | 265 ms | $0.02 |
| 43 h ago | Passed | 402 | 237 ms | $0.02 |