There are some changes in the new version of dream, We did not record the last version, so you will have to rewrite your previous code. We apologize for the sincere inconvenience
Documentation
For the asynchronous use case, it is similarCreating an instance
from wombo import Dream dream = Dream()
Generate picture
from wombo.models import TaskModel picture: TaskModel = dream.generate("anime waifu")
API
task: TaskModel = dream.api.create_task("anime waifu") dream.api.check_task(task.id)
Styles
from wombo.models import StyleModel styles: = dream.styles._get_styles() dream.styles["Dreamland v3"] # Required after executing _get_styles()
Creditless
- @mayneryt her give me algoritm
- @pokedim13 me