How do you put text on an image for Instagram?
Pick a clean font at a large size in a colour that contrasts with the photo, and keep the text short. Meta's help page lists the same rules for ad text: a modern, clean font in a large enough size and a contrasting hue, without obstructing the visuals.