Control pid parameters by rc or airspeed

If there are higher tilt rates/airspeed it would be great to be able to reduce temporarily various pid gains I could only find TPA. But how can I apply it only to e.g. yaw or use an aux channel to control pid parameters?
Generally it would be good to have a way to reduce PID´s according to airspeed.
That could be done by airspeed sensor or by a combination of throttle value and acc x (pitch) value if the vehicle points nose down the pids get decreased, nose up increased pids if the vehicle has no airspeed sensor.

Let me ping @MaEtUgR for this question.