Commit
·
5ad5ded
1
Parent(s):
53340e0
add LICENSE & update README.md
Browse files- LICENSE +330 -0
- README.md +92 -3
- comparative_results.jpg → assets/comparative_results.jpg +0 -0
- plug_and_play.jpg → assets/plug_and_play.jpg +0 -0
- teaser.jpg → assets/teaser.jpg +0 -0
LICENSE
ADDED
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Creative Commons Attribution-NonCommercial 4.0 International Public
|
2 |
+
License
|
3 |
+
|
4 |
+
By exercising the Licensed Rights (defined below), You accept and agree
|
5 |
+
to be bound by the terms and conditions of this Creative Commons
|
6 |
+
Attribution-NonCommercial 4.0 International Public License ("Public
|
7 |
+
License"). To the extent this Public License may be interpreted as a
|
8 |
+
contract, You are granted the Licensed Rights in consideration of Your
|
9 |
+
acceptance of these terms and conditions, and the Licensor grants You
|
10 |
+
such rights in consideration of benefits the Licensor receives from
|
11 |
+
making the Licensed Material available under these terms and
|
12 |
+
conditions.
|
13 |
+
|
14 |
+
|
15 |
+
Section 1 -- Definitions.
|
16 |
+
|
17 |
+
a. Adapted Material means material subject to Copyright and Similar
|
18 |
+
Rights that is derived from or based upon the Licensed Material
|
19 |
+
and in which the Licensed Material is translated, altered,
|
20 |
+
arranged, transformed, or otherwise modified in a manner requiring
|
21 |
+
permission under the Copyright and Similar Rights held by the
|
22 |
+
Licensor. For purposes of this Public License, where the Licensed
|
23 |
+
Material is a musical work, performance, or sound recording,
|
24 |
+
Adapted Material is always produced where the Licensed Material is
|
25 |
+
synched in timed relation with a moving image.
|
26 |
+
|
27 |
+
b. Adapter's License means the license You apply to Your Copyright
|
28 |
+
and Similar Rights in Your contributions to Adapted Material in
|
29 |
+
accordance with the terms and conditions of this Public License.
|
30 |
+
|
31 |
+
c. Copyright and Similar Rights means copyright and/or similar rights
|
32 |
+
closely related to copyright including, without limitation,
|
33 |
+
performance, broadcast, sound recording, and Sui Generis Database
|
34 |
+
Rights, without regard to how the rights are labeled or
|
35 |
+
categorized. For purposes of this Public License, the rights
|
36 |
+
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
37 |
+
Rights.
|
38 |
+
d. Effective Technological Measures means those measures that, in the
|
39 |
+
absence of proper authority, may not be circumvented under laws
|
40 |
+
fulfilling obligations under Article 11 of the WIPO Copyright
|
41 |
+
Treaty adopted on December 20, 1996, and/or similar international
|
42 |
+
agreements.
|
43 |
+
|
44 |
+
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
45 |
+
any other exception or limitation to Copyright and Similar Rights
|
46 |
+
that applies to Your use of the Licensed Material.
|
47 |
+
|
48 |
+
f. Licensed Material means the artistic or literary work, database,
|
49 |
+
or other material to which the Licensor applied this Public
|
50 |
+
License.
|
51 |
+
|
52 |
+
g. Licensed Rights means the rights granted to You subject to the
|
53 |
+
terms and conditions of this Public License, which are limited to
|
54 |
+
all Copyright and Similar Rights that apply to Your use of the
|
55 |
+
Licensed Material and that the Licensor has authority to license.
|
56 |
+
|
57 |
+
h. Licensor means the individual(s) or entity(ies) granting rights
|
58 |
+
under this Public License.
|
59 |
+
|
60 |
+
i. NonCommercial means not primarily intended for or directed towards
|
61 |
+
commercial advantage or monetary compensation. For purposes of
|
62 |
+
this Public License, the exchange of the Licensed Material for
|
63 |
+
other material subject to Copyright and Similar Rights by digital
|
64 |
+
file-sharing or similar means is NonCommercial provided there is
|
65 |
+
no payment of monetary compensation in connection with the
|
66 |
+
exchange.
|
67 |
+
|
68 |
+
j. Share means to provide material to the public by any means or
|
69 |
+
process that requires permission under the Licensed Rights, such
|
70 |
+
as reproduction, public display, public performance, distribution,
|
71 |
+
dissemination, communication, or importation, and to make material
|
72 |
+
available to the public including in ways that members of the
|
73 |
+
public may access the material from a place and at a time
|
74 |
+
individually chosen by them.
|
75 |
+
|
76 |
+
k. Sui Generis Database Rights means rights other than copyright
|
77 |
+
resulting from Directive 96/9/EC of the European Parliament and of
|
78 |
+
the Council of 11 March 1996 on the legal protection of databases,
|
79 |
+
as amended and/or succeeded, as well as other essentially
|
80 |
+
equivalent rights anywhere in the world.
|
81 |
+
|
82 |
+
l. You means the individual or entity exercising the Licensed Rights
|
83 |
+
under this Public License. Your has a corresponding meaning.
|
84 |
+
|
85 |
+
|
86 |
+
Section 2 -- Scope.
|
87 |
+
|
88 |
+
a. License grant.
|
89 |
+
|
90 |
+
1. Subject to the terms and conditions of this Public License,
|
91 |
+
the Licensor hereby grants You a worldwide, royalty-free,
|
92 |
+
non-sublicensable, non-exclusive, irrevocable license to
|
93 |
+
exercise the Licensed Rights in the Licensed Material to:
|
94 |
+
|
95 |
+
a. reproduce and Share the Licensed Material, in whole or
|
96 |
+
in part, for NonCommercial purposes only; and
|
97 |
+
|
98 |
+
b. produce, reproduce, and Share Adapted Material for
|
99 |
+
NonCommercial purposes only.
|
100 |
+
|
101 |
+
2. Exceptions and Limitations. For the avoidance of doubt, where
|
102 |
+
Exceptions and Limitations apply to Your use, this Public
|
103 |
+
License does not apply, and You do not need to comply with
|
104 |
+
its terms and conditions.
|
105 |
+
|
106 |
+
3. Term. The term of this Public License is specified in Section
|
107 |
+
6(a).
|
108 |
+
|
109 |
+
4. Media and formats; technical modifications allowed. The
|
110 |
+
Licensor authorizes You to exercise the Licensed Rights in
|
111 |
+
all media and formats whether now known or hereafter created,
|
112 |
+
and to make technical modifications necessary to do so. The
|
113 |
+
Licensor waives and/or agrees not to assert any right or
|
114 |
+
authority to forbid You from making technical modifications
|
115 |
+
necessary to exercise the Licensed Rights, including
|
116 |
+
technical modifications necessary to circumvent Effective
|
117 |
+
Technological Measures. For purposes of this Public License,
|
118 |
+
simply making modifications authorized by this Section 2(a)
|
119 |
+
(4) never produces Adapted Material.
|
120 |
+
|
121 |
+
5. Downstream recipients.
|
122 |
+
|
123 |
+
a. Offer from the Licensor -- Licensed Material. Every
|
124 |
+
recipient of the Licensed Material automatically
|
125 |
+
receives an offer from the Licensor to exercise the
|
126 |
+
Licensed Rights under the terms and conditions of this
|
127 |
+
Public License.
|
128 |
+
|
129 |
+
b. No downstream restrictions. You may not offer or impose
|
130 |
+
any additional or different terms or conditions on, or
|
131 |
+
apply any Effective Technological Measures to, the
|
132 |
+
Licensed Material if doing so restricts exercise of the
|
133 |
+
Licensed Rights by any recipient of the Licensed
|
134 |
+
Material.
|
135 |
+
|
136 |
+
6. No endorsement. Nothing in this Public License constitutes or
|
137 |
+
may be construed as permission to assert or imply that You
|
138 |
+
are, or that Your use of the Licensed Material is, connected
|
139 |
+
with, or sponsored, endorsed, or granted official status by,
|
140 |
+
the Licensor or others designated to receive attribution as
|
141 |
+
provided in Section 3(a)(1)(A)(i).
|
142 |
+
|
143 |
+
b. Other rights.
|
144 |
+
|
145 |
+
1. Moral rights, such as the right of integrity, are not
|
146 |
+
licensed under this Public License, nor are publicity,
|
147 |
+
privacy, and/or other similar personality rights; however, to
|
148 |
+
the extent possible, the Licensor waives and/or agrees not to
|
149 |
+
assert any such rights held by the Licensor to the limited
|
150 |
+
extent necessary to allow You to exercise the Licensed
|
151 |
+
Rights, but not otherwise.
|
152 |
+
|
153 |
+
2. Patent and trademark rights are not licensed under this
|
154 |
+
Public License.
|
155 |
+
|
156 |
+
3. To the extent possible, the Licensor waives any right to
|
157 |
+
collect royalties from You for the exercise of the Licensed
|
158 |
+
Rights, whether directly or through a collecting society
|
159 |
+
under any voluntary or waivable statutory or compulsory
|
160 |
+
licensing scheme. In all other cases the Licensor expressly
|
161 |
+
reserves any right to collect such royalties, including when
|
162 |
+
the Licensed Material is used other than for NonCommercial
|
163 |
+
purposes.
|
164 |
+
|
165 |
+
|
166 |
+
Section 3 -- License Conditions.
|
167 |
+
|
168 |
+
Your exercise of the Licensed Rights is expressly made subject to the
|
169 |
+
following conditions.
|
170 |
+
|
171 |
+
a. Attribution.
|
172 |
+
|
173 |
+
1. If You Share the Licensed Material (including in modified
|
174 |
+
form), You must:
|
175 |
+
|
176 |
+
a. retain the following if it is supplied by the Licensor
|
177 |
+
with the Licensed Material:
|
178 |
+
|
179 |
+
i. identification of the creator(s) of the Licensed
|
180 |
+
Material and any others designated to receive
|
181 |
+
attribution, in any reasonable manner requested by
|
182 |
+
the Licensor (including by pseudonym if
|
183 |
+
designated);
|
184 |
+
|
185 |
+
ii. a copyright notice;
|
186 |
+
|
187 |
+
iii. a notice that refers to this Public License;
|
188 |
+
|
189 |
+
iv. a notice that refers to the disclaimer of
|
190 |
+
warranties;
|
191 |
+
|
192 |
+
v. a URI or hyperlink to the Licensed Material to the
|
193 |
+
extent reasonably practicable;
|
194 |
+
|
195 |
+
b. indicate if You modified the Licensed Material and
|
196 |
+
retain an indication of any previous modifications; and
|
197 |
+
|
198 |
+
c. indicate the Licensed Material is licensed under this
|
199 |
+
Public License, and include the text of, or the URI or
|
200 |
+
hyperlink to, this Public License.
|
201 |
+
|
202 |
+
2. You may satisfy the conditions in Section 3(a)(1) in any
|
203 |
+
reasonable manner based on the medium, means, and context in
|
204 |
+
which You Share the Licensed Material. For example, it may be
|
205 |
+
reasonable to satisfy the conditions by providing a URI or
|
206 |
+
hyperlink to a resource that includes the required
|
207 |
+
information.
|
208 |
+
|
209 |
+
3. If requested by the Licensor, You must remove any of the
|
210 |
+
information required by Section 3(a)(1)(A) to the extent
|
211 |
+
reasonably practicable.
|
212 |
+
|
213 |
+
4. If You Share Adapted Material You produce, the Adapter's
|
214 |
+
License You apply must not prevent recipients of the Adapted
|
215 |
+
Material from complying with this Public License.
|
216 |
+
|
217 |
+
|
218 |
+
Section 4 -- Sui Generis Database Rights.
|
219 |
+
|
220 |
+
Where the Licensed Rights include Sui Generis Database Rights that
|
221 |
+
apply to Your use of the Licensed Material:
|
222 |
+
|
223 |
+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
224 |
+
to extract, reuse, reproduce, and Share all or a substantial
|
225 |
+
portion of the contents of the database for NonCommercial purposes
|
226 |
+
only;
|
227 |
+
|
228 |
+
b. if You include all or a substantial portion of the database
|
229 |
+
contents in a database in which You have Sui Generis Database
|
230 |
+
Rights, then the database in which You have Sui Generis Database
|
231 |
+
Rights (but not its individual contents) is Adapted Material; and
|
232 |
+
|
233 |
+
c. You must comply with the conditions in Section 3(a) if You Share
|
234 |
+
all or a substantial portion of the contents of the database.
|
235 |
+
|
236 |
+
For the avoidance of doubt, this Section 4 supplements and does not
|
237 |
+
replace Your obligations under this Public License where the Licensed
|
238 |
+
Rights include other Copyright and Similar Rights.
|
239 |
+
|
240 |
+
|
241 |
+
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
242 |
+
|
243 |
+
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
244 |
+
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
245 |
+
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
246 |
+
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
247 |
+
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
248 |
+
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
249 |
+
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
250 |
+
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
251 |
+
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
252 |
+
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
253 |
+
|
254 |
+
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
255 |
+
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
256 |
+
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
257 |
+
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
258 |
+
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
259 |
+
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
260 |
+
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
261 |
+
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
262 |
+
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
263 |
+
|
264 |
+
c. The disclaimer of warranties and limitation of liability provided
|
265 |
+
above shall be interpreted in a manner that, to the extent
|
266 |
+
possible, most closely approximates an absolute disclaimer and
|
267 |
+
waiver of all liability.
|
268 |
+
|
269 |
+
|
270 |
+
Section 6 -- Term and Termination.
|
271 |
+
|
272 |
+
a. This Public License applies for the term of the Copyright and
|
273 |
+
Similar Rights licensed here. However, if You fail to comply with
|
274 |
+
this Public License, then Your rights under this Public License
|
275 |
+
terminate automatically.
|
276 |
+
|
277 |
+
b. Where Your right to use the Licensed Material has terminated under
|
278 |
+
Section 6(a), it reinstates:
|
279 |
+
|
280 |
+
1. automatically as of the date the violation is cured, provided
|
281 |
+
it is cured within 30 days of Your discovery of the
|
282 |
+
violation; or
|
283 |
+
|
284 |
+
2. upon express reinstatement by the Licensor.
|
285 |
+
|
286 |
+
For the avoidance of doubt, this Section 6(b) does not affect any
|
287 |
+
right the Licensor may have to seek remedies for Your violations
|
288 |
+
of this Public License.
|
289 |
+
|
290 |
+
c. For the avoidance of doubt, the Licensor may also offer the
|
291 |
+
Licensed Material under separate terms or conditions or stop
|
292 |
+
distributing the Licensed Material at any time; however, doing so
|
293 |
+
will not terminate this Public License.
|
294 |
+
|
295 |
+
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
296 |
+
License.
|
297 |
+
|
298 |
+
|
299 |
+
Section 7 -- Other Terms and Conditions.
|
300 |
+
|
301 |
+
a. The Licensor shall not be bound by any additional or different
|
302 |
+
terms or conditions communicated by You unless expressly agreed.
|
303 |
+
|
304 |
+
b. Any arrangements, understandings, or agreements regarding the
|
305 |
+
Licensed Material not stated herein are separate from and
|
306 |
+
independent of the terms and conditions of this Public License.
|
307 |
+
|
308 |
+
|
309 |
+
Section 8 -- Interpretation.
|
310 |
+
|
311 |
+
a. For the avoidance of doubt, this Public License does not, and
|
312 |
+
shall not be interpreted to, reduce, limit, restrict, or impose
|
313 |
+
conditions on any use of the Licensed Material that could lawfully
|
314 |
+
be made without permission under this Public License.
|
315 |
+
|
316 |
+
b. To the extent possible, if any provision of this Public License is
|
317 |
+
deemed unenforceable, it shall be automatically reformed to the
|
318 |
+
minimum extent necessary to make it enforceable. If the provision
|
319 |
+
cannot be reformed, it shall be severed from this Public License
|
320 |
+
without affecting the enforceability of the remaining terms and
|
321 |
+
conditions.
|
322 |
+
|
323 |
+
c. No term or condition of this Public License will be waived and no
|
324 |
+
failure to comply consented to unless expressly agreed to by the
|
325 |
+
Licensor.
|
326 |
+
|
327 |
+
d. Nothing in this Public License constitutes or may be interpreted
|
328 |
+
as a limitation upon, or waiver of, any privileges and immunities
|
329 |
+
that apply to the Licensor or You, including from the legal
|
330 |
+
processes of any jurisdiction or authority.
|
README.md
CHANGED
@@ -1,3 +1,92 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# InfiniteYou Model Card
|
2 |
+
|
3 |
+
<div align="center">
|
4 |
+
|
5 |
+
<a href="https://bytedance.github.io/InfiniteYou"><img src="https://img.shields.io/static/v1?label=Project&message=Page&color=blue&logo=github-pages"></a>  
|
6 |
+
<a href="https://arxiv.org/abs/2503.xxxxx"><img src="https://img.shields.io/static/v1?label=Arxiv&message=InfiniteYou&color=darkred&logo=arxiv"></a>  
|
7 |
+
<a href="https://github.com/bytedance/InfiniteYou"><img src="https://img.shields.io/static/v1?label=GitHub&message=Code&color=green&logo=github"></a>  
|
8 |
+
<a href=""><img src="https://img.shields.io/static/v1?label=%F0%9F%A4%97%20Hugging%20Face&message=Demo&color=orange"></a>  
|
9 |
+
|
10 |
+
</div>
|
11 |
+
|
12 |
+

|
13 |
+
|
14 |
+
This repository provides the official models for the following paper:
|
15 |
+
|
16 |
+
[**InfiniteYou: Flexible Photo Recrafting While Preserving Your Identity**]()<br />
|
17 |
+
[Liming Jiang](https://liming-jiang.com/),
|
18 |
+
[Qing Yan](https://scholar.google.com/citations?user=0TIYjPAAAAAJ),
|
19 |
+
[Yumin Jia](https://www.linkedin.com/in/yuminjia/),
|
20 |
+
[Zichuan Liu](https://scholar.google.com/citations?user=-H18WY8AAAAJ),
|
21 |
+
[Hao Kang](https://scholar.google.com/citations?user=VeTCSyEAAAAJ),
|
22 |
+
[Xin Lu](https://scholar.google.com/citations?user=mFC0wp8AAAAJ)<br />
|
23 |
+
ByteDance Intelligent Creation
|
24 |
+
|
25 |
+
> **Abstract:** *Achieving flexible and high-fidelity identity-preserved image generation remains formidable, particularly with advanced Diffusion Transformers (DiTs) like FLUX. We introduce **InfiniteYou (InfU)**, one of the earliest robust frameworks leveraging DiTs for this task. InfU addresses significant issues of existing methods, such as insufficient identity similarity, poor text-image alignment, and low generation quality and aesthetics. Central to InfU is InfuseNet, a component that injects identity features into the DiT base model via residual connections, enhancing identity similarity while maintaining generation capabilities. A multi-stage training strategy, including pretraining and supervised fine-tuning (SFT) with synthetic single-person-multiple-sample (SPMS) data, further improves text-image alignment, ameliorates image quality, and alleviates face copy-pasting. Extensive experiments demonstrate that InfU achieves state-of-the-art performance, surpassing existing baselines. In addition, the plug-and-play design of InfU ensures compatibility with various existing methods, offering a valuable contribution to the broader community.*
|
26 |
+
|
27 |
+
|
28 |
+
## 🔧 Installation and Usage
|
29 |
+
|
30 |
+
Please clone our [GitHub code repository](https://github.com/bytedance/InfiniteYou) and follow the instructions to use the released models for local inference.
|
31 |
+
|
32 |
+
<!-- We appreciate the GPU grant from the HF中国镜像站 team. -->
|
33 |
+
You can also try our [InfiniteYou-FLUX HF中国镜像站 demo]() online.
|
34 |
+
|
35 |
+
|
36 |
+
## 💡 Important Usage Tips
|
37 |
+
|
38 |
+
- We released two model variants of InfiniteYou-FLUX v1.0: [aes_stage2](https://huggingface.co/ByteDance/InfiniteYou/tree/main/infu_flux_v1.0/aes_stage2) and [sim_stage1](https://huggingface.co/ByteDance/InfiniteYou/tree/main/infu_flux_v1.0/sim_stage1). The `aes_stage2` is our model after stage-2 SFT, which is used by default for better text-image alignment and aesthetics. If you wish to achieve higher ID similarity, please try `sim_stage1`.
|
39 |
+
|
40 |
+
- To better fit specific personal needs, we find that two arguments are highly useful to adjust in our [code](https://github.com/bytedance/InfiniteYou): `--infusenet_conditioning_scale` (default: `1.0`) and `--infusenet_guidance_start` (default: `0.0`). Usually, you may NOT need to adjust them. If necessary, start by trying a slightly larger `--infusenet_guidance_start` (*e.g.*, `0.1`) only (especially helpful for `sim_stage1`). If still not satisfactory, then try a slightly smaller `--infusenet_conditioning_scale` (*e.g.*, `0.9`).
|
41 |
+
|
42 |
+
- We also provided two LoRAs ([Realism](https://civitai.com/models/631986?modelVersionId=706528) and [Anti-blur](https://civitai.com/models/675581/anti-blur-flux-lora)) to enable additional usage flexibility. They are *entirely optional*, which are examples to facilitate users to try but are NOT used in our paper.
|
43 |
+
|
44 |
+
- If the generated gender does not align with your preferences, try adding specific words in the text prompt, such as 'a man', 'a woman', *etc*. We encourage users to use inclusive and respectful language.
|
45 |
+
|
46 |
+
|
47 |
+
## :european_castle: Model Zoo
|
48 |
+
|
49 |
+
| InfiniteYou Version | Model Version | Base Model Trained with | Description |
|
50 |
+
| :---: | :---: | :---: | :---: |
|
51 |
+
| [InfiniteYou-FLUX v1.0](https://huggingface.co/ByteDance/InfiniteYou) | [aes_stage2](https://huggingface.co/ByteDance/InfiniteYou/tree/main/infu_flux_v1.0/aes_stage2) | [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) | Stage-2 model after SFT. Better text-image alignment and aesthetics. |
|
52 |
+
| [InfiniteYou-FLUX v1.0](https://huggingface.co/ByteDance/InfiniteYou) | [sim_stage1](https://huggingface.co/ByteDance/InfiniteYou/tree/main/infu_flux_v1.0/sim_stage1) | [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) | Stage-1 model before SFT. Higher identity similarity. |
|
53 |
+
|
54 |
+
|
55 |
+
## 🆚 Comparison with State-of-the-Art Relevant Methods
|
56 |
+
|
57 |
+

|
58 |
+
|
59 |
+
Qualitative comparison results of InfU with the state-of-the-art baselines, FLUX.1-dev IP-Adapter and PuLID-FLUX. The identity similarity and text-image alignment of the results generated by FLUX.1-dev IP-Adapter (IPA) are inadequate. PuLID-FLUX generates images with decent identity similarity. However, it suffers from poor text-image alignment (Columns 1, 2, 4), and the image quality (e.g., bad hands in Column 5) and aesthetic appeal are degraded. In addition, the face copy-paste issue of PuLID-FLUX is evident (Column 5). In comparison, the proposed InfU outperforms the baselines across all dimensions.
|
60 |
+
|
61 |
+
|
62 |
+
## ⚙️ Plug-and-Play Property with Off-the-Shelf Popular Approaches
|
63 |
+
|
64 |
+

|
65 |
+
|
66 |
+
InfU features a desirable plug-and-play design, compatible with many existing methods. It naturally supports base model replacement with any variants of FLUX.1-dev, such as FLUX.1-schnell for more efficient generation (e.g., in 4 steps). The compatibility with ControlNets and LoRAs provides more controllability and flexibility for customized tasks. Notably, the compatibility with OminiControl extends our potential for multi-concept personalization, such as interacted identity (ID) and object personalized generation. InfU is also compatible with IP-Adapter (IPA) for stylization of personalized images, producing decent results when injecting style references via IPA. Our plug-and-play feature may extend to even more approaches, providing valuable contributions to the broader community.
|
67 |
+
|
68 |
+
|
69 |
+
## 📜 Disclaimer and Licenses
|
70 |
+
|
71 |
+
Most images used in this repository and related demos are sourced from consented subjects, with a few taken from public domains or generated by the models. These pictures are intended solely to showcase the capabilities of our research. If you have any concerns, please feel free to contact us, and we will promptly remove any inappropriate content.
|
72 |
+
|
73 |
+
Our model is released under the [Creative Commons Attribution-NonCommercial 4.0 International Public License](./LICENSE) for academic research purposes only. Any manual or automatic downloading of the face models from [InsightFace](https://github.com/deepinsight/insightface), the [FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) base model, LoRAs ([Realism](https://civitai.com/models/631986?modelVersionId=706528) and [Anti-blur](https://civitai.com/models/675581/anti-blur-flux-lora)), *etc.*, must follow their original licenses and be used only for academic research purposes.
|
74 |
+
|
75 |
+
This research aims to positively impact the field of Generative AI. Users are granted the freedom to create images using this tool, but they must comply with local laws and use it responsibly. The developers do not assume any responsibility for potential misuse by users.
|
76 |
+
|
77 |
+
|
78 |
+
## 📖 Citation
|
79 |
+
|
80 |
+
If you find InfiniteYou useful for your research or applications, please cite our paper:
|
81 |
+
|
82 |
+
```bibtex
|
83 |
+
@article{jiang2025infiniteyou,
|
84 |
+
title={{InfiniteYou}: Flexible Photo Recrafting While Preserving Your Identity},
|
85 |
+
author={Jiang, Liming and Yan, Qing and Jia, Yumin and Liu, Zichuan and Kang, Hao and Lu, Xin},
|
86 |
+
journal={arXiv preprint},
|
87 |
+
volume={arXiv:2503.xxxxx},
|
88 |
+
year={2025}
|
89 |
+
}
|
90 |
+
```
|
91 |
+
|
92 |
+
We also appreciate it if you could give a star ⭐ to our [Github repository](https://github.com/bytedance/InfiniteYou). Thanks a lot!
|
comparative_results.jpg → assets/comparative_results.jpg
RENAMED
File without changes
|
plug_and_play.jpg → assets/plug_and_play.jpg
RENAMED
File without changes
|
teaser.jpg → assets/teaser.jpg
RENAMED
File without changes
|