🚀 角色助手模型(CharHelper)
角色助手模型(CharHelper)是基於Stable Diffusion V2.1開發的模型,主要針對角色和肖像的數字繪畫風格進行訓練。其核心目標是為角色設計提供創意靈感,幫助設計師更高效地實現角色設計。
🚀 快速開始
本模型基於Stable Diffusion V2.1,使用768X768圖像進行訓練。使用時,你需要將.yaml
文件添加到模型所在的同一目錄。在設置中,vae建議選擇“Auto”。如果你使用基於SDv1.5模型的vae,可能無法獲得最佳效果。
✨ 主要特性
- 多風格融合:模型訓練涵蓋多種主題和風格,包括角色風格(如騎士、巫師、外星人、殭屍等)和風景風格(如燈塔、科幻世界等),可通過關鍵詞組合實現多樣化的風格輸出。
- 持續更新:從V1到V4不斷迭代,每次更新都有新的改進和特性,如V4是CharHelper V3和新訓練模型的融合,為未來更新奠定基礎。
- 關鍵詞靈活運用:模型擁有多個可混合搭配的關鍵詞,即使不使用關鍵詞也能生成圖像,但關鍵詞有助於實現特定的風格。
📦 安裝指南
將.yaml
文件添加到模型所在的同一目錄即可完成基本的安裝準備。
💻 使用示例
基礎用法
在提示詞中使用模型相關關鍵詞,例如:
CHV3CAlien, a portrait of a man in a cute alien creature costume inside a spaceship, a digital rendering, by Arthur Pan, predator, ultra detailed content, face, cockroach, avp, face shown, close-up shot, hastur, very detailed
同時,可設置相應的負向提示詞、步數、採樣器、CFG比例、種子等參數,如:
Negative prompt: amateur, ((extra limbs)), ((extra barrel)), ((b&w)), ((close-up)), (((duplicate))), ((mutilated)), extra fingers, mutated hands, (((deformed))), blurry, (((bad proportions))), ((extra limbs)), cloned face, out of frame, extra limbs, gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck))), (tripod), (tube), ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, mutation, mutated, extra limbs, extra legs, extra arms, disfigured, deformed, cross-eye, crossed eyes, dead eyes, body out of frame, blurry, bad art, bad anatomy, (umbrella), weapon, sword, dagger, katana, cropped head
Steps: 10, Sampler: DPM++ SDE, CFG scale: 8, Seed: 1751637417, Size: 768x768, Model hash: 0eb3318b, ENSD: 3
高級用法
可以混合使用多個關鍵詞來實現更復雜的風格,例如:
CHV3CCyberpunk.grim reaper, CHV3SWorld, a realistic detail of a mid-range, full-torso, waist-up character portrait with beautiful artistic scenery in the background, trending on artstation, 8k, hyper detailed, artstation, concept art, hyper realism, ultra-real, digital painting, cinematic, art award, highly detailed, attractive face, professional hands, professional anatomy, (2 arms, 2 hands)
同樣設置相應的負向提示詞和參數:
Negative prompt: NegLowRes-2400, NegMutation-500, amateur, ((extra limbs)), ((extra barrel)), ((b&w)), ((close-up)), (((duplicate))), ((mutilated)), extra fingers, mutated hands, (((deformed))), blurry, (((bad proportions))), ((extra limbs)), cloned face, out of frame, extra limbs, gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck))), (tripod), (tube), ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, mutation, mutated, extra limbs, extra legs, extra arms, disfigured, deformed, cross-eye, body out of frame, blurry, bad art, bad anatomy, (umbrella), weapon, sword, dagger, katana, cropped head
Steps: 10, Sampler: DPM++ SDE Karras, CFG scale: 9, Seed: 1840075390, Size: 768x896, Model hash: cba4df56, ENSD: 3
📚 詳細文檔
模型版本信息
版本 |
文件名 |
特點 |
V4 |
CharHelperV4.safetensors |
是CharHelper V3和新訓練模型的融合,為未來更新提供基礎,V3的所有舊關鍵詞仍然有效。訓練主題包括外星人、殭屍、鳥類、可愛風格、燈塔和微距攝影等。 |
V3 |
CharHelperV3.ckpt 或 CharHelperV3.safetensors |
與CharHelper V1和2的訓練過程有根本不同,重新進行了完全訓練。該模型的輸出範圍更加多樣化,可生成令人驚歎的結果,訓練涵蓋建築、車輛和風景等多個主題和風格。 |
V2 |
CharHelper_v2_ SDv2_1_768_step_8500.ckpt |
在原有基礎上額外訓練了5000步,結果比V1更加穩定。該模型傾向於較高的CFG比例範圍(7 - 15),圖像分辨率在756X756及以上時效果較好。 |
V1 |
無特定文件名提及 |
使用TheLastBen's Fast Dreambooth在SD v2.1上訓練了3500步。在提示詞中使用“CharHelper”可體現其風格,其他適用的提示詞包括“Character Art”、“Close-up/Mid-range Character portrait”等。但在人體結構和全身圖像方面仍需改進。 |
關鍵詞說明
V4關鍵詞
- 角色風格:CHV3CZombie, CHV3CAlien, CHV3CBird
- 風景/風格:CHV3SLighthouse, CHV3SCute, CHV3SMacro
V3關鍵詞
- 角色風格:CHV3CKnight, CHV3CWizard, CHV3CBarb, CHV3MTroll, CHV3MDeath, CHV3CRogue, CHV3CCyberpunk, CHV3CSamurai, CHV3CRobot
- 風景/景觀:CHV3SWorld, CHV3SSciFi
- 待優化(需微調,但可嘗試):CHV3MDragon, CHV3CVehicle
示例圖像
模型提供了豐富的示例圖像,展示了不同風格和主題的生成效果,你可以參考這些示例來了解模型的能力和使用方法。以下是部分示例圖像鏈接:
🔧 技術細節
本模型基於Stable Diffusion V2.1架構,使用特定的訓練數據和方法進行訓練。在訓練過程中,針對不同版本採用了不同的策略,如V3進行了全新的訓練,V4是V3和新訓練模型的融合。通過不斷調整訓練參數和數據,逐步提升模型的性能和輸出質量。
📄 許可證
本模型使用的許可證為creativeml-openrail-m
。