Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.14 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.14 KB

Usage

To use the enhanced script, follow these steps:

  1. Clone the repository.
  2. Install dependencies from 'requirements.txt'. pip install -r requirements.txt
  3. Replace the 'api_key' variable with your Civitai API key. Line 37
  4. Specify the desired directory in the 'directory' variable. Line 18
  5. Specify the desired parent directory in the 'parent_dir' variable. Line 24
  6. You can change the reaction type from heartCount to any other supported in the API.
    • Line 183 if image['stats']['heartCount'] > 10
    • At the time of this script creation, the supported reaction types are:
      "cryCount"
      "laughCount"
      "likeCount"
      "dislikeCount"
      "heartCount"
      "commentCount"
      
    • See civitai API for more information

When I ran this script with a heart count of > 10 it generated:

  • 14.6 GB and a file count of 167,668, including log files.
  1. Run the script and enjoy!

Credits

Original work by Hassan-sd. Enhancements and documentation by whitevamp.