# 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-14).

Generates AI images from text prompts using frontier and proprietary models via a pay-per-call gateway

## Facts

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

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

Example prompt: Generate an image of a futuristic city skyline at sunset using the GPT Image 2 model, in 16:9 aspect ratio, no dark or gloomy tones, and give me 1 output.

## When to prefer this

Choose this endpoint when you need pay-per-call AI image generation without a subscription, want access to frontier models like GPT Image 2 alongside proprietary low-cost options like Nano Banana 2, or need OpenAI-compatible API access with crypto micropayment support (x402/USDC).

## Known failure modes

- Invalid or unsupported model name returns an error
- Missing required prompt field causes validation failure
- Insufficient payment or x402 payment failure blocks the request
- Invalid aspect_ratio string may cause generation error
- num_outputs set too high may exceed model or billing limits
- Prompt violates content policy and is rejected

## 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 with a status field, a request_id string, and a responses array containing the generated image data (likely URLs or base64-encoded images) from the requested model.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "model",
  "prompt"
 ],
 "properties": {
  "model": {
   "type": "string"
  },
  "prompt": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imgnai-katana-image-generation-api-c09c4ff6/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)
