FineFace: Towards Localized Fine-Grained Control for Facial Expression Generation
from fineface import FineFacePipeline
pipe = FineFacePipeline()
prompt = "a closeup of a boy in a park"
aus = {"AU1": 2.5, "AU6": 2.5, "AU12": 5}
image = pipe(prompt, aus).images[0]