Papers › IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models

IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models

13 Aug 2023arXiv:2308.06721archive 2025-07-28

Hu Ye, Jun Zhang, Sibo Liu, Xiao Han, Wei Yang

Recent years have witnessed the strong power of large text-to-image diffusion models for the impressive generative capability to create high-fidelity images. However, it is very tricky to generate desired images using only text prompt as it often involves complex prompt engineering. An alternative to text prompt is image prompt, as the saying goes: "an image is worth a thousand words". Although existing methods of direct fine-tuning from pretrained models are effective, they require large computing resources and are not compatible with other base models, text prompt, and structural controls. In this paper, we present IP-Adapter, an effective and lightweight adapter to achieve image prompt capability for the pretrained text-to-image diffusion models. The key design of our IP-Adapter is decoupled cross-attention mechanism that separates cross-attention layers for text features and image features. Despite the simplicity of our method, an IP-Adapter with only 22M parameters can achieve comparable or even better performance to a fully fine-tuned image prompt model. As we freeze the pretrained diffusion model, the proposed IP-Adapter can be generalized not only to other custom models fine-tuned from the same base model, but also to controllable generation using existing controllable tools. With the benefit of the decoupled cross-attention strategy, the image prompt can also work well with the text prompt to achieve multimodal image generation. The project page is available at \url{https://ip-adapter.github.io}.

PaperPDFCodeCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.06721")

Code

Syntology Ran 3 of 8 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 2 ran with no contract checked.

By repository: community (archive-listed): 8 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

fhshen2022/prunerepaint mentioned on GitHubpytorch report
liuxiaoyu1104/smartcontrol mentioned on GitHubpytorch report
tencent-ailab/ip-adapter mentioned on GitHubpytorchApache-2.0 report
mindspore-lab/mindone mindsporenot reachable when probed 2026-09-17 — repositories for recent papers often appear after camera-ready 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

8 samples harvested; 3 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
2ran
5unverified

Licence: 0 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from tencent-ailab/ip-adapter. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

FeedForward tencent-ailab/ip-adapter/ip_adapter/resampler.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 5105747c2711b1cb · report
collate_fn tencent-ailab/ip-adapter/tutorial_train.py community (archive-listed) ran Apache-2.0 (permissive) · 01c0e92550c3a1ca · report
collate_fn tencent-ailab/ip-adapter/tutorial_train_faceid.py community (archive-listed) ran Apache-2.0 (permissive) · 1e0487828d53d63e · report
hook_fn tencent-ailab/ip-adapter/ip_adapter/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 06d3e795b3014ef1 · report
masked_mean tencent-ailab/ip-adapter/ip_adapter/resampler.py community (archive-listed) unverified Apache-2.0 (permissive) · 230588e8f1237737 · report
register_cross_attention_hook tencent-ailab/ip-adapter/ip_adapter/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · cf95fb65ebfe64b4 · report
reshape_tensor tencent-ailab/ip-adapter/ip_adapter/resampler.py community (archive-listed) unverified Apache-2.0 (permissive) · 4cb2e2a2ca0bec9f · report
upscale tencent-ailab/ip-adapter/ip_adapter/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 25837bff8f005465 · report

Tasks

Diffusion Personalization Tuning FreeImage GenerationPersonalized Image GenerationPrompt Engineering

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Diffusion Personalization Tuning Free AgeDB IP-Adapter-FaceID-Plus Cosine Similarity 0.600 #3 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB IP-Adapter-FaceID-Plus FID 11.817 #3 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB IP-Adapter-FaceID-Plus LPIPS 0.384 #3 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB IP-Adapter-FaceID-PlusV2 Cosine Similarity 0.572 #4 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB IP-Adapter-FaceID-PlusV2 FID 10.798 #4 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB IP-Adapter-FaceID-PlusV2 LPIPS 0.429 #4 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB IP-Adapter-FaceID (SDXL) Cosine Similarity 0.535 #5 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB IP-Adapter-FaceID (SDXL) FID 24.105 #5 of 7 Archive leaderboard report
Diffusion Personalization Tuning Free AgeDB IP-Adapter-FaceID (SDXL) LPIPS 0.462 #5 of 7 Archive leaderboard report
Personalized Image Generation DreamBooth IP-Adapter ViT-G SDXL v1.0 Concept Preservation (CP) 0.593 #2 of 7 Archive leaderboard report
Personalized Image Generation DreamBooth IP-Adapter ViT-G SDXL v1.0 Overall (CP * PF) 0.380 #2 of 7 Archive leaderboard report
Personalized Image Generation DreamBooth IP-Adapter ViT-G SDXL v1.0 Prompt Following (PF) 0.640 #2 of 7 Archive leaderboard report
Personalized Image Generation DreamBooth IP-Adapter-Plus ViT-H SDXL v1.0 Concept Preservation (CP) 0.833 #5 of 7 Archive leaderboard report
Personalized Image Generation DreamBooth IP-Adapter-Plus ViT-H SDXL v1.0 Overall (CP * PF) 0.344 #5 of 7 Archive leaderboard report
Personalized Image Generation DreamBooth IP-Adapter-Plus ViT-H SDXL v1.0 Prompt Following (PF) 0.413 #5 of 7 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AdapterBASEDiffusion

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