Postzee icon

Postzee

Consume Postzee API

Generate Avatar Video (HeyGen)

AI-generated

Summary

Generate a video with a HeyGen avatar speaking a specified script, customizing avatar type, voice, speech speed, pitch, emotion, background, aspect ratio, and caption options.

Inputs

  • Script (required) — Text for the avatar to speak
  • Avatar Type (required) — Type of HeyGen avatar to use, either 'Avatar' or 'Talking Photo'
  • Avatar ID (required) — HeyGen Avatar ID to identify which avatar to use, copied from Postzee settings
  • Voice ID (required) — HeyGen Voice ID to specify the voice used by the avatar, copied from Postzee settings
  • Speed — Speech speed adjustment from 0.5 to 1.5, default is 1
  • Pitch — Voice pitch adjustment from -50 to 50, default is 0
  • Emotion — Emotion for the voice tone; options include Neutral, Happy, Serious, and Friendly
  • Background — Background image or video URL to display behind the avatar
  • Aspect Ratio — Video aspect ratio, either 16:9 (landscape) or 9:16 (portrait) for formats like TikTok or Reels
  • Enable Captions — Boolean option to add auto-generated captions to the video

Output shape

a JSON object containing the API response from the Postzee HeyGen video generation endpoint

The output includes the generated video data as returned by the /generate-heygen-video Postzee API endpoint. It can be used downstream in the workflow for further processing or posting.

Links

Discussion