POST
/
stable-diffusion
/
run
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
required

The id of the project

prompt
string
required

Input prompt for the run

num-images
string
default: "9"

Must be between 0 and 9