How to balance speed and quality in AI video models