# imgnAI Katana API – Claude Opus 4.8 Text Completion

> imgnAI Katana API – Claude Opus 4.8 Text Completion is a paid API for AI agents from kat.imgnai.com, paid per call via x402, $0.052/call, status unknown (last checked 2026-09-15).

Pay-per-call text completion endpoint using Anthropic's Claude Opus 4.8 model via the imgnAI Katana AI gateway, billed at $0.05425 USDC per call over x402.

## Facts

- Endpoint: POST https://kat.imgnai.com/v1/text/claude-opus-48
- Price: $0.052/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imgnai-katana-api-claude-opus-4-8-text-completion-c354bbda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QKCVltvjFCNswvla8mDOb

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-api-claude-opus-4-8-text-completion-c354bbda -d '<json body>'
```

Example prompt: Use the Katana gateway's Claude Opus 4.8 endpoint to answer this question with up to 1024 tokens and a temperature of 0.7: 'Explain the key differences between transformer and mamba architectures for sequence modeling.'

## When to prefer this

Choose this endpoint when you need Claude Opus-level reasoning quality on a per-call basis without committing to an Anthropic subscription, especially in agentic workflows that support x402 USDC micropayments and OpenAI-compatible API schemas.

## Known failure modes

- Payment failure: x402 payment not processed or insufficient USDC balance
- Invalid messages array: missing required 'messages' field returns 400 error
- Model unavailable: upstream Anthropic service disruption causes 503
- Rate limiting: too many concurrent requests results in 429
- Malformed request body: incorrect JSON schema returns 400 validation error
- Context length exceeded: messages exceed Claude Opus 4.8 context window

## 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 an OpenAI-compatible response object with a 'choices' array containing the model's generated text, along with a 'usage' object detailing token counts for the request and response.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imgnai-katana-api-claude-opus-4-8-text-completion-c354bbda/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)
