Obtenez l'URL locale de l'image de l'API Python

#If you want to send the URLs to external APIs, your images need to be hosted somewhere.
#If your machine is communicating locally, you can simply run

python -m http.server

#in your images folder. Then you will get URLs like

#127.0.0.1:8000/myImg.png

#To access this on another machine in same network, the url would be:

#IPv4ofMachine:8000/myImg.png

#You can get IPv4 of the host machine by running "ipconfig" in your CMD.

BlueMoon