Skip to main content

1. Quick start

Install SGLang with diffusion support by following the SGLang Diffusion installation guide, then start the server and send an edit request. The request returns a base64 PNG; the command above writes it to output.png. The server keeps the model defaults of 40 steps and guidance 4.0. Each checkpoint needs its own server.

2. Model capabilities

FireRed-Image-Edit from FireRedTeam is a general-purpose image editor. It is strong at keeping a person recognizable across edits, preserving the style of existing text, restoring old photos, and combining elements from several input images, such as a virtual try-on. Choose 1.1 for new deployments: it improves identity consistency and multi-image conditioning over 1.0 and uses the same architecture, so the serving commands are identical. FireRed runs on SGLang’s native Qwen-Image-Edit-Plus pipeline, so the Qwen-Image-Edit runtime options apply to it.

3. Deployment details

On two GPUs the recommended layout is CFG parallelism: the conditional and unconditional branches run on separate GPUs, and each GPU holds a full copy of the model. On H200 it halves the request time and was faster than Ulysses sequence parallelism on the same two GPUs. Both two-GPU layouts change floating-point rounding, so a fixed seed gives a visually equivalent image that is not bit-identical to the one-GPU output. Measured with sglang serve on SGLang main at 385262cabbae1: median of three warmed /v1/images/edits requests with a fixed input image, prompt, and seed; the time is the full HTTP request, and memory is the nvidia-smi peak. A request with two input images took 40.3 s on one H200. The command builder marks other hardware and GPU counts as unverified. See the CLI reference for the remaining server flags.

4. Request examples

4.1 Offline generation

Command
This offline command has not been run end to end in the current release; the HTTP server above is the verified path.

4.2 Multiple input images

Send each input image as a separate image field and refer to them in the prompt.
Command

5. Run in ComfyUI