# imgnAI Katana Image Generation API

> imgnAI Katana Image Generation API is a paid API for AI agents from kat.imgnai.com, paid per call via x402, $0.0156/call, status unknown (last checked 2026-09-13).

Submits one or more AI image generation requests to the imgnAI Katana service and returns generated image responses

## Facts

- Endpoint: POST https://kat.imgnai.com/v1/generation-requests
- Price: $0.0156/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imgnai-katana-image-generation-api-cd5112ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_adUzq6c8xjDqglJJoWuUV

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 imgnai-katana-image-generation-api-cd5112ab -d '<json body>'
```

Example prompt: Generate an image of a futuristic neon-lit cyberpunk cityscape at night with rain-soaked streets using imgnAI Katana — submit it as a single generation request.

## When to prefer this

Choose this endpoint when you need to generate AI images specifically through imgnAI's Katana platform, especially in agentic workflows that support x402 micropayment protocol. Ideal when you want to submit one or multiple image generation requests in a single call with optional client-side request tracking via client_request_id.

## Known failure modes

- Invalid or empty requests array returns 400 error
- Missing required fields in generation request objects causes validation failure
- Payment failure via x402 protocol results in 402 Payment Required
- Rate limiting or quota exceeded returns 429 error
- Malformed client_request_id causes request rejection
- Unsupported model or generation parameters return 422 error

## How this service works

Pay-per-call AI gateway: Frontier/SOTA LLM, Image, and Video models - and proprietary low-cost imgnAI models. Includes GPT 5.5, Opus 4.8, GPT Image 2, Nano Banana 2, Seedance 2.0, Happy Horse, and Google Omni. Fully compatible with OpenAPI, HermesOS, and OpenClaw.

## Output

Returns a JSON object containing a status string, a request_id for tracking, and a responses array with the generated image data or references for each submitted generation request.

## Example request

```json
{
 "requests": [
  {
   "model": "katana-v1",
   "width": 512,
   "height": 512,
   "prompt": "A futuristic neon-lit cyberpunk cityscape at night with rain-soaked streets",
   "num_images": 1
  }
 ],
 "client_request_id": "test-qa-001"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "requests"
 ],
 "properties": {
  "requests": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imgnai-katana-image-generation-api-cd5112ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kat.imgnai.com](https://www.zero.xyz/host/kat.imgnai.com/llms.txt)
