HeyGen icon

HeyGen

Consume HeyGen API

Photo Avatar → Add Motion

AI-generated

Overview

This node operation adds motion to an existing photo avatar using the HeyGen API. It is useful for animating static photo avatars by applying movement based on a user-provided prompt. For example, you can enhance a photo avatar by generating different types of motion or expressions to make the avatar appear more dynamic and engaging.

Use Case Examples

  1. Adding a smile or head nod motion to a static photo avatar to make it appear more lifelike.
  2. Animating a photo avatar to perform gestures or movements based on a descriptive prompt.

Properties

Name Meaning
Prompt Prompt to generate different looks or movement, used to specify the type of motion to add to the avatar.
Avatar ID ID of the avatar to which the motion will be added.

Output

JSON

  • id - Identifier of the avatar with added motion
  • motionDetails - Details about the motion added to the avatar
  • status - Status of the motion addition request

Dependencies

  • HeyGen API with API key credential

Troubleshooting

  • Ensure the Avatar ID provided is valid and corresponds to an existing photo avatar in the HeyGen system.
  • The prompt must be descriptive enough to generate meaningful motion; vague prompts may result in unexpected or no motion.
  • API request failures may occur due to network issues or invalid API credentials; verify API key and network connectivity.

Links

Discussion