![見出し画像](https://assets.st-note.com/production/uploads/images/101661461/rectangle_large_type_2_7522883f9251293dae53ab2188c05fdc.png?width=1200)
Twitterのプロフィール画像を作りたい!
こんにちは、あるいは、こんばんは!
noteのヘッダー画像を作成して、お次はTwitterです。
工夫がないのですが、風景のきれいなLoRAでアイコンの背景を描写して、ヘッダー画像も別に作成しました。
アイコンに背景を加える!
以前にtxt2imgで作成した画像です。
関連記事も備忘録的に記載していますが、この画像はここで初めて載せています。
![](https://assets.st-note.com/img/1680246986824-jVU1vjbRmK.png)
Prompt:
masterpiece, best quality, illustration, 1 boy, solo, (chibi anime:1.5), monochrome, lineart, (transparent background, :1.3), (full body view, standing:1.3), open mouth, (white coat, white shirt:1.2), neck tie, (very short hair:1.2), belt, stretched arms, etc.
Negative prompt:
(EasyNegative:1.5), (ng_deepnegative_v1_75t:0.75), (worst quality, low quality, normal quality:1.2), bad anatomy, etc.
Others settings:
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3461696024, Size: 512x512, Model hash: f6957e654e, Model: 7th_anime_v3_C
背景の描写には、img2imgのinpaintを用いました。
![](https://assets.st-note.com/img/1680247845843-J4AgZGhTFY.png?width=1200)
まず、画像をアップロードします。
見えにくいのですが、ペンのアイコンを押します。
すると、黒の塗りつぶしの大きさをスライドバーで設定することができます。
地道にキャラクターの周りを黒く塗りつぶ(マスク)しました。
上手に塗りつぶせなかったのですが、マスク画像を準備すれば他の機能でできるのでしょうか?
勉強して、出直します(- -;)
![](https://assets.st-note.com/img/1680248177162-lMDRP9EOp0.png)
Prompt:
octans, (star ocean), scenery, starry sky, night, dark midnight sky, outdoors, milky way, silhouette, fantasy, shiny blue, moonlight, <lora:Octans_V10:1>, etc.
Negative prompt:
(EasyNegative:1.5), (ng_deepnegative_v1_75t:0.75), (worst quality, low quality, normal quality:1.4), etc.
Other settings:
Steps: 20, Sampler: Euler a, CFG scale: 10, Seed: 653529410, Size: 512x512, Model hash: d88177eaaf, Model: mix-pro-v3-non-ema-bf16, Denoising strength: 0.75, Mask blur: 4
Twitterのプロフィール画像を作るよ!
画像の大きさは 1500 x 500 px
Stable Diffusionで1500 x 500 pxにすると、エラーで描写できませんでした。
PCのスペックのせいかと思われます。。。残念(>o<;)
width : height = 3 : 1となるように、1200 x 400 pxで試してみました。
![](https://assets.st-note.com/img/1680246665986-aJoPx1ux73.png?width=1200)
Prompt:
octans, dark midnight sky, (starry sky, star ocean, milky way:1.5), moonlight, scenery, outdoors, castle and building, glittering town, cityscape, tree, <lora:Octans_V10:1>, etc.
Negative prompt:
(EasyNegative:1.5), (ng_deepnegative_v1_75t:0.75), (worst quality, low quality, normal quality:1.4), etc.
Other settings:
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1860965337, Size: 1200x400, Model hash: d88177eaaf, Model: mix-pro-v3-non-ema-bf16
いろいろ作成してもらって、以下の画像を使用しています。
![](https://assets.st-note.com/img/1680246110766-XwZJitGFN2.png?width=1200)
ちょっとした悩み・・・
画像をいとも簡単に、かつ大量に生成することができるので、外付けのハードディスクにpathを指定してみました。
接続不良がたびたび起こり、アクセスできないというメッセージ・・・
現在の「Twitterのプロフィール画像」を取り出せない事態になってしまいました。
相性の良いハードディスクやSSDを探したいと思います!
やりたい事はたくさんあるけど、情報(ブクマ、メモ、ワーキングメモリ)が散らかって処理が追い付いていないです。
何か新たに学びやチャレンジがありましたら、備忘録つけますね。