StreamDiffusion
StreamDiffusion: A Pipeline-Level Solution for Real-Time Interactive Generation
File Explorer
- bug_report.md
- release.yml
- cfg_conparision.png
- demo_01.gif
- demo_02.gif
- demo_03.gif
- demo_04.gif
- demo_05.gif
- demo_06.gif
- demo_07.gif
- demo_08.gif
- demo_09.gif
- demo_10.gif
- img2img1.gif
- img2img2.gif
- img2img_example.png
- _preprocessor_reference.yaml.example
- sd15_multicontrol.yaml.example
- sdturbo_multicontrol.yaml.example
- sdxl_multicontrol.yaml.example
- BlendingControl.svelte
- Button.svelte
- Checkbox.svelte
- ControlNetConfig.svelte
- ControlNetSelector.svelte
- GamepadControl.svelte
- HandTracking.svelte
- ImagePlayer.svelte
- InputControl.svelte
- InputRange.svelte
- InputSourceSelector.svelte
- IPAdapterConfig.svelte
- MediaListSwitcher.svelte
- PipelineHooksConfig.svelte
- PipelineOptions.svelte
- PreprocessorDocs.svelte
- PreprocessorParams.svelte
- PreprocessorSelector.svelte
- ProcessorParams.svelte
- ProcessorSelector.svelte
- ResolutionPicker.svelte
- SeedInput.svelte
- Selectlist.svelte
- Success.svelte
- TextArea.svelte
- VideoInput.svelte
- Warning.svelte
- floppy.svelte
- screen.svelte
- spinner.svelte
- blending-controls.css
- blending-utils.ts
- gamepadService.ts
- handTrackingService.ts
- index.ts
- lcmLive.ts
- mediaStream.ts
- store.ts
- types.ts
- utils.ts
- +layout.svelte
- +page.svelte
- +page.ts
- app.css
- app.d.ts
- app.html
- favicon.png
- .eslintignore
- .eslintrc.cjs
- .gitignore
- .npmrc
- .prettierignore
- .prettierrc
- package-lock.json
- package.json
- postcss.config.js
- README.md
- svelte.config.js
- tsconfig.json
- vite.config.ts
- __init__.py
- api_utils.py
- dependencies.py
- __init__.py
- controlnet.py
- debug.py
- inference.py
- input_sources.py
- ipadapter.py
- parameters.py
- pipeline_hooks.py
- websocket.py
- __init__.py
- video_utils.py
- .gitattributes
- .gitignore
- app_config.py
- config.py
- connection_manager.py
- controlnet_registry.yaml
- Dockerfile
- img2img.py
- input_control.py
- input_sources.py
- main.py
- README-ja.md
- README.md
- requirements.txt
- start.sh
- util.py
- white.jpg
- favicon.ico
- app.module.css
- app.tsx
- main.tsx
- vite-env.d.ts
- .gitignore
- .prettierrc
- index.html
- package.json
- pnpm-lock.yaml
- postcss.config.js
- README.md
- tsconfig.json
- tsconfig.node.json
- vite.config.ts
- .dockerignore
- config.py
- Dockerfile
- main.py
- README-ja.md
- README.md
- requirements.txt
- start.sh
- app.py
- requirements.txt
- multi.py
- single.py
- config_ipadapter_stream_test.py
- config_video_test.py
- multi.py
- single.py
- multi.py
- single.py
- main.py
- requirements.txt
- multi.py
- single.py
- main.py
- requirements.txt
- README-ja.md
- README.md
- input.png
- .gitkeep
- put LCM_LoRA weights here
- put LoRA weights here
- put Stable Diffusion weights here
- __init__.py
- __init__.py
- controlnet_export.py
- unet_controlnet_export.py
- unet_ipadapter_export.py
- unet_sdxl_export.py
- unet_unified_export.py
- __init__.py
- attention_processors.py
- controlnet_models.py
- models.py
- utils.py
- __init__.py
- controlnet_engine.py
- unet_engine.py
- __init__.py
- builder.py
- engine_manager.py
- utilities.py
- __init__.py
- __init__.py
- controlnet_module.py
- image_processing_module.py
- ipadapter_module.py
- latent_processing_module.py
- __init__.py
- base.py
- blur.py
- canny.py
- depth.py
- depth_tensorrt.py
- external.py
- faceid_embedding.py
- feedback.py
- hed.py
- ipadapter_embedding.py
- latent_feedback.py
- lineart.py
- mediapipe_pose.py
- mediapipe_segmentation.py
- openpose.py
- passthrough.py
- pose_tensorrt.py
- realesrgan_trt.py
- sharpen.py
- soft_edge.py
- standard_lineart.py
- temporal_net_tensorrt.py
- upscale.py
- __init__.py
- base_orchestrator.py
- orchestrator_user.py
- pipeline_preprocessing_orchestrator.py
- postprocessing_orchestrator.py
- preprocessing_orchestrator.py
- __init__.py
- compile_raft_tensorrt.py
- install-tensorrt.py
- __init__.py
- reporting.py
- __init__.py
- _hf_tracing_patches.md
- _hf_tracing_patches.py
- config.py
- hooks.py
- image_filter.py
- image_utils.py
- model_detection.py
- pip_utils.py
- pipeline.py
- stream_parameter_updater.py
- wrapper.py
- __init__.py
- viewer.py
- .dockerignore
- .gitignore
- Dockerfile
- LICENSE
- pyproject.toml
- README-ja.md
- README-ko.md
- README.md
- setup.py
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
conda activate
View Details ▼
conda activate
Activate a conda environment.
See also: `conda deactivate`.
conda activate myenv
Activate an existing environment named `myenv`:
conda activate {{path/to/myenv}}
Activate an existing environment located at custom path:
conda activate --stack myenv
Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:
conda create
View Details ▼
conda create
Create new conda environments.
conda create {{[-y|--yes]}} {{[-n|--name]}} py39 python=3.9 "numpy>=1.11" scipy
Create a new environment named `py39`, install Python 3.9, NumPy v1.11 or above in it, and the latest stable version of SciPy. Say yes to all confirmations:
conda create {{[-n|--name]}} myenv --file {{file1.yml}} --file {{file2.yml}}
Create a new environment named `myenv` and install packages listed in files:
conda create {{[-p|--prefix]}} {{path/to/myenv}}
Create a new environment at a custom path (i.e. prefix):
docker build
View Details ▼
docker build
Build an image from a Dockerfile.
docker build .
Build a Docker image using the Dockerfile in the current directory:
docker build {{github.com/creack/docker-firefox}}
Build a Docker image from a Dockerfile at a specified URL:
docker build {{[-t|--tag]}} {{name:tag}} .
Build a Docker image and tag it:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python
View Details ▼
python
Python language interpreter.
python
Start a REPL (interactive shell):
python {{path/to/file.py}}
Execute a specific Python file:
python -i {{path/to/file.py}}
Execute a specific Python file and start a REPL:
