--- 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 ---

AWS Nova Canvas Image Generation

float-app icon

float is under the Apache 2.0 liscense Expo Version Google Text-To-Speech

From Thought - To Concept
Nova Canvas ยป

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= AWS_SECRET= NOVA_IMAGE_BUCKET= BUCKET_REGION= HF_TOKEN= RATE_LIMIT= ``` ## Technical Details - Model: Amazon Nova Canvas (amazon.nova-canvas-v1:0) - Model: Amazon Nova Lite (us.amazon.nova-lite-v1:0) - Image Generation Parameters: - Default resolution: 1024x1024 - Quality: Standard - CFG Scale: 8.0 - Configurable seed