‘Text box will receive a thousand lines similar to:
Find top R related words/phrases from any sensible thesaurus.
Search Google Images and Wikimedia for
COMMERCIAL AND REUSABLE IMAGES
for the keyword and each of the related words.
Retrieve N images for each phrase
Save images as pet, pet0,pet1,pet2,pet3...pet(last),
Write to file or text box the attribution information for each image: