Image to Video

Animate static images into videos using .GENVideo().

Basic Usage

Texture2D image = Resources.Load<Texture2D>("Portrait");
VideoClip video = await image
    .GENVideo()
    .ExecuteAsync();

Input Types

Texture2D Input

Texture2D stillImage = screenshot;
VideoClip animated = await stillImage
    .GENVideo()
    .ExecuteAsync();

ImagePrompt Input

var prompt = new ImagePrompt
{
    Image = texture,
    Instruction = "Add gentle wind movement"
};

VideoClip video = await prompt
    .GENVideo()
    .ExecuteAsync();

Configuration

Unity Integration Examples

Example 1: Animate Screenshot

Example 2: Photo Booth Effect

Use Cases

Use Case
Example

Parallax

Add depth to 2D images

Cinemagraphs

Subtle motion in photos

Transitions

Smooth scene changes

Effects

Camera moves on stills

Next Steps

Last updated