😱How To: Create a Simple Cartoon Portrait Animation Glif (LivePortrait + Custom Blocks)

This workflow guides you through leveraging the LivePortrait tool in ComfyUI and calling other Glifs!

Part One: Portrait Restyling
Part 2: Animation Creation with Live Portrait

Remix the existing Glif here:

Character Restyler

Live Portrait Animator

Step by Step

Portrait Stylizer (IP Adapter + Controlnet)

  1. Click Build to start a new project.

  2. Add an image input block.

  3. Add a text input block.

  4. Add a Glif block.

  5. Select the pre-loaded GPT Vision Glif.

  6. Set the text prompt, image input and max token for the Vision Glif Block.

  7. Add a Text Combiner Block.

  8. Call the text input, vision, and add any additional prompts to the Text Combiner Block.

  9. Add a ComfyUI Block.

  10. Drop in the provided JSON.

  11. Check that the image input and text prompt input are formatted correctly to match the names of those blocks in your glif.

  12. Publish your glif.

Live Portrait Animator

  1. Click Build to start a new project.

  2. Add an Image Input Block.

  3. Add a Text Input Block.

  4. Add a Glif Block.

  5. Find the unique code in the web address of the glif you intend to call in the Glif Block. (See video for more)

  6. Write the code into the Glif Block.

  7. Adjust the image and text input sections to correspond with your user input blocks.

  8. Add a ComfyUI Block.

  9. Replace the code with the provided json below.

  10. Check the image input in the ComfyUI block to make sure it corresponds with your Glif Block name.

  11. (Optional) Swap out the video with another that is 30 seconds or less in length.

  12. Publish your glif.

textPrompt

We're working for a blind artist who will paint this person or scene for a special occasion - she is capable of painting people or scenes by merely being told a description of how the scene or the person looks like, no more than 10 words, please provide those 10 words. For a person, make sure to include gender,  rough age, skin tone and any specific features like hair color or style. For a scene, describe the scene! Do not comma separate them:

imageURL

{image input block name}

maxTokens

50

Last updated