Skip to content

A basic request based python tool to automate the process of generating images at https://gencraft.com

License

Notifications You must be signed in to change notification settings

Summaw/genCraft-imageGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

genCraft-imageGen

A basic python tool to automate the process of generating images at https://gencraft.com

Prompt

  • You can change the prompt you would like to give it here: HERE
  • I will add an input line that will ask you for your prompt.

How To Use

  • You will need to get your X-WEB-TOKEN from the initial request to register/login.
  • You can use dev tools or Fiddler to get it from the request headers this url: https://api.gencraft.com/api/v5/user/login
  • You will get the value from that header and place it here: HERE
  • Once you have done that and saved the updated file you should be able to successfully sign into your account. That token should be valid for 24 hours.

Models to choose from

- art_style 1 = 3D Style
- art_style 2 = Anime Style
- art_style 14 = CyberPunk Style
- art_style 9 = Realistic Style
- art_style 29 = Video Game Style
- art_style 17 = Isometric Style

Output

  • Generated responses will be output to data folder in generated.json.
  • Response example below:
[
    {
        "prompt": {
            "prompt_text": "A blue and gold macaw chilling on a tree overviewing the rainforest",
            "art_style_id": 9
        },
        "urls": [
            "https://image.gencraft.com/",
            "https://image.gencraft.com/",
            "https://image.gencraft.com/"
        ]
    }
]

Potential Updates at 20 stars!

  • Automatic account generation with google
  • Maybe a gui to see images generated
  • Premium features supported
  • Bot examples (telegram/discord)
  • A web page containing all information and generated images with prompts and keys.

Releases

No releases published

Packages

No packages published

Languages