{language.otherBots}
{#if submenu !== -1}
{
submenu = 0
}} class="p-2 flex-1 border-r border-darkborderc" class:bg-darkbutton={submenu === 0}>
{language.longTermMemory}
{
submenu = 1
}} class="p2 flex-1 border-r border-darkborderc" class:bg-darkbutton={submenu === 1}>
TTS
{
submenu = 2
}} class="p-2 flex-1 border-r border-darkborderc" class:bg-darkbutton={submenu === 2}>
{language.emotionImage}
{
submenu = 3
}} class="p-2 flex-1" class:bg-darkbutton={submenu === 3}>
{language.imageGeneration}
{/if}
{#if submenu === 3 || submenu === -1}
{language.imageGeneration} {language.provider}
None
Stable Diffusion WebUI
Novel AI
Dall-E
Stability API
Fal.ai
ComfyUI
{#if DBState.db.sdProvider === 'comfy'}
ComfyUI (Legacy)
{/if}
{#if DBState.db.sdProvider === 'webui'}
You must use WebUI with --api flag
You must use WebUI without agpl license or use unmodified version with agpl license to observe the contents of the agpl license.
{#if !isTauri}
You are using web version. you must use ngrok or other tunnels to use your local webui.
{/if}
WebUI {language.providerURL}
Steps
CFG Scale
Width
Height
Sampler
{#if DBState.db.sdConfig.enable_hr === true}
denoising_strength
hr_scale
Upscaler
{/if}
{/if}
{#if DBState.db.sdProvider === 'novelai'}
Novel AI {language.providerURL}
API Key
Model
Width
Height
Sampler
Euler
Euler Ancestral
DPM++ 2S Ancestral
DPM++ 2M
DPM++ SDE
DPM++ 2S
DDIM
steps
CFG scale
{#if !DBState.db.NAII2I || DBState.db.NAIImgConfig.sampler !== 'ddim_v3'}
{/if}
{#if DBState.db.NAII2I}
Strength
{DBState.db.NAIImgConfig.strength}
Noise
{DBState.db.NAIImgConfig.noise}
Base image
{
const img = await selectSingleFile([
'jpg',
'jpeg',
'png',
'webp'
])
if(!img){
return null
}
const saveId = await saveAsset(img.data)
DBState.db.NAIImgConfig.image = saveId
}}>
{#if DBState.db.NAIImgConfig.image === ''}
{:else}
{#await getCharImage(DBState.db.NAIImgConfig.image, 'css')}
{:then im}
{/await}
{/if}
{/if}
{#if DBState.db.NAIREF}
Information Extracted
{DBState.db.NAIImgConfig.InfoExtracted}
Reference Strength
{DBState.db.NAIImgConfig.RefStrength}
Reference image
{
const img = await selectSingleFile([
'jpg',
'jpeg',
'png',
'webp'
])
if(!img){
return null
}
const saveId = await saveAsset(img.data)
DBState.db.NAIImgConfig.refimage = saveId
}}>
{#if DBState.db.NAIImgConfig.refimage === ''}
{:else}
{#await getCharImage(DBState.db.NAIImgConfig.refimage, 'css')}
{:then im}
{/await}
{/if}
{/if}
{/if}
{#if DBState.db.sdProvider === 'dalle'}
OpenAI API Key
Dall-E Quality
Standard
HD
{/if}
{#if DBState.db.sdProvider === 'stability'}
Stability API Key
Stability Model
SD Ultra
SD Core
SD3 Large
SD3 Medium
{#if DBState.db.stabilityModel === 'core'}
SD Core Style
Unspecified
3D Model
Analog Film
Anime
Cinematic
Comic Book
Digital Art
Enhance
Fantasy Art
Isometric
Line Art
Low Poly
Modeling Compound
Neon Punk
Origami
Photographic
Pixel Art
Tile Texture
{/if}
{/if}
{#if DBState.db.sdProvider === 'comfyui'}
ComfyUI {language.providerURL}
Workflow
Timeout (sec)
{/if}
{#if DBState.db.sdProvider === 'comfy'}
The first image generated by the prompt will be selected.
{#if !isTauri}
"Please run comfyUI with --enable-cors-header."
{/if}
ComfyUI {language.providerURL}
Workflow
Positive Text Node: ID
Positive Text Node: Input Field Name
Negative Text Node: ID
Positive Text Node: Input Field Name
Timeout (sec)
{/if}
{#if DBState.db.sdProvider === 'fal'}
Fal.ai API Key
Width
Height
Model
Flux[Dev]
Flux[Dev] with Lora
Flux[Pro]
Flux[Schnell]
{#if DBState.db.falModel === 'fal-ai/flux-lora'}
Lora Model URL
Lora Weight
{/if}
{/if}
{/if}
{#if submenu === 1 || submenu === -1}
Auto Speech
ElevenLabs API key
VOICEVOX URL
OpenAI Key
NovelAI API key
Huggingface Key
fish-speech API Key
{/if}
{#if submenu === 2 || submenu === -1}
{language.emotionMethod}
Ax. Model
MiniLM-L6-v2
{/if}
{#if submenu === 0 || submenu === -1}
{language.type}
{
//@ts-ignore
const value = v.target.value
if (value === 'supaMemory'){
DBState.db.supaModelType = 'distilbart'
DBState.db.memoryAlgorithmType = 'supaMemory'
DBState.db.hypav2 = false
DBState.db.hanuraiEnable = false
DBState.db.hypaV3 = false
} else if (value === 'hanuraiMemory'){
DBState.db.supaModelType = 'none'
DBState.db.memoryAlgorithmType = 'hanuraiMemory'
DBState.db.hypav2 = false
DBState.db.hanuraiEnable = true
DBState.db.hypaV3 = false
} else if (value === 'hypaV2') {
DBState.db.supaModelType = 'distilbart'
DBState.db.memoryAlgorithmType = 'hypaMemoryV2'
DBState.db.hypav2= true
DBState.db.hanuraiEnable = false
DBState.db.hypaV3 = false
} else if (value === 'hypaV3') {
DBState.db.supaModelType = 'subModel'
DBState.db.memoryAlgorithmType = 'hypaMemoryV3'
DBState.db.hypav2 = false
DBState.db.hanuraiEnable = false
DBState.db.hypaV3 = true
} else {
DBState.db.supaModelType = 'none'
DBState.db.memoryAlgorithmType = 'none'
DBState.db.hypav2 = false
DBState.db.hanuraiEnable = false
DBState.db.hypaV3 = false
}
}}>
None
{language.SuperMemory}
{language.HypaMemory} V2
{language.hanuraiMemory}
{language.HypaMemory} V3
{#if DBState.db.hanuraiEnable}
{language.hanuraiDesc}
Chunk Size
{:else if DBState.db.hypav2}
{language.hypaV2Desc}
{language.SuperMemory} {language.model}
distilbart-cnn-6-6 (Free/Local)
OpenAI 3.5 Turbo Instruct
{language.submodel}
{#if DBState.db.supaModelType === 'davinci' || DBState.db.supaModelType === 'curie' || DBState.db.supaModelType === 'instruct35'}
{language.SuperMemory} OpenAI Key
{/if}
{language.summarizationPrompt}
{language.hypaChunkSize}
{language.hypaAllocatedTokens}
{:else if DBState.db.hypaV3}
{language.hypaV3Desc}
{language.SuperMemory} {language.model}
distilbart-cnn-6-6 (Free/Local)
OpenAI 3.5 Turbo Instruct
{language.submodel}
{#if DBState.db.supaModelType === 'instruct35'}
OpenAI API Key
{/if}
{language.summarizationPrompt}
Memory Tokens Ratio
Extra Summarization Ratio
Max Chats Per Summary
Recent Memory Ratio
Similar Memory Ratio
Random Memory Ratio
{:else if (DBState.db.supaModelType !== 'none' && DBState.db.hypav2 === false && DBState.db.hypaV3 === false)}
{language.supaDesc}
{language.SuperMemory} {language.model}
distilbart-cnn-6-6 (Free/Local)
OpenAI 3.5 Turbo Instruct
{language.submodel}
{language.maxSupaChunkSize}
{#if DBState.db.supaModelType === 'davinci' || DBState.db.supaModelType === 'curie' || DBState.db.supaModelType === 'instruct35'}
{language.SuperMemory} OpenAI Key
{/if}
{#if DBState.db.supaModelType !== 'none'}
{language.SuperMemory} Prompt
{/if}
{/if}
{language.embedding}
{#if 'gpu' in navigator}
Nomic Embed Text v1.5 (GPU)
BGE Small English (GPU)
BGE Medium 3 (GPU)
{/if}
MiniLM L6 v2 (CPU)
Nomic Embed Text v1.5 (CPU)
BGE Small English (CPU)
BGE Medium 3 (CPU)
OpenAI text-embedding-3-small
OpenAI text-embedding-3-large
OpenAI Ada
{#if DBState.db.hypaModel === 'openai3small' || DBState.db.hypaModel === 'openai3large' || DBState.db.hypaModel === 'ada'}
OpenAI API Key
{/if}
{/if}