Batch Video Canvas Expand

Expand video frames in specified directions using AI outpainting in batch, with AI intelligently completing the expanded areas.

meitu batch video-canvas-expand

Note: Batch processing is available from meitu-cli v2.1.1 onward. Please upgrade if you're on an older version.

Usage Examples

# Config file mode (config file required)
meitu batch video-canvas-expand \
  --config ./batch.video-canvas-expand.yaml \
  --output-dir ./expanded \
  --json

Config File Example

version: 1
defaults:
  outputDir: ./expanded
items:
  - input: ./videos/video1.mp4
    prompt: Expand in all directions
    expandRatio: 0.3
    directions: left,right,up,down
  - input: ./videos/video2.mp4
    prompt: Expand left and right
    directions: left,right

Parameter Reference

ParameterRequiredDescription
--output-dirYesOutput directory
--configYesPath to YAML/JSON config file (config file required)
--concurrencyNoType: number; Default: 3; Number of parallel tasks (recommend 1-2 for video)
--max-retriesNoType: number; Default: 0; Number of retries on failure
--skip-existNoSkip existing output files
--dry-runNoPreview the plan without executing
--no-progressNoDisable per-task progress logging
--jsonNoOutput results in JSON format
--json-outputNoWrite results to a specified JSON file
--skill-nameNoSkill name for server-side attribution