Hey @clement4, I am glad you like the tutorial. 
And don’t know if I understood properly, but yes, the URLs are related to the images you want to compress, so they are dynamic.
You need to save the original image on your database first, then you reference the URL of that image on your Tinify API call (parameter Image_URL). Just do not forget to add the https: like I mentioned on set 4. 