Papers › PixWizard: Versatile Image-to-Image Visual Assistant with Open-Language Instructions

PixWizard: Versatile Image-to-Image Visual Assistant with Open-Language Instructions

23 Sep 2024arXiv:2409.15278archive 2025-07-28

Weifeng Lin, Xinyu Wei, Renrui Zhang, Le Zhuo, Shitian Zhao, Siyuan Huang, Junlin Xie, Yu Qiao, Peng Gao, Hongsheng Li

This paper presents a versatile image-to-image visual assistant, PixWizard, designed for image generation, manipulation, and translation based on free-from language instructions. To this end, we tackle a variety of vision tasks into a unified image-text-to-image generation framework and curate an Omni Pixel-to-Pixel Instruction-Tuning Dataset. By constructing detailed instruction templates in natural language, we comprehensively include a large set of diverse vision tasks such as text-to-image generation, image restoration, image grounding, dense image prediction, image editing, controllable generation, inpainting/outpainting, and more. Furthermore, we adopt Diffusion Transformers (DiT) as our foundation model and extend its capabilities with a flexible any resolution mechanism, enabling the model to dynamically process images based on the aspect ratio of the input, closely aligning with human perceptual processes. The model also incorporates structure-aware and semantic-aware guidance to facilitate effective fusion of information from the input image. Our experiments demonstrate that PixWizard not only shows impressive generative and understanding abilities for images with diverse resolutions but also exhibits promising generalization capabilities with unseen tasks and human instructions. The code and related resources are available at https://github.com/AFeng-x/PixWizard

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 17 code samples harvested from 1 repository linked to this paper: 15 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 0 honoured, 4 violated, 4 with no contract checked; 7 where Syntology's instrument failed) · 2 unverified. Where Syntology's instrument failed: 7 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 17 samples from 1 repository, 15 ran (8 with no instrument failure; 7 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 2 of the 15 samples that ran have no recorded date.

afeng-x/pixwizard officialmentioned in papermentioned on GitHubpytorchMITSyntology: 17 samples, 15 ran (7 instrument-failed) · 2 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested: 15 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 0 honoured, 4 violated, 4 with no contract checked; 7 where Syntology's instrument failed) · 2 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · violated contract
7ran · our draft was wrong
4ran
2unverified

Licence: 1 of the 17 samples is pointer only, meaning Syntology does not serve that copy's text. For that sample, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from afeng-x/pixwizard. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

afeng-x/pixwizard official repository 17 samples, 15 ran (7 instrument-failed) · 2 unverified
MultiHot_Gumbel_Softmax models/model.py ran MIT (permissive) · 49688b7f4b1c6d3d · report fixture: signature logits:Tensor/2/float, tau:float/0/float, hard:bool/0/bool, dim:int/0/int, sample_tokens:int/0/int · returned Tensor · level recorded 2026-09-24
add_options entry_point.py ran · our draft was wrong MIT (permissive) · 2a92f0d95dce3ea2 · report fixture: signature options:list/1/callable · returned function · level recorded 2026-09-22
always in 65 papers models/clip/x_transformer.py ran · our draft was wrong MIT (permissive) · fe5dd5258046898c · report fixture: signature val:int/0/int · returned function · level recorded 2026-09-22
center_crop in 48 papers imgproc.py ran · our draft was wrong MIT (permissive) · ed9eb205e6768a44 · report fixture: signature pil_image:Image/0/?, crop_size:tuple/1/int · returned Image · level recorded 2026-09-24
center_crop_arr in 79 papers imgproc.py ran · our draft was wrong MIT (permissive) · ea73360d2d5d9224 · report fixture: signature pil_image:Image/0/?, image_size:int/0/int · returned Image · level recorded, date not recorded
default in 430 papers models/clip/x_transformer.py ran · violated contract MIT (permissive) · 424012cb37b31172 · report fixture: signature val:NoneType/0/?, d:callable/0/? · returned int · level recorded 2026-09-22
encode_prompt in 54 papers sample_pixwizard.py ran MIT (permissive) · a36c1723b0978202 · report fixture: signature prompt_batch:list/1/str, text_encoder:callable/0/?, tokenizer:callable/0/?, clip_tokenizer:callable/0/?, clip_text_encoder:callable/0/?, proportion_empty_prompts:float/0/float, is_train:bool/0/bool, num_images_per_prompt:int/0/int, device:device/0/? · returned tuple · level recorded 2026-09-24
exists in 528 papers
census: 5 implementations from 103 papers, 1 distinct output on one shared input this sample: bucket 1 of 1, arg 1: rank 1, kind int, dtype int64
models/clip/x_transformer.py ran · violated contract MIT (permissive) here; the stored copy is pointer only · aa5486a3650902d8 · report fixture: signature val:Tensor/1/int · returned bool · level recorded, date not recorded
expand_t_like_x in 8 papers transport/path.py ran · our draft was wrong MIT (permissive) · 1c00a422b396fa8b · report fixture: signature t:Tensor/1/float, x:list/1/Tensor · returned Tensor · level recorded 2026-09-24
find_closest_size sample_pixwizard.py ran MIT (permissive) · 6bcc66e5235c74ae · report fixture: signature sizes_list:list/1/str, target_aspect_ratio:float/0/float · returned tuple · level recorded 2026-09-24
isimage in 65 papers models/clip/util.py ran · violated contract fingerprinted MIT (permissive) · b1368330cf0f5642 · report fixture: signature x:Tensor/4/float · returned bool · level recorded 2026-09-24
ismap in 70 papers models/clip/util.py ran · violated contract fingerprinted MIT (permissive) · d72762b700feee6f · report fixture: signature x:Tensor/4/float · returned bool · level recorded 2026-09-24
modulate in 137 papers
census: 3 implementations from 12 papers, 1 distinct output on one shared input
models/model.py ran fingerprinted MIT (permissive) · 128eb60a7316f121 · report fixture: signature x:Tensor/2/float, scale:Tensor/1/float · returned Tensor · level recorded 2026-09-24
var_center_crop imgproc.py ran · our draft was wrong MIT (permissive) · 7318f2abbfa63f83 · report fixture: signature pil_image:Image/0/?, crop_size_list:list/1/tuple, random_top_k:int/0/int · returned Image · level recorded 2026-09-24
zero_module in 184 papers models/clip/modules.py ran · our draft was wrong MIT (permissive) · 129b804760b3115f · report fixture: signature module:callable/0/? · returned SimpleModule · level recorded 2026-09-22
log_txt_as_img in 72 papers models/clip/util.py unverified MIT (permissive) · f9bd2e83191afad1 · report
none_or_str in 23 papers sample_pixwizard.py unverified MIT (permissive) · 2fc6fdb85f13dc41 · report

Tasks

Image GenerationImage RestorationText to Image GenerationText-to-Image Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

DiffusionSET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections