Batch Video Content Replace
Replace or modify characters, scenes, clothing and other content elements in videos in batch, based on text instructions or reference images.
meitu batch video-content-replace
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-content-replace \
--config ./batch.video-content-replace.yaml \
--output-dir ./replaced \
--jsonConfig File Example
version: 1
defaults:
outputDir: ./replaced
items:
- input: ./videos/video1.mp4
prompt: Change the character's clothing to a red dress
- input: ./videos/video2.mp4
reference: ./images/style.jpg
prompt: Replace the scene following the reference image styleParameter Reference
| Parameter | Required | Description |
|---|---|---|
--output-dir | Yes | Output directory |
--config | Yes | Path to YAML/JSON config file (config file required) |
--concurrency | No | Type: number; Default: 3; Number of parallel tasks (recommend 1-2 for video) |
--max-retries | No | Type: number; Default: 0; Number of retries on failure |
--skip-exist | No | Skip existing output files |
--dry-run | No | Preview the plan without executing |
--no-progress | No | Disable per-task progress logging |
--json | No | Output results in JSON format |
--json-output | No | Write results to a specified JSON file |
--skill-name | No | Skill name for server-side attribution |