using System.Text.Json.Serialization; namespace Yi.Framework.AiHub.Domain.Shared.Dtos.OpenAi.Images; public record ImageEditCreateRequest : SharedImageRequestBaseModel { /// /// The image to edit. Must be a valid PNG file, less than 4MB, and square. /// public byte[]? Image { get; set; } /// /// Image file name /// public string ImageName { get; set; } /// /// An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited. /// Must be a valid PNG file, less than 4MB, and have the same dimensions as image. /// public byte[]? Mask { get; set; } /// /// Mask file name /// public string? MaskName { get; set; } [JsonPropertyName("quality")] public string Quality { get; set; } /// /// A text description of the desired image(s). The maximum length is 1000 characters. /// [JsonPropertyName("prompt")] public string Prompt { get; set; } [JsonPropertyName("background")] public string? Background { get; set; } [JsonPropertyName("moderation")] public string? Moderation { get; set; } [JsonPropertyName("output_compression")] public string? OutputCompression { get; set; } [JsonPropertyName("output_format")] public string? OutputFormat { get; set; } [JsonPropertyName("style")] public string? Style { get; set; } }