For your specific question of showing the class name on the detections, you can set the labels
query parameter to true
which would display the labels on the predictions. See our Hosted API docs for Object Detection
Alternatively, since you’re using Python, you can also use Supervision as well