Tutorial
Automating Image Generation with Stable Diffusion, Make, and Airtable

In this video, we will explore how to generate dynamic images in bulk using the Stable Diffusion API. We will use Make, Airtable, and Stable Diffusion tools to create images for almost 200 items, which will end being used on dynamic web pages. The aim is to generate 200 dynamic web pages for each item using target keywords to create images.

Overview
We will use the city name coming from the Airtable record and other settings to create a prompt dynamically, which will be used as input configuration in Make. This approach allows us to generate unique, contextual images for each location in our database.
The Workflow
The automation workflow consists of several key components:
- Airtable Database: Stores all the city records with relevant metadata and keywords
- Make Automation: Orchestrates the entire process, pulling data from Airtable and triggering image generation
- Stable Diffusion API: Generates images based on dynamically created prompts
- Image Storage: Stores generated images and updates Airtable records with image URLs
Setting Up Airtable
The first step is to structure your Airtable base with all the necessary fields. For this use case, you'll want to include:
- City name
- Target keywords for SEO
- Image prompt template
- Image URL (to be populated by the automation)
- Generation status
Configuring Make
Make (formerly Integromat) serves as the central hub for this automation. The scenario pulls records from Airtable, constructs the image generation prompts, calls the Stable Diffusion API, and updates the records with the generated image URLs.
Dynamic Prompt Generation
The key to creating contextual images is building dynamic prompts. By combining the city name with your target keywords and descriptive elements, you can generate unique images that are relevant to each specific location.
Stable Diffusion API Integration
The Stable Diffusion API accepts text prompts and returns generated images. By integrating this with Make, you can automate the entire image generation process at scale. Configure the API settings for optimal results, including image dimensions, sampling steps, and guidance scale.
Benefits of This Approach
- Scalability: Generate hundreds of images in bulk without manual intervention
- Consistency: Maintain a consistent style and quality across all generated images
- Cost-effective: Automated workflow reduces manual design time and costs
- SEO Optimization: Create unique images for each location or keyword target
- Dynamic Updates: Easy to regenerate or update images as needed
Conclusion
Automating image generation with Stable Diffusion, Make, and Airtable opens up new possibilities for creating dynamic, scalable content. This workflow is particularly useful for businesses managing large amounts of location-based content, product catalogs, or any use case requiring unique images at scale.
