AI Image Inpainting and Outpainting
AI Image Inpainting and Outpainting performs selective image editing through inpainting (modifying parts of an image) and outpainting (extending image borders) using text prompts and parametric controls.
🚀Function Overview
Performs selective image editing through inpainting (modifying parts of an image) and outpainting (extending image borders) using text prompts and parametric controls.
Key Features
- Image modification via text prompts
- Precise control over generation parameters (steps, dimensions, guidance)
- Border extension mechanics with overlap controls
- Custom image resizing and alignment options
- LoRA model weight adjustments
Use Cases
- •Photo editing and restoration
- •Creating panoramic image expansions
- •AI-assisted graphic design
- •Generating contextual image alternatives
- •Content-aware background replacement
⚙️Input Parameters
prompt
stringPrompt for generated image
image
stringUpload an image for inpainting. This will be the base image that will be partially modified.
num_inference_steps
integerThe number of interfence steps
guidance
numberseed
integerRandom seed. Set for reproducible generation
lora_scale
numberThe weight of lora Scale
width
integerheight
integeroverlap_percentage
integerresize_option
stringInput image resize option
custom_resize_percentage
integeralignment
stringInput image alignment option perspective to background image
overlap_left
booleanActivation Outpaint left overlap
overlap_right
booleanActivation Outpaint right overlap
overlap_top
booleanActivation Outpaint top overlap
overlap_bottom
booleanActivation Outpaint bottom overlap
💡Usage Examples
Example 1
Input Parameters
{
"image": "https://replicate.delivery/pbxt/MlYSaSOb3QaDtLorlxkRDkeH6uFi3lr9F3LB6yuXQ4Kn6ZxP/13039-2946705617-1girl%2C%20solo%2C%20long%20hair%2C%20bust%2C%20blindfold%2C%20blush%2C%20black%20hair%2C%20hair%20ornament%2C%20long%20sleeves%2C%20holding%2C%20off%20shoulders%2C%20closed%20mouth%2C%20s.png",
"width": 1280,
"height": 1024,
"prompt": "High quailty, 4K, UHD",
"guidance": 30,
"alignment": "Right",
"overlap_top": false,
"overlap_left": true,
"overlap_right": false,
"resize_option": "Full",
"overlap_bottom": false,
"overlap_percentage": 15,
"num_inference_steps": 28,
"custom_resize_percentage": 50
}Quick Actions
Technical Specifications
- Hardware Type
- A100 (80GB)
- Run Count
- 130
- Commercial Use
- Unknown/Restricted
- Platform
- Replicate