UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

69 lines (52 loc) 2.48 kB
--- title: Using Black Forest Labs API Key in LobeChat description: >- Learn how to integrate Black Forest Labs API Key in LobeChat for AI image generation using advanced models and high-quality output. tags: - Black Forest Labs - Image Generation - API Key - Web UI --- # Using Black Forest Labs in LobeChat <Image alt={'Using Black Forest Labs in LobeChat'} cover src={'https://hub-apac-1.lobeobjects.space/docs/c7274a5b037227f042ad7558f535b5ea.png'} /> [Black Forest Labs](https://bfl.ai/) is currently the world's top-tier AI image generation research lab, having developed the FLUX series of high-quality image generation models and the FLUX Kontext series of image editing models. This document will guide you on how to use Black Forest Labs in LobeChat: <Steps> ### Step 1: Obtain Black Forest Labs API Key - Register for a [Black Forest Labs account](https://auth.bfl.ai/). - Navigate to the [API Keys dashboard](https://dashboard.bfl.ai/api/keys) and click **Add Key** to generate a new API key. - Copy the generated API key and keep it secure; it will only be shown once. <Image alt={'Open the API dashboard'} inStep src={ 'https://hub-apac-1.lobeobjects.space/docs/36331f581e36a72ba91fb6c1dacbedd4.png' } /> <Image alt={'Create API Key'} inStep src={ 'https://hub-apac-1.lobeobjects.space/docs/3049ad79746bf913d1b2736cfe1d38fa.png' } /> <Image alt={'Retrieve API Key'} inStep src={ 'https://hub-apac-1.lobeobjects.space/docs/33143deb04f2a0cdb2fd543ff8161633.png' } /> ### Step 2: Configure Black Forest Labs in LobeChat - Visit the `Settings` page in LobeChat. - Under **AI Service Provider**, locate the **Black Forest Labs** configuration section. <Image alt={'Enter API Key'} inStep src={'https://hub-apac-1.lobeobjects.space/docs/4fe1993d94fad72829612d22527a2ecd.png'} /> - Paste the API key you obtained. - Choose a Black Forest Labs model for image generation. <Image alt={'Select Black Forest Labs model for image generation'} inStep src={'https://hub-apac-1.lobeobjects.space/docs/7a6dfdb1a1bdd5443104a6d2cb3a8bf4.png'} /> <Callout type={'warning'}> During usage, you may incur charges according to Black Forest Labs's pricing policy. Please review Black Forest Labs's official pricing before heavy usage. </Callout> </Steps> You can now use Black Forest Labs's advanced image generation models directly within LobeChat to create stunning visual content.