Refactor AIImages UI layout for improved positioning and consistency. Remove ShotType settings and related code to simplify prompt generation. Update models to include new properties for hair and apparel definitions, enhancing data handling for character appearance.
This commit is contained in:
@@ -15,7 +15,6 @@ namespace AIImages.Models
|
||||
public int Seed { get; set; }
|
||||
public string Model { get; set; }
|
||||
public ArtStyle ArtStyle { get; set; }
|
||||
public ShotType ShotType { get; set; }
|
||||
|
||||
public StableDiffusionSettings()
|
||||
{
|
||||
@@ -27,7 +26,6 @@ namespace AIImages.Models
|
||||
Sampler = "Euler a";
|
||||
Seed = -1; // Случайный seed
|
||||
ArtStyle = ArtStyle.Realistic;
|
||||
ShotType = ShotType.Portrait;
|
||||
PositivePrompt = "";
|
||||
NegativePrompt = "ugly, deformed, low quality, blurry, bad anatomy, worst quality";
|
||||
}
|
||||
@@ -38,6 +36,7 @@ namespace AIImages.Models
|
||||
/// </summary>
|
||||
public enum ArtStyle
|
||||
{
|
||||
None, // Без стиля
|
||||
Realistic,
|
||||
SemiRealistic,
|
||||
Anime,
|
||||
@@ -47,16 +46,4 @@ namespace AIImages.Models
|
||||
Sketch,
|
||||
CellShaded,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Тип кадра/композиции
|
||||
/// </summary>
|
||||
public enum ShotType
|
||||
{
|
||||
Portrait, // Портрет (голова и плечи)
|
||||
HalfBody, // Половина тела
|
||||
FullBody, // Полное тело
|
||||
CloseUp, // Крупный план
|
||||
ThreeQuarter, // Три четверти
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user