2025-12-26 23:46:36 +08:00
|
|
|
|
namespace Yi.Framework.AiHub.Application.Contracts.Dtos.Chat;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 图片生成输入
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class ImageGenerationInput
|
|
|
|
|
|
{
|
2026-01-02 19:26:09 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 密钥id
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public Guid? TokenId { get; set; }
|
|
|
|
|
|
|
2025-12-26 23:46:36 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 提示词
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Prompt { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 模型ID
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string ModelId { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-01-02 19:26:09 +08:00
|
|
|
|
/// 参考图PrefixBase64列表(可选,包含前缀如 data:image/png;base64,...)
|
2025-12-26 23:46:36 +08:00
|
|
|
|
/// </summary>
|
2026-01-02 19:26:09 +08:00
|
|
|
|
public List<string>? ReferenceImagesPrefixBase64 { get; set; }
|
2025-12-26 23:46:36 +08:00
|
|
|
|
}
|