"use strict";
(() => {
var exports = {};
exports.id = 139;
exports.ids = [139];
exports.modules = {

/***/ 9648:
/***/ ((module) => {

module.exports = import("axios");;

/***/ }),

/***/ 2545:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "checkSmsCode": () => (/* binding */ checkSmsCode),
/* harmony export */   "createApiKey": () => (/* binding */ createApiKey),
/* harmony export */   "deleteApiKey": () => (/* binding */ deleteApiKey),
/* harmony export */   "deleteTask": () => (/* binding */ deleteTask),
/* harmony export */   "downloadImgName": () => (/* binding */ downloadImgName),
/* harmony export */   "emailLogin": () => (/* binding */ emailLogin),
/* harmony export */   "executionFaceDetect": () => (/* binding */ executionFaceDetect),
/* harmony export */   "get2KImage": () => (/* binding */ get2KImage),
/* harmony export */   "get2KImageStatus": () => (/* binding */ get2KImageStatus),
/* harmony export */   "getAdetailerParams": () => (/* binding */ getAdetailerParams),
/* harmony export */   "getApiKey": () => (/* binding */ getApiKey),
/* harmony export */   "getApiPlans": () => (/* binding */ getApiPlans),
/* harmony export */   "getBadge": () => (/* binding */ getBadge),
/* harmony export */   "getBodySegment": () => (/* binding */ getBodySegment),
/* harmony export */   "getControllerModels": () => (/* binding */ getControllerModels),
/* harmony export */   "getControllerParams": () => (/* binding */ getControllerParams),
/* harmony export */   "getControlnetDetect": () => (/* binding */ getControlnetDetect),
/* harmony export */   "getGpuInfo": () => (/* binding */ getGpuInfo),
/* harmony export */   "getGroundParams": () => (/* binding */ getGroundParams),
/* harmony export */   "getHiresFixParams": () => (/* binding */ getHiresFixParams),
/* harmony export */   "getInterrogate": () => (/* binding */ getInterrogate),
/* harmony export */   "getInvitationCodeList": () => (/* binding */ getInvitationCodeList),
/* harmony export */   "getInvitationRecordList": () => (/* binding */ getInvitationRecordList),
/* harmony export */   "getInvitationUsersList": () => (/* binding */ getInvitationUsersList),
/* harmony export */   "getLogInfo": () => (/* binding */ getLogInfo),
/* harmony export */   "getMaskData": () => (/* binding */ getMaskData),
/* harmony export */   "getModel": () => (/* binding */ getModel),
/* harmony export */   "getNewInvitationID": () => (/* binding */ getNewInvitationID),
/* harmony export */   "getSegement": () => (/* binding */ getSegement),
/* harmony export */   "getShowCase": () => (/* binding */ getShowCase),
/* harmony export */   "getShowCaseDetail": () => (/* binding */ getShowCaseDetail),
/* harmony export */   "getTags": () => (/* binding */ getTags),
/* harmony export */   "getTask": () => (/* binding */ getTask),
/* harmony export */   "getTaskDetail": () => (/* binding */ getTaskDetail),
/* harmony export */   "getTaskStatus": () => (/* binding */ getTaskStatus),
/* harmony export */   "getTemplate": () => (/* binding */ getTemplate),
/* harmony export */   "getUser": () => (/* binding */ getUser),
/* harmony export */   "getWallet": () => (/* binding */ getWallet),
/* harmony export */   "getWithdrawFunds": () => (/* binding */ getWithdrawFunds),
/* harmony export */   "getWxServiceAccountSubscribeStatus": () => (/* binding */ getWxServiceAccountSubscribeStatus),
/* harmony export */   "getWxServiceAccountSubscriptionQrCode": () => (/* binding */ getWxServiceAccountSubscriptionQrCode),
/* harmony export */   "isFresh": () => (/* binding */ isFresh),
/* harmony export */   "isKorea": () => (/* binding */ isKorea),
/* harmony export */   "joinIn": () => (/* binding */ joinIn),
/* harmony export */   "joinInEmail": () => (/* binding */ joinInEmail),
/* harmony export */   "joinOut": () => (/* binding */ joinOut),
/* harmony export */   "loginThird": () => (/* binding */ loginThird),
/* harmony export */   "promptRecommand": () => (/* binding */ promptRecommand),
/* harmony export */   "refreshSubscriptionQrCodeForSmsSignUp": () => (/* binding */ refreshSubscriptionQrCodeForSmsSignUp),
/* harmony export */   "renameTask": () => (/* binding */ renameTask),
/* harmony export */   "replicableExecutions": () => (/* binding */ replicableExecutions),
/* harmony export */   "runTask": () => (/* binding */ runTask),
/* harmony export */   "saveSAMMask": () => (/* binding */ saveSAMMask),
/* harmony export */   "saveTask": () => (/* binding */ saveTask),
/* harmony export */   "sendEmailVerificationCode": () => (/* binding */ sendEmailVerificationCode),
/* harmony export */   "sendVerificationCode": () => (/* binding */ sendVerificationCode),
/* harmony export */   "setDefaultAgentVersion": () => (/* binding */ setDefaultAgentVersion),
/* harmony export */   "shopifyUploadImage": () => (/* binding */ shopifyUploadImage),
/* harmony export */   "showCaseSubmission": () => (/* binding */ showCaseSubmission),
/* harmony export */   "smsLogin": () => (/* binding */ smsLogin),
/* harmony export */   "smsSignup": () => (/* binding */ smsSignup),
/* harmony export */   "starImage": () => (/* binding */ starImage),
/* harmony export */   "starImageToTaskInfo": () => (/* binding */ starImageToTaskInfo),
/* harmony export */   "suspendTask": () => (/* binding */ suspendTask),
/* harmony export */   "taskExecutionList": () => (/* binding */ taskExecutionList),
/* harmony export */   "taskExecutionStars": () => (/* binding */ taskExecutionStars),
/* harmony export */   "taskExecutions": () => (/* binding */ taskExecutions),
/* harmony export */   "updateSegment": () => (/* binding */ updateSegment),
/* harmony export */   "viewRecord": () => (/* binding */ viewRecord)
/* harmony export */ });
/* harmony import */ var _server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3871);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_server__WEBPACK_IMPORTED_MODULE_0__]);
_server__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];

