Optional context: Partial<EfficientPipeContext>Protected _disposedProtected _disposed_Protected Optional _invokedProtected _workflowProtected contextStatic defaultProtected _saveUpdates the context with the provided batch size and returns the current instance of the class for method chaining.
The batch size to update the context with.
The current instance of the class for method chaining.
Protected buildProtected build_Protected build_Protected build_Protected build_Updates the context with the provided cfg value.
The cfg value to update the context with.
The current instance of the class for method chaining.
Adds a control net block to the EfficientPipe context.
The name of the control net block.
The image data of the control net block.
Optional configuration for the control net block.
Optional end?: numberThe end value of the control net block.
Optional start?: numberThe start value of the control net block.
Optional strength?: numberThe strength of the control net block.
The EfficientPipe instance for chaining.
Updates the context with the provided denoise value and returns the current instance of the class for method chaining.
The denoise value to update the context with.
The current instance of the class for method chaining.
Updates the context with the provided image buffer.
The image buffer to update the context with.
The current instance of the class for method chaining.
Adds a LoRA (Low-Rank Adaptation) to the EfficientPipe context.
The name of the LoRA.
Optional configuration for the LoRA.
Optional clip_The clip strength of the LoRA.
Optional strength?: numberThe strength of the LoRA.
Optional weight?: numberThe weight of the LoRA.
The EfficientPipe instance for chaining.
Updates the context with the provided mask buffer.
The mask buffer to update the context with.
The current instance of the class for method chaining.
Updates the context with the provided model checkpoint name.
The name of the model checkpoint to update the context with.
The current instance of the class for method chaining.
Updates the context with the provided text as the negative prompt.
The text to update the context with.
The current instance of the class for method chaining.
Adds an event listener for the specified event type.
Rest ...args: ArgumentMap<ComfyUIClientEvents>[Extract<T, keyof ComfyUIClientEvents>]Optional options: anyAdds an once event listener for the specified event type.
Rest ...args: ArgumentMap<ComfyUIClientEvents>[Extract<T, keyof ComfyUIClientEvents>]Optional options: anyUpdates the context with the provided text as the positive prompt.
The text to update the context with.
The current instance of the class for method chaining.
Protected read_Updates the context with the provided sampler name and returns the current instance of the class for method chaining.
The sampler name to update the context with.
The current instance of the class for method chaining.
Saves the workflow by invoking the workflow instance and enqueuing it.
Optional filename_prefix: stringThe prefix for the saved filename. if not provided, the workflow will be saved as a websocket connection.
Updates the context with the provided scheduler value and returns the current instance of the class for method chaining.
The scheduler value to update the context with.
The current instance of the class for method chaining.
Updates the context with the provided seed value or generates a random seed value if none is provided.
Optional seed: number = ...The seed value to update the context with. If not provided, a random seed value will be generated.
The current instance of the class for method chaining.
Updates the context with the provided width and height, and returns the current instance of the class for method chaining.
The width to update the context with.
The height to update the context with.
The current instance of the class for method chaining.
Updates the context with the provided steps and returns the current instance of the class for method chaining.
The number of steps to update the context with.
The current instance of the class for method chaining.
Protected updateWaits for the workflow to complete and returns the result and the images.
Waits for the workflow to complete and returns the result and the images.
*This function does not rely on WebSocket Events, so it maybe will lose events output by WebSocket node
Updates the context with the provided client and returns the current instance of the class for method chaining.
The client to update the context with.
The current instance of the class for method chaining.
Static next
pipe to create a workflow
required https://github.com/jags111/efficiency-nodes-comfyui