This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
Were they in public forums and sites like stack overflow and GitHub where they wanted people to use and share their code?
Stable Diffusion uses a dataset from Common Crawl, which pulled art from public websites that allowed them to do so. DeviantArt and ArtStation allowed this, without exception, until recently.
Where did the AI companies get their code from? Is scraped from the likes of stack overflow and GitHub.
They don’t have the proprietary code that is used to run companies because it’s proprietary and it’s never been on a public forum available for download.