POST
/
dreambooth
/
run
curl -X POST \
  https://api.mirageml.com/dreambooth/run \
  -H 'Authorization: <AUTHORIZATION>' \
  -H 'Cache-Control: no-cache' \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -H 'x-api-key: <API_KEY>' \
  -F project-id=<PROJECT_ID> \
  -F prompt=<PROMPT> \
  -F num-images=<NUM_IMAGES> \
  -F prompt-strength=<PROMPT_STRENGTH> \
  -F width=<WIDTH> \
  -F height=<HEIGHT> \
  -F num-inference-steps=<NUM_INFERENCE_STEPS> \
  -F guidance-scale=<GUIDANCE_SCALE> \
  -F 'files[]=<FILES>'
{
  "statusCode": 200
  "run_id": "15993396-1860-455a-84af-09795b0d3d1e"
}

Description

Run dreambooth image generation with an optional initial image

Form Data

project-id
string
required

The id of the project

prompt
string
required

Input prompt for the run. Must include sks in the prompt for accurate results

num-images
string
default: "9"

Must be between 0 and 9

prompt-strength
string
default: "0.8"

Must be between 0 and 1

width
number
default: "512"
height
number
default: "512"
num-inference-steps
number
default: "50"

Must be between 10 and 50

guidance-scale
string
default: "7.5"

Must be between 0 and 10

files[]
files