Welcome to the Blender VRM Facial Animation Addon repository! This project has started as part of the Generative AI Agents Developer Contest by NVIDIA and LangChain. This addon allows to create facial animations for VRM avatars using prompts. By leveraging the power of a language model (LLM), you can generate blendshape values that bring your avatars to life with expressive and dynamic facial expressions.
Creating realistic facial animations for VRM avatars can be a challenging and time-consuming task. This is even becomes more difficult if the vrm avatar hasn't been created by its user, since there is no strict format.
This addon simplifies the process by allowing users to describe the desired facial expressions in plain English (and interesting results in other languages too). Thanks to langchain, it's very easy to communicate with a language model and generate the appropriate blendshape values, which is later processed to create lifelike animations.
-
Download the Portable Blender Version with the Addon
-
Unzip and Use
- Unzip the downloaded file.
- Open the unzipped folder.
- Run the Blender executable.
-
Load Your VRM Avatar
- There is a VRM loaded in the default startup file ready for testing, but if you want to add your custom model, delete it and import your VRM avatar into Blender.
-
Access the Addon
- Navigate to the
AI Face Animatortab in the panel section.
- Navigate to the
-
Click on the avatar face
- Let the addon know which object is the face to animate.
-
Create a Facial Animation
- In the text input field
API Key, add the NVIDIA key to access to NVIDIA NIM. - In the text input field
Prompt, type a description of the desired facial expression. For example, "smile with eyes closed", "Blink softly", "Eating pizza", "Happy", "Worried", "Angry", "Feeling dizzy", etc. - Click the "Generate animation" button.
- The addon will communicate with the LLM and automatically apply the generated blendshape values to your avatar. When finished, press space to see the animation.
- In the text input field
Check out this demo to see the addon in action!
demo.mp4
In this demo, we demonstrate how to create a series of facial expressions using simple text prompts. You'll see how the addon interprets each prompt and generates realistic facial animations for a VRM avatar.
We welcome contributions to enhance the functionality and features of this addon. To contribute:
- Fork the repository.
- Create a new branch.
- Make your changes.
- Submit a pull request.
Please ensure your code follows the project's coding standards and include relevant tests.
Thank you for using the Blender VRM Facial Animation Addon! We hope this tool makes it easier for you to create stunning facial animations for your VRM avatars. If you have any questions or feedback, feel free to open an issue in the repository. Happy animating!