mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
1 line
5.3 KiB
JSON
1 line
5.3 KiB
JSON
{"text":["API","One API for models, agents and tools","Every Hanzo capability answers under one base URL, behind one key.","Get an API key, free","OpenAPI Reference ↗","https://api.hanzo.ai","01 / 08","POST /v1/chat/completions","A completion from any model your organization can reach, streamed or buffered. Model ids come from the catalog, so the list is a request rather than a page in the docs.","Docs","POST /v1/responses","Stateful multi-turn responses with built-in tool calling, structured outputs, reasoning traces, and server-managed conversation state.","POST /v1/decisions","Sub-10ms structured classification, routing, scoring, and guardrail decisions powered by Kai at a fraction of LLM cost.","POST /v1/videos/generations","Generate cinematic video with synchronized audio and camera motion from text or reference frames via Koma.","POST /v1/images/generations","Photorealistic image generation, inpainting, and layout-accurate typography rendering via Iro.","POST /v1/audio/speech · /v1/audio/music","Low-latency neural speech synthesis, voice cloning, transcription, foley sound effects, and full-track music generation via Koe, Oto, and Uta.","POST /v1/3d/generations","Textured 3D meshes and spatial world assets generated from text prompts or multi-view images via Mori.","POST /v1/embeddings","Vectors for search, retrieval and clustering, from the same key and the same bill as generation.","Paste and ship","Paste this into any agent. It reads the skill manifest and calls API from there.","Agent prompt","Copy","Read https://hanzo.ai/skill.md and use Hanzo API in my project.","Base URL","https://api.hanzo.ai/v1","Authenticate with a bearer token:",". Keys are created and revoked in the",", and revoking one there is what stops it working.","Authorization: Bearer <your key>","console","Every route lives under",", and every service answers on the same host — there is no second base URL to configure and no v2 waiting to break the first one. Rate limits are applied per caller and across the edge as a whole; a rejected request comes back as a","with a","rather than a dropped connection.","/v1","429","Retry-After","Core endpoints","A few of the ones people reach for first. Every parameter and error shape is in the reference.","/v1/chat/completions","POST","/v1/responses","/v1/decisions","/v1/videos/generations","/v1/images/generations","/v1/audio/speech · /v1/audio/music","/v1/3d/generations","/v1/embeddings","/v1/models","GET","What your organization may call right now — every model we serve plus any provider account you have connected, with their identifiers and pricing.","/v1/agents","GET · POST","Define an agent once, run it by reference, and read its runs afterwards. The definition lives here, so everything that runs it runs the same one.","/v1/code/search · /v1/code/ask","AST-indexed symbol search, repository context assembly, and semantic codebase Q&A across your organization’s repositories.","/v1/sandbox","Lease isolated microVM sandboxes with filesystem, terminal WebSocket, headless browser screen streaming, and sub-second startup.","/v1/crawl · /v1/search","Clean markdown extraction from any live web page and structured real-time web search for RAG and agent research.","/v1/billing/balance · /v1/billing/usage","What is left, and what was spent. Usage is recorded per call and attributed to the organization on the token, so a bill can be traced back to the request that caused it.","/v1/tools","The tools your organization can call over REST or MCP. An agent picks from this list, and so can you — it is the same catalog either way.","How it fits together","One key, one bill","A single key authenticates every endpoint, and usage meters to the organization it belongs to. Spend is attributed in one place instead of once per service.","Identity is the gateway’s to state","Every request passes a gateway that throws away the identity headers a client sent and writes them again from the verified token. Nothing downstream has to wonder whether an org id came from a token or from a curl flag.","Generated, not hand-written","The clients come from the OpenAPI document this API serves, and their method names are its operation ids. A client is checkable against a release rather than against somebody’s memory.","Next","API reference","Every endpoint, parameter and response shape.","Getting started","An empty project to a first call that works.","02 / 08","03 / 08","04 / 08","05 / 08","06 / 08","07 / 08","08 / 08"],"links":["https://platform.hanzo.ai/api-keys","https://docs.hanzo.ai/docs/openapi/","https://docs.hanzo.ai/docs/openapi/ai/post-chat-completions","https://docs.hanzo.ai/docs/openapi/ai/post-responses","https://docs.hanzo.ai/docs/openapi/ai/post-decisions","https://docs.hanzo.ai/docs/openapi/ai/post-videos-generations","https://docs.hanzo.ai/docs/openapi/ai/post-images-generations","https://docs.hanzo.ai/docs/openapi/ai/post-audio-speech","https://docs.hanzo.ai/docs/openapi/ai/post-3d-generations","https://docs.hanzo.ai/docs/openapi/ai/post-embeddings","https://docs.hanzo.ai/docs/openapi/ai/get-models","https://docs.hanzo.ai/docs/openapi/agent","https://docs.hanzo.ai/docs/openapi/code/get-code-search","https://docs.hanzo.ai/docs/openapi/sandbox/post-sandbox","https://docs.hanzo.ai/docs/openapi/crawl/read-page","https://docs.hanzo.ai/docs/openapi/billing/get-billing-usage","https://docs.hanzo.ai/docs/openapi/tool","https://docs.hanzo.ai/docs/quickstart"]} |