kiroshi 0.1.0

An opinionated image diffusion server for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::{Padding, Rectangle, Strength};

use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Inpaint {
    pub region: Rectangle,
    pub prompt: Option<String>,
    pub negative_prompt: Option<String>,
    pub strength: Strength,
    pub padding: Padding,
    pub blur_factor: Padding,
}