Edits a photo using a text prompt and an input image (URL or file), and returns the image URL. This action costs credits.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
aspect_ratio
string
default:"match_input_image"
curl --request POST \
--url 'https://api.unify.ai/v0/assistant/photo/edit' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: multipart/form-data' \
--form 'input_image_file=@/path/to/your/file.ext'