namespace LMS.Repository.MJPackage
{
public class MJSubmitImageModel
{
///
/// bot 类型,mj(默认)或niji
/// MID_JOURNEY | 枚举值: NIJI_JOURNEY
///
public string? BotType { get; set; }
///
/// 提示词。
///
public string Prompt { get; set; }
///
/// 垫图base64数组。
///
public List? Base64Array { get; set; }
///
/// 账号过滤
///
public AccountFilter? AccountFilter { get; set; }
///
/// 自定义参数。
///
public string? State { get; set; }
///
/// 回调地址, 为空时使用全局notifyHook。
///
public string? NotifyHook { get; set; }
}
public class AccountFilter
{
///
/// 过滤指定实例的账号
///
public string? InstanceId { get; set; }
///
/// 账号模式 RELAX | FAST | TURBO
///
public List? Modes { get; set; } = new List();
///
/// 账号是否 remix(Midjourney Remix)
///
public bool? Remix { get; set; }
///
/// 账号是否 remix(Nijiourney Remix)
///
public bool? NijiRemix { get; set; }
///
/// 账号过滤时,remix 自动提交视为账号的 remix 为 false
///
public bool? RemixAutoConsidered { get; set; }
}
///
/// 生成速度模式枚举.
///
public enum GenerationSpeedMode
{
RELAX,
FAST,
TURBO
}
}