Back to Lobehub

Using Baichuan API Key in LobeHub

docs/usage/providers/baichuan.mdx

2.1.561.3 KB
Original Source

Using Baichuan in LobeHub

<Image alt={'Using Baichuan in LobeHub'} cover src={'/blog/assets9c1839eb146b89e9e2d262ca95d24323.webp'} />

This guide will walk you through how to use Baichuan in LobeHub:

<Steps> ### Step 1: Obtain a Baichuan AI API Key

<Image alt={'Create API Key'} inStep src={'/blog/assets217222e643d99ab3ba01fe92906f3314.webp'} />

Step 2: Configure Baichuan in LobeHub

  • Go to the Settings page in LobeHub
  • Under AI Providers, locate the Baichuan configuration section

<Image alt={'Enter API Key'} inStep src={'/blog/assets8d4fbb776e2209a1ec58c6b3516351a1.webp'} />

  • Paste your API key into the input field
  • Choose a Baichuan model for your AI assistant to start chatting

<Image alt={'Select Baichuan model and start chatting'} inStep src={'/blog/assets2cfe64ead120815f7ba7100bc3dcfd48.webp'} />

<Callout type={'warning'}> You may need to pay for API usage depending on your usage. Please refer to Baichuan's pricing policy for more details. </Callout> </Steps>

That's it! You're now ready to use Baichuan-powered models in LobeHub for conversations.