Downloads · 30 days
0
bishopfunc/kanji-fonts-style-transfer-pipeline
kanji-fonts-style-transfer-pipeline is a image-to-image model from bishopfunc. Use it when you need one image transformed into another. It is set up for diffusers. The card lists the license as other.
漢字フォント画像の生成パイプラインです。コンテンツ画像とスタイル参照画像から、Flow Matching によってスタイル転送された漢字フォント画像を生成します。
Downloads · 30 days
0
Access
Public
Updated Apr 5, 2026
Parameters
135M
3.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors541 MB · 96%
From the Hugging Face model README
漢字フォント画像の生成パイプラインです。コンテンツ画像とスタイル参照画像から、Flow Matching によってスタイル転送された漢字フォント画像を生成します。
このパイプラインは以下のコンポーネントで構成されています:
unet/: UNet2DConditionModelcontent_encoder.pt: ResNet-based content encoderstyle_encoder.pt: ResNet-based style encoderscheduler/: Flow Matching schedulerfrom pipeline import KanjiFontStyleTransferPipeline
from PIL import Image
pipeline = KanjiFontStyleTransferPipeline.from_pretrained(
"bishopfunc/kanji-font-style-transfer"
)
content_img = Image.open("content.png").convert("L")
style_img = Image.open("style.png").convert("L")
output = pipeline(
content_image=content_img,
style_reference_image=style_img,
num_inference_steps=50,
guidance_scale=5.0,
)
output.images[0].save("result.png")