# Automating MetaHuman Lip Sync Video Generation via Command Line in Unreal Engine 5.5

**URL:** <https://forums.unrealengine.com/t/automating-metahuman-lip-sync-video-generation-via-command-line-in-unreal-engine-5-5/2072245>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Automation, question, metahuman\
**Created:** [October 17, 2024, 7:00am UTC](https://forums.unrealengine.com/t/automating-metahuman-lip-sync-video-generation-via-command-line-in-unreal-engine-5-5/2072245 "2024-10-17T07:00:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spinify](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/spinify/32/987648_2.png) [@spinify](https://forums.unrealengine.com/u/spinify)\
**Post date:** [October 17, 2024, 7:00am UTC](https://forums.unrealengine.com/t/automating-metahuman-lip-sync-video-generation-via-command-line-in-unreal-engine-5-5/2072245/1 "2024-10-17T07:00:26Z")

</div>

We’re looking to automate a pipeline for generating lip-synced talking head videos using MetaHuman and Audio Driven Animation in Unreal Engine 5.5. We have the MetaHumans set up, and we need to:

- Start Unreal Engine via command line
- Pass an audio file
- Randomly select from 5 moving head animations (so they don’t all look the same)
- Render the output at 256x256 resolution, all without human involvement.

Can anyone advise on the best approach to automate this? We found these resources, but need further guidance:

- [Run headless Unreal Editor with Python Script](https://dev.epicgames.com/community/snippets/J5R1/unreal-engine-run-headless-unreal-editor-with-python-script)
- [Command-line rendering with Movie Render Queue](https://dev.epicgames.com/documentation/en-us/unreal-engine/using-command-line-rendering-with-move-render-queue-in-unreal-engine)

Thanks for any help!
