/ Модель

Характеристики

Лицензия
CreativeML OpenRAIL-M
Базовая модель
dreamshaper-7
Библиотека
gguf
Опубликована
7 июн 2026

TokForge-SD15-IPAdapter

Генерация изображенийТекст → изображение3 профессии
350скачиваний за 30 дней0лайковвеса обновлены11 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Пакет Stable Diffusion 1.5 для генерации изображений по тексту с сохранением идентичности лица с референсной фотографии.

TokForge-SD15-IPAdapter — пакет для генерации изображений по текстовому запросу с переносом внешности человека с эталонной фотографии. Он предназначен для работы на устройстве в приложении TokForge и объединяет DreamShaper-7 на базе Stable Diffusion 1.5, IP-Adapter plus-face и визуальный энкодер OpenCLIP ViT-H-14. Модель использует текстовый энкодер CLIP, UNet и VAE в файле GGUF F16, а адаптер и энкодер изображения поставляются отдельными файлами.

Пользователь задаёт сцену текстом и прикладывает фотографию лица: адаптер переносит идентичность, а запрос определяет окружение и действие. В README приведён пример генерации изображения супергероя над Нью-Йорком; рекомендуются 30 шагов, размер 512×512 и sampler euler_a. Пакет основан на слиянии DreamShaper-7 от Lykon и IP-Adapter plus-face от h94; базовая модель конвертирована в GGUF F16. Лицензия базовой модели указана как CreativeML-OpenRAIL-M; файлы адаптера и энкодера изображения имеют лицензии Apache-2.0 и MIT соответственно.

Сценарии применения

  • генерация портретов человека в заданной текстом сцене
  • создание изображений персонажа с сохранением внешности по фото
  • перенос лица на образ супергероя или другого персонажа
  • генерация новых фонов и окружения вокруг человека с референса

Ограничения

Для переноса идентичности требуется фотография лица и поддержка IP-Adapter; пример и рекомендуемые настройки рассчитаны на изображение 512×512. Пакет включает несколько крупных файлов, в том числе энкодер изображения размером около 2,5 ГБ.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

SD1.5 IP-Adapter Plus Face (GGUF, safetensors)

DreamShaper 7 with the IP-Adapter plus-face adapter and its image encoder, so TokForge can put the person from a reference photo into any scene you describe.

Published by TokForge for on-device inference.

What it isImage generator (reference photo)
Formatf16 GGUF base for stable-diffusion.cpp, plus IP-Adapter and image encoder safetensors
Runs onAndroid phones (stable-diffusion.cpp, CPU or Adreno OpenCL GPU)
Phone class8 GB RAM or more (TokForge catalog)
Download4.84 GB (5 files)
Base modelLykon/dreamshaper-7, h94/IP-Adapter
LicenseSeveral: CreativeML OpenRAIL-M plus Lykon's Civitai terms (base), Apache-2.0 (adapter), MIT (image encoder)

TokForge

Runs on-device in the TokForge app.

Use it in TokForge

  1. Install TokForge from Google Play.
  2. On Android, open Models > Recommended > Image and download SD1.5 IP-Adapter (Reference Identity). TokForge lists it on phones with 8 GB RAM or more.
  3. In a chat, attach a clear photo of the person's face as a reference, then describe the scene (for example "me as a superhero flying over New York"). The adapter keeps the face; the prompt drives everything else.
  4. The model runs on the phone; once it is downloaded, making pictures needs no connection.

Collections: TokForge GGUF Models, TokForge Image Models (Android).

Files

FileSizeWhat it is
ip-adapter-plus-face_sd15.safetensors98.2 MBIP-Adapter plus-face for SD1.5 (h94/IP-Adapter, Apache-2.0)
ip_adapter_clip_vision_vith.safetensors2.53 GBOpenCLIP ViT-H-14 image encoder for the reference photo (MIT)
manifest.json1.29 KBRender defaults, licences, sizes and md5 of the three model files
sd15-base-f16.gguf2.21 GBDreamShaper 7 base: CLIP text encoder, UNet and VAE in one f16 GGUF
MD5SUMS199 Bmd5 of the three model files

manifest.json and MD5SUMS carry the integrity hashes and render defaults.

About the model

The reference-identity image route for the TokForge Android app. Attach a photo of a person, then render that person in any scene. The plus-face IP-Adapter transfers the face only while the prompt drives the whole scene.

