← Back to all generators
andreasjansson/wan-1.3b-inpaint
Official
View on Replicate →
Inpainting and video2video experiments with Wan 2.1
Capabilities
Negative Prompt
Seed
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
input_video * | string (uri) | Original video to be inpainted | — | — |
prompt * | string | Prompt for inpainting the masked area | — | — |
expand_mask | integer | Expand the mask by a number of pixels | 10 | min: 0, max: 100 |
frames_per_second | integer | Output video FPS | 16 | min: 5, max: 30 |
guide_scale | number | Guidance scale for prompt adherence | 5 | min: 1, max: 15 |
inpaint_fixup_steps | integer | Number of steps for final inpaint fixup. Ignored when in video-to-video mode (when mask_video is empty) | 0 | min: 0, max: 10 |
keep_aspect_ratio | boolean | Keep the aspect ratio of the input video. This will degrade the quality of the inpainting. | false | — |
mask_video | string (uri) | Mask video (white areas will be inpainted). Leave blank for video-to-video | — | — |
negative_prompt | string | Negative prompt | "" | — |
sampling_steps | integer | Number of sampling steps | 50 | min: 20, max: 100 |
seed | integer | Random seed. Leave blank for random | -1 | — |
strength | number | Strength of inpainting effect, 1.0 is full regeneration | 0.9 | min: 0, max: 1 |
input_video required string Original video to be inpainted
prompt required string Prompt for inpainting the masked area
expand_mask integer Expand the mask by a number of pixels
Default:
10 min: 0, max: 100 frames_per_second integer Output video FPS
Default:
16 min: 5, max: 30 guide_scale number Guidance scale for prompt adherence
Default:
5 min: 1, max: 15 inpaint_fixup_steps integer Number of steps for final inpaint fixup. Ignored when in video-to-video mode (when mask_video is empty)
Default:
0 min: 0, max: 10 keep_aspect_ratio boolean Keep the aspect ratio of the input video. This will degrade the quality of the inpainting.
Default:
false mask_video string Mask video (white areas will be inpainted). Leave blank for video-to-video
negative_prompt string Negative prompt
Default:
"" sampling_steps integer Number of sampling steps
Default:
50 min: 20, max: 100 seed integer Random seed. Leave blank for random
Default:
-1 strength number Strength of inpainting effect, 1.0 is full regeneration
Default:
0.9 min: 0, max: 1 Version:
7abfdb3370ab Updated: 2/26/2026 498 runs
cinemasetfree.com