mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2025-12-12 13:28:35 +00:00
22 lines
556 B
C#
22 lines
556 B
C#
using JetBrains.Annotations;
|
|
|
|
namespace StableDiffusion.NET;
|
|
|
|
[PublicAPI]
|
|
public sealed class PhotoMakerParameter
|
|
{
|
|
/// <summary>
|
|
/// path to PHOTOMAKER input id images dir
|
|
/// </summary>
|
|
public string InputIdImageDirectory { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// strength for keeping input identity (default: 20)
|
|
/// </summary>
|
|
public float StyleRatio { get; set; } = 20f;
|
|
|
|
/// <summary>
|
|
/// normalize PHOTOMAKER input id images
|
|
/// </summary>
|
|
public bool NormalizeInput { get; set; } = false;
|
|
} |