Skip to main content

workflow

Function workflow 

Source
pub fn workflow(
    model: &GenerationModel,
    names: &HashMap<FileRole, String>,
    prompt: &str,
    seed: u64,
    devices: &[String],
) -> Result<Value, GenerationError>
Expand description

Builds the API-format graph published in the official ComfyUI examples.