代码拉取完成,页面将自动刷新
const clickTypeEnum = {
Click: 'click',
ShiftClick: 'shift_click',
AltClick: 'alt_click',
SecondClick: 'second_click', //when we click a thumbnail that is active/ has orange border
}
const generationModeEnum = {
Txt2Img: 'txt2img',
Img2Img: 'img2img',
Inpaint: 'inpaint',
Outpaint: 'outpaint',
Upscale: 'upscale',
}
const AutomaticStatusEnum = {
NoApi: 'no_api',
Offline: 'offline',
RunningNoApi: 'running_no_api',
RunningWithApi: 'running_with_api',
}
const ViewerObjectTypeEnum = {
OutputImage: 'output_image',
InitImage: 'init_image',
MaskImage: 'mask_image',
}
const RequestStateEnum = {
Generating: 'generating', // in the generation process
Interrupted: 'interrupted', // canceled/ interrupted
Finished: 'finished', // finished generating
}
const DocumentTypeEnum = {
NoBackground: 'no_background',
ImageBackground: 'image_background',
SolidBackground: 'solid_background',
ArtBoard: 'artboard',
}
const BackgroundHistoryEnum = {
CorrectBackground: 'correct_background',
NoBackground: 'no_background',
}
const PresetTypeEnum = {
SDPreset: 'sd_preset',
ControlNetPreset: 'controlnet_preset',
}
module.exports = {
clickTypeEnum,
generationModeEnum,
AutomaticStatusEnum,
ViewerObjectTypeEnum,
RequestStateEnum,
DocumentTypeEnum,
BackgroundHistoryEnum,
PresetTypeEnum,
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。