Skip to main content
Flume can generate scripts, themes, and layouts using an LLM. You bring your own API key.

Quick Setup

The easiest way to set up LLM generation:
/generate init
This walks you through interactively:
  1. Choose provider — type 1 (Anthropic) or 2 (OpenAI)
  2. Paste your API key — stored in the encrypted vault
Works immediately — no restart needed.

Manual Configuration

1. Choose a Provider

Add to config.toml:
[llm]
provider = "anthropic"              # or "openai"
model = "claude-sonnet-4-20250514"  # or "gpt-4o"
temperature = 0.3
max_tokens = 4096

2. Store Your API Key

/secure init           # create vault if needed
/secure set flume_llm_key YOUR_API_KEY

Supported Providers

ProviderModelsAPI Key Source
Anthropicclaude-sonnet-4-20250514, claude-haiku-4-5-20251001console.anthropic.com
OpenAIgpt-4o, gpt-4o-miniplatform.openai.com
See Generate Commands for usage.