LaiTool V3.1.2

This commit is contained in:
2024-09-14 09:56:10 +08:00
parent 918d06e990
commit 8500fd3446
27 changed files with 711 additions and 252 deletions
@@ -67,7 +67,7 @@ export class BookTaskDetailService extends BaseRealmService {
videoPath: JoinPath(define.project_path, item.videoPath),
audioPath: JoinPath(define.project_path, item.audioPath),
oldImage: JoinPath(define.project_path, item.oldImage),
outImagePath: JoinPath(define.project_path, item.outImagePath),
outImagePath: JoinPath(define.project_path, item.outImagePath) ,
subImagePath: (item.subImagePath as string[])?.map((subImage) => {
return JoinPath(define.project_path, subImage)
}),
+21 -1
View File
@@ -253,9 +253,20 @@ export const DEFINE_STRING = {
REPLACE_BOOK_DATA: "REPLACE_BOOK_DATA",
SAVE_COPYWRITING: 'SAVE_COPYWRITING',
//#region 原创推理提示词
//#region 提示词
/**
* 原创推理提示词
*/
ORIGINAL_GPT_PROMPT: "ORIGINAL_GPT_PROMPT",
/**
* 原创推理提示词返回
*/
ORIGINAL_GPT_PROMPT_RETURN: "ORIGINAL_GPT_PROMPT_RETURN",
/**
* 导入提示词,通用
*/
IMPORT_GPT_PROMPT: "IMPORT_GPT_PROMPT",
//#endregion
//#region 生图返回相关
@@ -287,6 +298,15 @@ export const DEFINE_STRING = {
//#endregion
//#region 图片相关
/**
* 获取MJ的消息ID,下载图片并分割
*/
GET_IMAGE_URL_AND_DOWNLOAD : "GET_IMAGE_URL_AND_DOWNLOAD",
//#endregion
COMPUTE_STORYBOARD: 'COMPUTE_STORYBOARD',
GET_FRAME: 'GET_FRAME',
+5 -1
View File
@@ -18,7 +18,11 @@ export enum MJImageType {
FLUX_API = 'flux-api',
// flxu-forge
FLUX_FORGE = 'flux-forge'
FLUX_FORGE = 'flux-forge',
// 导入
IMPORT = 'import',
}
export enum MJRobotType {