---
last_updated: 2026-12-01
source_url: https://opper.ai/black-forest-labs/flux-kontext-dev
title: "FLUX.1 Kontext [dev] by Black Forest Labs"
description: "FLUX.1 Kontext [dev], Black Forest Labs' open-weight 12B image editor that applies text instructions to an existing image instead of generating from scratch."
---

# FLUX.1 Kontext [dev]

By [Black Forest Labs](https://opper.ai/black-forest-labs).

Released 26 Jun 2025, 28 days after [FLUX.1 Kontext \[pro\]](https://opper.ai/black-forest-labs/flux-kontext-pro) · [Announcement](https://bfl.ai/blog/flux-1-kontext-dev) · [All Black Forest Labs releases](https://opper.ai/model-releases/black-forest-labs)

FLUX.1 Kontext [dev] brings Black Forest Labs' instruction-based image editing to open weights, released in June 2025 as a 12 billion parameter diffusion transformer guidance-distilled from Kontext [pro]. Rather than generating from scratch, it takes a source image together with a plain-language instruction and returns an edited version, handling both precise local changes and broader global transformations.

The model is built for iterative editing, preserving characters, objects, and style across successive edit steps with minimal visual drift. Its size lets it run on accessible hardware, which suits teams building repeatable programmatic editing pipelines, product image touch-ups, and multi-step creative workflows around an open model.

## Available routes

FLUX.1 Kontext [dev] runs on 1 route through the Opper gateway. Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=fal%2Fflux-kontext-dev.

| Provider | Model id | Region | Zero data retention | Training | Price |
| --- | --- | --- | --- | --- | --- |
| [fal](https://opper.ai/provider/fal) | `fal/flux-kontext-dev` | US (United States) | Retained | No | $0.025 / megapixel |

## Key info

- Model id: `fal/flux-kontext-dev`
- Input: Text, Image
- Output: Image
- Features: none listed
- Pricing: $0.025 / megapixel
- Billing: Per megapixel
- Released: 26 Jun 2025
- US residency available
- No training by default

## Pricing

Usage-based pricing, billed per megapixel, not by token.

| Variant | Price |
| --- | --- |
| Standard | $0.025 / megapixel |

## Data handling per route

Each route hosting FLUX.1 Kontext [dev] has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### fal — United States

Content is retained: provider logging, 1-day retention. No training on customer data. US; SCCs.

- Zero data retention: Retained: provider logging, 1-day retention.
- Training: No training on customer data.
- Logging: Other (1-day retention)
- Abuse monitoring: On by default, holds flagged content
- Transfer mechanism: SCCs

Verified by Opper on 2026-10-15.

## Get started

Call FLUX.1 Kontext [dev] through the Opper gateway with one API key. Image models run on Opper's images endpoint: POST /v3/images returns the image in the response, as base64 by default.

See the [Opper images guide](https://docs.opper.ai/build/multimodal/images) and the [Opper multimodal skill](https://skills.opper.ai/opper-multimodal/SKILL.md).

FLUX.1 Kontext [dev] is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai/opper-multimodal/SKILL.md Generate an image with FLUX.1 Kontext [dev]
```

### Or call it directly

cURL:

```bash
curl -s https://api.opper.ai/v3/images \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "fal/flux-kontext-dev",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "size": "1024x1024"
  }' \
  | jq -r '.data[0].b64_json' | base64 --decode > image.png

# To edit an image, add "image": "https://..." (or a file_<id>) to the body
```

JavaScript:

```javascript
import { writeFile } from "node:fs/promises";

const res = await fetch("https://api.opper.ai/v3/images", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPPER_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "fal/flux-kontext-dev",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "size": "1024x1024"
  }),
});
const { data } = await res.json();
// Each image comes back as base64 (b64_json) unless you ask for a url
await writeFile("image.png", Buffer.from(data[0].b64_json, "base64"));
```

## Use FLUX.1 Kontext [dev] in your apps

Pick your tool to see how to run it on FLUX.1 Kontext [dev] through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/flux-kontext-dev)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/flux-kontext-dev)
- [Codex](https://opper.ai/apps/codex/flux-kontext-dev)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/flux-kontext-dev)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/flux-kontext-dev)
- [Aider](https://opper.ai/apps/aider/flux-kontext-dev)
- [Goose](https://opper.ai/apps/goose/flux-kontext-dev)
- [Droid](https://opper.ai/apps/droid/flux-kontext-dev)
- [OpenCode](https://opper.ai/apps/opencode/flux-kontext-dev)
- [Pi](https://opper.ai/apps/pi/flux-kontext-dev)
- [OpenClaw](https://opper.ai/apps/openclaw/flux-kontext-dev)
- [Hermes](https://opper.ai/apps/hermes/flux-kontext-dev)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/flux-kontext-dev)
- [OmniRoute](https://opper.ai/apps/omniroute/flux-kontext-dev)
- [Cursor](https://opper.ai/apps/cursor/flux-kontext-dev)
- [Cline](https://opper.ai/apps/cline/flux-kontext-dev)
- [Continue](https://opper.ai/apps/continue/flux-kontext-dev)
- [Kilo Code](https://opper.ai/apps/kilo-code/flux-kontext-dev)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/flux-kontext-dev)
- [Zed](https://opper.ai/apps/zed/flux-kontext-dev)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/flux-kontext-dev)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/flux-kontext-dev)
- [n8n](https://opper.ai/apps/n8n/flux-kontext-dev)
- [LibreChat](https://opper.ai/apps/librechat/flux-kontext-dev)
- [Open WebUI](https://opper.ai/apps/open-webui/flux-kontext-dev)
- [See all apps](https://opper.ai/apps)

## Other models from Black Forest Labs

- [FLUX.2 \[dev\]](https://opper.ai/black-forest-labs/flux-2-dev)
- [FLUX.2 \[flash\]](https://opper.ai/black-forest-labs/flux-2-flash)
- [FLUX.2 \[klein\] 4B](https://opper.ai/black-forest-labs/flux-2-klein-4b)
- [FLUX.2 \[klein\] 9B](https://opper.ai/black-forest-labs/flux-2-klein-9b)
- [FLUX.2 \[max\]](https://opper.ai/black-forest-labs/flux-2-max)
- [FLUX.2 \[pro\]](https://opper.ai/black-forest-labs/flux-2-pro)
