# x402-gateway Image Generate (Bazaar)

> x402-gateway Image Generate (Bazaar) is a paid API for AI agents from x402.freeq.one, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Generates images from text prompts via the x402 pay-per-call gateway on the Bazaar market, billed at $0.02 USDC per call

## Facts

- Endpoint: POST https://x402.freeq.one/market/bazaar/tools/image_generate?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-image-generate-bazaar-0afef714
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7NA0i_dHzqICgxCdAADwL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-gateway-image-generate-bazaar-0afef714 -d '<json body>'
```

Example prompt: Generate an image of a futuristic city skyline at sunset with neon lights reflecting off wet streets, using the image_generate tool.

## When to prefer this

Choose this endpoint when you need programmatic image generation via a pay-per-call model using x402/USDC micropayments, and you are already integrated with the x402 payment protocol. It is suitable for agents that need lightweight, on-demand image creation without subscription commitments. If you need higher-quality output, consider the sibling image_generate_quality endpoint instead.

## Known failure modes

- Payment failure if wallet lacks sufficient USDC balance
- Invalid tool name causes 400 error
- Prompt policy violation or content filter rejection
- Gateway timeout if image generation takes too long
- x402 payment protocol handshake failure

## How this service works

x402-gateway tool: image_generate (market: bazaar)

## Output

Returns a generated image (likely as a URL or base64-encoded image data) produced from the provided text prompt, billed at $0.02 USDC via the x402 payment protocol on the Bazaar market.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tool": {
   "type": "string",
   "description": "Tool name (see GET /tools for the catalog)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-image-generate-bazaar-0afef714/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.freeq.one](https://www.zero.xyz/host/x402.freeq.one/llms.txt)
