Configure inference via input file and prompts
mainThe --input_file (e.g., examples/infer_samples.txt) controls the character behavior. Each line must follow the format:
[prompt]@@[img_path]@@[audio_path]
Prompting Best Practices:
- Use the structure:
[Description of first frame]-[Description of human behavior]-[Description of background (optional)]. - Guidance Scales: The recommended range for both prompt and audio cfg is
[4-6]. Increasing audio cfg improves lip-sync consistency. - Guidance Control:
guidance_scalecontrols prompts. To control audio guidance separately, useaudio_scale=3.