ReyChiaro commited on
Commit
2851b62
·
verified ·
1 Parent(s): 6520cd5

Upload folder using huggingface_hub

Browse files
.gitignore ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ .DS_Store
2
+ .cache/
3
+ *.part
4
+ *.tmp
LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Rui Xu and contributors
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
MODEL_CARD.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Model Card for StyleController
2
+
3
+ ## Model summary
4
+
5
+ StyleController is a controllable image-stylization method built on image-editing diffusion backbones. It combines a full-strength LoRA endpoint with lightweight projector anchors learned at discrete style strengths. Interpolation between these anchors produces a continuous stylization path while aiming to preserve the content image's structure.
6
+
7
+ This Hugging Face repository is organized as a multi-variant weight collection. Each top-level model directory is self-contained with respect to adapter weights, projector weights, machine-readable configuration, and checksums. Base-model weights and executable source code are not duplicated here.
8
+
9
+ ## Current release
10
+
11
+ ### qwenimage_edit_2509
12
+
13
+ | Property | Value |
14
+ | --- | --- |
15
+ | Runtime base model | `Qwen/Qwen-Image-Edit-2509` |
16
+ | Relationship | Custom LoRA adapter with strength projectors |
17
+ | Tensor format | Safetensors |
18
+ | Tensor dtype | BF16 |
19
+ | LoRA rank | 128 |
20
+ | Transformer layers | 0–59, inclusive |
21
+ | Target-module groups | 10 per transformer layer |
22
+ | Projector type | `low_rank_linear` |
23
+ | Stored anchors | 0.1 through 0.9 |
24
+ | Virtual endpoints | 0.0 zero projector; 1.0 identity projector |
25
+ | Main weight parameters | 613,416,960 |
26
+ | Projector parameters | 9,907,200 per anchor |
27
+ | Total stored parameters | 702,581,760 |
28
+ | Total weight size | 1,406,700,168 bytes |
29
+
30
+ ## Intended use
31
+
32
+ The release is intended for:
33
+
34
+ - research on reference-based image stylization;
35
+ - controllable image-to-image generation;
36
+ - continuous style-strength interpolation;
37
+ - evaluation and reproduction of the StyleController method;
38
+ - non-deceptive creative workflows where users have the rights needed for the input images and requested outputs.
39
+
40
+ The adapters are not intended to identify individuals, authenticate media, make high-stakes decisions, or provide guarantees of copyright clearance for generated images.
41
+
42
+ ## How to use
43
+
44
+ Use the inference entry point in the [StyleController source repository](https://github.com/ReyChiaro/StyleController). A complete command is provided in the repository-level [`README.md`](README.md). The essential compatibility requirements are recorded in [`qwenimage_edit_2509/stylecontroller_config.json`](qwenimage_edit_2509/stylecontroller_config.json).
45
+
46
+ The scalar strength is expected to lie in `[0, 1]`. Projector checkpoints `s01` through `s09` correspond to strengths `0.1` through `0.9`. The source implementation constructs both missing endpoints and interpolates projector parameters at the requested strength.
47
+
48
+ ## Training data
49
+
50
+ StyleController was trained with the SmoothStyle dataset. SmoothStyle contains content images, style references, generated stylization targets, and scalar strength supervision.
51
+
52
+ The dataset has mixed provenance and its licensing is separate from this model-weight license. Users should consult the current [`ReyChiaro/SmoothStyle`](https://huggingface.co/datasets/ReyChiaro/SmoothStyle) dataset card, per-asset provenance records, third-party notices, and release status before using or redistributing dataset assets. The Apache-2.0 license for these adapter files does not grant rights to third-party training or input images.
53
+
54
+ ## Evaluation
55
+
56
+ The project evaluates stylization fidelity, content preservation, and smoothness across strength trajectories. Final, release-specific quantitative tables and paper citation metadata have not yet been included in this weight repository. Do not treat the absence of a reported metric as evidence of performance on untested domains.
57
+
58
+ ## Safety and responsible use
59
+
60
+ Users are responsible for obtaining appropriate rights and consent for content and style references. Avoid deceptive impersonation, non-consensual identity manipulation, removal or falsification of provenance information, and attempts to imitate living artists in jurisdictions or contexts where doing so would violate applicable rights or platform rules.
61
+
62
+ Generated outputs should be reviewed before publication. For sensitive workflows, preserve input provenance, prompts, model/config revisions, random seeds, and output metadata.
63
+
64
+ ## Reproducibility and integrity
65
+
66
+ - Configuration: `qwenimage_edit_2509/stylecontroller_config.json`
67
+ - Repository index: `model_manifest.json`
68
+ - Weight checksums: `qwenimage_edit_2509/checksums.sha256`
69
+ - Source code: <https://github.com/ReyChiaro/StyleController>
70
+ - Base model: <https://huggingface.co/Qwen/Qwen-Image-Edit-2509>
71
+
72
+ The Safetensors files contain tensor data only and currently carry no embedded metadata. External configuration files are therefore part of the release contract and should be distributed with the weights.
73
+
74
+ ## License and attribution
75
+
76
+ The adapter and projector weight files are released under Apache-2.0. StyleController source code is licensed separately under MIT. Qwen-Image-Edit-2509 is distributed by its authors under Apache-2.0 and is not included in this repository. See [`LICENSE`](LICENSE) and [`NOTICE`](NOTICE).
77
+
78
+ ## Contact
79
+
80
+ Please use the [StyleController GitHub issue tracker](https://github.com/ReyChiaro/StyleController/issues) for technical problems, model-card corrections, provenance concerns, and takedown requests until a dedicated project contact is published.
NOTICE ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ StyleController model weights
2
+ Copyright 2026 Rui Xu and contributors
3
+
4
+ This product includes adapter weights intended for use with Qwen-Image-Edit-2509.
5
+ Qwen-Image-Edit-2509 is developed by the Qwen team and is distributed under
6
+ the Apache License, Version 2.0. The base-model files are not redistributed in
7
+ this repository.
8
+
9
+ Base model:
10
+ https://huggingface.co/Qwen/Qwen-Image-Edit-2509
11
+
12
+ StyleController source code is distributed separately under the MIT License:
13
+ https://github.com/ReyChiaro/StyleController
14
+
15
+ Training-data documentation is maintained separately:
16
+ https://huggingface.co/datasets/ReyChiaro/SmoothStyle
17
+
18
+ The license for these model weights does not replace or expand the licenses,
19
+ terms, provenance requirements, or third-party rights that apply to the base
20
+ model, training data, input images, or generated outputs.
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: diffusers
4
+ pipeline_tag: image-to-image
5
+ base_model: Qwen/Qwen-Image-Edit-2509
6
+ base_model_relation: adapter
7
+ datasets:
8
+ - ReyChiaro/SmoothStyle
9
+ tags:
10
+ - style-transfer
11
+ - image-editing
12
+ - controllable-generation
13
+ - lora
14
+ - safetensors
15
+ - stylecontroller
16
+ ---
17
+
18
+ <p align="center">
19
+ <img src="docs/assets/images/stylecontroller-banner.svg" alt="StyleController" width="100%">
20
+ </p>
21
+
22
+ <!-- <h1 align="center">StyleController</h1> -->
23
+
24
+ <h3 align="center">
25
+ Staying True to the Origin: Continuous Image Stylization with Smooth Transitions
26
+ </h3>
27
+
28
+ <p align="center">
29
+ Rui Xu &nbsp;·&nbsp; Hanmo Zhang &nbsp;·&nbsp; Songhua Liu<br>
30
+ Shanghai Jiao Tong University
31
+ </p>
32
+
33
+ <p align="center">
34
+ <a href="https://huggingface.co/datasets/ReyChiaro/SmoothStyle"><img alt="Hugging Face Dataset" src="https://img.shields.io/badge/%F0%9F%A4%97-Dataset-FFD21E?style=flat-square"></a>
35
+ <a href=""><img alt="Hugging Face Model" src="https://img.shields.io/badge/%F0%9F%A4%97-Model-FFD21E?style=flat-square"></a>
36
+ <a href=""><img alt="Project Page" src="https://img.shields.io/badge/Project-Page-CB8B65?style=flat-square&logo=githubpages&logoColor=white"></a>
37
+ <a href=""><img alt="arXiv" src="https://img.shields.io/badge/arXiv-Paper-B31B1B?style=flat-square&logo=arxiv&logoColor=white"></a>
38
+ <a href="https://github.com/ReyChiaro/StyleController"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-Code-181717?style=flat-square&logo=github&logoColor=white"></a>
39
+ </p>
40
+
41
+
42
+ StyleController is a controllable image-stylization adapter collection. Given a content image, a style reference, a text instruction, and a scalar strength, it generates stylized images while providing continuous control over the amount of transferred style.
43
+
44
+ This repository contains model weights only. Inference and training code are maintained in the [StyleController GitHub repository](https://github.com/ReyChiaro/StyleController).
45
+
46
+ ## Available models
47
+
48
+ | Variant | Base model | Precision | Strength anchors | Status |
49
+ | --- | --- | --- | --- | --- |
50
+ | [`qwenimage_edit_2509`](qwenimage_edit_2509/) | [`Qwen/Qwen-Image-Edit-2509`](https://huggingface.co/Qwen/Qwen-Image-Edit-2509) | BF16 | 0.1–0.9 | Available |
51
+
52
+
53
+ ## Repository layout
54
+
55
+ ```text
56
+ StyleController/
57
+ ├── README.md
58
+ ├── MODEL_CARD.md
59
+ ├── LICENSE
60
+ ├── NOTICE
61
+ ├── model_manifest.json
62
+ └── qwenimage_edit_2509/
63
+ ├── README.md
64
+ ├── stylecontroller_config.json
65
+ ├── checksums.sha256
66
+ ├── styctrl_qwenimage_edit_2509.safetensors
67
+ └── projectors/
68
+ ├── s01.safetensors
69
+ ├── ...
70
+ └── s09.safetensors
71
+ ```
72
+
73
+ ## Download
74
+
75
+ Install the Hugging Face CLI and download the current variant:
76
+
77
+ ```bash
78
+ pip install -U huggingface_hub
79
+
80
+ hf download ReyChiaro/StyleController \
81
+ --include "qwenimage_edit_2509/*" \
82
+ --local-dir hf_weights
83
+ ```
84
+
85
+ ## Inference
86
+
87
+ Clone and install the implementation:
88
+
89
+ ```bash
90
+ git clone https://github.com/ReyChiaro/StyleController.git
91
+ cd StyleController
92
+ uv sync
93
+ ```
94
+
95
+ Run Qwen-Image-Edit-2509 inference at strength `0.55`:
96
+
97
+ ```bash
98
+ uv run python infer_styctrl.py \
99
+ --model qwen \
100
+ --pretrained-pipeline Qwen/Qwen-Image-Edit-2509 \
101
+ --content examples/content.jpg \
102
+ --style examples/style.jpg \
103
+ --prompt "Transfer the style of image 2 to image 1 while preserving the content structure." \
104
+ --strength 0.55 \
105
+ --output outputs/result_055.png \
106
+ --lora-checkpoint hf_weights/qwenimage_edit_2509/styctrl_qwenimage_edit_2509.safetensors \
107
+ --projector-checkpoints \
108
+ hf_weights/qwenimage_edit_2509/projectors/s01.safetensors \
109
+ hf_weights/qwenimage_edit_2509/projectors/s02.safetensors \
110
+ hf_weights/qwenimage_edit_2509/projectors/s03.safetensors \
111
+ hf_weights/qwenimage_edit_2509/projectors/s04.safetensors \
112
+ hf_weights/qwenimage_edit_2509/projectors/s05.safetensors \
113
+ hf_weights/qwenimage_edit_2509/projectors/s06.safetensors \
114
+ hf_weights/qwenimage_edit_2509/projectors/s07.safetensors \
115
+ hf_weights/qwenimage_edit_2509/projectors/s08.safetensors \
116
+ hf_weights/qwenimage_edit_2509/projectors/s09.safetensors \
117
+ --anchor-strengths 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
118
+ ```
119
+
120
+
121
+ ## License
122
+
123
+ The model-weight release is provided under the [Apache License 2.0](LICENSE). The StyleController source code is separately licensed under MIT. The Qwen base model and SmoothStyle dataset remain governed by their own licenses and notices; see [`NOTICE`](NOTICE).
124
+
125
+ ## Citation
126
+
model_manifest.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "repository": "ReyChiaro/StyleController",
4
+ "project": "StyleController",
5
+ "source_repository": "https://github.com/ReyChiaro/StyleController",
6
+ "default_variant": "qwenimage_edit_2509",
7
+ "variants": [
8
+ {
9
+ "id": "qwenimage_edit_2509",
10
+ "path": "qwenimage_edit_2509",
11
+ "base_model": "Qwen/Qwen-Image-Edit-2509",
12
+ "base_model_relation": "adapter",
13
+ "pipeline_tag": "image-to-image",
14
+ "library_name": "diffusers",
15
+ "config": "qwenimage_edit_2509/stylecontroller_config.json",
16
+ "model_card": "qwenimage_edit_2509/README.md",
17
+ "checksums": "qwenimage_edit_2509/checksums.sha256",
18
+ "status": "available"
19
+ }
20
+ ]
21
+ }
qwenimage_edit_2509/README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # StyleController for Qwen-Image-Edit-2509
2
+
3
+ This directory contains the StyleController LoRA endpoint and projector anchors configured for `Qwen/Qwen-Image-Edit-2509`.
4
+
5
+ ## Files
6
+
7
+ - `styctrl_qwenimage_edit_2509.safetensors`: main BF16 StyleController LoRA endpoint.
8
+ - `projectors/s01.safetensors` through `projectors/s09.safetensors`: learned `low_rank_linear` projector anchors for strengths 0.1 through 0.9.
9
+ - `stylecontroller_config.json`: authoritative runtime and architecture configuration.
10
+ - `checksums.sha256`: SHA-256 integrity checks for all weight files in this variant.
11
+
12
+ There are no `s00` or `s10` projector files. The StyleController inference code constructs strength 0.0 as a zero projector and strength 1.0 from the identity projector initialized with the main LoRA endpoint.
13
+
14
+ Use the complete download and inference instructions in the repository-level [`README.md`](../README.md). In particular, pass:
15
+
16
+ ```text
17
+ --pretrained-pipeline Qwen/Qwen-Image-Edit-2509
18
+ --rank 128
19
+ --layer-start 0
20
+ --layer-end 59
21
+ --projector-type low_rank_linear
22
+ ```
23
+
24
+ The source implementation currently uses the listed pretrained pipeline, rank, layer range, and projector type as its Qwen defaults. Passing them explicitly makes the release command reproducible if those defaults change later.
qwenimage_edit_2509/checksums.sha256 ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ 62dcbcf8f4660eede0621654c50fbadb44118d3300a5526f264fa03107c53949 styctrl_qwenimage_edit_2509.safetensors
2
+ e76efe6bc85a450880b5d6d310258284f676b024185dd5e5eece56270ecd9220 projectors/s01.safetensors
3
+ 50892e7e58ca66697a41f65175a5d50e95b04801fc9e592b84c0f237069afbaa projectors/s02.safetensors
4
+ c917070f9027dbd62b9e203260484db1d497052753bd6c82b47d6ff11bca13d1 projectors/s03.safetensors
5
+ c7cd3de4a367daadc6b0c478d000a53c10024262a005967931fc47599135e3b2 projectors/s04.safetensors
6
+ af5e8095670e9ac1b41d16a71afe5b396d2b7a79e918102fad28bc7dfbd996d4 projectors/s05.safetensors
7
+ a0b5d778c9fabeaf8af2bf3c3e058f425df3cbec5316c846da331e37675c9504 projectors/s06.safetensors
8
+ ff6d4c1258ccf71beea71f60aff9a8cab928e399c9f2f33ead66509a0a7440bd projectors/s07.safetensors
9
+ c6ad295e2badec57d782b0b32388896fe553cf9a4468d8439faec4fd6df9cd95 projectors/s08.safetensors
10
+ 27dd73f8c820ef3571b303363d01a1478891cc7ddd416a05150d7842304fa390 projectors/s09.safetensors
qwenimage_edit_2509/projectors/s01.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e76efe6bc85a450880b5d6d310258284f676b024185dd5e5eece56270ecd9220
3
+ size 19968376
qwenimage_edit_2509/projectors/s02.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50892e7e58ca66697a41f65175a5d50e95b04801fc9e592b84c0f237069afbaa
3
+ size 19968376
qwenimage_edit_2509/projectors/s03.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c917070f9027dbd62b9e203260484db1d497052753bd6c82b47d6ff11bca13d1
3
+ size 19968376
qwenimage_edit_2509/projectors/s04.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7cd3de4a367daadc6b0c478d000a53c10024262a005967931fc47599135e3b2
3
+ size 19968376
qwenimage_edit_2509/projectors/s05.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af5e8095670e9ac1b41d16a71afe5b396d2b7a79e918102fad28bc7dfbd996d4
3
+ size 19968376
qwenimage_edit_2509/projectors/s06.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0b5d778c9fabeaf8af2bf3c3e058f425df3cbec5316c846da331e37675c9504
3
+ size 19968376
qwenimage_edit_2509/projectors/s07.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff6d4c1258ccf71beea71f60aff9a8cab928e399c9f2f33ead66509a0a7440bd
3
+ size 19968376
qwenimage_edit_2509/projectors/s08.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6ad295e2badec57d782b0b32388896fe553cf9a4468d8439faec4fd6df9cd95
3
+ size 19968376
qwenimage_edit_2509/projectors/s09.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27dd73f8c820ef3571b303363d01a1478891cc7ddd416a05150d7842304fa390
3
+ size 19968376
qwenimage_edit_2509/styctrl_qwenimage_edit_2509.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62dcbcf8f4660eede0621654c50fbadb44118d3300a5526f264fa03107c53949
3
+ size 1226984784
qwenimage_edit_2509/stylecontroller_config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format_version": 1,
3
+ "model_type": "stylecontroller",
4
+ "variant": "qwenimage_edit_2509",
5
+ "base_model": {
6
+ "repo_id": "Qwen/Qwen-Image-Edit-2509",
7
+ "relationship": "adapter"
8
+ },
9
+ "implementation": {
10
+ "repository": "https://github.com/ReyChiaro/StyleController",
11
+ "entrypoint": "infer_styctrl.py",
12
+ "model_argument": "qwen"
13
+ },
14
+ "weights": {
15
+ "format": "safetensors",
16
+ "dtype": "bfloat16",
17
+ "main": "styctrl_qwenimage_edit_2509.safetensors",
18
+ "adapter_name": "styctrl",
19
+ "rank": 128,
20
+ "bias": false,
21
+ "parameter_count": 613416960
22
+ },
23
+ "transformer": {
24
+ "layer_start": 0,
25
+ "layer_end": 59,
26
+ "layer_end_inclusive": true,
27
+ "target_modules": [
28
+ "attn.to_q",
29
+ "attn.to_k",
30
+ "attn.to_v",
31
+ "attn.to_out.0",
32
+ "attn.add_q_proj",
33
+ "attn.add_k_proj",
34
+ "attn.add_v_proj",
35
+ "attn.to_add_out",
36
+ "img_mlp.net.2",
37
+ "txt_mlp.net.2"
38
+ ]
39
+ },
40
+ "projectors": {
41
+ "type": "low_rank_linear",
42
+ "parameters_per_anchor": 9907200,
43
+ "anchors": [
44
+ {"strength": 0.1, "path": "projectors/s01.safetensors"},
45
+ {"strength": 0.2, "path": "projectors/s02.safetensors"},
46
+ {"strength": 0.3, "path": "projectors/s03.safetensors"},
47
+ {"strength": 0.4, "path": "projectors/s04.safetensors"},
48
+ {"strength": 0.5, "path": "projectors/s05.safetensors"},
49
+ {"strength": 0.6, "path": "projectors/s06.safetensors"},
50
+ {"strength": 0.7, "path": "projectors/s07.safetensors"},
51
+ {"strength": 0.8, "path": "projectors/s08.safetensors"},
52
+ {"strength": 0.9, "path": "projectors/s09.safetensors"}
53
+ ],
54
+ "endpoints": [
55
+ {"strength": 0.0, "construction": "zero_projector"},
56
+ {"strength": 1.0, "construction": "identity_projector_from_main_lora"}
57
+ ],
58
+ "default_interpolation": "bspline",
59
+ "bspline_order": 3,
60
+ "bspline_mode": "control"
61
+ },
62
+ "inference_defaults": {
63
+ "height": 1024,
64
+ "width": 1024,
65
+ "steps": 16,
66
+ "guidance_scale": 3.5,
67
+ "seed": 42,
68
+ "dtype": "bfloat16",
69
+ "device": "cuda"
70
+ }
71
+ }