@@ -110,21 +110,25 @@ def intermediate_outputs(self) -> list[OutputParam]:
110110 OutputParam (
111111 name = "prompt_embeds" ,
112112 type_hint = torch .Tensor ,
113+ kwargs_type = "denoiser_input_fields" ,
113114 description = "Per-prompt stacked text features (B, text_seq_len, num_text_layers, text_hidden_dim)." ,
114115 ),
115116 OutputParam (
116117 name = "prompt_embeds_mask" ,
117118 type_hint = torch .Tensor ,
119+ kwargs_type = "denoiser_input_fields" ,
118120 description = "Per-prompt boolean text mask (B, text_seq_len)." ,
119121 ),
120122 OutputParam (
121123 name = "negative_prompt_embeds" ,
122124 type_hint = torch .Tensor ,
125+ kwargs_type = "denoiser_input_fields" ,
123126 description = "Per-prompt negative text features (only when guidance is enabled)." ,
124127 ),
125128 OutputParam (
126129 name = "negative_prompt_embeds_mask" ,
127130 type_hint = torch .Tensor ,
131+ kwargs_type = "denoiser_input_fields" ,
128132 description = "Per-prompt negative text mask (only when guidance is enabled)." ,
129133 ),
130134 ]
@@ -254,11 +258,13 @@ def intermediate_outputs(self) -> list[OutputParam]:
254258 OutputParam (
255259 name = "prompt_embeds" ,
256260 type_hint = torch .Tensor ,
261+ kwargs_type = "denoiser_input_fields" ,
257262 description = "Per-prompt stacked text features (B, text_seq_len, num_text_layers, text_hidden_dim)." ,
258263 ),
259264 OutputParam (
260265 name = "prompt_embeds_mask" ,
261266 type_hint = torch .Tensor ,
267+ kwargs_type = "denoiser_input_fields" ,
262268 description = "Per-prompt boolean text mask (B, text_seq_len)." ,
263269 ),
264270 ]
0 commit comments