cURL
使用 cURL 查询 Bita API 模型、发送对话请求并读取流式响应。
Python OpenAI SDK
使用 OpenAI Python SDK 通过 Bita API 调用 Chat Completions 和 Responses。
Node.js OpenAI SDK
使用 OpenAI Node.js SDK 通过 Bita API 调用 Chat Completions 和 Responses。
Anthropic SDK
使用 Anthropic Python SDK 通过 Bita API 调用 Claude Messages 接口。
Google Gen AI SDK
使用 Google GenAI Python SDK 通过 Bita API 调用 Gemini 原生接口。