Text to Video

Generate videos from text descriptions using .GENVideo().

Basic Usage

VideoClip video = await "A serene lake with mountains in the background"
    .GENVideo()
    .ExecuteAsync();

Input Types

String Input

VideoClip video = await "Fireworks over city skyline"
    .GENVideo()
    .ExecuteAsync();

Prompt Input

var prompt = new Prompt("A {subject} {action} in {location}");
VideoClip video = await prompt
    .GENVideo()
    .ExecuteAsync();

Configuration

Unity Integration Examples

Example 1: Cutscene Generator

Example 2: Background Video

Prompt Tips

✅ Good Prompts

❌ Bad Prompts

Limitations

  1. Duration: Typically limited to 10-30 seconds

  2. Quality: May not match professional video

  3. Consistency: Character/object consistency across frames

  4. Cost: Expensive compared to image generation

Next Steps

Last updated