Image to Video
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
Next Steps
Last updated