How to upload an image via REST for a dynamic-zone component

Hi, I’m also facing the same problem. In my case, I can upload image file to my ‘music’ field when creating entries via strapi.entityService like this:

await strapi.entityService.create(“api::article.article”, {
data: article,
files: {
music: {
path: filePath,
name: fileName,
type: mime.lookup(filePath),
size: stats.size,
}
},
});

However, I don’t know how to upload image file to component’s field, what if, my ‘music’ field is within a ‘content’ component, then how can I upload using the method I provided ?

Please help me out @lolafkok @CucumberJoe