Skip to main content

SDKs

Official client libraries for the Zihin API.

Available SDKs

LanguageStatusPackage
PythonPlannedpip install zihin
Node.jsPlannednpm install @zihin/sdk

REST API

Until SDKs are available, integrate directly via the REST API:

curl -X POST https://llm.zihin.ai/api/v3/llm/public/call \
-H "X-Api-Key: zhn_live_xxxxx" \
-H "Content-Type: application/json" \
-d '{"query": "Hello", "model": "auto"}'

See the API Overview for conventions and the full API Reference.

N8N Integration

For no-code automation, use the Zihin N8N Nodes to connect Zihin to N8N workflows.