快速开始使用指南

1 获取你的 API Key

充值成功后,客服会发送你的专属 API Key 到你的邮箱或微信。请妥善保管,不要泄露给他人。

2 Python 示例代码

import openai openai.api_key = "your-api-key" openai.api_base = "https://aiproxy.art/v1" response = openai.ChatCompletion.create(model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Hello!"}]) print(response.choices[0].message.content)

3 支持的模型

遇到问题?联系客服

微信:your-wechat-id