Hello HN,<p>I’m Tony, the CEO of Cosmic (https://www.cosmicjs.com), we provide a headless CMS and API toolkit to create and deliver content to websites and apps. Today, we are releasing Cosmic Media which enables you to search millions of high-quality, royalty-free, stock photos, videos, and vectors from popular online media services: Unsplash, Pexels, Giphy, and Pixabay from one convenient interface. It also includes AI-generated images from OpenAI. Check it out here: https://cosmicmedia.vercel.app<p>We built it to solve our own need to consolidate our existing media extensions, which were individual media extensions using the Unsplash API and Pexels Video API, and we thought, "why not combine them into one"? Rather than search from different stock media websites, seems like it would be nice to aggregate it into one interface. Then we sort of thought about what else might someone want for adding media to their content, so we added DALL-E AI image generation. We've been using it internally and find that it's saved us some time when searching for media to add to our blog posts.<p>We are offering it as both a stand-alone open source tool and as a Cosmic extension which can be added to your projects for easy access during content creation from the Cosmic dashboard. Check out the code and feel free to customize and extend it to suit your needs: https://github.com/cosmicjs/cosmic-media-extension<p>Let me know what you think in the comments.<p>- Tony
Is this legal?<p>I would expect image libraries prohibit this type of usage in ther TOS. Why would they do all the hard work and then let someone else build a similar service on top of it?<p>Pixabay for example prohibits distributing their content "on a Standalone basis" which seems to be what you are doing when you offer to download the images:<p><a href="https://pixabay.com/service/terms/" rel="nofollow noreferrer">https://pixabay.com/service/terms/</a>
You're violating the TOS for at least 3 of these sites...<p>And by not providing attribution information I'm pretty sure you're violating the licenses of most of the images you're retrieving, a number of which are uploaded to specific sites and are therefore subject to the TOS and licenses provided on those sites, which your CMS/API whatever doesn't retrieve.<p>Note that the penalty for copyright violations is theoretically $75k <i>per violation</i> and when a copyright is violated it doesn't matter if the material is royalty free.
Wow this downloads 100 images for every character your type, I typed New York and it downloaded over 500 images.<p>And if you click onto an image to enlarge it, it downloads it again, every single time