Integration

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.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Flux.Built from the 6 Flux tools below, on the connection you add once.

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

  • flux_devFlux devPOSTGenerates images using Flux Dev model optimized for rapid development and experimentation.
  • flux_expandFlux expandPOSTExpands an image by adding AI-generated pixels on any side using Flux Expand.
  • flux_fillFlux fillPOSTPerforms intelligent inpainting on images using Flux Fill for seamless content replacement.
  • flux_proFlux proPOSTGenerates professional-grade images using Flux 1.1 Pro, the flagship model from Black Forest Labs.
  • flux_pro_ultraFlux pro ultraPOSTCreates ultra-high-quality images with Flux Pro 1.1 Ultra model featuring advanced realism and detail.

Task, 1 operation

  • get_resultGet resultGETRetrieves 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