← Back to all generators
andreasjansson/wan-1.3b-inpaint
OfficialView on Replicate →
Inpainting and video2video experiments with Wan 2.1
Capabilities
Negative PromptSeed
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_videorequiredstringOriginal video to be inpainted
promptrequiredstringPrompt for inpainting the masked area
expand_maskintegerExpand the mask by a number of pixels
Default:
10min: 0, max: 100frames_per_secondintegerOutput video FPS
Default:
16min: 5, max: 30guide_scalenumberGuidance scale for prompt adherence
Default:
5min: 1, max: 15inpaint_fixup_stepsintegerNumber of steps for final inpaint fixup. Ignored when in video-to-video mode (when mask_video is empty)
Default:
0min: 0, max: 10keep_aspect_ratiobooleanKeep the aspect ratio of the input video. This will degrade the quality of the inpainting.
Default:
falsemask_videostringMask video (white areas will be inpainted). Leave blank for video-to-video
negative_promptstringNegative prompt
Default:
""sampling_stepsintegerNumber of sampling steps
Default:
50min: 20, max: 100seedintegerRandom seed. Leave blank for random
Default:
-1strengthnumberStrength of inpainting effect, 1.0 is full regeneration
Default:
0.9min: 0, max: 1Version:
7abfdb3370abUpdated: 7/25/2026498 runs
cinemasetfree.com