Skip to content

Commit cdcf7df

Browse files
committed
chore(frontend): openapi
1 parent 200b3a3 commit cdcf7df

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

invokeai/frontend/web/openapi.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6431,6 +6431,30 @@
64316431
}
64326432
}
64336433
},
6434+
"/api/v1/app/generation_device_options": {
6435+
"get": {
6436+
"tags": ["app"],
6437+
"summary": "Get Generation Device Options",
6438+
"description": "List the devices available for generation, for use with the `generation_devices` setting.",
6439+
"operationId": "get_generation_device_options",
6440+
"responses": {
6441+
"200": {
6442+
"description": "Successful Response",
6443+
"content": {
6444+
"application/json": {
6445+
"schema": {
6446+
"items": {
6447+
"$ref": "#/components/schemas/GenerationDeviceOption"
6448+
},
6449+
"type": "array",
6450+
"title": "Response Get Generation Device Options"
6451+
}
6452+
}
6453+
}
6454+
}
6455+
}
6456+
}
6457+
},
64346458
"/api/v1/app/runtime_config": {
64356459
"get": {
64366460
"tags": ["app"],
@@ -28461,6 +28485,24 @@
2846128485
"title": "GeneratePasswordResponse",
2846228486
"description": "Response containing a generated password."
2846328487
},
28488+
"GenerationDeviceOption": {
28489+
"properties": {
28490+
"device": {
28491+
"type": "string",
28492+
"title": "Device",
28493+
"description": "The device identifier, e.g. 'cuda:0', 'mps', or 'cpu'"
28494+
},
28495+
"name": {
28496+
"type": "string",
28497+
"title": "Name",
28498+
"description": "Human-readable device name"
28499+
}
28500+
},
28501+
"type": "object",
28502+
"required": ["device", "name"],
28503+
"title": "GenerationDeviceOption",
28504+
"description": "A device that may be selected for generation."
28505+
},
2846428506
"GetMaskBoundingBoxInvocation": {
2846528507
"category": "mask",
2846628508
"class": "invocation",
@@ -70155,6 +70197,10 @@
7015570197
],
7015670198
"title": "Max Queue History",
7015770199
"description": "Keep the last N completed, failed, and canceled queue items on startup. Set to 0 to prune all terminal items."
70200+
},
70201+
"generation_devices": {
70202+
"title": "Generation Devices",
70203+
"description": "Devices to use for parallel generation. `auto` uses every available GPU; provide an explicit list (e.g. `[cuda:0, cuda:1]`) to use specific devices. Takes effect after restarting InvokeAI."
7015870204
}
7015970205
},
7016070206
"type": "object",

0 commit comments

Comments
 (0)