OpenAI 旗舰多模态模型,极速推理,支持视觉识别。
curl https://api.barqapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $BARQ_API_KEY" \
-d '{
"model": "gpt-4",
"messages": [{"role": "user", "content": "你好!"}]
}'