Reve's edit model lets you upload an existing image and then transform it via a text prompt.
pip install requestsimport requests
response = requests.post(
"https://api.runflow.io/v1/run/edit",
headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
json={
"prompt": "Move this entire scene to a rooftop terrace in Tokyo at sunset: the desk is n...",
"image_url": "https://public.runflow.io/images/models/_shared/base-engineer.png"
},
)
data = response.json()
print(data["images"][0]["url"])| Parameter | Type | Description |
|---|---|---|
| prompt | string | The text description of how to edit the provided image. |
| image_url | image | URL of the reference image to edit. Must be publicly accessible or base64 data URI. Supports PNG, JPEG, WebP, AVIF, and HEIF formats. |
| num_images | integer | Number of images to generate |
| output_format | string | Output format for the generated image. |
| sync_mode | boolean | If True, the media will be returned as a data URI and the output data won't be available in the request history. |
| Field | Type | Description |
|---|---|---|
| images | json | The edited images |
FLUX.2 [klein] 9B — Edit
black-forest-labs/flux-2-klein-9b/edit
Image-to-image editing with FLUX.2 [klein] 9B from Black Forest Labs. Precise mo...
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...
Nano Banana Pro — Edit
google/nano-banana-pro/edit
Nano Banana Pro is Google's new state-of-the-art image generation and editing mo...
Get API access in minutes. No GPU setup, no infrastructure to manage.