Skip to content

fewxe/wombo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi there, I'm Wombo

I am a module for using wombo dream ai (neural network of image generation)

Mini Documentation
Asynchronous and synchronous module
from wombo import AsyncDream # async
from wombo import Dream # sync

Create a task
  • since all actions are the same in both versions, I will consider only one module, namely the asynchronous
dream = AsyncDream()
task = await dream.create_task(prompt: str, style: int)
  • The list of styles will be available via github

Check a task (complite or no)
task = await dream.check_task(task.id) 
# To get information about readiness in bool format

task = await dream.check_task(task.id, False) 
# To get information about readiness

Create gif
  • photo_url_list Only the already generated image has. To check the image, use check_task(). Return io.BytesIO()
gif = await dream.gif(task.photo_url_list)

gif = await dream.gif(task.photo_url_list, thread=False)
# Used if you don't want to use an asynchronous thread.
# to generate a gif, it is true since the generation is quite long
# Generation in the thread is not available for the synchronous library

Generate
  • 1 command to receive, reply immediately. without checks via check_task()
gif = await dream.generate(taxt:str, syle: int, gif: bool)

Creditless

Requirements

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages