Archive of AI

Source Snapshot / 2025-05-13-stepfun-step1x-edit-3d-open-source-1

stepfun-ai/Step1X-Edit Official Repository

Linked event: 2025-05-13 · StepFun Open-Sources Image Editor Step1X-Edit and 3D Asset Framework Step1X-3D Under Apache 2.0

Publisher
GitHub
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / c1998654e65f8839
Original URL
Open source ↗
Wayback Backup
Not archived
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

[来源关键摘录] Apache 2.0 licensed general image editing model combining MLLM reasoning with a diffusion decoder.

[正文前段节选] Skip to content

Navigation Menu

Appearance settings

You signed in with another tab or window. Reload to refresh your session.

You signed out in another tab or window. Reload to refresh your session.

You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

Repository navigation

NotificationsYou must be signed in to change notification settings

Fork107 (107)

Star2.3k (2.3k)You must be signed in to star a repository

A SOTA open-source image editing model, which aims to provide comparable performance against the closed-source models like GPT-4o and Gemini 2 Flash.

step1x-edit.github.io

image-editingreasoningvisual-reasoning

Apache-2.0 license

Custom properties

Report repository

BranchesTags

Open more actions menu

Latest commit

Folders and files

Last commit message

Last commit date

finetuning.py

gradio_app.py

inference.py

requirements.txt

View all files

Repository files navigation

Apr 29, 2026: 🎉 Step Image Edit 2 is now live — a lightweight model designed for ultra-fast response and high-quality output, delivering a real-time interactive creation experience. It can complete image generation and editing tasks within 2 seconds. Feel free to try it out and share your feedback ✨✨✨

Try it here (StepFun Open Platform): https://platform.stepfun.com/docs/zh/guides/models/step-image-edit-2

API documentation: https://platform.stepfun.com/docs/zh/step-plan/integrations/image-api

Dec 29, 2025: 🎉 RegionE delivers a 2.5× speedup for Step1X-Edit inference with no accuracy degradation, achieved with just five lines of code.

Nov 26, 2025: 👋 We release Step1X-Edit-v1p2 (referred to as ReasonEdit-S in the paper), a native reasoning edit model with better performance on KRIS-Bench and GEdit-Bench. Technical report can be found here.

G_SC⬆️ G_PQ⬆️ G_O⬆️ FK⬆️ CK⬆️ PK⬆️ Overall⬆️

Flux-Kontext-dev 7.16 7.37 6.51 53.28 50.36 42.53 49.54

Qwen-Image-Edit-2509 8.00 7.86 7.56 61.47 56.79 47.07 56.15

Step1X-Edit v1.1 7.66 7.35 6.97 53.05 54.34 44.66 51.59

Step1x-edit-v1p2-preview 8.14 7.55 7.42 60.49 58.81 41.77 52.51

Step1x-edit-v1p2 (base) 7.77 7.65 7.24 58.23 60.55 46.21 56.33

Step1x-edit-v1p2 (thinking) 8.02 7.64 7.36 59.79 62.76 49.78 58.64

Step1x-edit-v1p2 (thinking + reflection) 8.18 7.85 7.58 62.44 65.72 50.42 60.93

Sep 08, 2025: 👋 We release step1x-edit-v1p2-preview, a new version of Step1X-Edit with reasoning edit ability and better performance (report to be released soon), featuring:

Native Reasoning Edit Model: Combines instruction reasoning with reflective correction to handle complex edits more accurately. Performance on KRIS-Bench:

Factual Knowledge ⬆️

Conceptual Knowledge ⬆️

Procedural Knowledge ⬆️

Step1X-Edit v1.1

Step1x-edit-v1p2-preview

Step1x-edit-v1p2-preview (thinking)

Step1x-edit-v1p2-preview (thinking + reflection)

Improved image editing quality and better instruction-following performance. Performance on GEdit-Bench:

Step1X-Edit (v1.0)

Step1X-Edit (v1.1)

Jul 09, 2025: 👋 We’ve updated the step1x-edit model and released it as step1x-edit-v1p1 (diffusers version see here), featuring:

Added support for text-to-image (T2I) generation tasks

Improved image editing quality and better instruction-following performance.

Quantitative evaluation on GEdit-Bench-EN (Full set). G_SC, G_PQ, and G_O refer to the metrics evaluated by GPT-4.1, while Q_SC, Q_PQ, and Q_O refer to the metrics evaluated by Qwen2.5-VL-72B. To facilitate reproducibility, we have released the intermediate results of our model evaluations.

Jun 17, 2025: 👋 Support for Teacache and parallel inference has been added.

May 22, 2025: 👋 Step1X-Edit now supports Lora finetuning on a single 24GB GPU now! A hand-fixing Lora for anime characters has also been released. Download Lora

Apr 30, 2025: 🎉 Step1X-Edit ComfyUI Plugin is available now, thanks for the community contribution! quank123wip/ComfyUI-Step1X-Edit & raykindle/ComfyUI_Step1X-Edit.

Apr 27, 2025: 🎉 With community support, we update the inference code and model weights of Step1X-Edit-FP8. meimeilook/Step1X-Edit-FP8 & rkfg/Step1X-Edit-FP8.

Apr 26, 2025: 🎉 Step1X-Edit is now live — you can try editing images directly in the online demo! Online Demo

Apr 25, 2025: 👋 We release the evaluation code and benchmark data of Step1X-Edit. Download GEdit-Bench

Apr 25, 2025: 👋 We release the inference code and model weights of Step1X-Edit. ModelScope & HuggingFace models.

Apr 25, 2025: 👋 We have made our technical report available as open source. Read

📖 Introduction

We introduce a state-of-the-art image editing model, Step1X-Edit, which aims to provide comparable performance against the closed-source models like GPT-4o and Gemini2 Flash.

More specifically, we adopt the Multimodal LLM to process the reference image and user's editing instruction. A latent embedding has been extracted and integrated with a diffusion image decoder to obtain the target image. To train the model, we build a data generation pipeline to produce a high-quality dataset.

For evaluation, we develop the GEdit-Bench, a novel benchmark rooted in real-world user instructions. Experimental results on GEdit-Bench demonstrate that Step1X-Edit outperforms existing open-source baselines by a substantial margin and approaches the performance of leading proprietary models, thereby making significant contributions to the field of image editing.

More details please refer to our technical report.

Step1X-Edit: a unified image editing model performs impressively on various genuine user instructions.

⚡️ Quick Start

Make sure your transformers==4.55.0 (we tested on this version)

Install the diffusers package locally, according model version you want to use

Step1X-Edit-v1p2 (v1.2)

Install the diffusers package from the following command:

git clone -b step1xedit_v1p2 https://github.com/Peyton-Chen/diffusers.git

cd diffusers

pip install -e .

pip install RegionE # optional, for faster inference

Here is an example for using the Step1X-Edit-v1p2 model to edit images:

import torch

from diffusers import Step1XEditPipelineV1P2

from diffusers.utils import load_image

from RegionE import RegionEHelper

pipe = Step1XEditPipelineV1P2.from_pretrained("stepfun-ai/Step1X-Edit-v1p2", torch_dtype=torch.bfloat16)

pipe.to("cuda")

# Import the RegionEHelper

regionehelper = RegionEHelper(pipe)

regionehelper.set_params() # default hyperparameter

regionehelper.enable()

print("=== processing image ===")

image = load_image("examples/0000.jpg").convert("RGB")

prompt = "add a ruby pendant on the girl's neck."

enable_thinking_mode=True

enable_reflection_mode=True

pipe_output = pipe(

image=image,

prompt=prompt,

num_inference_steps=50,

true_cfg_scale=6,

generator=torch.Generator().manual_seed(42),

enable_thinking_mode=enable_thinking_mode,

enable_reflection_mode=enable_reflection_mode,

if enable_thinking_mode:

print("Reformat Prompt:", pipe_output.reformat_prompt)

for image_idx in range(len(pipe_output.images)):

pipe_output.images[image_idx].save(f"0001-{image_idx}.jpg", lossless=True)

if enable_reflection_mode:

print(pipe_output.think_info[image_idx])

print(pipe_output.best_info[image_idx])

pipe_output.final_images[0].save(f"0001-final.jpg", lossless=True)

regionehelper.disable()

The results looks like:

Step1X-Edit-v1p2-preview (v1.2-preview)

git clone -b dev/MergeV1-2 https://github.com/Peyton-Chen/diffusers.git

Here is an example for using the Step1X-Edit-v1p2-preview model to edit images:

pipe = Step1XEditPipelineV1P2.from_pretrained("stepfun-ai/Step1X-Edit-v1p2-preview", torch_dtype=torch.bfloat16)

prompt = "add a ruby ​​pendant on the girl's neck."

num_inference_steps=28,

true_cfg_scale=4,

Step1X-Edit-v1p1 (v1.1)

git clone -b step1xedit https://github.com/Peyton-Chen/diffusers.git

Here is an example for using the Step1X-Edit-v1p1 model to edit images:

from diffusers import Step1XEditPipeline

[...内容已截断,完整版请查看原文或 Wayback 快照]