84trust / 100

Image

by FLUX Image for Agents in AI models & inference

x402 APIPassing, checked 3 h ago

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.

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

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -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"}'
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fimage
const res = await pay("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"}),
});
console.log(await res.json());

Example input

{
  "aspect_ratio": "1:1",
  "prompt": "A friendly robot creating digital art for an AI agent",
  "quality_profile": "balanced"
}

Example output

{
  "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
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40290 ms$0.01