Skip to main content

Text to Video

TOX name base_txt_to_vid

Summary

A TouchDesigner component for generating synthetic video with the Google Gemini API.

Controls

Refer to the Common Controls for a list of all available parameters.

Parameter NameParameterTypeDescription
ResolutionResolutionmenuThe output image resolution
Aspect RatioAspectratiomenuThe output image aspect ratio
Video LengthVideolengthmenuThe duration of the output video
Has VFSHasvfsToggle(Read Only)
Export Video FileExportvideofilepulseAllows for exporting video from component - this is only available if the file stored in VFS
Fade InFadeintoggleFades in video when it is done loading
ReloadReloadtoggleReload par from video device in
ReloadpulseReloadpulsepulseInstantly reload the file from disk.
PlayPlaytoggleControls play parameter moviefilein TOP
SpeedSpeedfloatControls playback speed of moviefilein TOP
CueCuetoggleJumps to Cue Point when set to on
Pulse CueCuepulsepulseInstantly jumps to the Cue Point
Loopcrossfade`LoopcrossfadefloatLoopcrossfade parameter from moviefilein TOP
Audio LoopAudioloopmenuAudio Loop parameter from moviefilein TOP
Interpolate FramesInterpolateframestoggleInterpolate Frames parameter from moviefilein TOP
Delete Video FileDeletevideofilepulseDeletes video file stored in VFS - this is only available if the file is stored in VFS

Outputs

Output IndexNameTypeDescription
0out_responseTOPThe video output from the Google Gemini API
1out_response_audioCHOPThe video audio output from the Google Gemini API
2out_remote_pathDATA table which contains the link to the remote asset generated by the Gemini API