infery
← All models

Image Outpaint

image-apps-v2-outpaint

Image editby infery

Directional outpainting. Choose edges to expand. left, right, top, or center (uniform all sides). Only expanded areas are generated; an optional zoom-out pulls the frame back by the chosen amount.

images

Details

Accepts
image

Pricing

Price
4.38 cr / megapixel

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.
promptstringOptional prompt to guide the outpainting. If provided, it will be appended to the base outpaint instruction. Example: 'with a beautiful sunset in the background'
image_urlrequiredstringImage URL to outpaint
sync_modebooleanIf True, the function will wait for the image to be generated and uploaded before returning the response. If False, the function will return immediately and the image will be generated asynchronously.
expand_topintegerNumber of pixels to add as black margin on the top side (0-700).
num_imagesintegerNumber of images to generate.
expand_leftintegerNumber of pixels to add as black margin on the left side (0-700).
expand_rightintegerNumber of pixels to add as black margin on the right side (0-700).
expand_bottomintegerNumber of pixels to add as black margin on the bottom side (0-700).
output_formatstringenum: png, jpeg, jpg, webpThe format of the output image.
zoom_out_percentagenumberPercentage to zoom out the image. If set, the image will be scaled down by this percentage and black margins will be added to maintain original size. Example: 50 means the image will be 50% of original size with black margins filling the rest.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled.

Output

FieldTypeDescription
seedintegerThe seed used for generation.
imagesarrayOutpainted image with extended scene