- select your sentence w/ text tool
- in top toolbar click on warp text tool or select under file menu / layer / type / warp
- change shape to wave
- click ok
you could also place your photo in illustrator, draw a path w/ pen tool, and use the text on a path tool to get your text to follow an exact line / curves.