Runflow
Back to Gallery

Reve's edit model lets you upload an existing image and then transform it via a text prompt.

$0.04/image 2026-04-08

Install

pip install requests

Run the model

import 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"])

Input schema

ParameterTypeDescription
promptstringThe text description of how to edit the provided image.
image_urlimageURL of the reference image to edit. Must be publicly accessible or base64 data URI. Supports PNG, JPEG, WebP, AVIF, and HEIF formats.
num_imagesintegerNumber of images to generate
output_formatstringOutput format for the generated image.
sync_modebooleanIf True, the media will be returned as a data URI and the output data won't be available in the request history.

Output schema

FieldTypeDescription
imagesjsonThe edited images

Related models

Start generating with Reve Edit

Get API access in minutes. No GPU setup, no infrastructure to manage.