- Generate text and chat replies with open models such as Llama, streamed as they are written
- Generate images with models such as FLUX
- Create embeddings so your app can search by meaning
- See which models your Fireworks account can use
- Fine-tune an open model on your own data and use the result in your app
Common use cases and example apps
These examples show what you can build with Fireworks AI, each with a prompt to start from.How to connect Fireworks AI
Who can create Fireworks AI connections depends on your plan and workspace settings. App + chat connectors are available by default on Free, Pro, and Business plans. On Enterprise plans, they are effectively disabled at first: Who can create connections and clients defaults to No one until an admin changes it in Connectors → Admin settings → App + chat connectors. You can create multiple Fireworks AI connections using different API keys, which is useful for separating environments (for example, development and production) or managing rate limits. When the connection is created, you can link it to the projects where you want to use it. Anyone building in a project can ask Lovable in chat to link their project to it.Prerequisites
Before connecting Fireworks AI, make sure you have:- A Fireworks AI account
- A Fireworks AI API key
- Permission to create connections in your Lovable workspace (see Who can create connections and clients)
All inference requests, fine-tuning jobs, and deployments made through this connector count toward your Fireworks AI usage. Billing and quota are handled directly by Fireworks AI, not Lovable.
Step 1: Get a Fireworks AI API key
A Fireworks AI API key lets your Lovable app authenticate with the Fireworks AI API. To create a Fireworks AI API key:1
Open your Fireworks AI account
Sign in to Fireworks AI.
2
Open API keys
Go to Settings → Users → API keys.
3
Create a key
Click Create API key and give it a descriptive name, for example
Lovable integration.4
Copy the key
Copy the key (it starts with
fw_) and store it securely.Step 2: Connect Fireworks AI to Lovable
You can create multiple connections using different API keys.1
Open Fireworks AI in Connectors
Open Connectors and select Fireworks AI. For the other places to open the catalog from, see Where to find connectors.
2
Add a connection
Click Add connection.
3
Configure the connection
- Display name: name the connection, for example
Fireworks AI Prod. This name is only used inside Lovable to identify the connection. - API key: paste your Fireworks AI API key (it starts with
fw_). Get value next to the field opens the Fireworks AI API keys page.
4
Choose who can use this connection
Under Sharing, the connection is private to you by default and shows a Private label. To share it, click Share with others. Then add workspace members by email, or click Invite entire workspace to make the connection available to everyone in your Lovable workspace.See Who can use connections and clients for more information.
5
Connect
Click Connect. Lovable verifies the key against the Fireworks AI API before saving the connection.
Working with fine-tuning
Fine-tuning jobs run on Fireworks and take minutes to hours. When you ask Lovable to build a fine-tuning flow, the app uploads a dataset, starts the job, and polls until it completes. It then deploys the tuned model so the rest of the app can call it. Fine-tuning jobs and dedicated deployments bill your Fireworks account directly, so ask Lovable to show the cost implications in the app before a job starts.Limitations
The Fireworks AI connector cannot:- Rotate API keys automatically. To rotate, create a new key in Fireworks and update the Lovable connection.
- Support per-end-user Fireworks AI login. Each connection represents a single Fireworks account shared across all projects linked to it.
Manage your Fireworks AI connection
Connections are managed from Connectors: select Fireworks AI, then open the connection.- Unlink projects to remove Fireworks AI access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
- Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use Fireworks AI stop working until a new connection is added. See Delete a connection for the steps and who can delete.