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

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Robotics Technician - 3rd Shift

@ GXO Logistics | Perris, CA, US, 92571