Reve Edit

reve-edit-image-to-image

post

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

Header parameters
AuthorizationstringRequiredExample: sk-XIl7IWyv0rWebaWIlTJwGsLtfxH1bCh1lA4p6eXDtDaScfOF
Body
modelstringRequired

model is the model name

Example: reve-edit-image-to-image
promptstringRequired

The text description of how to edit the provided image.

Example: Give him a friend
image_urlsstring[] · min: 1 · max: 1Required

List of URLs of reference images. Must provide between 1 and 4 images (inclusive). Each image must be less than 1.5 MB. Supports PNG, JPEG, WebP, AVIF, and HEIF formats.

ninteger · enumOptional

n is the number of images to generate, default value is 1.

Default: 1Example: 1Possible values:
output_formatstring · enumOptional

output_format indicate the output format, default value is url.

Default: urlExample: urlPossible values:
Responses
200Success
application/json
post
/v1/images/edits
200Success

Last updated