Here’s a batch file that I’m using on Windows with Video AI 7.1.0 to upscale 720x540 to 1280x960 (1.5x).
In my environment, the TVAI_MODEL_DIR variable is set to C:\ProgramData\Topaz Labs LLC\Topaz Video AI\models
***********************************************************************************
@Echo off
Cls
Set !INDIR=Test
Set !OUTDIR=StarlightMini-1.5
If not exist %!OUTDIR% md %!OUTDIR%
For /D %%D in (%!OUTDIR%) do set !OUTDIR=%%~fD%
For %%F in (%!INDIR%*.mkv) Do Call :OneFile “%%~fF” “%!OUTDIR%%%~nF.mkv”
Goto :EOF
:oneFile
Echo %1
Echo.
Pushd %TVAI_MODEL_DIR%
runner %1 %2 --start-frame-idx 0 --end-frame-idx 999999 --ffmpeg-encoding “-c:v h264_nvenc -profile:v high -pix_fmt yuv420p -g 30 -rc cbr -b:v 40M -preset p6 -movflags frag_keyframe+empty_moov+delay_moov+use_metadata_tags+write_colr -bf 0” --upscale-factor 1.5 --max-gpu-mem 31
PopD
If not exist %2 pause
Goto :EOF
***********************************************************************************