【無料】呪文で生成するだけじゃない。Hugging Faceで試せる画像生成AI集

# はじめに
理論的な話はなしでHugging Faceで見つけた便利そうなモデルが試せるSpace集

:::note warn
入力例はサイズやネガティブプロンプトなどを省略した例です
:::
# 画像生成
## DALLE 3 XL v2
https://huggingface.co/spaces/ehristoforu/dalle-3-xl-lora-v2
### 入力
Prompt
```neon holography crystal cat```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/07c3678d-5818-9e44-49bd-0c27abb5d218.png />

## Instant Image
https://huggingface.co/spaces/KingNish/Instant-Image
### 入力
Prompt
```A Monkey with a happy face in the Sahara desert.```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/731bbf01-36dd-4191-9814-f634a312ad0f.png />

## ANIMAGINE XL 3.1
https://huggingface.co/spaces/cagliostrolab/animagine-xl-3.1
### 入力
Prompt
```1girl, souryuu asuka langley, neon genesis evangelion, plugsuit, pilot suit, red bodysuit, sitting, crossing legs, black eye patch, cat hat, throne, symmetrical, looking down, from bottom, looking at viewer, outdoors```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/f61191b6-3499-f3e4-2d24-0f5941c2b57c.png />

## PixArt Sigma
https://huggingface.co/spaces/PixArt-alpha/PixArt-Sigma
### 入力
Prompt
```professional portrait photo of an anthropomorphic cat wearing fancy gentleman hat and jacket walking in autumn forest.```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/34e2ab27-a08e-bb10-df65-dcf0f1431b3a.png />

## Stable Cascade
https://huggingface.co/spaces/multimodalart/stable-cascade
### 入力
Prompt
```An astronaut riding a green horse```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/d447728a-203f-215e-830f-8fba894470b4.png />

## Fast Stable Diffusion XL on TPU v5e
https://huggingface.co/spaces/google/sdxl
### 入力
Prompt
```A serious capybara at work, wearing a suit```

### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/42cc8e40-4a4c-e01f-c98f-b3e10f4dae4d.png />


# 編集
## CosXL
https://huggingface.co/spaces/multimodalart/cosxl
### 入力
Image you would like to edit
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/bd58911e-6754-7dea-3a52-75856b3a752b.png />
Prompt
```make it a cloudy day```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/d52d5138-d214-1592-f98d-f1347ec4c0b2.png />

# 光源指定
## IC Light
https://huggingface.co/spaces/lllyasviel/IC-Light
### 入力
Image
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/e805e3ed-7ed4-5356-0f77-a83b8be5e5d7.png />
Prompt
```beautiful woman, detailed face, sunset over sea```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/138c334a-19c6-dbb6-e3e6-24b02b467410.png />

# 解像度UP
### Enhance Thi HiDiffusion SDXL
https://huggingface.co/spaces/radames/Enhance-This-HiDiffusion-SDXL
### 入力
Input Image
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/bdcee794-0078-44b0-ccfe-0656d021e5b9.png />
Prompt
```photography of lara croft 8k high definition award winning```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/13e5e7eb-8dd7-6b86-a201-757ce363af77.png />

# プロンプトに日本語が使えるモデル
## Limina Next T2I
https://huggingface.co/spaces/Alpha-VLLM/Lumina-Next-T2I
### 入力
Prompt
```東京タワー、最高品質の浮世絵、江戸時代。```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/2138e7f0-1aa3-a32d-a204-eb546162eba3.png />

# 着せ替え
## IDM VTON
https://huggingface.co/spaces/yisol/IDM-VTON
### 入力
Human, Mask with pen or use auto-masking
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/9b82ceb3-c074-76cb-ea63-4997497c829f.png />
Garment
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/4afc93c9-caad-37a7-99e9-2dd0e5c8ba93.png />
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/a3163c93-c9f3-5637-608a-cbf5fe01a0c4.png />

# 顔指定
https://huggingface.co/spaces/yanze/PuLID
### 入力
ID image(main)
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/fe79aa71-27c1-7a91-ee6c-bd54c61fc5fb.png />
Prompt
```portrait, the legend of zelda, anime```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/a08b8d24-72ef-90d0-42fe-659d4ee3921b.png />

# 顔指定・ポーズ指定
## InstantID
https://huggingface.co/spaces/InstantX/InstantID
### 入力
Upload a photo of your face
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/c6e0a124-7853-9b7f-95f3-9fb733a079d0.png />
Upload a reference pose image (Optional)
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/51267c8e-b16d-52e6-40c8-2673e1712e35.png />
Prompt
```a man flying in the sky in Mars```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/4b474c9a-3307-3208-5d30-d07ee66f6a0a.png />

# スタイル指定
https://huggingface.co/spaces/InstantX/InstantStyle
### 入力
Style Image
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/2405def4-208e-53e9-5444-29303b1d6ff2.png />
Prompt
```a cat, masterpiece, best quality, high quality```
### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/267ffdec-54b4-7afc-2f0d-0cd2c3ca3e7f.png />

# パターン指定
## IllusionDiffusion
https://huggingface.co/spaces/AP123/IllusionDiffusion
### 入力
Input Illusion
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/d1138957-c507-6ed0-d34b-24a8708c69de.png /> 
Prompt
```asian dragon```

### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/5f8a414a-8b94-4728-aa3f-7d2a3a775f8f.png />

# 背景削除
## Remove Background Web
https://huggingface.co/spaces/Xenova/remove-background-web
### 入力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/34e2ab27-a08e-bb10-df65-dcf0f1431b3a.png />

### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/4776085d-42eb-2aaf-8e41-62a7cfad6bdf.png />

## Anime Remove Background
https://huggingface.co/spaces/skytnt/anime-remove-background
### 入力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/f61191b6-3499-f3e4-2d24-0f5941c2b57c.png />

### 出力
<img width="320" src=https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2727171/9882c5ae-fa50-3cae-1b7c-6309ceffab77.png />

# 最後に
個人開発で推し活支援のための推しイベント共有・推し活カレンダー作成サイト作りました。

https://oshitime.jp/

あとX(Twitter)

https://x.com/hanulldog