# x402-gateway image_generate_quality (bazaar)

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

Generates a high-quality image from a text prompt via the x402 payment-gated gateway on the bazaar market

## Facts

- Endpoint: POST https://x402.freeq.one/market/bazaar/tools/image_generate_quality?utm_source=zero.xyz
- Price: $0.09/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-quality-bazaar-ab96c0d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iJ69m31iPEhrmSM6ScQ8e

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-quality-bazaar-ab96c0d0 -d '<json body>'
```

Example prompt: Use the image_generate_quality tool on the x402 bazaar gateway to generate a high-quality image of a serene mountain lake at sunrise with mist over the water and pine trees in the foreground.

## When to prefer this

Choose this endpoint when you need high-quality AI image generation on a pay-per-use basis (no subscription), especially when operating in an x402-compatible payment environment using USDC. It is preferable over subscription-based image APIs when budget control per call matters, or when integrating into an agentic workflow that already handles x402 micropayments.

## Known failure modes

- Payment not included or insufficient USDC — returns 402 Payment Required
- Invalid or missing tool name in request body — returns 400 Bad Request
- Prompt violates content policy — returns 4xx with policy violation message
- Generation service temporarily unavailable — returns 503 or timeout
- Malformed request body — returns 400 with schema validation error

## How this service works

x402-gateway tool: image_generate_quality (market: bazaar)

## Output

The endpoint returns a generated image (likely as a URL or base64-encoded image data) produced by an AI image generation model, reflecting the text prompt provided in the tool call, gated by an x402 micropayment of $0.09 USDC.

## 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-quality-bazaar-ab96c0d0/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)
