reve/edit-image
Model Overview
The model allows you to modify images using plain text commands: adjust colors, text, and perspectives.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
API Schema
post
Body
modelstring · enumRequiredPossible values:
image_urlstring · uriRequired
The URL of the reference image.
promptstring · max: 2560Required
The text prompt describing the content, style, or composition of the image to be generated.
convert_base64_to_urlbooleanOptionalDefault:
If True, the URL to the image will be returned; otherwise, the file will be provided in base64 format.
trueResponses
200Success
application/json
post
/v1/images/generations200Success
Quick Example
Let's generate a new image using the one from the flux/dev Quick Example as a reference — and make a simple change to it with a prompt.
Reference Image
Generated Image


Last updated
Was this helpful?