Close Menu
    Main Menu
    • Home
    • News
    • Tech
    • Robotics
    • ML & Research
    • AI
    • Digital Transformation
    • AI Ethics & Regulation
    • Thought Leadership in AI

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    ⚡ Weekly Recap: Chrome 0-Day, Information Wipers, Misused Instruments and Zero-Click on iPhone Assaults

    June 9, 2025

    Google Gemini will allow you to schedule recurring duties now, like ChatGPT – this is how

    June 9, 2025

    7 Cool Python Initiatives to Automate the Boring Stuff

    June 9, 2025
    Facebook X (Twitter) Instagram
    UK Tech Insider
    Facebook X (Twitter) Instagram Pinterest Vimeo
    UK Tech Insider
    Home»Machine Learning & Research»Actual-world purposes of Amazon Nova Canvas for inside design and product images
    Machine Learning & Research

    Actual-world purposes of Amazon Nova Canvas for inside design and product images

    Oliver ChambersBy Oliver ChambersMay 30, 2025No Comments10 Mins Read
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Actual-world purposes of Amazon Nova Canvas for inside design and product images
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    As AI picture era turns into more and more central to fashionable enterprise workflows, organizations are looking for sensible methods to implement this expertise for particular business challenges. Though the potential of AI picture era is huge, many companies wrestle to successfully apply it to their distinctive use circumstances.

    On this put up, we discover how Amazon Nova Canvas can resolve real-world enterprise challenges by superior picture era strategies. We concentrate on two particular use circumstances that reveal the ability and suppleness of this expertise:

    • Inside design – Picture conditioning with segmentation helps inside designers quickly iterate by design ideas, dramatically lowering the time and price related to creating shopper displays
    • Product images – Outpainting allows product photographers to create various environmental contexts for merchandise with out intensive photograph shoots

    Whether or not you’re an inside design agency seeking to streamline your visualization course of or a retail enterprise aiming to scale back images prices, this put up will help you employ the superior options of Amazon Nova Canvas to realize your particular enterprise goals. Let’s dive into how these highly effective instruments can rework your picture era workflow.

    Conditions

    You must have the next stipulations:

    Inside design

    An inside design agency has the next downside: Their designers spend hours creating photorealistic designs for shopper displays, needing a number of iterations of the identical room with totally different themes and ornamental parts. Conventional 3D rendering is time-consuming and costly. To resolve this downside, you should use the picture conditioning (segmentation) options of Amazon Nova Canvas to quickly iterate on present room images. The situation picture is analyzed to determine outstanding content material shapes, leading to a segmentation masks that guides the era. The generated picture carefully follows the structure of the situation picture whereas permitting the mannequin to have artistic freedom inside the bounds of every content material space.

    The next photos present examples of the preliminary enter, a segmentation masks primarily based on the enter, and output primarily based on two totally different prompts.

    AI-generated semantic segmentation map of a living room, with objects labeled in different colors
    Enter picture of a front room Segmentation masks of front room
    Minimalist living room featuring white furniture, dark wood accents, and marble-look floors Coastal-themed living room with ocean view and beach-inspired decor
    Immediate: A minimalistic front room Immediate: A coastal seaside themed front room

    This put up demonstrates preserve structural integrity whereas remodeling inside parts, so you may generate a number of variations in minutes with easy prompting and enter photos. The next code block presents the API request construction for picture conditioning with segmentation. Parameters to carry out these transformations are handed to the mannequin by the API request. Be sure that the output picture has the identical dimensions because the enter picture to keep away from distorted outcomes.

    {
        "taskType": "TEXT_IMAGE",
        "textToImageParams": {
            "conditionImage": string (Base64 encoded picture), #Unique front room
            "controlMode": "SEGMENTATION", 
            "controlStrength": float, #Specify how carefully to comply with the situation       #picture (0.0-1.0; Default: 0.7).
            "textual content": string, #A minimalistic front room
            "negativeText": string
        },
        "imageGenerationConfig":  "premium",
            "cfgScale": float,
            "seed": int,
            "numberOfImages": int
        
    }

    The taskType object determines the kind of operation being carried out and has its personal set of parameters, and the imageGenerationConfig object comprises basic parameters widespread to all job varieties (besides background removing). To be taught extra in regards to the request/response construction for several types of generations, seek advice from Request and response construction for picture era.

    The next Python code demonstrates a picture conditioning era by invoking the Amazon Nova Canvas v1.0 mannequin on Amazon Bedrock:

    import base64  #For encoding/decoding base64 knowledge
    import io  #For dealing with byte streams
    import json  #For JSON operations
    import boto3  #AWS SDK for Python
    from PIL import Picture  #Python Imaging Library for picture processing
    from botocore.config import Config  #For AWS shopper configuration
    #Create a variable to repair the area to the place Nova Canvas is enabled 
    area = "us-east-1"
    
    #Create Bedrock shopper with 300 second timeout
    bedrock = boto3.shopper(service_name="bedrock-runtime", region_name=area,
            config=Config(read_timeout=300))
    
    #Unique front room picture in present working listing
    input_image_path = "Unique Dwelling Room.jpg"
    
    #Learn and encode the picture
    def prepare_image(image_path):
        with open(image_path, 'rb') as image_file:
            image_data = image_file.learn()
            base64_encoded = base64.b64encode(image_data).decode('utf-8')
        return base64_encoded
    
    #Get the base64 encoded picture
    input_image = prepare_image(input_image_path)
    
    #Set the content material sort and settle for headers for the API name
    settle for = "software/json"
    content_type = "software/json"
    
    #Put together the request physique
    api_request = json.dumps({
           "taskType": "TEXT_IMAGE",  #Sort of era job
           "textToImageParams": {
                 "textual content": "A minimalistic front room",  #Immediate
                 "negativeText": "unhealthy high quality, low res",  #What to keep away from
                 "conditionImage": input_image,  #Base64 encoded unique front room
                 "controlMode": "SEGMENTATION"  #Segmentation mode
                },
           "imageGenerationConfig": {
                 "numberOfImages": 1,  #Generate one picture
                 "peak": 1024,  #Picture peak, similar because the enter picture
                 "width": 1024,  #Picture width, similar because the enter picture
                 "seed": 0, #Modify seed worth to get variations on the identical immediate
                 "cfgScale": 7.0  #Classifier Free Steering scale
                }
    })
    
    #Name the mannequin to generate picture
    response = bedrock.invoke_model(physique=api_request, modelId='amazon.nova-canvas-v1:0', settle for=settle for, contentType=content_type)
    
    #Parse the response physique
    response_json = json.masses(response.get("physique").learn())
    
    #Extract and decode the base64 picture
    base64_image = response_json.get("photos")[0]  #Get first picture
    base64_bytes = base64_image.encode('ascii')  #Convert to ASCII
    image_data = base64.b64decode(base64_bytes)  #Decode base64 to bytes
    
    #Show the generated picture
    output_image = Picture.open(io.BytesIO(image_data))
    output_image.present()
    #Save the picture to present working listing
    output_image.save('output_image.png')
    

    Product images

    A sports activities footwear firm has the next downside: They should showcase their versatile new trainers in a number of environments (working observe, open air, and extra), requiring costly location shoots and a number of images classes for every variant. To resolve this downside, you should use Amazon Nova Canvas to generate various pictures from a single product photograph. Outpainting can be utilized to exchange the background of a picture. You’ll be able to instruct the mannequin to protect components of the picture by offering a masks immediate, for instance, “Footwear.” A masks immediate is a pure language description of the objects in your picture that shouldn’t be modified throughout outpainting. You’ll be able to then generate the sneakers in numerous backgrounds with new prompts.

    The next photos present examples of the preliminary enter, a masks created for “Footwear,” and output primarily based on two totally different prompts.

    Stylized product photo of performance sneaker with contrasting navy/white upper and orange details Black silhouette of an athletic sneaker in profile view
    Studio photograph of trainers Masks created for “Footwear”
    Athletic running shoe with navy and orange colors on red running track Athletic shoe photographed on rocky surface with forest background
    Immediate: Product photoshoot of sports activities sneakers positioned on a working observe outside Immediate: Product photoshoot of sports activities sneakers on rocky terrain, forest background

    As an alternative of utilizing a masks immediate, you may enter a masks picture, which defines the areas of the picture to protect. The masks picture have to be the identical dimension because the enter picture. Areas to be edited are shaded pure white and areas to protect are shaded pure black. Outpainting mode is a parameter to outline how the masks is handled. Use DEFAULT to transition easily between the masked space and the non-masked space. This mode is mostly higher if you need the brand new background to make use of comparable colours as the unique background. Nonetheless, you will get a halo impact in case your immediate requires a brand new background that’s considerably totally different than the unique background. Use PRECISE to strictly adhere to the masks boundaries. This mode is mostly higher if you’re making vital adjustments to the background.

    This put up demonstrates use outpainting to seize product accuracy, after which flip one studio photograph into totally different environments seamlessly. The next code illustrates the API request construction for outpainting:

    {
        "taskType": "OUTPAINTING",
        "outPaintingParams":  "PRECISE", 
            "textual content": string,  #Product photoshoot of sports activities sneakers on rocky terrain
            "negativeText": string
        ,
        "imageGenerationConfig":  "premium",
            "cfgScale": float,
            "seed": int
        
    }

    The next Python code demonstrates an outpainting-based background substitute by invoking the Amazon Nova Canvas v1.0 mannequin on Amazon Bedrock. For extra code examples, see Code examples.

    import base64  #For encoding/decoding base64 knowledge
    import io  #For dealing with byte streams
    import json  #For JSON operations
    import boto3  #AWS SDK for Python
    from PIL import Picture  #Python Imaging Library for picture processing
    from botocore.config import Config  #For AWS shopper configuration
    #Create a variable to repair the area to the place Nova Canvas is enabled 
    area = "us-east-1"
    
    #Create Bedrock shopper with 300 second timeout
    bedrock = boto3.shopper(service_name="bedrock-runtime", region_name=area,
            config=Config(read_timeout=300))
    
    #Unique studio picture of sneakers in present working listing
    input_image_path = "Footwear.png"
    
    #Learn and encode the picture
    def prepare_image(image_path):
        with open(image_path, 'rb') as image_file:
            image_data = image_file.learn()
            base64_encoded = base64.b64encode(image_data).decode('utf-8')
        return base64_encoded
    
    #Get the base64 encoded picture
    input_image = prepare_image(input_image_path)
    
    #Set the content material sort and settle for headers for the API name
    settle for = "software/json"
    content_type = "software/json"
    
    #Put together the request physique
    api_request = json.dumps({
            "taskType": "OUTPAINTING",
            "outPaintingParams": {
                 "picture": input_image,
                 "maskPrompt": "Footwear", 
                 "outPaintingMode": "DEFAULT", 
                 "textual content": "Product photoshoot of sports activities sneakers positioned on a working observe outside",
                 "negativeText": "unhealthy high quality, low res"
                },
            "imageGenerationConfig": {
                 "numberOfImages": 1,
                 "seed": 0, #Modify seed worth to get variations on the identical immediate
                 "cfgScale": 7.0
                }
    })
    
    #Name the mannequin to generate picture
    response = bedrock.invoke_model(physique=api_request, modelId='amazon.nova-canvas-v1:0', settle for=settle for, contentType=content_type)
    
    #Parse the response physique
    response_json = json.masses(response.get("physique").learn())
    
    #Extract and decode the base64 picture
    base64_image = response_json.get("photos")[0]  #Get first picture
    base64_bytes = base64_image.encode('ascii')  #Convert to ASCII
    image_data = base64.b64decode(base64_bytes)  #Decode base64 to bytes
    
    #Show the generated picture
    output_image = Picture.open(io.BytesIO(image_data))
    output_image.present()
    #Save the picture to present working listing
    output_image.save('output_image.png')

    Clear up

    When you’ve gotten completed testing this answer, clear up your sources to stop AWS costs from being incurred:

    1. Again up the Jupyter notebooks within the SageMaker pocket book occasion.
    2. Shut down and delete the SageMaker pocket book occasion.

    Price issues

    Contemplate the next prices from the answer deployed on AWS:

    • You’ll incur costs for generative AI inference on Amazon Bedrock. For extra particulars, seek advice from Amazon Bedrock pricing.
    • You’ll incur costs on your SageMaker pocket book occasion. For extra particulars, seek advice from Amazon SageMaker pricing.

    Conclusion

    On this put up, we explored sensible implementations of Amazon Nova Canvas for 2 high-impact enterprise eventualities. Now you can generate a number of design variations or various environments in minutes fairly than hours. With Amazon Nova Canvas, you may considerably scale back prices related to conventional visible content material creation. Seek advice from Producing photos with Amazon Nova to be taught in regards to the different capabilities supported by Amazon Nova Canvas.

    As subsequent steps, start with a single use case that carefully matches your enterprise wants. Use our supplied code examples as a basis and adapt them to your particular necessities. After you’re acquainted with the essential implementations, discover combining a number of strategies and scale steadily. Don’t neglect to trace time financial savings and price reductions to measure ROI. Contact your AWS account workforce for enterprise implementation steering.


    In regards to the Creator

    Arjun Singh is a Sr. Information Scientist at Amazon, skilled in synthetic intelligence, machine studying, and enterprise intelligence. He’s a visible individual and deeply inquisitive about generative AI applied sciences in content material creation. He collaborates with prospects to construct ML/AI options to realize their desired outcomes. He graduated with a Grasp’s in Info Methods from the College of Cincinnati. Exterior of labor, he enjoys enjoying tennis, figuring out, and studying new expertise.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Oliver Chambers
    • Website

    Related Posts

    7 Cool Python Initiatives to Automate the Boring Stuff

    June 9, 2025

    ML Mannequin Serving with FastAPI and Redis for sooner predictions

    June 9, 2025

    Construct a Textual content-to-SQL resolution for information consistency in generative AI utilizing Amazon Nova

    June 7, 2025
    Leave A Reply Cancel Reply

    Top Posts

    ⚡ Weekly Recap: Chrome 0-Day, Information Wipers, Misused Instruments and Zero-Click on iPhone Assaults

    June 9, 2025

    How AI is Redrawing the World’s Electrical energy Maps: Insights from the IEA Report

    April 18, 2025

    Evaluating the Finest AI Video Mills for Social Media

    April 18, 2025

    Utilizing AI To Repair The Innovation Drawback: The Three Step Resolution

    April 18, 2025
    Don't Miss

    ⚡ Weekly Recap: Chrome 0-Day, Information Wipers, Misused Instruments and Zero-Click on iPhone Assaults

    By Declan MurphyJune 9, 2025

    Behind each safety alert is an even bigger story. Typically it’s a system being examined.…

    Google Gemini will allow you to schedule recurring duties now, like ChatGPT – this is how

    June 9, 2025

    7 Cool Python Initiatives to Automate the Boring Stuff

    June 9, 2025

    Kettering Well being Confirms Interlock Ransomware Breach and Information Theft

    June 9, 2025
    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    UK Tech Insider
    Facebook X (Twitter) Instagram Pinterest
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms Of Service
    • Our Authors
    © 2025 UK Tech Insider. All rights reserved by UK Tech Insider.

    Type above and press Enter to search. Press Esc to cancel.