// 获取模板
const getTemplate = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/info/locations", {
        params: data,
        headers: {}
    });
};
// 获取任务状态
const getTaskStatus = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/taskStatus", {
        params: data,
        headers: {}
    });
};
// 申请加入
const joinIn = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/login", data);
};
// 申请加入
const joinInEmail = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/emailLogin", data);
};
// 三方登录
const loginThird = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/thirdPartyLogin", data);
};
// 验证码检验
const checkSmsCode = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/checkSmsCode", data);
};
// 老用户登录
const smsLogin = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/smsLogin", data);
};
// 新用户登录
const smsSignup = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/smsSignup", data);
};
//新老用户检测
const isFresh = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/isFresh", data);
};
// 登出
const joinOut = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/logout");
};
//发送登录验证码
const sendVerificationCode = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/smsCode", data);
};
//发送登录邮箱验证码
const sendEmailVerificationCode = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/emailCode", data);
};
const emailLogin = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/emailLogin", data);
};
//查询用户信息
const getUser = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/user", {
        params: data,
        headers: {}
    });
};
// 获取模特(新版)
const getModel = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/info/fashionModels", {
        params: data,
        headers: {}
    });
};
// 获取任务列表
const getTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/list", data);
};
// 获取tag列表
const getTags = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/info/tags", {
        params: data,
        headers: {}
    });
};
// 创建 or 编辑任务
const saveTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post(`/v1/agent/task/save?paramType=${data.paramType}`, data);
};
// 重命名
const renameTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/rename", data);
};
// 提交任务
const runTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/execute", data);
};
// 删除任务
const deleteTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post(`/v1/agent/task/delete?taskId=${data.taskId}`);
};
// 获取任务的执行记录
const replicableExecutions = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/task/replicableExecutions", {
        params: data,
        headers: {}
    });
};
//检测人脸
const executionFaceDetect = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/task/executionFaceDetect", {
        params: data,
        headers: {}
    });
};
// 查询未完成的执行记录(轮训用)
const taskExecutions = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/executions", data);
};
const taskExecutionStars = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/executionStars", data);
};
// 星标打标
const starImage = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/starImage", data);
};
// 查询已完成的执行记录
const taskExecutionList = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/finishedTaskExecutions", {
        params: data,
        headers: {}
    });
};
// 查询任务详情
const getTaskDetail = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/task/detail", {
        params: data,
        headers: {}
    });
};
const getMaskData = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/imgseg-all", {
        params: data,
        headers: {}
    });
};
const getSegement = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/segment", {
        params: data,
        headers: {}
    });
};
// 主体分割
const getBodySegment = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/bodySegment", {
        params: data,
        headers: {}
    });
};
// 更新模型
const updateSegment = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/updateSegment", data);
};
// //下载4k
// export const getImage4K = (data: IgetImage4KParams) => {
//     return http.get('/upscale', { params: data, headers: {} as AxiosRequestHeaders })
// }
// 总收益（钱包信息）
const getWallet = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/wallet");
};
//创建邀请码
const getNewInvitationID = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/newInvitationID");
};
// 邀请码列表
const getInvitationCodeList = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/listInvitationID", {
        params: data,
        headers: {}
    });
};
// 邀请记录列表
const getInvitationRecordList = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/listInvitationRecord", {
        params: data,
        headers: {}
    });
};
//推广用户明细
const getInvitationUsersList = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/listInvitedUsers", {
        params: data,
        headers: {}
    });
};
// 申请提现按钮
const getWithdrawFunds = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/withdrawFunds");
};
const get2KImage = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/upscale2k", data, {
        timeout: 300000
    });
};
const get2KImageStatus = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/task/upscale2kStatus", {
        params: data,
        headers: {}
    });
};
const downloadImgName = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/downloadImgName", {
        params: data,
        headers: {}
    });
};
const getShowCase = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/listStudioCase", {
        params: data,
        headers: {}
    });
};
const getShowCaseDetail = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/studioCaseDetail", {
        params: data,
        headers: {}
    });
};
const getBadge = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/badge", {
        params: data,
        headers: {}
    });
};
const viewRecord = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/viewRecord", data);
};
const getControllerParams = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/controllerParams", {
        params: data,
        headers: {}
    });
};
const getControllerModels = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/controllerModels", {
        params: data,
        headers: {}
    });
};
const getAdetailerParams = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/adetailerParams", {
        params: data,
        headers: {}
    });
};
const getGroundParams = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/commonParams", {
        params: data,
        headers: {}
    });
};
const getHiresFixParams = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/hiresFixParams", {
        headers: {}
    });
};
const getControlnetDetect = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/controlnetDetect", {
        params: data,
        headers: {},
        timeout: 300000
    });
};
const getInterrogate = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/interrogate", {
        params: data,
        headers: {},
        timeout: 300000
    });
};
// 保存mask
const saveSAMMask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/saveMask", data);
};
// 投稿
const showCaseSubmission = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/showCaseSubmission", data);
};
// 跳转至该任务
const starImageToTaskInfo = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/starImageToTaskInfo", {
        params: data,
        headers: {}
    });
};
// 获取推荐词
const promptRecommand = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/promptRecommand", {
        params: data,
        headers: {}
    });
};
// 获取appkey
const getApiKey = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/listApiKey");
};
// 删除appkey
const deleteApiKey = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/deleteApiKey", data);
};
// 新建appKey
const createApiKey = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/generateApiKey");
};
const shopifyUploadImage = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/shopifyUploadImage", data);
};
// 轮询微信订阅状态
const getWxServiceAccountSubscribeStatus = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/getWxServiceAccountSubscribeStatus", {
        params: data,
        headers: {}
    });
};
// 刷新二维码
const refreshSubscriptionQrCodeForSmsSignUp = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/refreshSubscriptionQrCodeForSmsSignUp", {
        params: data,
        headers: {}
    });
};
// 获取订阅二维码
const getWxServiceAccountSubscriptionQrCode = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/wxServiceAccount/getSubscriptionQrCode", {
        headers: {}
    });
};
// 获取本机GPU信息（本地版使用）
const getGpuInfo = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/gpuInfo", {
        params: {
            noShowToast: true
        },
        headers: {}
    });
};
// 获取是否开启日志
const getLogInfo = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/logInfo", {
        params: {
            noShowToast: true
        },
        headers: {}
    });
};
// 终止任务
const suspendTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/suspend", data);
};
const getApiPlans = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/apiPlans ", {
        headers: {}
    });
};
// 获取ip
const isKorea = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/geoip/isKR");
};
// 默认版本
const setDefaultAgentVersion = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/setDefaultAgentVersion", data);
};

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ })

};
;

// load runtime
var __webpack_require__ = require("../../webpack-api-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [871], () => (__webpack_exec__(2545)));
module.exports = __webpack_exports__;

})();