Batch Song Generation

Generates full songs with lyrics-driven vocals in batch. Also supports instrumental tracks with strong rhythm and full arrangement feel.

meitu batch audio-song-generate

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 is required)
meitu batch audio-song-generate \
  --config ./batch.audio-song-generate.yaml \
  --output-dir ./songs \
  --json

Config File Example

version: 1
defaults:
  outputDir: ./songs
items:
  - prompt: Pop song about the theme of love
  - prompt: Rock style, full of power and energy

Parameter Reference

ParameterRequiredDescription
--output-dirYesOutput directory
--configYesPath to YAML/JSON config file (config file is required)
--concurrencyNoType: number; Default: 3; Number of concurrent executions
--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 attributed on the server side