Image-to-image editing with FLUX.2 [klein] 9B from Black Forest Labs. Precise modifications using natural language descriptions and hex color control.
pip install requestsimport requests
response = requests.post(
"https://api.runflow.io/v1/run/flux-2-klein-9b/edit",
headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
json={
"prompt": "Replace the computer monitors with a large glass aquarium full of colorful tr...",
"image_urls": [
"https://public.runflow.io/images/models/_shared/base-engineer.png"
]
},
)
data = response.json()
print(data["images"][0]["url"])| Parameter | Type | Description |
|---|---|---|
| prompt | string | |
| image_urls | array | |
| seed | integer | |
| num_inference_steps | integer | |
| image_size | string | |
| num_images | integer | |
| sync_mode | boolean | |
| enable_safety_checker | boolean | |
| output_format | string |
| Field | Type | Description |
|---|---|---|
| images | json | — |
| timings | json | — |
| seed | integer | — |
| has_nsfw_concepts | json | — |
| prompt | string | — |
FLUX.2 [klein] 9B
black-forest-labs/flux-2-klein-9b
Text-to-image generation with FLUX.2 [klein] 9B from Black Forest Labs. Enhanced...
Reve Edit
reve/edit
Reve's edit model lets you upload an existing image and then transform it via a ...
Wan 2.7 Pro Edit
alibaba/wan/v2.7/pro/edit
Edit and transform images using text instructions with the WAN 2.7 Pro model for...
Nano Banana 2 — Edit
google/nano-banana-2/edit
Nano Banana 2 is Google's new state-of-the-art image generation and editing mode...
Get API access in minutes. No GPU setup, no infrastructure to manage.