Get started free
All integrations

Flux integration

Black Forest Labs' advanced image generation models for photorealistic and artistic imagery. Generate high-quality images with exceptional prompt adherence, create variations, and produce professional-grade visuals. Features multiple model tiers optimized for speed or quality based on application requirements.

6 toolsAPI keyAPI docs

Common Flux use cases

  • Concept development
  • Commercial photography
  • Aspect ratio conversion
  • Object removal and replacement
  • Non-blocking generation workflows
  • Professional photography replacement
  • Scene extension
  • Batch processing
  • Photo restoration
  • Rapid prototyping

What you can do with Flux

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Image, 5 operations

  • POSTflux_dev

    Generates images using Flux Dev model optimized for rapid development and experimentation.

  • POSTflux_expand

    Expands an image by adding AI-generated pixels on any side using Flux Expand.

  • POSTflux_fill

    Performs intelligent inpainting on images using Flux Fill for seamless content replacement.

  • POSTflux_pro

    Generates professional-grade images using Flux 1.1 Pro, the flagship model from Black Forest Labs.

  • POSTflux_pro_ultra

    Creates ultra-high-quality images with Flux Pro 1.1 Ultra model featuring advanced realism and detail.

Task, 1 operation

  • GETget_result

    Retrieves the status and results of asynchronous image generation tasks.

Use Flux from Claude Code, Cursor or Codex

Connect Flux in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Flux operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Flux

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Flux once

    Add your Flux connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Flux integration FAQ

What can you do with the Flux integration?
LiveContext exposes 6 operations on Flux, covering image and task. Common uses include Concept development, Commercial photography and Aspect ratio conversion.

Popular integrations

Browse the whole catalog