export const TEMPLATE_TYPE = [
    {
        key: 'mannequin',
        icon: '/model.png',
    },
    {
        key: 'model',
        icon: '/real.png',
    },
    {
        key: 'product',
        icon: '/product.png',
    },
    {
        key: 'toy',
        icon: '/toy.png',
    },
    {
        key: 'children',
        icon: '/child.png',
    },
    {
        key: 'replicate',
        icon: '/new_retask.svg',
        bottom: true,
        needDot: true,
    },
    // {
    //     key: 'upscale',
    //     icon: '/new_maximize.svg',
    //     beta: false,
    // },
    {
        key: 'image2image',
        icon: '/img2img.svg',
        bottom: true,
        floatIcon: '/icon_sd.svg',
    },
    {
        key: 'text2image',
        icon: '/txt2img.svg',
        bottom: true,
        floatIcon: '/icon_sd.svg',
    },
]

export const PROMPT_TYPE = [
    {
        key: 'textDescription',
    },
    {
        key: 'template',
    },
    {
        key: 'prompt',
    },
    {
        key: 'replicate',
    },
]

export const DEFAULT_AGENT_TIPS = {
    mannequin: {
        icon: '/model.png',
        paramType: 'textDescription',
        isSupportBatchTask: false, // 是否支持批量任务
        isSupportChangeVersion: true, // 是否支持模型版本切换
    },
    model: {
        icon: '/real.png',
        paramType: 'textDescription',
        isSupportBatchTask: false,
        isSupportChangeVersion: true,
    },
    product: {
        icon: '/product.png',
        paramType: 'textDescription',
        isSupportBatchTask: false,
        isSupportChangeVersion: true,
    },
    accessory: {
        icon: '/jewelry.png',
        paramType: 'textDescription',
        isSupportBatchTask: false,
        isSupportChangeVersion: false,
    },
    toy: {
        icon: '/toy.png',
        paramType: 'textDescription',
        isSupportBatchTask: false,
        isSupportChangeVersion: false,
    },
    children: {
        icon: '/child.png',
        paramType: 'textDescription',
        isSupportBatchTask: false,
        isSupportChangeVersion: false,
    },
    replicate: {
        icon: '/new_retask.svg',
        paramType: 'textDescription',
        isSupportChangeVersion: true,
    },
    upscale: {
        icon: '',
        paramType: 'xxx',
    },
    image2image: {
        paramType: 'Image2Image',
        isSupportBatchTask: true,
        isSupportChangeVersion: false,
    },
    text2image: {
        paramType: 'Text2Image',
        isSupportBatchTask: true,
        isSupportChangeVersion: false,
    },
}

export const RACR_AGENT = ['mannequin', 'model', 'accessory', 'children']

export const RETASK_AGENT_OLD = ['mannequin', 'model', 'children']

export const RETASK_AGENT = ['mannequin', 'model', 'children', 'replicate']

// 主体分割的agent
export const MAIN_CUT_AGENT = ['product', 'toy']

export const qrcodeImg = 'https://ai-image.weshop.com/help_qrcode.jpeg'

export const publicAccoutImg = 'https://ai-image.weshop.com/20230919-154023.png'

export const PREVIEW_MIN_SCALE = 1
export const PREVIEW_MAX_SCALE = 4
