AI
API · x402

Generate one 1024×1024 image from a short prompt (max 600 chars) with FLUX.1 [schnell]…

Generate one 1024×1024 image from a short prompt (max 600 chars) with FLUX.1 [schnell] (Apache-2.0) on our Cloudflare Worker via Workers AI. Before generation we detect the medium you asked for (photo, illustration, flat vector, logo/icon, watercolor, oil pai…

by Money Maker x402 tools (AI Policy Kit shop) · verified provider · updated 2026-10-24

30d calls—
30d payers—
MethodHTTP
Outputjson

What it does

Generate one 1024×1024 image from a short prompt (max 600 chars) with FLUX.1 [schnell] (Apache-2.0) on our Cloudflare Worker via Workers AI. Before generation we detect the medium you asked for (photo, illustration, flat vector, logo/icon, watercolor, oil painting, pencil sketch, ink, anime, comic, pixel art, 3D render, digital painting) and rewrite the prompt to honour it, with style-specific quality guidance (e.g. real lens and natural light for photos, clean 2D linework for illustrations); no medium named = natural photo. The medium is never switched and nothing unrequested is added; set style to force one, or enhance=false to use your prompt as written. Both your prompt and the final prompt go through our content screen (keyword rules + an LLM check): sexual content, minors, violence/weapons, real or identifiable people, hate and illegal content are refused with 400 and you are not charged. The image itself is not classified. Returns a base64 JPEG plus the final prompt and detected style. Capped at a small number of images per day: 503 (not charged) when used up.

Tags: image-generation · text-to-image · flux · illustration · photo · logo

Call contract

Method
HTTP
Input
HTTP request
Output
json
No input exampleProvider did not publish one in Bazaar metadata.
No output exampleProvider did not publish one in Bazaar metadata.

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/69332.json for the price and payment options.
  3. Pay. Call GET https://ai-policy-kit.moneymaker-ai.workers.dev/api/ai/image. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x5b4Ca59741DE12DC212982b342392a063492a021300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x5b4Ca59741DE12DC212982b342392a063492a021",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  }
]

Examples

curl
curl -X GET 'https://ai-policy-kit.moneymaker-ai.workers.dev/api/ai/image'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://ai-policy-kit.moneymaker-ai.workers.dev/api/ai/image", {
  "method": "GET"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.request("GET", "https://ai-policy-kit.moneymaker-ai.workers.dev/api/ai/image")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
Money Maker x402 tools (AI Policy Kit shop)
Endpoint
https://ai-policy-kit.moneymaker-ai.workers.dev/api/ai/image
Machine-readable
/resources/69332.json