https://github.com/build-on-aws/amazon-bedrock-lambda-image-generation-golang
Serverless image generation with Amazon Bedrock and AWS Lambda
https://github.com/build-on-aws/amazon-bedrock-lambda-image-generation-golang
amazon-bedrock aws-cdk aws-lambda generative-ai golang
Last synced: 12 days ago
JSON representation
Serverless image generation with Amazon Bedrock and AWS Lambda
- Host: GitHub
- URL: https://github.com/build-on-aws/amazon-bedrock-lambda-image-generation-golang
- Owner: build-on-aws
- License: mit-0
- Created: 2023-10-10T09:07:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-12T05:25:25.000Z (over 1 year ago)
- Last Synced: 2025-05-06T17:59:55.100Z (about 2 months ago)
- Topics: amazon-bedrock, aws-cdk, aws-lambda, generative-ai, golang
- Language: HTML
- Homepage:
- Size: 686 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Serverless image generation with Amazon Bedrock and AWS Lambda

[Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html/?sc_channel=el&sc_campaign=genaiwave&sc_content=amazon-bedrock-lambda-image-gen-website&sc_geo=mult&sc_country=mult&sc_outcome=acq) is a fully managed service that makes base models from Amazon and third-party model providers (such as Anthropic, Cohere, and more) accessible through an API.
Once the solution is deployed, users can access a static website hosted on [Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html/?sc_channel=el&sc_campaign=genaiwave&sc_content=amazon-bedrock-lambda-image-gen-website&sc_geo=mult&sc_country=mult&sc_outcome=acq) via [Amazon CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html/?sc_channel=el&sc_campaign=genaiwave&sc_content=amazon-bedrock-lambda-image-gen-website&sc_geo=mult&sc_country=mult&sc_outcome=acq) domain. They can enter the image description which will be passed on to a Lambda function (via [Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html/?sc_channel=el&sc_campaign=genaiwave&sc_content=amazon-bedrock-lambda-image-gen-website&sc_geo=mult&sc_country=mult&sc_outcome=acq)) which in turn will invoke [Stable Diffusion model on Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html#models-supported/?sc_channel=el&sc_campaign=genaiwave&sc_content=amazon-bedrock-lambda-image-gen-website&sc_geo=mult&sc_country=mult&sc_outcome=acq) to generate the image.

## Security
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
## License
This library is licensed under the MIT-0 License. See the LICENSE file.