flux-kontext

Edit single images with Flux Kontext Pro via RunComfy CLI.

5|2|Updated May 18, 2026
One-click install
npx skills add https://github.com/doany-ai/skills --skill flux-kontext-doany-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flux-kontext
Source: https://github.com/doany-ai/skills/tree/main/flux-kontext
Command: npx skills add https://github.com/doany-ai/skills --skill flux-kontext-doany-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flux Kontext Pro enables precise local edits while preserving subject identity, reducing manual editing time and preserving fidelity.

Core Features & Use Cases

  • Single-reference local edits with high fidelity.
  • Strong prompt control for predictable results.
  • Clear guidance on when to route to alternative methods (Nano Banana Edit / GPT Image 2 edit / Flux 2 Klein).
  • Seamless RunComfy CLI integration for in-context edits.

Quick Start

Edit a single image to modify a specific element while preserving the rest.

Frequently Asked Questions about flux-kontext

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform precise local image edits while preserving the subject's identity?

Local image edits that preserve subject identity require a single reference image and a clear declarative prompt. Using Flux Kontext Pro via the RunComfy CLI, you can modify specific elements like text or objects while maintaining high fidelity for the rest of the image.

What is the best way to change a specific object in a single image without altering the background?

Changing a specific object without altering the background is best achieved through guided prompt control. By providing a single reference image and a targeted declarative prompt to Flux Kontext Pro, you get deterministic local changes with high fidelity preservation.

Does Flux Kontext Pro work with the RunComfy CLI for in-context edits?

Yes, Flux Kontext Pro seamlessly integrates with the RunComfy CLI to perform in-context edits. You need to provide a public image URL and a clear declarative prompt alongside your single reference image to produce deterministic local adjustments.

When should I route image editing tasks to alternative methods instead of Flux Kontext?

You should route image editing tasks to alternative methods like Nano Banana Edit, GPT Image 2 edit, or Flux 2 Klein when your specific editing needs fall outside the scope of single-reference local edits or require different specialized capabilities.

Can I use a local image file directly for local edits with Flux Kontext Pro?

No, Flux Kontext Pro requires a public image URL to perform local edits. You must host your single reference image publicly and provide a clear declarative prompt through the RunComfy CLI to execute precise local changes.

Why does prompt control matter for single-image edits?

Prompt control matters for single-image edits because it ensures predictable and deterministic results. Strong prompt control via Flux Kontext Pro allows you to make targeted adjustments like text or object changes while strictly preserving the subject's identity.