I'm not that familiar with curl, but looking at the man page, there doesn't seem to be any kind of built-in function for it.
You should be able to use some simple shell substitution, however. I managed to get a list of images, (one-per line, with no extraneous lines), to download using the following:
Code:
curl $( sed 's|^|-O --url |' file.txt )
curl seems to require a separate output option for each input url, so I had to modify them with sed before use. wget would be easier to use here, since it saves to file by default you can feed it a raw list.
Code:
wget $( <file.txt )
But then again, wget has its own from-file option anyway.
Edit: If you don't want to use sed, here's a variation using a bash-only loop:
Code:
curl $( while read x; do echo "${x/#/-O --url }" ; done <file.txt )