awslabs / generative-ai-cdk-constructs

AWS Generative AI CDK Constructs are sample implementations of AWS CDK for common generative AI patterns.
https://awslabs.github.io/generative-ai-cdk-constructs/
Apache License 2.0
350 stars 50 forks source link

(New construct): Image generation #148

Closed krokoko closed 8 months ago

krokoko commented 10 months ago

Describe the feature

Build a construct for image generation using Amazon Bedrock's Stable Diffusion XL Backend only, a sample solution with a UI can then be built

Use Case

Expanding catalog

Proposed Solution

No response

Other Information

No response

Acknowledgements

dineshSajwan commented 9 months ago

proposed solution.

  1. A construct to generate the image based on text, add props to control the inference
  2. guardrails with amazon comprehend on the prompt.
  3. guardrails with aws rekognition on generated image.
  4. store the generated image on s3