skill

Flux 2 Klein

Generate images with Flux 2 Klein (Black Forest Labs' distilled fast variant of Flux 2) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Flux 2 Klein's strengths (sub-second latency, multi-reference brand styling, declarative subject-first prompts), the step-count strategy (4–8 for fast iteration, ~25 for polish), the 9B vs 4B variant trade-off, and when to route to Flux 2 Pro / Seedrea...

prime-skills422,680+ installsVetted

About

# Flux 2 Klein — Pro Pack on RunComfy

[runcomfy.com](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) · [9B model](https://www.runcomfy.com/models/blackforestlabs/flux-2-klein/9b/text-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) · [4B model](https://www.runcomfy.com/models/blackforestlabs/flux-2-klein/4b/text-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) · [GitHub](https://github.com/agentspace-so/runcomfy-skills/tree/main/flux-2-klein)

Black Forest Labs' **Flux 2 Klein** (the distilled, low-latency variant of Flux 2) hosted on the **RunComfy Model API** — no API key, async REST.

```bash npx skills add agentspace-so/runcomfy-skills --skill flux-2-klein -g ```

## When to pick this model (vs siblings)

Flux 2 Klein's distinct strength is **latency-first creative iteration**: sub-second feedback enables live art-direction sessions and rapid product visualization that batch-style models can't sustain. Pick it when **iteration speed matters more than ceiling resolution**.

| You want | Use | |---|---| | Real-time / live art-direction sessions | **Flux 2 Klein 4B** | | Fast iteration with strong detail at the end | **Flux 2 Klein 9B** | | Multi-reference brand styling with consistent looks | **Flux 2 Klein** | | 2K–4K hero images, max resolution | Seedream 5 | | Maximum prompt adherence + extreme detail | Flux 2 Pro | | Embedded text, logos, multilingual signage | GPT Image 2 | | Hyperrealistic portrait | Nano Banana Pro |

If the user said "Flux 2 Klein" / "BFL Klein" / "flux klein" explicitly, route here regardless. If they said "Flux 2" generically, ask whether they want **Klein** (fast) or **Pro** (max quality) before defaulting.

## Prerequisites

1. **RunComfy CLI** — `npm i -g @runcomfy/cli` 2. **RunComfy account** — `runcomfy login` opens a browser device-code flow. 3. **CI / containers** — set `RUNCOMFY_TOKEN=<token>` instead of `runcomfy login`.

## Endpoints + input schema

Two variants, same endpoint shape, same prompt grammar.

### `blackforestlabs/flux-2-klein/9b/text-to-image`

The fidelity-first variant. Use for polish / final output.

| Field | Type | Required | Default | Notes | |---|---|---|---|---| | `prompt` | string | yes | — | Up to ~512 tokens. Longer degrades. | | `steps` | int | no | 25 | 4–50. **Step-distilled architecture** — 4–8 enough for concepting; ~25 for polish; >25 buys little. | | `width` | int | no | 1024 | 512–1536 typical. **Aspect ratio capped at 16:9**, max ~2K total. | | `height` | int | no | 1024 | Match `width`'s aspect intent. |

### `blackforestlabs/flux-2-klein/4b/text-to-image`

The latency-first variant. Sub-second 4-step inference. Use for live iteration / concepting.

Same field set as 9B. Default `steps` is effectively 4 — the variant is built for that step count.

### Reference images (both variants)

Up to **4 simultaneous reference images** are supported on the same endpoint for style transfer / guided composition. The exact field name in the JSON body is documented on the [model's API tab](https://www.runcomfy.com/models/blackforestlabs/flux-2-klein/9b/text-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=flux-2-klein) — pass it through the CLI verbatim. Reference-image use enables editing-style workflows without a separate `/edit` endpoint.

## How to invoke

**Fast concepting (4B, sub-second):**

```bash runcomfy run blackforestlabs/flux-2-klein/4b/text-to-image \ --input '{"prompt": "<user prompt>"}' \ --output-dir <absolute/path> ```

**Polish / final (9B, ~25 steps):**

```bash runcomfy run blackforestlabs/flux-2-klein/9b/text-to-image \ --input '{ "prompt": "<user prompt>", "steps": 25, "width": 1024, "height": 1024 }' \ --output-dir <absolute/path> ```

**Wide-format poster:**

```bash runcomfy run blackforestlabs/flux-2-klein/9b/text-to-image \ --input '{"prompt": "<user prompt>", "width": 1536, "height": 864}' \ --output-dir <absolute/path> ```

The CLI submits, polls every 2s until terminal, then downloads any `*.runcomfy.net` / `*.runcomfy.com` URL from the result into `--output-dir`. Stdout is the result JSON. Stderr is progress.

For pipe-friendly usage:

```bash runcomfy --output json run blackforestlabs/flux-2-klein/4b/text-to-image \ --input '{"prompt":"..."}' --no-wait | jq -r .request_id ```

## Prompting — what actually works

These are model-specific patterns that empirically improve output quality.

**Subject-first declarative grammar.** The structure Flux 2 Klein was trained on is *"Subject + action + scene + style + lighting + camera + quality"*. Front-load the subject; trail with directives. Example: `"A vibrant hummingbird mid-flight sipping nectar from a bright pink hibiscus, iridescent feathers in morning sun, soft bokeh tropical garden, macro photography, razor-sharp detail, cinematic lighting"`.

**Specificity wins over flowery language.** "4k product photo, softbox lighting, reflectiv

Install

Run this command

npx skills add prime-skills/runcomfy-agent-skills

Works with

claude appclaude codeclaude apicursorcodexwindsurfclinezed

Manual steps

Install with `npx skills add prime-skills/runcomfy-agent-skills`, or clone the repository and copy the `flux-2-klein` folder into your Claude skills directory.

View source
License: MITBy prime-skills

Frequently asked questions

What is the Flux 2 Klein skill?

Generate images with Flux 2 Klein (Black Forest Labs' distilled fast variant of Flux 2) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Flux 2 Klein's strengths (sub-second latency, multi-reference brand styling, declarative subject-first prompts), the step-count strategy (4–8 for fast iteration, ~25 for poli…

How do I install Flux 2 Klein?

Run this in your terminal:

npx skills add prime-skills/runcomfy-agent-skills
Which AI tools does Flux 2 Klein work with?

It works with claude_app, claude_code, claude_api, cursor, codex, windsurf, cline, zed.

Who made Flux 2 Klein?

prime-skills, released under the MIT license.

Is Flux 2 Klein free?

Yes, it is free to use under the MIT license.

Related assets

More curated picks in Marketing & Advertising.

All Flux 2 Klein alternatives →
skillclaude_appclaude_codeclaude_api
npx skills add genmedia-labs/skills
AI Image Generation
Generate and edit images on RunComfy via the `runcomfy` CLI — a smart router across the full image-model catalog: FLUX 2 (Klein 9B/4B, Pro, Dev, Flash…716,844+
skillclaude_appclaude_codeclaude_api
npx skills add flowkit-labs/skills
Reddit Automation
Find Reddit threads where people are genuinely asking for what you offer, then draft short, genuinely helpful replies — disclosing your affiliation ho…686,503+
skillclaude_appclaude_codeclaude_api
npx skills add heygen-com/hyperframes
Media Use
Agent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT…590,510+
skillclaude_appclaude_codeclaude_api
npx skills add 101-skills/superpowers
AI Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, Hap…553,709+
skillclaude_appclaude_codeclaude_api
npx skills add 101-skills/superpowers
AI Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.…553,287+
skillclaude_appclaude_codeclaude_api
npx skills add 101-skills/superpowers
AI Avatar Video
Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric,…553,017+

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Marketing & Advertising