← 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
| Field | Type | Description |
|---|---|---|
| seed | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| prompt | string | Optional 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_urlrequired | string | Image URL to outpaint |
| sync_mode | boolean | If 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_top | integer | Number of pixels to add as black margin on the top side (0-700). |
| num_images | integer | Number of images to generate. |
| expand_left | integer | Number of pixels to add as black margin on the left side (0-700). |
| expand_right | integer | Number of pixels to add as black margin on the right side (0-700). |
| expand_bottom | integer | Number of pixels to add as black margin on the bottom side (0-700). |
| output_format | stringenum: png, jpeg, jpg, webp | The format of the output image. |
| zoom_out_percentage | number | Percentage 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_checker | boolean | If set to true, the safety checker will be enabled. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | The seed used for generation. |
| images | array | Outpainted image with extended scene |