👩

AIでキャラデザ作成からモデル生成までやってみる

2024/02/24に公開

概要

stable diffusin webui を実行できる環境がある事前提

stable diffusion webui の環境構築記事
https://zenn.dev/szgk/articles/f7ddbd07bc50de

キャラクターデザイン作成

事前対応

ADetailer を使わないと顔がぼけて変になるので必須でした

ADetailer を satble diffusion webuiでインストールする方法
https://itdtm.com/sd-adetailer/

三面図

使ったモデル
Zero
https://civitai.com/models/169673/zero?modelVersionId=1Zero

三面図とかキャラクターシートのLoraも試しましたがない方がうまく出力できました

プロンプト

 1girl, beautiful face, a three - view character concept art, side full body view, perfect legs, perfect hands, perfect arms, detailed hair, detailed face, detailed eyes, detailed clothes, detailed skin, ultra-detailed, full body, top quality, extremely detailed, extremely detailed CG, high resolution, highly detailed, high quality, (concept art, official art,full body),  (( virtual youtuber)), simple background,
↓以下は作りたいデザインの特徴
black long hair, red eyes, european dres, gothic Lolita, black and white dress,  devil

ネガティブプロンプト

(worst quality, low quality:1.4), easynegative, Too far away, Blurred, distorted, bad effect, fog, Fading, an11, negative_hand, Crooked fingers, bad fingers, Bad hands,

最終出力

3Dモデル作成

いくつかサイトなどを試してみます

https://3d.csm.ai/ https://huggingface.co/spaces/sudo-ai/zero123plus-demo-space https://app.meshy.ai

画像が悪い気がするのでフィギュア風になるLoraを使って再生成してみる

https://civitai.com/models/247230/anime-figure-style

https://3d.csm.ai/detail/SESSION_1708706388_8501320 https://huggingface.co/spaces/sudo-ai/zero123plus-demo-space https://app.meshy.ai

感想

  • 用意する画像はより3Dに近いものがいい
    • ↓のzero123plusの画像見るとセルルックでも胸像ぐらいの画像だといいのかも
    • 今回は中途半端に詳細な画像を生成したから精度が落ちたのかもしれない
  • 正面の輪郭はMesyのフリープランで十分とれそう
    • 横と後ろもまあまあだった
  • zero123plusのデモでは横、後ろの精度がかなり高かった
    • 用意された画像だと結構精度高かったので似たような画像だといいのかも
  • 顔の造形とか細かい部分は難しい
    • 全身ではなくパーツごとに大きい画像を用意して生成していけば精度は上がりそう

Discussion