3 步接入你的 Agent
從 0 到接入生產環境,3 分鐘搞定
1取得 API Key
註冊並一鍵生成你的 API Key。
2接入程式碼
複製範例程式碼,3 分鐘完成接入。
3開始建構
接入完成,開始建構你的 Agent。
curl -X POST https://api.ofox.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OFOXAI_API_KEY" \
-d '{
"model": "openai/gpt-4o",
"messages": [
{"role": "user", "content": "Hello World!"}
]
}'
