black-forest-labs/FLUX.1 Kontext

black-forest-labs/FLUX.1-Kontext-pro

FLUX.1 Kontext Pro is an advanced image generation and editing model that supports both natural language prompts and reference images. It delivers high semantic understanding, precise local control, and consistent outputs, making it ideal for brand design, product visualization, and narrative illustration. It enables fine-grained edits and context-aware transformations with high fidelity.

API Usage

import requests

url = "https://api.ap.siliconflow.com/v1/images/generations"

payload = {
    "model": "black-forest-labs/FLUX.1-Kontext-pro",
    "prompt": "an island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the sea",
    "input_image":"data:image/png;base64, XXX"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.request("POST", url, json=payload, headers

Details

Model Provider

black-forest-labs

Type

image

Sub Type

text-to-image

Publish Time

Jul 11, 2025

Price

$

0.04

/ Image

Tags

12B

Ready to accelerate your AI development?

Ready to accelerate your AI development?

© 2025 SiliconFlow Technology PTE. LTD.

© 2025 SiliconFlow Technology PTE. LTD.

© 2025 SiliconFlow Technology PTE. LTD.