Skip to Content
Getting StartedPrerequisites

Prerequisites

Before using Ant Ling’s API, please register an account and obtain an API Key.

1. Register or Login

Go to API Console  to complete account registration and login.

2. Create API Key

Go to the API Console , click Create Token to get your API Key.

Note: After generating the API Key, it is recommended to set it as an environment variable or save it to a .env file.

# OpenAI API compatible format (recommended) export OPENAI_BASE_URL=https://api.ant-ling.com/v1 export OPENAI_API_KEY=${YOUR_API_KEY}

3. Account Top-up

If needed, visit the Alipay Mini Program Cloud  page to top up your cloud wallet.

Was this page helpful?
Last updated on