Upload flux image to wordpress

Hi All.
I’m using deepseek to generate an image prompt that i then send to replicate to create an image using flux schnell. All of that works fine and I can view my images in my replicate dashboard.

i then want to take that generated image from replicate and get it into wordpress … im using the wordpress create a media item module for this. This is where it all falls over for me. I think there are two issues here:

  1. i need to save a jpg file to wordpress and not a webp file (which i believe replicate is showing me)
  2. in the module (pic below) … whenever i try this module … i just have the “map” option … so i’ve tried throwing in a couple of variables. On youtube clips I’ve watched, others all seem to have a URL option available … also … as i dont seem to have a title option available, I’ve just used a created link to ensure a unique file name … dont know if that’s an issue either

Any assistance greatly appreciated.
Cheers
Ian