FLUX Image for Agents · Image

by FLUX Image for Agents

POSTBaseSolana

$0.01

per call · USD Coin on Base

Delx Commerce cheap image generation API for agents at $0.01 USDC. Call when you need a product visual, ad creative, thumbnail, banner, logo concept, or social graphic with no API key or monthly plan. Commercial FLUX Schnell stills via x402 on Base or Solana—public WebP URL, SHA-256 receipt, and 11 aspect ratios. No subscription.

Endpoint

POST https://api.delx.ai/api/v1/x402/image

28

Calls / 30d

10

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.delx.ai/api/v1/x402/image", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "aspect_ratio": "1:1",
    "prompt": "A friendly robot creating digital art for an AI agent",
    "quality_profile": "balanced"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.delx.ai/api/v1/x402/image" \
  -H "Content-Type: application/json" \
  -d '{"aspect_ratio":"1:1","prompt":"A friendly robot creating digital art for an AI agent","quality_profile":"balanced"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "aspect_ratio": "1:1",
  "bytes": 21302,
  "generation_id": "d61c158acd974528be6af43a3bfac50f",
  "height": 1024,
  "image_url": "https://api.delx.ai/api/v1/generated-images/d61c158acd974528be6af43a3bfac50f.webp",
  "media_type": "image/webp",
  "model": "black-forest-labs/flux-schnell",
  "prompt_policy_version": "balanced/v1",
  "provider": "replicate",
  "quality_profile": "balanced",
  "sale_price_usdc": 0.01,
  "sha256": "b1fee3065c234364feb056ee4ad06f135c0d30039eaff0e92e52e371e884cb29",
  "width": 1024
}

Payment details

Pay to0x9f8bd9875b3e0b632a24a3a7c73f7787175e73a2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from FLUX Image for Agents & similar services