A basic python tool to automate the process of generating images at https://gencraft.com
- 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.
- 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.
- 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
- 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/"
]
}
]
- 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.