You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating images in JPEG format, SwarmUI writes the metadata JSON into "Comments" property which can be inspected e.g. with Windows Explorer. When uploading to Civitai, this information is ignored. BUT - if the image is once opened and saved with e.g. MS Paint, with no changes, then Civitai recognizes the prompt and other generation parameters. SwarmUI, however, cannot read the metadata from this file reporting the following error
11:13:34.916 [Warning] Error reading image metadata for file 'C:/SwarmUI/Output/local/raw/2025-04-21/0936XXX105405116.jpg': Newtonsoft.Json.JsonReaderException: Failed to parse JSON `(Invalid Characters Stripped) `: Unexpected character encountered while parsing value: ?. Path '', line 0, position 0.
at SwarmUI.Utils.Utilities.ParseToJson(String input) in C:\SwarmUI\src\Utils\Utilities.cs:line 584
at SwarmUI.Utils.ImageMetadataTracker.GetMetadataFor(String file, String root, Boolean starNoFolders) in C:\SwarmUI\src\Utils\ImageMetadataTracker.cs:line 326
The metadata, however, is still there, and looks - at least visually - absolutely intact. Can SwarmUI write the metadata so that it directly can be parsed by Civitai?
Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered:
Your question
When generating images in JPEG format, SwarmUI writes the metadata JSON into "Comments" property which can be inspected e.g. with Windows Explorer. When uploading to Civitai, this information is ignored. BUT - if the image is once opened and saved with e.g. MS Paint, with no changes, then Civitai recognizes the prompt and other generation parameters. SwarmUI, however, cannot read the metadata from this file reporting the following error
The metadata, however, is still there, and looks - at least visually - absolutely intact. Can SwarmUI write the metadata so that it directly can be parsed by Civitai?
Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: