Video
Generate a video using a diffusion transformer model
returns GeneratedVideo
This task generates a short video clip from a text prompt or image, using models such as Veo (currently the only supported model).
The result is returned as a RawFile
, pointing to the generated video file.
Generating a Video
// Generate from Text Prompt
RawFile videoFile = await "A cat surfing a wave"
.GENVideo()
.ExecuteAsync();
// Generate from Image
Texture2D myImage = MyImage;
RawFile videoFileFromImage = await myImage
.GENVideo()
.ExecuteAsync();
Results are saved to a temporary location unless you call .SetOutputPath()
.
Last updated