Add image type selection feature in AIImages mod, allowing users to choose between portrait and full body images. Update English and Russian localization files to include new labels for image types. Modify UI components to render the image type selector and adjust generation settings accordingly. Update AIImages.dll to reflect these changes.

This commit is contained in:
Leonid Pershin
2025-10-31 10:46:53 +03:00
parent 731428fb44
commit 1b35cb6a44
7 changed files with 99 additions and 2 deletions

View File

@@ -59,8 +59,10 @@ namespace AIImages.Services
prompt.Append(", ");
}
// 3. Тип кадра
prompt.Append("portrait, ");
// 3. Тип кадра (portrait или full body)
string frameType =
settings.ImageType == Models.ImageType.FullBody ? "full body, " : "portrait, ";
prompt.Append(frameType);
// 4. Пол персонажа (в формате anime/SD теги)
string genderTag = appearanceData.Gender == Gender.Female ? "1girl" : "1boy";