mirror of
https://github.com/kvcache-ai/sglang.git
synced 2026-07-01 12:17:09 +00:00
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>
776 B
776 B
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.
Image & Video Generation Models
For generating images and videos from text prompts, SGLang supports many models like:
- FLUX, Qwen-Image - High-quality image generation
- Wan 2.2, HunyuanVideo - Video generation
# 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