Upload plugin configuration to upload images and pdf in two folders in cloudinary

I need to upload images and pdfs through upload plugin in strapi v4. I already configured upload plugin with cloudinary as followed.

upload: {
    config: {
      provider: "cloudinary",
      providerOptions: {
        cloud_name: env("CLOUDINARY_NAME"),
        api_key: env("CLOUDINARY_KEY"),
        api_secret: env("CLOUDINARY_SECRET"),
      },
      actionOptions: {
        uploadStream: {
          folder: env("CLOUDINARY_FOLDER"),
        },
        delete: {},
      },
    },
  },

But all the images are stored in given folder name(env(“CLOUDINARY_FOLDER”)) in folder option. But I need to upload images in ‘Image’ folder in cloudinary root(env(“CLOUDINARY_FOLDER”)) and as well pdfs in ‘Pdf’ folder. How can I achieve this.