--- title: Using Wenxin Qianfan in LobeChat description: >- Learn how to integrate and utilize Wenxin Qianfan's language model APIs in LobeChat. tags: - LobeChat - 百度 - 文心千帆 - API密钥 - Web UI --- # Using Wenxin Qianfan in LobeChat [Wenxin Qianfan](https://qianfan.cloud.baidu.com/) is an artificial intelligence large language model platform launched by Baidu, supporting a variety of application scenarios, including literary creation, commercial copywriting, and mathematical logic reasoning. The platform features deep semantic understanding and generation capabilities across modalities and languages, and it is widely utilized in fields such as search Q\&A, content creation, and smart office applications. This article will guide you on how to use Wenxin Qianfan in LobeChat. ### Step 1: Obtain the Wenxin Qianfan API Key - Register and log in to the [Baidu AI Cloud Console](https://console.bce.baidu.com/) - Navigate to `Baidu AI Cloud Qianfan ModelBuilder` - Select `API Key` from the left menu {'API - Click `Create API Key` - In `Service`, select `Qianfan ModelBuilder` - In `Resource`, choose `All Resources` - Click the `Confirm` button - Copy the `API Key` and keep it safe {'Create {'Copy ### Step 2: Configure Wenxin Qianfan in LobeChat - Go to the `Settings` page of LobeChat - Under `Language Models`, find the `Wenxin Qianfan` settings {'Enter - Enter the obtained `API Key` - Select a Wenxin Qianfan model for your AI assistant, and you're ready to start chatting! {'Select During usage, you may need to pay the API service provider. Please refer to Wenxin Qianfan's relevant fee policy. You can now use the models provided by Wenxin Qianfan for conversations in LobeChat.