Sprint intervals can certainly be customized to fit your overall goal and distance that that you are training for. I recommend setting an intensity, time and distance goal for your intervals and overall workout for the day. For example, If you have a track and your goal is to run a total of 3 miles you can sprint the straights (+/-100M) and recover on the turns. This would allow you to fit in 24 sprint intervals of equal distance. The intensity and speed is up to you. This is a great way to improve your overall pace.
Good luck with your training!