Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
namespace StabilityMatrix.Core.Models.Api;
|
|
|
|
|
|
|
|
public record CivitCreator
|
|
|
|
{
|
|
|
|
[JsonPropertyName("username")]
|
|
|
|
public string? Username { get; init; }
|
|
|
|
|
|
|
|
[JsonPropertyName("image")]
|
|
|
|
public string? Image { get; init; }
|
|
|
|
|
|
|
|
[JsonIgnore]
|
|
|
|
public string? ProfileUrl => Username is null ? null : $"https://civitai.com/user/{Username}";
|
|
|
|
}
|