@ai-sdk/heygen 3.0.0: HeyGen Video Generation Added to AI SDK
The AI SDK now integrates HeyGen as a provider, introducing text-to-video, image-to-video, and reference-to-video generation using 'heygen-video-1', along with asynchronous operation support and workflow serialization.
What changed?
@ai-sdk/heygen version 3.0.0 adds the HeyGen provider, enabling developers to generate video from text, images, or existing video references using 'heygen-video-1'. This release also supports asynchronous operation and workflow serialization, enhancing automation in media workflows.
Why does it matter to an everyday developer?
With native support for text-to-video, image-to-video, and reference-to-video generation, developers can add advanced media generation directly to their applications. Asynchronous operation means video generation tasks can be started and polled for completion without blocking other processes. Workflow serialization enables saving and resuming complex video generation pipelines, which is useful for media apps, marketing tools, and creative automation.
What can the developer do now?
Developers can upgrade to @ai-sdk/heygen 3.0.0 and use the HeyGen provider to automate video creation workflows. They can generate videos from prompts, images, or other media and integrate asynchronous tasks into existing applications. Workflow serialization allows saving task states for more robust, long-running operations.
- Install or upgrade @ai-sdk/heygen to version 3.0.0.
- Use the HeyGen provider to create video from text, image, or reference input.
- Integrate asynchronous video workflow handling.
- Leverage workflow serialization for complex or resumable tasks.

