This project demonstrates how to build a serverless, AI-powered image generation website using Amazon Bedrock, AWS Lambda, API Gateway, and a static frontend hosted on Amazon S3. It leverages the Amazon Titan Image Generator G1 v2 model to create high-quality images from text prompts.
- Generate images from text prompts using Amazon Bedrock.
- Serverless architecture with AWS Lambda and API Gateway.
- Static frontend hosted on Amazon S3.
- Scalable and cost-effective solution.
The application follows a fully serverless architecture on AWS:
- Frontend (React): Hosted on Amazon S3 with static website hosting.
- API Gateway: Serves as the entry point for frontend requests.
- AWS Lambda: Processes input and integrates with Amazon Bedrock.
- Amazon Bedrock: Powers image generation using Titan Image Generator G1 v2.
- Amazon S3: Stores and delivers static assets.
To get started with this project, you'll need to:
- Clone the repository and install dependencies for both frontend and backend.
- Deploy the backend using AWS SAM or Serverless Framework.
- Configure your API endpoint in the frontend app.
- Build the frontend and upload it to an S3 bucket with static website hosting enabled.
- Open your website via the S3 public URL and start generating images!
For detailed steps, refer to the blog post:
📖 Build Your Own Image Generation Website with Amazon Bedrock
This Website uses Amazon Nova, a powerful foundation model that enables:
- Text-to-image conversion
- Text summerization
- Text to video creation
If you run into any issues or have questions, feel free to reach out — just drop a comment or DM me. I’m always happy to help! 🙌
Let’s build something amazing together! 🚀
This project is licensed under the MIT-0 License. See the LICENSE file for full details.
- Sarvar Nadaf — for authoring the original tutorial and making AWS magic accessible!
- AWS Community Builders Program - empowering cloud builders worldwide.
