MCPcopy Create free account

hub / github.com/TencentARC/FluxKits / functions

Functions314 in github.com/TencentARC/FluxKits

Methodgradio_generate
(self, prompt, image_prompt, controlnet_image, width, height, guidance, num_steps, see
flux-mini/src/flux/xflux_pipeline.py:214
Methodgradio_generate
(self, prompt, image_prompt, controlnet_image, width, height, guidance, num_steps, see
flux-npu/src/flux/xflux_pipeline.py:213
Methodimage
Load the image as a PIL Image
flux-mini/src/flux/api.py:173
Methodimage
Load the image as a PIL Image
flux-npu/src/flux/api.py:173
Functionmain
Sample the flux model. Either interactively (set `--loop`) or run for a single image. Args: name: Name of the model to load
flux-mini/src/flux/cli.py:96
Functionmain
Sample the flux model. Either interactively (set `--loop`) or run for a single image. Args: name: Name of the model to load
flux-npu/src/flux/cli.py:98
Functionpick_up_weights
(weights, args)
flux-mini/src/flux/util.py:356
Functionpick_up_weights
(weights, args)
flux-npu/src/flux/util.py:356
Methodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
flux-mini/src/flux/controlnet.py:125
Methodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
flux-npu/src/flux/controlnet.py:124
Methodset_lora_from_collection
(self, lora_type: str = "realism", lora_weight: int = 0.7)
flux-mini/src/flux/xflux_pipeline.py:102
Methodset_lora_from_collection
(self, lora_type: str = "realism", lora_weight: int = 0.7)
flux-npu/src/flux/xflux_pipeline.py:101
Methodurl
Public url to retrieve the image from
flux-mini/src/flux/api.py:163
Methodurl
Public url to retrieve the image from
flux-npu/src/flux/api.py:163
← previous301–314 of 314, ranked by callers