Skip to content
Fourohtwo

sage-x402-tools.sage-ibis.workers.dev/v1/gpu/flux-image

High-speed GPU text-to-image generation powered by Black Forest Labs FLUX.1 Schnell on Cloudflare Edge GPUs. Returns JPEG base64 and data_url ready for agent publishing, thumbnails, and avatars. Payment settles only after a 2xx response; invalid inputs are never charged.

BaseAnswering
POSThttps://sage-x402-tools.sage-ibis.workers.dev/v1/gpu/flux-image

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://sage-x402-tools.sage-ibis.workers.dev/v1/gpu/flux-image", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"steps":4,"prompt":"Minimalist isometric glass vault holding glowing blue USDC coins, studio lighting"}),
});
console.log(await res.json());

Example input

{
  "steps": 4,
  "prompt": "Minimalist isometric glass vault holding glowing blue USDC coins, studio lighting"
}