Using AI Tools to Generate Art and Text With Stable Diffusion, DALL-E, and GPT-3 Using Google CoLaboratory Workshop

Note: this workshop was developed specifically for the students attending the 2023 International Space Development Conference. Since the time of that workshop, there may have been updates made to Stable Diffusion, DALL-E, and GPT-3 that render the Python notebooks offered here obsolete. However, the source code is still useful as an instructional aid.

The purpose of this workshop is to introduce students to one method of accessing and using Stable Diffusion, DALL-E, and GPT-3. This method uses the Python programming language and each AI application's API (Application Programming Interface) to gain access to each application's functionality. The cloud-based Google CoLaboratory (aka COLAB) is used to run the Python programs from a normal browser session. The benefits of this approach are:

  • the versions of the AI tools being accessed are free of charge
  • access to Google CoLaboratory is free of charge
  • no local software installation is needed
  • hardware dependencies and operating system requirements are avoided

Students and their teachers attending the 2023 International Space Development Conference (ISDC) have as one of their programming options the opportunity to participate in the Using AI Tools to Generate Art and Text With Stable Diffusion, DALL-E, and GPT-3 Using Google CoLaboratory workshop. Participation in the workshop is limited to students and their teachers and is not open to other attendees of the ISDC. Workshop attendance is limited to 40. Students or teachers who do not sign up may be admitted but only if there are open seats available.

In order to guarantee a seat at the workshop, students and teachers will need to fill out the workshop sign up form. The link to the sign up form is to be made available by the NSS education team that is managing the student programming track for the conference.

The four files linked to below are the files to be used by the students attending the Using AI Tools to Generate Art and Text With Stable Diffusion, DALL-E, and GPT-3 Using Google CoLaboratory Workshop at the 2023 International Space Development Conference (ISDC).

For students and teachers who will have their laptops with them during the workshop and who wish to run their own copies of the programs in real time, instructions on the workshop's prerequisites is given on both the workshop sign up form and in the presentation pdf listed below. Time will not be given to set up your accounts while the workshop is in session.

Files that will be used during the Colab AI workshop

The following files will be used during the course of the workshop. Attendees are advised to download these files to their own laptop in advance of the workshop.

NOTE: Depending on your browser, you may need to right-click on the ipynb files and use the 'save link as' option to download the file as some browsers may simply open the file.

dalle-gpt3-stable-diffusion-ai-tools-workshop-presentation.pdf
Using AI Tools to Generate Art and Text With Stable Diffusion, DALL-E, and GPT-3 Using Google CoLaboratory Workshop Presentation
1-OpenAI-GPT-3-DALL-E.ipynb
The Colab Python notebook for the GPT-3 and DALL-E demonstration
2-AI-Generated-Art-Using-Stable-Diffusion.ipynb
The Colab Python notebook for part 1 of the Stable Diffusion demonstration
3-AI-Generated-Art-Using-Stable-Diffusion.ipynb
The Colab Python notebook for part 2 of the Stable Diffusion demonstration