Here's the solution you've been waiting for!
INVOKE TO CIVITAI METADATA CONVERTER
📝 Description
This script converts metadata from PNG images generated with InvokeAI into a format compatible with Civitai, allowing you to upload images to Civitai with all generation parameters correctly displayed.
✨ Main Features
1️⃣ Metadata Conversion
Automatically extracts metadata from InvokeAI images
Converts parameters to the standard Civitai/A1111 format
Preserves: prompt, negative prompt, seed, sampler, CFG scale, steps only. Model and LoRAs must be added manually (automation WIP).
2️⃣ Intuitive Graphical Interface
Support for multiple file selection or entire folders
Visual list of selected files with removal options
Real-time log area showing progress
3️⃣ Flexible Output Management
Choose where to save converted images
Automatically creates the
converted_for_civitaisubfolderShows completion message at the end of conversion
Dedicated button to directly open the folder with converted images
5️⃣ Error Handling
Detailed log of every operation
Clear reporting of files without metadata or with errors
Final summary with success/error counts
📦 Requirements
Python 3.6+
Pillow (image processing library) - command:
pip install pillowtkinter (included in Python)
🚀 How to Use
Launch the script
Select PNG images (individual files or entire folders)
Choose output folder (optional) - If not specified, a subfolder will be created with the converted images.
Click "CONVERT IMAGES"
When complete, open the folder with converted images and upload to Civitai!
▼ Download
(python script)
https://e.pcloud.link/publink/show?code=XZTOP3ZdMhQJ7WPIkFeQrxXHlOKKktkI5N7
EXE
https://e.pcloud.link/publink/show?code=XZ1mw3Z3BqrRXW2SiSBLYDgzaP6PF0wvfJk
No Virus, No Malware.
But if you don't trust it, download the .py file and have ChatGPT or Claude read it, which will tell you that the file is safe. For the .exe, use an antivirus.

