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 f21bb41787
commit f15dce71fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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,
},
};
}
}