Skip to content

Sends a prompt request to Craiyon AI Image Generator for each image's Base64 image code to be converted into JPG.

Notifications You must be signed in to change notification settings

gitupdates/AI_Image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI_Images

{DEPRECATED}

Sends a request to Craiyon AI Image Generator to generate images in Base64 code from a chosen prompt. The program then parses and assembles the Base64 code into JPG files.

Here are some examples:


ai_images

Usage:

#Installation:
python3 -m pip install ai_images

#Implementation:
from ai_image import *

prompt = "example prompt"
directory = "images"
num_of_images = 9

generate_images(prompt, directory, num_of_images)
#Returns 9 images to directory
#Note "directory" and "num_of_images" are optional parameters (by default, directory="" and num_of_images=9).

About

Sends a prompt request to Craiyon AI Image Generator for each image's Base64 image code to be converted into JPG.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%