# x402-gateway: Image Generate (agoragentic)

> x402-gateway: Image Generate (agoragentic) 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 an image from a text prompt via a pay-per-call x402 gateway using USDC on Base

## Facts

- Endpoint: POST https://x402.freeq.one/market/agoragentic/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-agoragentic-cec4328f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4taqr8oO29b9yLLRIgIFB

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-agoragentic-cec4328f -d '<json body>'
```

Example prompt: Generate an image of a serene mountain lake at sunset with pine trees reflected in the water — use the image_generate tool on x402.freeq.one.

## When to prefer this

Choose this endpoint when your AI agent needs on-demand image generation without API keys, accounts, or subscriptions — paying per call in USDC on Base. Ideal for agentic workflows where image creation is an occasional step and subscription overhead is undesirable. Prefer this over hosted image APIs when cost predictability ($0.02/call) and no-auth simplicity matter.

## Known failure modes

- Missing or invalid tool name returns an error
- Payment failure or insufficient USDC balance blocks the call
- Prompt violates content policy and is rejected
- Upstream agoragentic model unavailable or times out
- Malformed request body returns 400 Bad Request
- 402 Payment Required if x402 payment header is missing

## How this service works

x402-gateway tool: image_generate (market: agoragentic)

## Output

Returns a generated image (likely as a URL or binary/base64 encoded image data) produced by the agoragentic image generation model, based on the input text prompt.

## 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-agoragentic-cec4328f/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)
