You can deploy the Stable Diffusion model optimized to run on CPUs to use it via API calls. Once deployed the model will take as input raw text as prompt, along with the number of iterations and number of example images you want to create. This blueprint supports one click deployment. Follow the below steps to get started.
- Click on
Use Blueprintbutton - In the pop up, choose the relevant compute you want to use to deploy your API endpoint
- You will be redirected to your endpoint
- You can now use the
Try it Livesection with any text or link. - You can now integrate your API with your code using the integration panel at the bottom of the page
- You will now have a functioning API endpoint that returns base64 strings that you can decode to get get the images.
Text:
prompt: Horse dancing in the rain
steps: 32
samples: 1
Labels:
<Base64 string >