Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/modelscope/DiffSynth-Studio
/ flux_controlnet.py
File
flux_controlnet.py
examples/ControlNet/flux_controlnet.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
diffsynth
import
ModelManager, FluxImagePipeline, ControlNetConfigUnit, download_models, download_customized_models
2
import
torch
3
from
PIL
import
Image
4
import
numpy
as
np
Callers
nothing calls this directly
Calls
9
download_models
Function · 0.90
download_customized_models
Function · 0.90
example_1
Function · 0.70
example_2
Function · 0.70
example_3
Function · 0.70
example_4
Function · 0.70
example_5
Function · 0.70
example_6
Function · 0.70
example_7
Function · 0.70
Tested by
no test coverage detected