Reimagine
Reimagine
POST https://api.novita.ai/v3/reimagine
This feature allows you to automatically generate variations of a single image.
Example
This API allows you to automatically generate multiple variations of a single image.
Try it in playground.
Request:
curl --location --request POST 'https://api.novita.ai/v3/reimagine' \
--header 'Authorization: Bearer {{API Key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"image_file":"{{Base64 encoded image}}"
}'
HTTP status codes in the 2xx range indicate that the request has been successfully accepted. A code of 400 signifies a request parameter error, while status codes in the 5xx range indicate internal server errors.
You can retrieve the image URL in the image_file
field of the response in base64 format.
Response:
{
"image_file": "{{Base64 encoded image}}",
"image_type": "png"
}