Add title to the API workflow json. (#2380)

* Add `title` to the API workflow json.

* API: Move `title` to `_meta` dictionary, imply unused.
This commit is contained in:
AYF 2023-12-27 00:55:11 -05:00 committed by GitHub
parent 7a3a00563b
commit 1feaeb1255

View File

@ -1784,6 +1784,10 @@ export class ComfyApp {
output[String(node.id)] = {
inputs,
class_type: node.comfyClass,
// Ignored by the backend.
"_meta": {
title: node.title,
},
};
}
}