GET

/v1/schemas/fal/video/fal-ai/wan-22-vace-fun-a14b/inpainting

kind inputactivity videohash 31ef1bb9…extracted Aug 10, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
8f6d96879dcb2152e6bf4de5b9395892394cf08182afa5cc7115efe776ab5052
{
  "fetchedAt": 1786338105,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

33 properties · 2 required · 0 $defs
propertytypedescriptionconstraints
prompt*stringThe text prompt to guide video generation.
video_url*stringURL to the source video file. Required for inpainting.
ref_image_urlsstring[]Urls to source reference image. If provided, the model will use this image as reference.
match_input_frames_per_secondbooleanIf true, the frames per second of the generated video will match the input video. If false, the frames per second will be determined by the frames_per_second parameter.default: false
negative_promptstringNegative prompt for video generation.default: "letterboxing, borders, black ba…
enable_auto_downsamplebooleanIf true, the model will automatically temporally downsample the video to an appropriate frame length for the model, then will interpolate it back to the original frame length.default: false
first_frame_urlstringURL to the first frame of the video. If provided, the model will use this frame as a reference.nullable
resolutionenumResolution of the generated video.auto | 240p | 360p | 480p | 580p | 720p · default: "auto"
match_input_num_framesbooleanIf true, the number of frames in the generated video will match the number of frames in the input video. If false, the number of frames will be determined by the num_frames parameter.default: false
video_write_modeenumThe write mode of the generated video.fast | balanced | small · default: "balanced"
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.default: false
last_frame_urlstringURL to the last frame of the video. If provided, the model will use this frame as a reference.nullable
auto_downsample_min_fpsnumberThe minimum frames per second to downsample the video to. This is used to help determine the auto downsample factor to try and find the lowest detail-preserving downsample factor. The default value is appropriate for most videos, if you are using a video with …1 ≤ n ≤ 60 · default: 15
mask_image_urlstringURL to the guiding mask file. If provided, the model will use this mask as a reference to create masked video using salient mask tracking. Will be ignored if mask_video_url is provided.nullable
enable_prompt_expansionbooleanWhether to enable prompt expansion.default: false
shiftnumberShift parameter for video generation.1 ≤ n ≤ 15 · default: 5
num_inference_stepsintegerNumber of inference steps for sampling. Higher values give better quality but take longer.2 ≤ n ≤ 50 · default: 30
transparency_modeenumThe transparency mode to apply to the first and last frames. This controls how the transparent areas of the first and last frames are filled.content_aware | white | black · default: "content_aware"
aspect_ratioenumAspect ratio of the generated video.auto | 16:9 | 1:1 | 9:16 · default: "auto"
guidance_scalenumberGuidance scale for classifier-free guidance. Higher values encourage the model to generate images closely related to the text prompt.1 ≤ n ≤ 10 · default: 5
samplerenumSampler to use for video generation.unipc | dpm++ | euler · default: "unipc"
mask_video_urlstringURL to the source mask file. Required for inpainting.nullable
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.default: false
frames_per_secondintegerFrames per second of the generated video. Must be between 5 to 30. Ignored if match_input_frames_per_second is true.5 ≤ n ≤ 30 · nullable
interpolator_modelenumThe model to use for frame interpolation. Options are 'rife' or 'film'.rife | film · default: "film"
accelerationenumAcceleration to use for inference. Options are 'none' or 'regular'. Accelerated inference will very slightly affect output, but will be significantly faster.none | low | regular · nullable
temporal_downsample_factorintegerTemporal downsample factor for the video. This is an integer value that determines how many frames to skip in the video. A value of 0 means no downsampling. For each downsample factor, one upsample factor will automatically be applied.0 ≤ n ≤ 5 · default: 0
seedintegerRandom seed for reproducibility. If None, a random seed is chosen.nullable
num_framesintegerNumber of frames to generate. Must be between 81 to 241 (inclusive).17 ≤ n ≤ 241 · default: 81
return_frames_zipbooleanIf true, also return a ZIP file containing all generated frames.default: false
preprocessbooleanWhether to preprocess the input video.default: false
num_interpolated_framesintegerNumber of frames to interpolate between the original frames. A value of 0 means no interpolation.0 ≤ n ≤ 5 · default: 0
video_qualityenumThe quality of the generated video.low | medium | high | maximum · default: "high"

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/wan-22-vace-fun-a14b/inpainting","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}