In this paper, a new approach for head camera stabilization of a humanoid robot head is proposed, based on a bio-inspired soft neck. During walking, the sensors located on the humanoid's head (cameras or inertial measurement units) show disturbances caused by the torso inclination changes inherent to this process. This is currently solved by a software correction of the measurement, or by a mechanical correction by motion cancellation. Instead, we propose a novel mechanical correction, based on strategies observed in different animals, by means of a soft neck, which is used to provide more natural and compliant head movements. Since the neck presents a complex kinematic model and nonlinear behavior due to its soft nature, the approach requires a robust control solution. Two different control approaches are addressed: a classical PID controller and a fractional order controller. For the validation of the control approaches, an extensive set of experiments is performed, including real movements of the humanoid, different head loading conditions or transient disturbances. The results show the superiority of the fractional order control approach, which provides higher robustness and performance.