{"uid":"cap_YQlT0rUqNI8I_kzZtDILL","slug":"imgnai-katana-api-text-completion-qnaifu-ca6fc596","name":"imgnAI Katana API – Text Completion (qnaifu)","description":"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.","url":"https://kat.imgnai.com/v1/text/qnaifu","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"messages":{"type":"array"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.052","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.052/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.052","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.052","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_73fWDseiZMiWjLoSuGvj8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.052","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-call text/chat completion endpoint supporting frontier LLMs (GPT 5.5, Opus 4.8, Nano Banana 2, Google Omni) via an OpenAI-compatible messages interface","exampleAgentPrompt":"Using the Katana qnaifu endpoint, send this conversation to a frontier model — system: 'You are a concise assistant', user: 'Explain the concept of zero-knowledge proofs in 3 sentences' — keep max_tokens to 200 and temperature at 0.7.","exampleUseCases":null,"resultDescription":"Returns an OpenAI-compatible response object containing one or more completion choices (each with a message and finish reason), plus a usage object detailing prompt and completion token counts.","failureModes":["Payment not attached or insufficient USDC — 402 Payment Required","messages array missing or empty — 400 Bad Request","Model overloaded or unavailable — 503 Service Unavailable","max_tokens exceeds model context limit — 400 or truncated response","Invalid temperature value outside 0–2 range — 422 Unprocessable Entity"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, no-subscription LLM completion compatible with the OpenAI messages format, especially in agentic pipelines using x402 crypto micropayments (USDC) or when you want access to imgnAI's proprietary models (Nano Banana 2, Happy Horse) alongside frontier models at $0.054 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:35:03.919Z","isFirstParty":false}