Co-authored-by: Rishitshivam <164783543+Rishitshivam@users.noreply.github.com> Co-authored-by: Ratish P <114130421+Ratish1@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Adarsh Shirawalmath <114558126+adarshxs@users.noreply.github.com> Co-authored-by: zhaochenyang20 <zhaochen20@outlook.com>
20 lines
776 B
Markdown
20 lines
776 B
Markdown
# Diffusion
|
|
|
|
SGLang supports two categories of diffusion models for different use cases. This page covers image and video generation; for diffusion LLMs, see [Diffusion LLMs](diffusion_llms.md).
|
|
|
|
## Image & Video Generation Models
|
|
|
|
For generating images and videos from text prompts, SGLang supports [many](../supported_models/image_generation/diffusion_models.md#image-generation-models) models like:
|
|
|
|
- **FLUX, Qwen-Image** - High-quality image generation
|
|
- **Wan 2.2, HunyuanVideo** - Video generation
|
|
|
|
```bash
|
|
# Example: Launch FLUX for image generation
|
|
python3 -m sglang.launch_server \
|
|
--model-path black-forest-labs/FLUX.2-klein-4B \
|
|
--host 0.0.0.0 --port 30000
|
|
```
|
|
|
|
**Full model list:** [Diffusion Models](../supported_models/image_generation/diffusion_models.md)
|