Files

1 line
1.3 KiB
JSON

{"text":["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.","Open the Playground","Read the API","Paste and ship","Paste this into any agent. It reads the skill manifest and calls Playground from there.","Agent prompt","api","/v1/chat/completions","Copy","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.","curl","One request","https://api.hanzo.ai/v1/chat/completions","-H","Authorization: Bearer","HANZO_API_KEY","-d","{\"model\":\"zen\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}]}","python","The Python client","pip install hanzoai","import","os","from","hanzoai","cloud","ApiClient","Configuration","KeysApi","api = ApiClient","host=","https://api.hanzo.ai","access_token=os","environ","],","))","print",").","get_keys","().","keys","Related capabilities","CLI","Desktop","API Keys","Get Playground","Hands-on sandbox for every product","Apache-2.0","License:","Deploy to Cloud"],"links":["https://platform.hanzo.ai/playground","/api","/cli","/desktop","/cloud/api-keys","https://github.com/hanzoai","https://platform.hanzo.ai/deploy"]}