Amazon Bedrock now gives Stability AI Picture Companies: 9 instruments that enhance how companies create and modify pictures. The know-how extends Secure Diffusion and Secure Picture fashions to offer you exact management over picture creation and modifying. Clear prompts are crucial—they supply artwork course to the AI system. Robust prompts management particular components like tone, texture, lighting, and composition to create the specified visible outcomes. This functionality serves skilled wants throughout product pictures, idea, and advertising and marketing campaigns.
On this put up, we develop on the put up Understanding immediate engineering: Unlock the inventive potential of Stability AI fashions on AWS. We present the right way to successfully use superior prompting methods to maximise picture era high quality and precision for enterprise software utilizing Stability AI Picture Companies in Amazon Bedrock.
Resolution overview
Stability AI Picture Companies can be found as APIs in Amazon Bedrock, that includes capabilities resembling, in-painting, model switch, recoloring, background elimination, object elimination, model information, and far more.
Within the following sections, we first focus on immediate construction for optimum management of picture era, then we offer superior methods of prompting for stylistic steerage. Code samples may be discovered within the following GitHub repository.
Conditions
To get began with Stability AI Picture Companies in Amazon Bedrock, observe the directions in Getting began with the API to finish the next stipulations:
- Arrange your AWS account.
- Purchase credentials to grant programmatic entry.
- Connect the Amazon Bedrock permission to an AWS Identification and Entry Administration (IAM) consumer or function.
- Request entry to the Amazon Bedrock fashions.
Construction prompts that maximize management
To maximise the granular capabilities of Stability AI Picture Companies in Amazon Bedrock, you have to assemble prompts that allow fine-grained management.
This part outlines greatest practices for constructing efficient prompts that produce the specified output. We show how immediate construction impacts outcomes and why extra structured prompts sometimes yield extra constant and controllable outcomes.
Select the best immediate kind in your use case
Choosing the best immediate format helps the mannequin higher perceive your intent. Three main immediate codecs ship totally different ranges of management and readability:
- Pure language maximizes readability and is greatest for basic utilization
- Tag-based codecs allow exact structural management and are perfect for technical software
- Hybrid codecs mix pure language and the structural components of tags to supply much more management
The next desk gives examples of those three frequent methods to phrase your prompts. Every immediate format has its strengths relying in your objective or the interface you’re utilizing.
| Immediate kind | Immediate instance | Generated picture utilizing Secure Picture Extremely in Amazon Bedrock | Description and use case |
| Fundamental Immediate (Pure Language) | “A clear product picture of a fragrance bottle on a marble countertop” | That is readable and intuitive. Nice for exploration, conversational instruments, and a few mannequin sorts. Secure Diffusion 3.5 responds greatest to this model. | |
| Tag-Based mostly Immediate | “fragrance bottle, marble floor, delicate mild, prime quality, product picture” | ![]() |
Utilized in many era UIs or with fashions educated on datasets like LAION or Danbooru. Compact and good for stacking particulars. |
| Hybrid Immediate | “fragrance bottle on marble counter, delicate studio lighting, sharp focus, f/2.8lens” | ![]() |
Better of each worlds. Add emphasis with weighting syntax to affect the mannequin’s priorities. |
Construct modular prompts
Modular prompting enhances AI picture era effectiveness. This method divides prompts into distinct parts, every specifying what to attract and the way it ought to seem. Modular buildings present a number of advantages: they assist forestall conflicting or complicated directions, permit for exact output management, and simplify immediate debugging. By isolating particular person components, you possibly can rapidly establish and alter efficient or ineffective elements of your prompts. This methodology finally results in extra refined and focused AI-generated pictures.
The next desk gives examples of modular immediate modules. Experiment with totally different immediate sequences in your desired consequence; for instance, putting the model earlier than the topic will give it a extra visible weight.
| Module | Instance | Description |
| Prefix | “style editorial portrait of” | Units the tone and intent for a high-fashion styled portrait |
| Topic | “a lady with medium-brown pores and skin and brief coiled hair” | Provides the mannequin’s look and floor element to assist information facial options |
| Modifiers | “sporting an asymmetrical black mesh prime, metallic jewellery” | Provides stylized clothes and accessories for visible curiosity |
| Motion | “seated together with her shoulders angled, eyes locked on digicam, one arm lifted” | Describes physique language and pose to offer dynamic composition |
| Setting | “bathed in intersecting beams of arduous directional mild by means of window slats” | Provides context for dramatic mild play and ambiance |
| Type | “high-contrast chiaroscuro lighting, sculptural and summary” | Informs the aesthetic and temper (shadow-driven, moody, architectural) |
| Digital camera/Lighting | “shot on 85mm, studio setup, layered shadows and lightweight falling throughout face and physique” | Provides technical precision and helps management realism and constancy |
The next instance illustrates the right way to use a modular immediate to generate the specified output.
| Modular Immediate | Generated Picture Utilizing Secure Picture Extremely in Amazon Bedrock |
| “style editorial portrait of a lady with medium-brown pores and skin and brief coiled hair, sporting an asymmetrical black mesh prime and metallic jewellery, seated with shoulders angled and one arm lifted, eyes locked on digicam, bathed in intersecting beams of arduous directional mild by means of window slats, layered shadows and highlights sculpting her face and physique, high-contrast chiaroscuro lighting, summary and daring, shot on 85mm in studio” | ![]() |
Use destructive prompts for polished output
Destructive prompts enhance AI output high quality by eradicating particular visible components. Explicitly defining what to not embody within the immediate guides the mannequin’s output, sometimes resulting in skilled outputs. Destructive prompts act like a retoucher’s guidelines used to deal with features of a picture to boost high quality and attraction. For instance, “No bizarre arms. No blurry corners. No cartoon filters. Undoubtedly no watermarks.” Destructive prompts end in clear, assured, compositions, freed from distracting ingredient and distortions.
The next desk gives examples of extra tokens that can be utilized in destructive prompts.
| Artifact Kind | Tokens to Use |
| Low high quality or noise | blurry, lowres, jpeg artifacts, noisy |
| Anatomy or mannequin points | deformed, additional limbs, dangerous arms, lacking fingers |
| Type clashes | cartoon, illustration, anime, portray |
| Technical errors | watermark, textual content, signature, overexposed |
| Common cleanup | ugly, poorly drawn, distortion, worst high quality |
The next instance illustrates how a well-structured destructive immediate can improve photorealism.
| With out Destructive Immediate |
Immediate “(medium full shot) of (charming workplace cubicle) product of glass materials, a number of colours, fashionable model, space-saving, upholstered seat, patina, gold trim, positioned in a contemporary backyard, with smooth furnishings, fashionable decor, shiny lighting, comfy seating, Masterpiece, very best quality, uncooked picture, reasonable, very aesthetic, darkish “ |
![]() |
| With Destructive Immediate |
Immediate “(medium full shot) of (charming workplace cubicle) product of glass materials, a number of colours, fashionable model, space-saving, upholstered seat, patina, gold trim, positioned in a contemporary backyard, with smooth furnishings, fashionable decor, shiny lighting, comfy seating, Masterpiece, very best quality, uncooked picture, reasonable, very aesthetic, darkish” Destructive Immediate “cartoon, 3d render, cgi, oversaturated, easy plastic textures, unreal lighting, synthetic, matte floor, painterly, dreamy, shiny end, digital artwork, low element background” |
![]() |
Emphasize or suppress components with immediate weighting
Immediate weighting controls the affect of particular person components in AI picture era. These numerical weights prioritize particular immediate parts over others. For instance, to emphasise the character over the background, you possibly can apply a 1.8 weight to “character” (character: 1.8) and 1.1 to “background” (background: 1.1), which makes certain the mannequin prioritizes character element whereas sustaining environmental context. This focused emphasis produces extra exact outputs by minimizing competitors between immediate components and clarifying the mannequin’s priorities.
The syntax for immediate weights is (<time period>:<weight>). You may also use a shorthand resembling ((<time period>)), the place the variety of parentheses symbolize the burden. Values between 0.0–1.0 deemphasize the time period, and values between 1.1–2.0 emphasize the time period.For instance:
- (time period:1.2): Emphasize
- (time period:0.8): Deemphasize
- ((time period)): Shorthand for (time period:1.2)
- (((((((((time period)))))))): Shorthand for (time period:1.8)
The next instance exhibits how immediate weights contribute to the generated output.
|
Immediate with weights “editorial product picture of (a translucent gel moisturizer jar:1.4) positioned on a (frosted glass pedestal:1.2), surrounded by (dewy pink flower petals:1.1), with delicate (subtle lighting:1.3), refined water droplets, shallow depth of subject” |
![]() |
|
Immediate with out weights “editorial product picture of a translucent gel moisturizer jar positioned on a frosted glass pedestal, surrounded by dewy pink flower petals, with delicate, refined water droplets, shallow depth of subject” |
![]() |
You may also use weights in destructive prompts to cut back how strongly the mannequin avoids one thing. For instance, “(textual content:0.5), (blurry:0.2), (lowres:0.1).” This tells the mannequin to be particularly certain to keep away from producing blurry textual content or low-resolution content material.
Giving particular stylistic steerage
Efficient immediate writing when utilizing Stability AI Picture Companies resembling Style Transfer and Style Guide requires a great understanding of favor matching and reference-driven prompting. These methods assist present clear stylistic course for each text-to-image and image-to-image creation.
Picture-to-image model switch extracts stylistic components from an enter picture (management picture) and makes use of it to information the creation of an output picture based mostly on the immediate. Strategy writing the immediate as in the event you’re directing knowledgeable photographer or stylist. Concentrate on supplies, lighting high quality, and inventive intention—not simply objects. For instance, a well-structured immediate would possibly learn: “Shut-up editorial picture of a translucent inexperienced lip gloss tube on crushed iridescent plastic, subtle coloured lighting, shallow DOF, excessive style product styling.”
Type tag layering: Recognized aesthetic labels that align with model identification
The artwork of crafting efficient prompts typically depends on incorporating established model tags that resonate with acquainted visible languages and datasets. By strategically mixing phrases from acknowledged aesthetic classes (starting from editorial pictures and analog movie to anime, cyberpunk cityscapes, and brutalist buildings), creators can information the AI towards particular visible outcomes that align with their model identification. These model descriptors function highly effective anchors within the immediate engineering course of. The flexibility of those tags extends additional by means of their capability to be mixed and weighted, permitting for nuanced management over the ultimate aesthetic. As an illustration, a skincare model would possibly mix the clear strains of product pictures with dreamy, surreal components, whereas a tech firm may merge brutalist construction with cyberpunk components for a particular visible identification. This method to model mixing helps creators enhance their outputs whereas sustaining clear ties to recognizable visible genres that resonate with their target market. The hot button is understanding how these model tags work together and utilizing their combos to create distinctive, but culturally related, visible expressions that serve particular inventive or industrial aims. The next desk gives examples of prompts for a desired aesthetic.
| Desired aesthetic | Immediate phrases | Instance use case |
| Retro / Y2K | 2000s nostalgia, flash pictures, sweet tones, harsh lighting | Metallic textures, skinny fonts, early digital really feel. |
| Clear fashionable | impartial tones, delicate gradients, minimalist styling, editorial format | Nice for wellness or skincare merchandise. |
| Daring streetwear | city background, outsized match, robust pose, noon shadow | Style pictures and life-style advertisements. Prioritize outfit construction and placement cues. |
| Hyperreal surrealism | dreamcore lighting, shiny textures, cinematic DOF, surreal shadows | Performs effectively in music, style, or alt-culture campaigns. |
Invoke a named model as a reference
Some immediate buildings profit from invoking a named visible signature from a selected artist, particularly when mixed with your individual stylistic phrasing or workflows, as proven within the following instance.
|
Immediate “editorial studio portrait of a lady with glowing pores and skin in minimalist glam make-up, high-contrast lighting, clear background, (depiction of Van Gogh model:1.3)” |
![]() |
The next is a extra conceptual instance.
|
Immediate “product shot of a silver hair oil bottle with delicate reflections on curved chrome, (depiction of Wes Anderson model:1.2), below chilly studio lighting” |
![]() |
These phrases perform like calling on a style; they indicate decisions round supplies, lighting, format, and coloration tonality.
Use reference pictures to information model
One other helpful method is utilizing a reference picture to information the pose, coloration, or composition of the output. To be used instances like matching a pose from a lookbook picture, transferring a coloration palette from a marketing campaign nonetheless, or copying shadowplay from a photograph shoot, you possibly can extract and apply construction or model from reference pictures.
Stability AI Picture Companies help a wide range of image-to-image workflows the place you should use a reference picture (management picture) to information the output, resembling Structure, Sketch, and Style. Instruments like ControlNet (a neural community structure developed by Stability AI that enhances management), IP-Adapter (a picture immediate adapter), or clip-based captioning additionally allow additional management when paired with Stability AI fashions.
We are going to focus on ControlNet, IP-Adapter, and clip-based captioning in a subsequent put up.
The next is an instance of an image-to-image workflow:
- Discover a high-quality editorial reference.
- Use it with a depth, canny, or seg ControlNet to lock a pose.
- Type with a immediate.
|
Immediate “style editorial of a mannequin in layered knitwear, dramatic coloured lighting, robust shadows, excessive ISO texture” |
![]() |
Create the best temper with lighting management
In a immediate, lighting units tone, provides dimensionality, and mimics the language of pictures. It shouldn’t simply be “shiny vs. darkish.” Lighting is commonly the model itself, particularly for audiences like Gen Z, as an illustration TikTok, early-aughts flash, harsh backlight, and coloration gels. The next desk gives some helpful lighting model immediate phrases.
| Lighting model | Immediate phrases | Instance use case |
| Excessive-contrast studio | arduous directional mild, deep shadows, managed highlights | Magnificence, tech, style with punchy visuals |
| Smooth editorial | subtle mild, delicate shadows, ambient glow, overcast | Skincare, style, wellness |
| Coloured gel lighting | blue and pink gel lighting, dramatic coloration shadows, rim lighting | Nightlife, music-adjacent style, youth-forward styling |
| Pure bounce | golden hour, delicate pure mild, solar flare, heat tones | Outside, life-style, brand-friendly minimalism |
Construct intent with posing and framing phrases
Good posing helps merchandise really feel aspirational and digital fashions extra dynamic. With AI, you have to be intentional. Framing and pose cues assist keep away from stiffness, anatomical errors, and randomness. The next desk gives some helpful posing and framing immediate phrases.
| Immediate cue | Description | Tip |
| trying off digicam | Creates candid or editorial power | Helpful for lookbooks or advert pages |
| arms in movement | Provides realism and fluidity | Avoids awkward, static physique posture |
| seated with physique turned | Provides depth and twist to the torso | Reduces symmetry, feels pure |
| shot from low angle | Energy or standing cue | Works effectively for stylized streetwear or product hero pictures |
Instance: Placing all of it collectively
The next instance places collectively what we’ve mentioned on this put up.
|
Immediate “studio portrait of a mannequin with platinum hair in metallic cargo pants and a cropped mesh hoodie, seated with legs vast on (acrylic stairs:1.6), magenta and teal gel lighting from left and behind, dramatic distinction, shot on 50mm, streetwear editorial for Gen Z marketing campaign” Destructive immediate “blurry, additional limbs, watermark, cartoon, distorted face lacking fingers, dangerous anatomy” |
![]() |
Let’s break down the previous immediate. We direct the look of the topic (platinum hair, metallic garments), specify their pose (seated wide-legged, assured, unposed), outline the surroundings (acrylic stairs and studio setup, managed, fashionable), state the lighting (combined gel sources, daring stylization), designate the lens (50mm, portrait realism), and lastly element the aim (for Gen Z marketing campaign, units visible and cultural tone). Collectively, the immediate produces the specified outcome.
Finest practices and troubleshooting
Prompting isn’t a one-and-done job, particularly for inventive use instances. Most nice pictures come from refining an thought over a number of makes an attempt. Think about the next methodology to iterate over your prompts:
- Preserve a immediate log
- Change one variable at a time
- Save seeds and base pictures
- Use comparability grids
Typically issues go incorrect—possibly the mannequin ignores your immediate, or the picture seems to be messy. These points are frequent and sometimes fast to repair, and you may get sharper, cleaner, and extra intentional outputs with each adjustment. The next desk gives helpful suggestions for troubleshooting your prompts.
| Downside | Explanation for concern | The way to repair it |
| Type feels random | Mannequin is confused or phrases are imprecise | Make clear model, add weight, take away conflicts |
| Face will get warped | Over-styled or lacks facial cues | Add portrait of, headshot, or alter pose or lighting |
| Picture is just too darkish | Lighting not outlined | Add softbox from left, pure mild, or time of day |
| Repetitive poses | Similar seed or static construction | Swap seed or change digicam angle or topic motion |
| Lacks realism or feels “AI-ish” | Incorrect tone or artifacts | Add negatives like cartoon, digital texture, distorted |
Conclusion
Mastering superior prompting methods can flip primary picture era into skilled inventive outputs. Stability AI Picture Companies in Amazon Bedrock present exact management over visible creation and modifying, serving to companies convert ideas into production-ready belongings. The mixture of technical experience and inventive intent will help creators obtain the precision and consistency required in skilled settings. This management proves helpful throughout a number of purposes, resembling advertising and marketing campaigns, model consistency, and product visualizations. This put up demonstrated the right way to optimize Stability AI Picture Companies in Amazon Bedrock to provide high-quality imagery that aligns along with your inventive targets.
To implement these methods, entry Stability AI Picture Companies by means of Amazon Bedrock or discover Stability AI’s basis fashions accessible in Amazon SageMaker JumpStart. You may also discover sensible code examples in our GitHub repository.
Concerning the authors
Maxfield Hulker is the VP of Group and Enterprise Growth at Stability AI. He’s a longtime chief within the generative AI area. He has helped construct creator-focused platforms like Civitai and Dream Studio. Maxfield recurrently publishes guides and tutorials to make superior AI methods extra accessible.
Suleman Patel is a Senior Options Architect at Amazon Internet Companies (AWS), with a particular deal with machine studying and modernization. Leveraging his experience in each enterprise and know-how, Suleman helps prospects design and construct options that sort out real-world enterprise issues. When he’s not immersed in his work, Suleman loves exploring the outside, taking highway journeys, and cooking up scrumptious dishes within the kitchen.
Isha Dua is a Senior Options Architect based mostly within the San Francisco Bay Space working with generative AI mannequin suppliers and serving to buyer optimize their generative AI workloads on AWS. She helps enterprise prospects develop by understanding their targets and challenges, and guides them on how they will architect their purposes in a cloud-based method whereas supporting resilience and scalability. She’s obsessed with machine studying applied sciences and environmental sustainability.
Fabio Branco is a Senior Buyer Options Supervisor at Amazon Internet Companies (AWS) and a strategic advisor, serving to prospects obtain enterprise transformation, drive innovation by means of generative AI and knowledge options, and efficiently navigate their cloud journeys. Previous to AWS, he held Product Administration, Engineering, Consulting, and Expertise Supply roles throughout a number of Fortune 500 firms in industries, together with retail and shopper items, oil and fuel, monetary providers, insurance coverage, and aerospace and protection.












