Stability AI’s Top Image Models Now Available on Amazon Bedrock

NewsStability AI’s Top Image Models Now Available on Amazon Bedrock



Exciting New Text-to-Image Models Available on Amazon Bedrock: A Deep Dive


Starting today, Amazon Bedrock users can access three new advanced text-to-image models from Stability AI: Stable Image Ultra, Stable Diffusion 3 Large, and Stable Image Core. These models promise to significantly enhance performance in multi-subject prompts, image quality, and typography. They are designed to quickly generate high-quality visuals, making them ideal for sectors such as marketing, advertising, media, entertainment, and retail.

Overview of the New Models


The three new Stability AI models each have unique features and applications:

  • Stable Image Ultra: This model produces the highest quality photorealistic outputs, making it perfect for professional print media and large-format applications. It excels in rendering exceptional detail and realism.
  • Stable Diffusion 3 Large: Balances generation speed and output quality. It’s ideal for creating high-volume, high-quality digital assets like those used in websites, newsletters, and marketing materials.
  • Stable Image Core: Optimized for fast and affordable image generation, this model is great for quickly iterating on concepts during the ideation phase.

    Key Features Comparison


    Here’s a quick overview of the key features of each model:

    | Features | Stable Image Ultra | Stable Diffusion 3 Large | Stable Image Core |
    |———————-|—————————-|——————————|————————–|
    | Parameters | 16 billion | 8 billion | 2.6 billion |
    | Input | Text | Text or image | Text |
    | Typography | Tailored for large-scale display | Tailored for large-scale display | Versatility and readability across different sizes and applications |
    | Visual Aesthetics| Photorealistic image output| Highly realistic with finer attention to detail | Good rendering; not as detail-oriented |

    Improvements and Technological Advancements


    A significant improvement in Stable Image Ultra and Stable Diffusion 3 Large over previous models like Stable Diffusion XL (SDXL) is the enhanced text quality in generated images. This improvement is attributed to the innovative Diffusion Transformer architecture, which uses two separate sets of weights for image and text but allows for information flow between the two modalities. This reduces errors in spelling and typography, making the models more accurate and reliable.

    Example Outputs


    Here are a few examples of images created using these models:

  • Stable Image Ultra: Prompt – A photo-realistic image of a woman sitting in a field watching a kite fly in the sky, with a stormy sky background, highly detailed, and professional composition.
    Stable Image Ultra Example

  • Stable Diffusion 3 Large: Prompt – Comic-style illustration of a male detective standing under a streetlamp in a noir city, wearing a trench coat and fedora, with dark and rainy settings, neon signs, reflections on wet pavement, detailed, moody lighting.
    Stable Diffusion 3 Large Example

  • Stable Image Core: Prompt – Professional 3D render of a white and orange sneaker, floating in the center, high quality, photorealistic.
    Stable Image Core Example

    Use Cases


    Text-to-image models provide transformative potential for businesses across various industries. They can significantly streamline creative workflows in marketing and advertising, enabling rapid generation of high-quality visuals for campaigns, social media content, and product mockups. By expediting the creative process, companies can respond more quickly to market trends and reduce the time-to-market for new initiatives. Additionally, these models can enhance brainstorming sessions by providing instant visual representations of concepts, thus sparking further innovation.

    For e-commerce businesses, AI-generated images can help create diverse product showcases and personalized marketing materials at scale. In user experience and interface design, these tools can quickly produce wireframes and prototypes, accelerating the design iteration process. The adoption of text-to-image models can lead to significant cost savings, increased productivity, and a competitive edge in visual communication across various business functions.

    Example Use Cases Across Different Industries:

    Advertising and Marketing:

  • Use Stable Image Ultra for luxury brand advertising and photorealistic product showcases.
  • Use Stable Diffusion 3 Large for high-quality product marketing images and print campaigns.
  • Use Stable Image Core for rapid A/B testing of visual concepts for social media ads.

    E-commerce:
  • Use Stable Image Ultra for high-end product customization and made-to-order items.
  • Use Stable Diffusion 3 Large for most product visuals across an e-commerce site.
  • Use Stable Image Core to quickly generate product images and keep listings up-to-date.

    Media and Entertainment:
  • Use Stable Image Ultra for ultra-realistic key art, marketing materials, and game visuals.
  • Use Stable Diffusion 3 Large for environment textures, character art, and in-game assets.
  • Use Stable Image Core for rapid prototyping and concept art exploration.

    How to Use the New Models


    You can start using these new models via the AWS Management Console, AWS Command Line Interface (CLI), and AWS SDKs.

    Using the Models in the Amazon Bedrock Console:

    1. Open the Amazon Bedrock console.
    2. Choose Model access from the navigation pane to enable access to the three new models in the Stability AI section.
    3. Choose Image in the Playgrounds section of the navigation pane.
    4. Select Stability AI and Stable Image Ultra as the model.
    5. Enter a prompt, for example:
      • "A stylized picture of a cute old steampunk robot with in its hands a sign written in chalk that says ‘Stable Image Ultra in Amazon Bedrock’."
    6. Leave all other options to their default values and choose Run. The generated image will appear after a few seconds.

      Using Stable Image Ultra with the AWS CLI:

      While in the console’s Image playground, you can view the AWS CLI command equivalent to your console actions:
      bash<br /> aws bedrock-runtime invoke-model \<br /> --model-id stability.stable-image-ultra-v1:0 \<br /> --body "\"prompt\":\"A stylized picture of a cute old steampunk robot with in its hands a sign written in chalk that says \\\"Stable Image Ultra in Amazon Bedrock\\\".\",\"mode\":\"text-to-image\",\"aspect_ratio\":\"1:1\",\"output_format\":\"jpeg\"" \<br /> --cli-binary-format raw-in-base64-out \<br /> --region us-west-2 \<br /> invoke-model-output.txt<br />
      This command outputs the image in Base64 format inside a JSON object in a text file.

      Using the AWS SDKs:

      Here’s an example of using Stable Image Ultra with the AWS SDK for Python (Boto3):

      python<br /> import base64<br /> import boto3<br /> import json<br /> import os<br /> <br /> MODEL_ID = "stability.stable-image-ultra-v1:0"<br /> <br /> bedrock_runtime = boto3.client("bedrock-runtime", region_name="us-west-2")<br /> <br /> print("Enter a prompt for the text-to-image model:")<br /> prompt = input()<br /> <br /> body = {<br /> "prompt": prompt,<br /> "mode": "text-to-image"<br /> }<br /> <br /> response = bedrock_runtime.invoke_model(modelId=MODEL_ID, body=json.dumps(body))<br /> <br /> model_response = json.loads(response["body"].read())<br /> <br /> base64_image_data = model_response["images"][0]<br /> <br /> i, output_dir = 1, "output"<br /> if not os.path.exists(output_dir):<br /> os.makedirs(output_dir)<br /> while os.path.exists(os.path.join(output_dir, f"img_{i}.png")):<br /> i += 1<br /> <br /> image_data = base64.b64decode(base64_image_data)<br /> <br /> image_path = os.path.join(output_dir, f"img_{i}.png")<br /> with open(image_path, "wb") as file:<br /> file.write(image_data)<br /> <br /> print(f"The generated image has been saved to {image_path}")<br />

      This script interactively asks for a prompt and generates an image, saving it in a specified output directory.

      Customer Testimonials and Further Reading


      Ken Hoge, Global Alliance Director at Stability AI, shares insights on how Stable Diffusion models are reshaping the industry from text-to-image to video, audio, and 3D. Amazon Bedrock empowers customers with an all-in-one, secure, and scalable solution.

      Nicolette Han, Product Owner at Stride Learning, explains how their Legend Library is transforming how young minds engage with literature using AI to create stunning illustrations for children’s stories.

      Things to Know


      The new Stability AI models – Stable Image Ultra, Stable Diffusion 3 Large, and Stable Image Core – are now available in Amazon Bedrock in the US West (Oregon) AWS Region. With this launch, Amazon Bedrock offers more solutions to boost creativity and accelerate content generation workflows. For more information on costs, visit the Amazon Bedrock pricing page.

      To get started, see the Stability AI’s models section of the Amazon Bedrock User Guide. For more examples and deep-dive technical content, visit community.aws.

      Stay tuned for more updates and innovations from the world of AI!



      This detailed article should provide your readers with a comprehensive understanding of the new text-to-image models available on Amazon Bedrock, their features, applications, and how to use them effectively.

For more Information, Refer to this article.
Neil S
Neil S
Neil is a highly qualified Technical Writer with an M.Sc(IT) degree and an impressive range of IT and Support certifications including MCSE, CCNA, ACA(Adobe Certified Associates), and PG Dip (IT). With over 10 years of hands-on experience as an IT support engineer across Windows, Mac, iOS, and Linux Server platforms, Neil possesses the expertise to create comprehensive and user-friendly documentation that simplifies complex technical concepts for a wide audience.
Watch & Subscribe Our YouTube Channel
YouTube Subscribe Button

Latest From Hawkdive

You May like these Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.