Stable Diffusion
Create Run
POST
/
stable-diffusion
/
run
Header
Body
curl -X 'POST' \
'https://api.mirageml.com/stable-diffusion/run' \
-H 'accept: application/json'
{
"statusCode": 200,
"run_id": "6374f405-a7e3-437d-8ad1-bb553d3c28e0"
}
Description
Run stable diffusion image generation with the requested parameters
Body Data
project-id
string
requiredThe id of the project
prompt
string
requiredInput prompt for the run
num-images
string
default: "9"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"
}