--- title: AWS Nova Canvas emoji: ๐ colorFrom: blue colorTo: red sdk: gradio sdk_version: 5.6.0 app_file: app.py pinned: false license: apache-2.0 short_description: Generate image variations ---
A Gradio application for advanced image generation using AWS Nova Canvas, offering comprehensive image manipulation capabilities. ## Capabilities - **Text to Image**: Generate images from text prompts - **Inpainting**: Modify specific image areas - **Outpainting**: Extend image boundaries - **Image Variation**: Create image variations - **Image Conditioning**: Generate images based on input image and text - **Color Guided Content**: Create images using reference color palettes - **Background Removal**: Remove image backgrounds ## Prerequisites - AWS credentials configured (AmazonBedrockFullAccess) - HF Token for Input Image Check - Boto3 Python library - Gradio 5.6.0 ## Install ```script git clone https://github.com/hatmanstack/canvas-demo.git cd canvas-demo python -r requirements.txt ``` - Create a .env in the root directory with AWS and HuggingFace credentials - grant access in us-east-1 to Nova Family of Models - grant full Bedrock Access - grant access to s3 bucket in region of your choice .env ```script AWS_ID=