This seems a bit like a chicken and egg situation. If we want v0 to always be positive (one direction of travel), then don't the curve and v0 need to be defined together through manual iteration?
Or, here is another question:
Can I define one curve, that will satisfy any "s", "v", "t"...