# FLUX.1 Kontext Pro

> Image-to-image edit and refinement. Mask + inpaint.

Human version: https://kymaapi.com/models/flux-kontext-pro
Live JSON: `GET https://kymaapi.com/v1/models` (no auth required)

## Facts

- **Model ID**: `flux-kontext-pro` — pass this as `model` in the request body
- **Creator**: Black Forest Labs
- **Released**: 2025-05-29
- **Price**: $0.054 / image

## Call it

```bash
curl https://kymaapi.com/v1/images/generations \
  -H "Authorization: Bearer $KYMA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "flux-kontext-pro", "prompt": "..."}'
```

## Positioning

FLUX.1 Kontext Pro is an image-to-image editing and refinement model built by BFL. Reach for it when you need precise inpainting, masked edits, or iterative refinement of existing images at a low cost.

## About

FLUX.1 Kontext Pro accepts text and image inputs to produce edited image outputs. It specializes in mask-based inpainting and targeted refinement, allowing you to modify specific regions while preserving the rest of the frame.

On Kyma, the model runs on the cheap tier with medium speed. Prompt caching applies to repeated instruction prefixes, and every request benefits from automatic failover if a serving path degrades. Response metadata includes exact costs in usage.cost and the active model in the X-Kyma-Model header.

This model does not support text generation, logical reasoning, or structured outputs. It is optimized for guided edits rather than generating images entirely from scratch, and token limits do not apply to its image-based workflow.

## Use cases

- **Masked Object Replacement** — Swap specific regions of an image using a binary mask and a text prompt.
- **Iterative Image Refinement** — Improve composition or details in an existing image through guided edits.
- **Targeted Detail Enhancement** — Sharpen or adjust specific areas without altering the full frame.
- **Batch Asset Editing** — Apply consistent text-guided modifications across multiple source images.

## Not ideal for

Do not use this model for generating images from scratch, text generation, or tasks requiring logical reasoning or structured JSON outputs.

## Pick something else when

- You need high-fidelity generation from text prompts → `flux-2-pro`, `flux-1.1-ultra`
- You require vector graphics or scalable design assets → `recraft-v4-vector`, `recraft-v4-vector-pro`
- You need fast, low-latency image generation → `imagen-4-fast`, `nano-banana-3-flash`

## See also

- All models: https://kymaapi.com/models.md
- Pricing: https://kymaapi.com/pricing.md
- Other models by Black Forest Labs: https://kymaapi.com/models?q=Black%20Forest%20Labs
