Use one of the accepted identifiers below for the selected endpoint.
z-ai/glm-imageCreate a key inDashboardAPI Keys, then set it as AI_STATS_API_KEY in your environment variables.
Add "stream": true to receive token events.
# 1) Set your key
export AI_STATS_API_KEY="aistats_***"
# 2) Send a request
curl -s https://api.phaseo.app/v1/responses \
-H "Authorization: Bearer $AI_STATS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-image",
"input": "Give me one fun fact about cURL."
}'