Back to Lobehub

Using Fireworks AI in LobeHub

docs/usage/providers/fireworksai.mdx

2.1.561.9 KB
Original Source

Using Fireworks AI in LobeHub

<Image cover src={'/blog/assets05b20e40c03ced0ec8707fed2e8e0f25.webp'} />

Fireworks.ai is a high-performance generative AI model inference platform that allows users to access and utilize a variety of models via its API. The platform supports multiple modalities, including text and vision-language models, and offers features like function calling and JSON mode to enhance application development flexibility.

This guide will walk you through how to use Fireworks AI within LobeHub.

<Steps> ### Step 1: Obtain Your Fireworks AI API Key
  • Log in to the Fireworks.ai Console
  • Navigate to the User page and click on API Keys
  • Create a new API key

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

  • Copy and securely save the generated API key

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

<Callout type={'warning'}> Make sure to store your API key securely, as it will only be shown once. If you lose it, you’ll need to generate a new one. </Callout>

Step 2: Configure Fireworks AI in LobeHub

  • Go to the Settings page in LobeHub
  • Under AI Providers, locate the settings for Fireworks AI

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

  • Paste the API key you obtained earlier
  • Choose a Fireworks AI model for your AI assistant to start chatting

<Image alt={'Select Fireworks AI model and start chatting'} inStep src={'/blog/assetsba0243e75b0421b6dd7dadad02e4b0d6.webp'} />

<Callout type={'warning'}> Please note that usage may incur charges from the API provider. Refer to Fireworks AI’s pricing policy for more details. </Callout> </Steps>

And that’s it! You’re now ready to start using Fireworks AI models in LobeHub for conversations and interactions.