Others

Stable Diffusion Prompt Reader

файл на civitaiстраница на civitai

Stable Diffusion Prompt Reader

Github Repo:

https://github.com/receyuki/stable-diffusion-prompt-reader

简体中文

GitHubGitHub release (latest by date)preview badge

A simple standalone viewer for reading prompts from Stable Diffusion generated image outside the webui.

There are many great prompt reading tools out there now, but for people like me who just want a simple tool, I built this one.

No additional environment or command line or browser is required to run it, just open the app and drag and drop the image in.

Features

Supported Formats

* Limitations apply. See format limitations.

If you are using a tool or format that is not on this list, please help me to support your format by uploading the original file generated by your tool as a zip file to the issues, thx.

Download

For macOS and Windows users

Download executable from above or from the GitHub Releases

For Linux users (not regularly tested)

Usage

Read prompt

OR

OR

Export prompt to text file

Remove prompt from image

Edit image

Format Limitations

TXT

  1. Importing txt file is only allowed in edit mode.

  2. Only A1111 format txt files are supported. You can use txt files generated by the A1111 webui or use the SD prompt reader to export txt from A1111 images

ComfyUI

Support for comfyUI requires more testing. If you believe your image is not being displayed properly, please upload the original file generated by ComfyUI as a zip file to the issues.

  1. If there are multiple sets of data (seed, steps, CFG, etc.) in the setting box, this means that there are multiple KSampler nodes in the flowchart.

  2. Due to the nature of ComfyUI, all nodes and flowcharts in the workflow are stored in the image, including those that are not being used. Also, a flowchart can have multiple branches, inputs and outputs.
    (e.g. output hires. fixed image and original image simultaneously in a single flowchart)
    SD Prompt Reader will traverse all flowcharts and branches and display the longest branch with complete input and output.

Easy Diffusion

By default, Easy Diffusion does not write metadata to images. Please change the Metadata format in settings to embed to write the metadata to images

Common Issues

Malware Alert

The false positive reported by some anti-malwares is caused by the packaging tool pyinstaller which is a common issue for pyinstaller users. I spent a lot of time trying to fix the Windows Defender false positive before, but I couldn't do it for every antivirus software. So, you can either trust Windows Defender or use the instruction for Linux users to use this app.

"SD Prompt Reader.app" is damaged and can't be opend. You should move it to the Trash

This is a very common macOS issue when you run non appstore apps, and developers must pay $99 per year to Apple to eliminate this issue. You can choose to Allow Apps from Anywhere in security & privacy settings which can be dangerous. The way I prefer is to remove the quarantine attributes.

  1. Open Terminal from the Applications folder.

  2. Type in the following command and hit Enter.

    xattr -r -d com.apple.quarantine /path/to/app.app

    In my case it's

    xattr -r -d com.apple.quarantine /Applications/SD\ Prompt\ Reader.app

If you are still concerned about the security of the app you can use the instruction for Linux users to use this app.

TODO

Credits

Тэги: promptutilityguitoolstoolkitmetadatatoollinuxmacoswindows
SHA256: B0D7775C62A1780B725CA046E602BBAE02200BB60F6E934FECC677FC212E4974

Guide to Image Generation

файл на civitaiстраница на civitai

Guide to Image Generation - Table of Contents
Part 1 - Basics - Here

Part 2 - Scripts - Here

No need to download the .zip.

DM at https://twitter.com/fitCorderAI

Feedback, Requests and Questions - FC Discord invite

Тэги: animeguide
SHA256: F4C53FFD1EAD7D58A86F4F8FD46E8876537149414D019A0396A72BFF49F0DC54