-
Notifications
You must be signed in to change notification settings - Fork 7
txt2img
Zenafey edited this page May 16, 2023
·
1 revision
This is a method for generating images from text prompt and other parameters(check arguments)
- prompt:str
- negative_prompt:str
- model:str check all available models on
Models and samplers
page - sampler:str check all available samplers on
Models and samplers
page - aspect_ratio:str "square" or "landscape" or "portrait"
- steps:int from 1 to 50
- cfg_scale:int from 1 to 20
- seed:int leave -1(default) for random
- upscale:bool Enable/Disable 2xUpscaling
For asynchronous usage(inside async functions) use arunv1()
method, it have same arguments as txt2image()
How to use arunv1()
- check Methods
page