Here’s how you can set up an n8n workflow to create a lip-synced video using the Hedra API:
– Prepare Hedra API Key
– Upload Audio using HTTP Request Node
– Upload Image using another HTTP Request Node
– Generate Character Video using another HTTP Request Node
– Fetch Project Status using another HTTP Request Node
– Check Status & Wait for Completion using an IF Node or a Wait Node
– Return the Video URL using a Set Node
n8n Workflow Setup:
– Drag and drop the nodes in sequence
– Connect the nodes so that each step gets input from the previous step
– Test the workflow with sample audio and image files
Summary of APIs, Scripts, or Tools Used:
– Hedra API for uploading audio, image, and generating character video
– n8n for workflow automation and integrating API endpoints
– IF and Wait Nodes for checking completion status
– Set Node for preparing the final output containing the generated video URL