Infery.ai
← All models

Image Editing Reframe

image-editing-reframe

Image editby image-editing

The reframe endpoint intelligently adjusts an image's aspect ratio while preserving the main subject's position, composition, pose, and perspective

images

Pricing

Price
5 cr / image

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedThe same seed and the same prompt given to the same version of the model will output the same image every time.
image_urlrequiredstringURL of the old or damaged photo to restore.
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
aspect_ratiostringenum: 21:9, 16:9, 4:3, 3:2, 1:1, 2:3The desired aspect ratio for the reframed image.
output_formatstringenum: jpeg, pngThe format of the generated image.
guidance_scalenumberThe CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
safety_tolerancestringenum: 1, 2, 3, 4, 5, 6The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive.
num_inference_stepsintegerNumber of inference steps for sampling.

Output

FieldTypeDescription
seedinteger
imagesarray