This bundle runs on the on-device stable-diffusion.cpp GGUF engine (TokForge's IP-Adapter port) on CPU and Adreno OpenCL. SD1.5 is light enough for any 8 GB+ phone, the broadest-reach identity tier (lighter than the SDXL PhotoMaker and SDXL IP-Adapter tiers).

FileLicenseContents
sd15-base-f16.ggufCreativeML-OpenRAIL-MDreamShaper-7 (SD1.5 realistic finetune), CLIP text encoder + UNet + VAE in one f16 GGUF
ip-adapter-plus-face_sd15.safetensorsApache-2.0IP-Adapter plus-face (h94/IP-Adapter), 16-token Resampler + decoupled cross-attn
ip_adapter_clip_vision_vith.safetensorsMITOpenCLIP ViT-H-14 image encoder (the plus-face path needs ViT-H, not bigG)

Why this base, and why f16

The base is the standard, non-LCM DreamShaper-7, the same realistic SD1.5 finetune TokForge ships on its other image tiers. It is converted at f16 (full precision) so the IP-Adapter's decoupled cross-attention and the face Resampler keep subject quality high; a q4_0 base weakens the transferred identity.

Why plus-face

The plus-face Resampler extracts the face only (16 tokens from the ViT-H penultimate hidden state), so identity is preserved while the prompt controls the scene. The base ip-adapter_sd15 projects the whole pooled CLIP embedding (4 tokens) and carries the reference's whole scene with it. The TokForge sd.cpp IP-Adapter loader auto-detects plus-face by the presence of image_proj.latents.

Render settings

SettingValue
samplereuler_a
schedulerdiscrete
steps30 (full quality; fewer = faster)
cfg-scale7.0
ip-adapter-scale0.6 (about 0.5 to 0.6 keeps the scene with recognizable identity; about 0.8 reconstructs the reference)
resolution512x512 (SD1.5 native)

TokForge runs it through its IP-Adapter port of stable-diffusion.cpp, equivalent to:

sd -M img_gen \
   -m sd15-base-f16.gguf \
   -p "as a superhero flying over New York" \
   -n "<strong negative>" \
   --clip_vision ip_adapter_clip_vision_vith.safetensors \
   --ip-adapter ip-adapter-plus-face_sd15.safetensors \
   --ip-adapter-image <your_face.jpg> \
   --ip-adapter-scale 0.6 \
   --cfg-scale 7.0 --sampling-method euler_a --scheduler discrete \
   --steps 30 -H 512 -W 512

How it was made

  • Base converted from Lykon/dreamshaper-7 (diffusers) to a single f16 GGUF via the TokForge stable-diffusion.cpp convert path (-M convert --type f16).
  • Adapter + image encoder copied verbatim from h94/IP-Adapter (models/ip-adapter-plus-face_sd15.safetensors, models/image_encoder/model.safetensors); both files are byte-identical to the upstream ones.

Limitations

  • The --ip-adapter options belong to TokForge's IP-Adapter port; stock stable-diffusion.cpp builds may not have them.
  • Plus-face carries the face only, so keep the face visible and unobstructed for a recognizable result.

License

This is an aggregate of three independently-licensed components, and each retains its own license:

  • DreamShaper-7 base (sd15-base-f16.gguf): CreativeML-OpenRAIL-M (Lykon/dreamshaper-7). Use must comply with the OpenRAIL-M use-based restrictions.
  • IP-Adapter plus-face (ip-adapter-plus-face_sd15.safetensors): Apache-2.0 (h94/IP-Adapter).
  • OpenCLIP ViT-H-14 image encoder (ip_adapter_clip_vision_vith.safetensors): MIT (OpenCLIP / LAION ViT-H-14).

The non-commercial IP-Adapter-FaceID / InsightFace path is NOT used here, only the Apache-2.0 base + plus-face adapters from h94/IP-Adapter.

DreamShaper 7 is also under Lykon's Civitai terms: no selling the model or merges of it.

Credits

  • DreamShaper 7 by Lykon (Civitai, Hugging Face). Used under the CreativeML OpenRAIL-M license and the creator's Civitai terms. Lykon's Civitai terms: no selling the model or merges of it.
  • Stable Diffusion v1.5 by Runway and CompVis (Hugging Face). Used under the CreativeML OpenRAIL-M license.
  • IP-Adapter by Tencent AI Lab (h94) (Hugging Face). Used under the Apache-2.0 license.
  • OpenCLIP ViT-H-14 image encoder by LAION (Hugging Face). Used under the MIT license.
  • Converted to GGUF with stable-diffusion.cpp by leejet (MIT).

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · gguf

Нельзя запустить

Генеративная модель выложена не в формате diffusers.

Ревизия весов
cfa4755

0 моделей