Dreambooth
Get Project
GET

/dreambooth/project

Authorization*
x-api-key*
curl --request GET \
  --url https://api.mirageml.com/dreambooth/project \
  --header 'Authorization: <authorization>' \
  --header 'x-api-key: <x-api-key>'

Description

Returns the dreambooth project

Query Parameters

project-idrequired
string

The id of the project

curl -X 'GET' \
  'https://api.mirageml.com/dreambooth/project?project-id=<PROJECT-ID>' \
  -H 'accept: application/json' \
  -H 'Authorization: <AUTHORIZATION>' \
  -H 'x-api-key: <API_KEY>'
{
    "node": {
        "id": "047b6913-fd3d-4b0d-8dca-349f786a40a9",
        "init_word": "bridge",
        "train_iterations": 800,
        "created_at": "2022-09-09T00:47:49.09905+00:00",
        "finetune_job_status": "succeeded",
        "textual_inversion_runsCollection": {
            "edges": [
                {
                    "node": {
                        "id": "5d5126e7-734b-4906-a6d1-0875929937d4",
                        "width": "512",
                        "height": "512",
                        "prompt": "a photo of a <bridge>",
                        "status": "failed",
                        "created_at": "2022-09-13T05:00:54.236979+00:00",
                        "init_image": true,
                        "num_images": "9",
                        "guidance_scale": 7.5,
                        "prompt_strength": 0.8,
                        "num_inference_steps": "50"
                    },
                },
                {
                    "node": {
                        "id": "c74ee401-8ffc-426e-b61c-f6f26afeed46",
                        "width": "512",
                        "height": "512",
                        "prompt": "a photo of a <bridge>",
                        "status": "failed",
                        "created_at": "2022-09-13T04:54:16.277883+00:00",
                        "init_image": true,
                        "num_images": "9",
                        "guidance_scale": 7.5,
                        "prompt_strength": 0.8,
                        "num_inference_steps": "50"
                    },
                },
                {
                    "node": {
                        "id": "d3cfa4f0-f1c9-4688-a290-09ce7245092b",
                        "width": "512",
                        "height": "512",
                        "prompt": "a photo of a <bridge>",
                        "status": "succeeded",
                        "created_at": "2022-09-13T16:11:23.17894+00:00",
                        "init_image": true,
                        "num_images": "9",
                        "guidance_scale": 7.5,
                        "prompt_strength": 0.8,
                        "num_inference_steps": "50"
                    },
                },
                {
                    "node": {
                        "id": "e6c6deb9-db57-4f8a-82fa-b0a645cb7d43",
                        "width": "512",
                        "height": "512",
                        "prompt": "a photo of <bridge>",
                        "status": "succeeded",
                        "created_at": "2022-10-05T04:45:46.15195+00:00",
                        "init_image": true,
                        "num_images": "9",
                        "guidance_scale": 7.5,
                        "prompt_strength": 0.8,
                        "num_inference_steps": "50"
                    },
                }
            ],
        }
    },
}