# JarvisClaw Image Generation

> JarvisClaw Image Generation is a paid API for AI agents from api.jarvisclaw.ai, paid per call via x402, $0.041/call, status unknown (last checked 2026-09-15).

Generates images from text prompts via an OpenAI-compatible API gateway, billed per-call in USDC on Base or Solana

## Facts

- Endpoint: GET https://api.jarvisclaw.ai/v1/images/generations
- Price: $0.041/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jarvisclaw-image-generation-339301c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nqZ0Iu4WkUMssnmBAQ9AY

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 jarvisclaw-image-generation-339301c4
```

Example prompt: Generate an image of a futuristic cityscape at sunset with flying cars and neon lights, using the gpt-4.1-nano model.

## When to prefer this

Choose this endpoint when you need text-to-image generation via an OpenAI-compatible interface, want pay-per-call crypto billing (USDC on Base or Solana) without a subscription, or need smart model routing across providers. Prefer over direct OpenAI if you want decentralized payment settlement or multi-model routing flexibility.

## Known failure modes

- 402 Payment Required if no valid x402 payment header is provided
- Invalid model ID returns 400 or model-not-found error
- Prompt policy violation returns content filter error
- Network timeout for large or complex image generation requests
- Unsupported parameters (e.g. messages array instead of prompt) may return schema validation error

## How this service works

AI image generation - DALL-E 3, Flux, GPT-Image models, pay per image with USDC

## Output

Returns an image (URL or base64 data) generated from the input prompt, in OpenAI-compatible response format. Each call is billed at $0.01 USDC settled on Base or Solana via x402 payment protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Image model ID"
  },
  "prompt": {
   "type": "string",
   "description": "Image description"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jarvisclaw-image-generation-339301c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.jarvisclaw.ai](https://www.zero.xyz/host/api.jarvisclaw.ai/llms.txt)
