Back to Lobehub

Using Black Forest Labs API Key in LobeHub

docs/usage/providers/bfl.mdx

2.1.562.1 KB
Original Source

Using Black Forest Labs in LobeHub

<Image alt={'Using Black Forest Labs in LobeHub'} cover src={'https://hub-apac-1.lobeobjects.space/docs/c7274a5b037227f042ad7558f535b5ea.png'} />

Black Forest Labs is one of the world’s leading AI image generation labs, known for developing the FLUX series of high-quality image generation models and the FLUX Kontext series for image editing. This guide will walk you through how to use Black Forest Labs in LobeHub:

<Steps> ### Step 1: Get Your Black Forest Labs API Key
  • Sign up for a Black Forest Labs account;
  • Go to the API Keys Console and click Add Key to create a new API key;
  • Copy and securely save the generated API key — it will only be shown once.

<Image alt={'Open the API Console'} inStep src={ 'https://hub-apac-1.lobeobjects.space/docs/36331f581e36a72ba91fb6c1dacbedd4.png' } />

<Image alt={'Create an API Key'} inStep src={ 'https://hub-apac-1.lobeobjects.space/docs/3049ad79746bf913d1b2736cfe1d38fa.png' } />

<Image alt={'Retrieve the API Key'} inStep src={ 'https://hub-apac-1.lobeobjects.space/docs/33143deb04f2a0cdb2fd543ff8161633.png' } />

Step 2: Configure Black Forest Labs in LobeHub

  • Open the Settings page in LobeHub;
  • Under AI Providers, locate the configuration section for Black Forest Labs;

<Image alt={'Enter the API Key'} inStep src={'https://hub-apac-1.lobeobjects.space/docs/4fe1993d94fad72829612d22527a2ecd.png'} />

  • Paste the API key you obtained;
  • Select a Black Forest Labs model for image generation.

<Image alt={'Select a Black Forest Labs model for image generation'} inStep src={'https://hub-apac-1.lobeobjects.space/docs/7a6dfdb1a1bdd5443104a6d2cb3a8bf4.png'} />

<Callout type={'warning'}> Please note that usage may incur charges from Black Forest Labs. Be sure to review their official pricing policy before making extensive API calls. </Callout> </Steps>

And that’s it! You’re now ready to create stunning visual content in LobeHub using the advanced image generation models provided by Black Forest Labs.