reve/edit-image

This documentation is valid for the following list of our models:

  • 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_urlbooleanOptional

If True, the URL to the image will be returned; otherwise, the file will be provided in base64 format.

Default: true
Responses
200Success
application/json
post
/v1/images/generations
200Success

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.

Response
Reference Image
Generated Image

Last updated

Was this helpful?