Video
Generate a video using a diffusion transformer model
Last updated
Generate a video using a diffusion transformer model
Last updated
returns
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.
VideoClip
Cannot Be Created at RuntimeUnity does not support creation of a
VideoClip
at runtime.
This means you cannot dynamically generate a VideoClip
in memory using code (e.g., ScriptableObject.CreateInstance<VideoClip>()
).
Instead, videos must be handled as files—either streamed or played using VideoPlayer.url
.
Generating a Video
Results are saved to a temporary location unless you call .SetOutputPath()
.