├── README.md └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # AI Image Metadata Editor 2 | Single file pure HTML tool for viewing and editing AI image metadata locally on your web browser without the need of installation or internet connectivity. The tool is designed specifically for reading and editing PNG image metadata in the Automatic1111/Forge web UI format. 3 | 4 | ## Demo 5 | https://xypher7.github.io/ai-image-metadata-editor 6 | 7 | ## Usage 8 | No need for prior setup, just open the HTML file with the web browser of your choice and drag an image file. Alternatively, you can use the version hosted on GitHub through the link provided in the demo section. 9 | 10 | ### Adding Checkpoint Resources 11 | Large files greater than 2GB rely on the 3rd party library hash-wasm due to serverless HTML limitations. Online connectivity is required to fetch the dependency. Optionally, if you wish to maintain everything local, you may download the sha256.umd.min.js file, place it in the same directory as the HTML file, and replace this line 12 | ```html 13 | 14 | ``` 15 | with 16 | ```html 17 | 18 | ``` 19 | 20 | ## Features 21 | - View and edit PNG metadata in Auto1111/Forge UI format. 22 | - Drag and drop safetensors files to add resource to metadata. 23 | - LoRA and Checkpoint resource links to CivitAI. 24 | - Offline Execution. The tool is designed to be used offline and processing is entirely done on your browser. 25 | 26 | ![App Screenshot](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/5b30fbe1-bbce-4e83-9b99-bcf11aa71ceb/original=true,quality=90/Screenshot%202024-09-29%20001102.jpeg) 27 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | AI Image Metadata Editor 5 | 6 | 7 | 57 | 58 | 59 | 60 |
61 | AI Image Metadata Editor 62 | 63 |
64 |
65 | 66 | 67 | 84 |
85 |
86 |

Drag and drop an image or safetensors file here
or click to select a file

87 |
88 | 89 | 90 | 91 |
92 |
93 | 94 |
95 | 96 |
97 | 98 | 103 | 104 |
105 | 106 |
107 |
108 | 109 |
110 |
111 |
112 | 113 | 114 |
115 |
116 |
117 | 118 | 119 |
120 |
121 |
122 | 123 | 124 | 125 | 129 | 130 |
131 | Warning: Manually editing this section may cause errors if done incorrectly. 132 | 133 |
134 |
135 | 136 | 137 | 138 | 139 | 140 | 141 | 172 | 173 | 174 | 175 | 176 | 177 |
142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 |
178 |
179 |
No data to display...
180 |
181 |
182 |
183 | Other 184 |

No data to display...
185 |
186 | 187 |
188 |
189 |
190 |
191 | 196 | 197 |
198 |
Processing...
199 |
200 |
201 |
202 |
0%
203 |
204 |
205 | 206 | 207 | 208 | 1332 | 1333 | 1334 | 1335 | --------------------------------------------------------------------------------