mirror of
https://github.com/lobehub/lobehub.git
synced 2026-09-20 04:56:13 +08:00
191f3fe776
* 📝 docs: fix outdated content across the docs site Audited docs/ against the current codebase and fixed stale content that drifted after major refactors (Clerk/NextAuth → Better Auth, src/server → apps/server, src/{config,envs,locales} → packages/*, model-bank updates). - self-hosting/auth: mark removed NextAuth/Clerk pages with deprecation warnings; fix microsoft/zitadel alias claims and the Logto callback path - environment-variables & advanced: correct wrong defaults (S3_SET_ACL, AI_IMAGE_DEFAULT_IMAGE_NUM, index/proxy URLs), drop non-existent env vars and fictional feature flags, fix OIDC config guidance - development: update refactored paths, Better Auth, .mjs configs, remove the MSW section (msw is not a dependency) - providers & model examples: replace retired model ids with in-bank ones; fix comfyui frontmatter corruption - usage: rename Moderator→Orchestrator, GTD→Task, correct shortcut keys, channel capability tables, Feishu/Lark WebSocket mode - platform/migration: fix dead links, docker service name, npx/npm → bun EN and zh-CN pairs updated together. * 📝 docs: fix Logto callback path and AUTH_SECRET deprecation guidance - Revert Logto/Sealos callback URLs to /api/auth/callback/logto to match the runtime SSO redirectURI override - Narrow legacy auth Callout: AUTH_SECRET remains required for Better Auth; mark NEXT_AUTH_SECRET as deprecated in zh-CN * 📝 docs: refresh agent skills for locales, env, auth, and agentRun paths Align OSS agent guidance with post-refactor layout: - packages/locales/src/default + bun run i18n - packages/env/src for env schemas (@/envs alias) - spa-auth shell + src/routes/auth segments - chat agentRun/transports/hetero instead of aiChat * 📝 docs: document APP_URL as required for Better Auth base URL Self-hosted auth uses appEnv.APP_URL as baseURL, not request-header auto-detection. NEXT_PUBLIC_AUTH_URL remains deprecated. * 📝 docs: note self-host search provider setup for web search Built-in lobe-web-browsing needs no client plugin, but self-hosted servers still require SEARCH_PROVIDERS / SEARXNG_URL (default SearXNG). * 📝 docs: point feature guide welcome UI at AgentHome Opening message/questions on the agent chat page live in src/features/AgentHome, not Onboarding WelcomeMessage.
68 lines
2.3 KiB
Plaintext
68 lines
2.3 KiB
Plaintext
---
|
||
title: Using Fal API Key in LobeHub
|
||
description: >-
|
||
Learn how to configure and use the Fal API Key in LobeHub to generate
|
||
AI-powered images with cutting-edge models like FLUX and Seedream.
|
||
tags:
|
||
- Fal
|
||
- Image Generation
|
||
- API Key
|
||
- Web UI
|
||
---
|
||
|
||
# Using Fal in LobeHub
|
||
|
||
<Image alt={'Using Fal in LobeHub'} cover src={'https://hub-apac-1.lobeobjects.space/docs/f253e749baaa2ccac498014178f93091.png'} />
|
||
|
||
[Fal.ai](https://fal.ai/) is a high-performance inference platform specializing in AI media generation. It offers state-of-the-art image generation and editing models such as FLUX, Seedream, and Qwen Image. 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](https://fal.ai/) account;
|
||
- Go to the [API Keys Dashboard](https://fal.ai/dashboard/keys) 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 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 generation models.
|