As a rule of thumb, take the seconds of video you want and multiply it by its FPS (frames per second). A good starting point is 12 FPS for Animations, 24 FPS for Text-to-Video, and 30 FPS for Video-to-Video and Face Swap.