Latest release adds support for stdin/stdout pipes, so you can combine it with other programs without a need for temporary files.
For example, to make AVIF from ImageMagick:
convert -resize 50% example.jpg PNG:- | cavif - | cat > example.avif
That -
at the end tells cavif
to read image from stdin. cat
here is only to demonstrate that both stdin and stdout are used.