Graduate slowdown?

I couldnt find a way (provided there is one) to slow down a clip in a graduate manner. Something like keyframable speed. For now i only found to have one, steady speed.

I want to specify two points, and speed in between those points is calculated. I prefer doing this internally instead of resorting to another software.

Thanks!