Oct. 9, 2023, 7:36 p.m. | Jimmy

DEV Community dev.to

In this article, we will learn another way to invoke Amazon Bedrock's Model using AWS Command Line Interface (CLI).


We are going to generate an image from a text prompt using Amazon Bedrock's Stable DIffusion XL Model via AWS CLI.


From this text prompt



the quick brown fox jumps over the lazy dog


to this generated image by Amazon Bedrock.






Amazon Bedrock


Amazon Bedrock is a fully managed service from Amazon Web Services that provides access to foundation models from …

amazon amazon bedrock amazonbedrock article aws bedrock cli command command line diffusion generate generativeai image learn line prompt stable diffusion stable diffusion xl text

Senior Machine Learning Engineer

@ GPTZero | Toronto, Canada

ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)

@ HelloBetter | Remote

Doctoral Researcher (m/f/div) in Automated Processing of Bioimages

@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

Senior Applied Data Scientist

@ dunnhumby | London

Principal Data Architect - Azure & Big Data

@ MGM Resorts International | Home Office - US, NV