Playground
Try a model, then ship it
Chat, completions, decisions, embeddings, image, video, audio and vision, against every model in the catalog, with each run's tokens and cost beside the answer.
Paste and ship
Paste this into any agent. It reads the skill manifest and calls Playground from there.
Agent promptapi /v1/chat/completions
Read https://hanzo.ai/skill.md and use Hanzo Playground in my project.
Then the same request from code
A key, a model name, and a message is the whole first request.
curlOne request
curl https://api.hanzo.ai/v1/chat/completions \
-H "Authorization: Bearer $HANZO_API_KEY" \
-d '{"model":"zen","messages":[{"role":"user","content":"Hello"}]}'pythonThe Python client
pip install hanzoai
import os
from hanzoai.cloud import ApiClient, Configuration, KeysApi
api = ApiClient(Configuration(
host="https://api.hanzo.ai",
access_token=os.environ["HANZO_API_KEY"],
))
print(KeysApi(api).get_keys().keys)Start building with Playground
One API key. One credit balance. Every primitive.
Open source
License: Apache-2.0hanzoai