- Stable Diffusion
- Create Run
POST
/stable-diffusion/run
Authorization*
x-api-key*
Description
Run stable diffusion image generation with the requested parameters
Body Data
project-idRequired
string
The id of the project
promptRequired
string
Input prompt for the run
num-imagesDefault: 9
string
Must be between 0
and 9
curl -X 'POST' \
'https://api.mirageml.com/stable-diffusion/run' \
-H 'accept: application/json'
{
"statusCode": 200,
"run_id": "6374f405-a7e3-437d-8ad1-bb553d3c28e0"
}
curl -X 'POST' \
'https://api.mirageml.com/stable-diffusion/run' \
-H 'accept: application/json'
{
"statusCode": 200,
"run_id": "6374f405-a7e3-437d-8ad1-bb553d3c28e0"
}