Files
calesthioandHanzo Dev 7ffb943132 Initial release — OpenMontage: the first open-source agentic video production system
11 production pipelines, 47 tools, 124 agent skills.
Supports cloud APIs (fal.ai, OpenAI, ElevenLabs, Suno, HeyGen, Runway) and
free local providers (diffusers, Piper TTS, WAN 2.1, Hunyuan, CogVideo).

Co-authored-by: Hanzo Dev <[email protected]>
2026-03-29 08:25:17 -07:00

1.4 KiB

name, description
name description
api-key-setup How to obtain and configure a BFL API key

API Key Setup

Important: Always verify your API key before attempting image generation. Missing or invalid keys result in "Not authenticated" errors.

Quick Validation

Run this first to check if your key is configured and valid:

# Check if key is set
[ -z "$BFL_API_KEY" ] && echo "Error: BFL_API_KEY not set" || echo "OK: Key configured"

If not set, follow the steps below.

Get a Key

  1. Go to https://dashboard.bfl.ai/get-started
  2. Click "Create Key"
  3. Select organization (ask user if multiple options)
  4. Copy the key (starts with bfl_)

For Agents Making Direct API Calls

When BFL_API_KEY is not set in the current session:

  1. Check for existing .env:

    grep BFL_API_KEY .env 2>/dev/null
    
  2. If found, export it:

    export BFL_API_KEY=$(grep BFL_API_KEY .env | cut -d '=' -f2)
    
  3. If not found, ask the user for their key:

    "I need a BFL API key to generate images. Please:

    1. Go to https://dashboard.bfl.ai/get-started
    2. Click 'Create Key' and copy it
    3. Paste it here"
  4. Save and export:

    echo 'BFL_API_KEY=bfl_provided_key' >> .env
    echo '.env' >> .gitignore
    export BFL_API_KEY=bfl_provided_key
    

Now $BFL_API_KEY is available for direct curl/API calls in the session.