feat(api-nodes): add Bria RMBG nodes

This commit is contained in:
bigcat88
2026-02-13 17:38:31 +02:00
parent dc9822b7df
commit fe8020670b
3 changed files with 218 additions and 48 deletions

View File

@@ -57,7 +57,7 @@ def tensor_to_bytesio(
image: torch.Tensor,
*,
total_pixels: int | None = 2048 * 2048,
mime_type: str = "image/png",
mime_type: str | None = "image/png",
) -> BytesIO:
"""Converts a torch.Tensor image to a named BytesIO object.