2024-06-24 18:03:05 +00:00
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.OpenAPI.ViewModels.Instructs;
|
|
|
|
|
|
|
|
|
|
public class ImageGenerationViewModel
|
|
|
|
|
{
|
2024-06-24 23:41:23 +00:00
|
|
|
[JsonPropertyName("revised_prompt")]
|
2024-06-24 18:03:05 +00:00
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
2024-06-24 23:41:23 +00:00
|
|
|
public string? RevisedPrompt { get; set; }
|
2024-06-24 18:03:05 +00:00
|
|
|
|
|
|
|
|
[JsonPropertyName("data")]
|
|
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
|
|
|
public object? Data { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("message")]
|
|
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
|
|
|
public string? Message { get; set; }
|
|
|
|
|
}
|