For planar case, given curvature $\kappa$, we can take $x'(s)=cos \theta(s), y'(s)=sin \theta(s)$ and get $\theta(s)=\int \kappa(s)ds$, then solve two "independent" ODE (that is, only an integral) to get the curve.
However, for spatial case, I don't know whether there is a universal method to solve curves when given curvature and torsion.
Any help will be appreciated.
A general space curve is given by a fourth order differential equation in three dimensions:
which is only solvable for some special cases.