Skip to content

Commit ba3289e

Browse files
committed
add entry
1 parent ba0e732 commit ba3289e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/diffusers/pipelines/qwenimage/pipeline_qwenimage_edit.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,12 @@ def __call__(
551551
Function invoked when calling the pipeline for generation.
552552
553553
Args:
554+
image (`torch.Tensor`, `PIL.Image.Image`, `np.ndarray`, `List[torch.Tensor]`, `List[PIL.Image.Image]`, or `List[np.ndarray]`):
555+
`Image`, numpy array or tensor representing an image batch to be used as the starting point. For both
556+
numpy array and pytorch tensor, the expected value range is between `[0, 1]` If it's a tensor or a list
557+
or tensors, the expected shape should be `(B, C, H, W)` or `(C, H, W)`. If it is a numpy array or a
558+
list of arrays, the expected shape should be `(B, H, W, C)` or `(H, W, C)` It can also accept image
559+
latents as `image`, but if passing latents directly it is not encoded again.
554560
prompt (`str` or `List[str]`, *optional*):
555561
The prompt or prompts to guide the image generation. If not defined, one has to pass `prompt_embeds`.
556562
instead.

0 commit comments

Comments
 (0)