Back to Lobehub

Using Fal API Key in LobeHub

docs/usage/providers/fal.mdx

2.1.562.1 KB
Original Source

Using Fal in LobeHub

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

Fal.ai is a high-performance inference platform specializing in AI media generation. It offers state-of-the-art image and video generation models such as FLUX, Kling, and HiDream. This guide will walk you through how to use Fal within LobeHub:

<Steps> ### Step 1: Obtain Your Fal API Key
  • Sign up for a Fal.ai account;
  • Go to the API Keys Dashboard and click Add key to create a new API key;
  • Copy the generated API key and store it securely — it will only be shown once.

<Image alt={'Open the key creation window'} inStep src={ 'https://hub-apac-1.lobeobjects.space/docs/3f3676e7f9c04a55603bc1174b636b45.png' } />

<Image alt={'Create a new API Key'} inStep src={ 'https://hub-apac-1.lobeobjects.space/docs/214cc5019d9c0810951b33215349136e.png' } />

<Image alt={'Copy your API Key'} inStep src={ 'https://hub-apac-1.lobeobjects.space/docs/499a447e98dcc79407d56495d0305e2a.png' } />

Step 2: Configure Fal in LobeHub

  • Navigate to the Settings page in LobeHub;
  • Under AI Providers, locate the configuration section for Fal;

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

  • Paste the API key you obtained earlier;
  • Choose a Fal model (e.g., Flux.1 Schnell, Flux.1 Kontext Dev) for image or video generation.

<Image alt={'Select a Fal model for media generation'} inStep src={'https://hub-apac-1.lobeobjects.space/docs/7560502f31b8500032922103fc22e69b.png'} />

<Callout type={'warning'}> Please note that using Fal may incur charges. Be sure to review Fal’s 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 Fal’s advanced image and video generation models.