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:
@@ -1,5 +1,14 @@
|
||||
namespace AIImages.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Тип генерации изображения
|
||||
/// </summary>
|
||||
public enum ImageType
|
||||
{
|
||||
Portrait, // Портрет
|
||||
FullBody, // Полное тело
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Настройки для генерации изображений через Stable Diffusion
|
||||
/// </summary>
|
||||
@@ -16,6 +25,7 @@ namespace AIImages.Models
|
||||
public int Seed { get; set; }
|
||||
public string Model { get; set; }
|
||||
public string ArtStyleDefName { get; set; }
|
||||
public ImageType ImageType { get; set; }
|
||||
|
||||
public StableDiffusionSettings()
|
||||
{
|
||||
@@ -30,6 +40,7 @@ namespace AIImages.Models
|
||||
ArtStyleDefName = "ArtStyle_Realistic";
|
||||
PositivePrompt = "";
|
||||
NegativePrompt = "ugly, deformed, low quality, blurry, bad anatomy, worst quality";
|
||||
ImageType = ImageType.Portrait;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user