pub trait ImageParams:
Debug
+ AsAny
+ Send
+ Sync
+ DynClone {
// Required methods
fn seed(&self) -> Option<i64>;
fn steps(&self) -> Option<u32>;
fn cfg(&self) -> Option<f32>;
fn width(&self) -> Option<u32>;
fn height(&self) -> Option<u32>;
fn prompt(&self) -> Option<String>;
fn negative_prompt(&self) -> Option<String>;
fn denoising(&self) -> Option<f32>;
fn model(&self) -> Option<String>;
fn sampler(&self) -> Option<String>;
}Expand description
Trait representing an interface to the parameters used to generate an image.
Required Methods§
Sourcefn negative_prompt(&self) -> Option<String>
fn negative_prompt(&self) -> Option<String>
Returns the negative prompt.