Hi I just want to put something extra about this here. I similarly ran into this issue ran into this and solved it by add ?pupulate=* to the end of my request. This only works if you have media directly associated to the entries.
I had to create an image component in order to be able arrange image positions. So in order to get image urls from nested components you have to alter the request to access that data.
My request looks something like this.
http://localhost:1337/api/works/1?populate[images][populate]=*
Otherwise you will only be able to access the id of the images but not the urls