Update mj style (#161)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
2abbb37f6b
commit
fe3da8bb20
72 files changed
+10919
-10692
No files matched your search
@@ -44,19 +44,26 @@ html.dark,
|
||||
}
|
||||
|
||||
.el-radio-group {
|
||||
--el-border-radius-base: 15px;
|
||||
--el-border-radius-base: 5px;
|
||||
}
|
||||
|
||||
.el-slider {
|
||||
--el-slider-button-wrapper-size: 14px;
|
||||
--el-slider-button-wrapper-offset: -9px;
|
||||
--el-slider-height: 6px;
|
||||
--el-slider-button-size: 18px;
|
||||
}
|
||||
|
||||
.el-textarea {
|
||||
border-radius: 10px;
|
||||
border-radius: 5px;
|
||||
textarea {
|
||||
border-radius: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.el-input {
|
||||
.el-input__wrapper {
|
||||
border-radius: 10px;
|
||||
border-radius: 5px;
|
||||
width: 100%;
|
||||
&.is-focus {
|
||||
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
|
||||
$colors: (
|
||||
'primary': (
|
||||
'base': #277186
|
||||
),
|
||||
'danger': (
|
||||
'base': #ec4450
|
||||
)
|
||||
)
|
||||
);
|
||||
$--font-path: 'element-plus/theme-chalk/src/fonts';
|
||||
|
||||
@import 'element-plus/theme-chalk/src/index.scss';
|
||||
|
||||
@@ -26,7 +26,7 @@ export default defineComponent({
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.icon {
|
||||
display: block;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
border: 3px solid #aaa;
|
||||
border-radius: 50%;
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
<template>
|
||||
<div class="panel flex flex-col h-full">
|
||||
<div class="flex-1 overflow-y-scroll p-4">
|
||||
<model-selector class="mb-2" />
|
||||
<prompt-input class="mb-2" />
|
||||
<ratio-selector class="mb-4" />
|
||||
<quality-selector class="mb-4" />
|
||||
<version-selector class="mb-4" />
|
||||
<reference-image class="mb-2" />
|
||||
<elements-selector class="mb-2" />
|
||||
<stylize-selector class="mb-2" />
|
||||
<weird-selector class="mb-2" />
|
||||
<chaos-selector class="mb-2" />
|
||||
<image-weight-selector class="mb-2" />
|
||||
<style-selector class="mb-2" />
|
||||
</div>
|
||||
<div class="h-12 px-4">
|
||||
<div class="flex gap-1">
|
||||
<mode-selector />
|
||||
<el-button type="primary" class="btn w-full" round @click="$emit('generate')">
|
||||
<font-awesome-icon icon="fa-solid fa-magic" class="mr-2" />
|
||||
{{ $t('midjourney.button.generate') }}
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import RatioSelector from './config/RatioSelector.vue';
|
||||
import VersionSelector from './config/VersionSelector.vue';
|
||||
import StylizeSelector from './config/StylizeSelector.vue';
|
||||
import ChaosSelector from './config/ChaosSelector.vue';
|
||||
import ModelSelector from './config/ModelSelector.vue';
|
||||
import QualitySelector from './config/QualitySelector.vue';
|
||||
import ImageWeightSelector from './config/ImageWeightSelector.vue';
|
||||
import WeirdSelector from './config/WeirdSelector.vue';
|
||||
import StyleSelector from './config/StyleSelector.vue';
|
||||
import ElementsSelector from './config/ElementsSelector.vue';
|
||||
import ModeSelector from './config/ModeSelector2.vue';
|
||||
import PromptInput from './config/PromptInput.vue';
|
||||
import ReferenceImage from './config/ReferenceImage.vue';
|
||||
import { ElButton } from 'element-plus';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ConfigPanel',
|
||||
components: {
|
||||
FontAwesomeIcon,
|
||||
ElButton,
|
||||
PromptInput,
|
||||
ModeSelector,
|
||||
ModelSelector,
|
||||
ElementsSelector,
|
||||
StyleSelector,
|
||||
QualitySelector,
|
||||
RatioSelector,
|
||||
VersionSelector,
|
||||
StylizeSelector,
|
||||
ChaosSelector,
|
||||
WeirdSelector,
|
||||
ImageWeightSelector,
|
||||
ReferenceImage
|
||||
},
|
||||
emits: ['generate'],
|
||||
computed: {
|
||||
config() {
|
||||
return this.$store.state.midjourney.config;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.panel {
|
||||
border-right: 1px solid var(--el-border-color);
|
||||
}
|
||||
</style>
|
||||
@@ -1,41 +0,0 @@
|
||||
<template>
|
||||
<div class="mb-4">
|
||||
<h2 class="title">{{ $t('midjourney.field.finalPrompt') }}</h2>
|
||||
<el-alert :title="modelValue" :closable="false" class="pt-3 value" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElAlert } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'FinalPrompt',
|
||||
components: {
|
||||
ElAlert
|
||||
},
|
||||
props: {
|
||||
modelValue: {
|
||||
type: String,
|
||||
default: undefined
|
||||
}
|
||||
},
|
||||
data() {},
|
||||
mounted() {}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.title {
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
width: 30%;
|
||||
}
|
||||
.value {
|
||||
color: var(--el-text-color-regular);
|
||||
font-size: 14px;
|
||||
background-color: var(--el-bg-color-page);
|
||||
border-radius: 15px;
|
||||
flex: 1;
|
||||
}
|
||||
</style>
|
||||
@@ -1,189 +0,0 @@
|
||||
<template>
|
||||
<div class="input-box">
|
||||
<el-tooltip class="box-item" effect="dark" :content="$t('midjourney.message.operation')" placement="top">
|
||||
<span class="btn btn-upload" @click="$emit('toggle-panel')" @mouseenter="$emit('open-panel')">
|
||||
<font-awesome-icon icon="fa-solid fa-plus" class="icon icon-operation" />
|
||||
</span>
|
||||
</el-tooltip>
|
||||
<span
|
||||
:class="{
|
||||
btn: true,
|
||||
'btn-send': true,
|
||||
disabled: !promptValue
|
||||
}"
|
||||
@click="onSubmit"
|
||||
>
|
||||
<font-awesome-icon icon="fa-solid fa-location-arrow" class="icon icon-send" />
|
||||
</span>
|
||||
<!-- add this textarea -->
|
||||
<textarea
|
||||
ref="textarea"
|
||||
v-model="promptValue"
|
||||
class="input"
|
||||
:placeholder="$t('midjourney.message.promptPlaceholder')"
|
||||
:style="{ height: inputHeight }"
|
||||
@keydown.enter.exact.prevent="onSubmit"
|
||||
@focus="$emit('close-panel')"
|
||||
@input="adjustTextareaHeight"
|
||||
></textarea>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElTooltip } from 'element-plus';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'InputBox',
|
||||
components: {
|
||||
ElTooltip,
|
||||
FontAwesomeIcon
|
||||
},
|
||||
props: {
|
||||
prompt: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
emits: ['update:prompt', 'submit', 'open-panel', 'toggle-panel', 'close-panel'],
|
||||
data() {
|
||||
return {
|
||||
inputHeight: '35px', //add inputHeight
|
||||
promptValue: this.prompt
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
promptValue(val: string) {
|
||||
this.$emit('update:prompt', val);
|
||||
},
|
||||
prompt(val: string) {
|
||||
if (val !== this.promptValue) {
|
||||
this.promptValue = val;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// add textarea method
|
||||
adjustTextareaHeight() {
|
||||
this.$nextTick(() => {
|
||||
const textarea = this.$refs.textarea;
|
||||
if (textarea) {
|
||||
// @ts-ignore
|
||||
textarea.style.height = '35px';
|
||||
// @ts-ignore
|
||||
if (this.prompt) {
|
||||
textarea.style.height = textarea.scrollHeight + 'px';
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
onSubmit() {
|
||||
if (!this.prompt) {
|
||||
return;
|
||||
}
|
||||
this.$emit('submit');
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
textarea.input {
|
||||
font-size: 14px;
|
||||
min-height: 35px;
|
||||
max-height: 350px;
|
||||
border: none;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
resize: none;
|
||||
line-height: 25px;
|
||||
width: calc(100% - 80px);
|
||||
margin-left: 30px;
|
||||
font-family: var(--el-font-family);
|
||||
padding-top: 6px;
|
||||
}
|
||||
textarea.input:focus {
|
||||
outline: none;
|
||||
}
|
||||
.input-box {
|
||||
position: relative;
|
||||
.input {
|
||||
textarea {
|
||||
max-height: 100px;
|
||||
border: none;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
resize: none;
|
||||
line-height: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
.el-textarea.is-disabled .el-textarea__inner {
|
||||
background-color: initial;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.input-box {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
border-radius: 10px;
|
||||
background: var(--el-color-info-light-9);
|
||||
padding: 5px;
|
||||
.upload {
|
||||
display: inline-block;
|
||||
&.disabled {
|
||||
.btn-upload {
|
||||
cursor: not-allowed;
|
||||
.icon-attachment {
|
||||
color: var(--el-text-color-disabled);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.input {
|
||||
border: none;
|
||||
width: calc(100% - 80px);
|
||||
margin-left: 35px;
|
||||
line-height: 28px;
|
||||
}
|
||||
.btn {
|
||||
display: block;
|
||||
z-index: 100;
|
||||
cursor: pointer;
|
||||
bottom: 15px;
|
||||
position: absolute;
|
||||
&.btn-upload {
|
||||
left: 15px;
|
||||
background: var(--el-color-info-light-5);
|
||||
border-radius: 50%;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
padding-top: 1px;
|
||||
.icon-attachment {
|
||||
font-size: 16px;
|
||||
color: var(--el-text-color-primary);
|
||||
}
|
||||
}
|
||||
&.btn-send {
|
||||
right: 15px;
|
||||
&.disabled {
|
||||
.icon-send {
|
||||
color: var(--el-text-color-disabled);
|
||||
}
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.icon-send {
|
||||
font-size: 16px;
|
||||
color: var(--el-text-color-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,63 +0,0 @@
|
||||
<template>
|
||||
<div class="panel">
|
||||
<model-selector class="mb-4" />
|
||||
<ratio-selector class="mb-4" />
|
||||
<mode-selector class="mb-4" />
|
||||
<quality-selector class="mb-4" />
|
||||
<version-selector class="mb-4" />
|
||||
<advanced-selector class="mb-4" />
|
||||
<stylize-selector v-if="preset.advanced" class="mb-4" />
|
||||
<weird-selector v-if="preset.advanced" class="mb-4" />
|
||||
<chaos-selector v-if="preset.advanced" class="mb-4" />
|
||||
<image-weight-selector v-if="preset.advanced" class="mb-4" />
|
||||
<style-selector v-if="preset.advanced" class="mb-4" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import RatioSelector from './preset/RatioSelector.vue';
|
||||
import VersionSelector from './preset/VersionSelector.vue';
|
||||
import StylizeSelector from './preset/StylizeSelector.vue';
|
||||
import ChaosSelector from './preset/ChaosSelector.vue';
|
||||
import ModelSelector from './preset/ModelSelector.vue';
|
||||
import QualitySelector from './preset/QualitySelector.vue';
|
||||
import ImageWeightSelector from './preset/ImageWeightSelector.vue';
|
||||
import WeirdSelector from './preset/WeirdSelector.vue';
|
||||
import AdvancedSelector from './preset/AdvancedSelector.vue';
|
||||
import StyleSelector from './preset/StyleSelector.vue';
|
||||
import ModeSelector from './preset/ModeSelector.vue';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'PresetPanel',
|
||||
components: {
|
||||
ModelSelector,
|
||||
ModeSelector,
|
||||
StyleSelector,
|
||||
QualitySelector,
|
||||
RatioSelector,
|
||||
VersionSelector,
|
||||
StylizeSelector,
|
||||
ChaosSelector,
|
||||
WeirdSelector,
|
||||
AdvancedSelector,
|
||||
ImageWeightSelector
|
||||
},
|
||||
computed: {
|
||||
preset() {
|
||||
return this.$store.state.midjourney.preset;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.panel {
|
||||
border-right: 1px solid var(--el-border-color);
|
||||
height: 100%;
|
||||
padding: 10px;
|
||||
.block {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,83 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="title">{{ $t('midjourney.name.prompt') }}</h2>
|
||||
<el-input
|
||||
v-model="value"
|
||||
:rows="3"
|
||||
class="prompt"
|
||||
type="textarea"
|
||||
:placeholder="$t('midjourney.placeholder.prompt')"
|
||||
/>
|
||||
<p class="description">
|
||||
{{ $t('midjourney.description.prompt') }}
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElInput } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'PromptInput',
|
||||
components: {
|
||||
ElInput
|
||||
},
|
||||
props: {
|
||||
modelValue: {
|
||||
type: String,
|
||||
default: undefined
|
||||
}
|
||||
},
|
||||
emits: ['update:modelValue'],
|
||||
data() {
|
||||
return {
|
||||
value: this.modelValue
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
modelValue(val) {
|
||||
if (val !== this.value) {
|
||||
this.value = val;
|
||||
}
|
||||
},
|
||||
value(val) {
|
||||
this.$emit('update:modelValue', val);
|
||||
}
|
||||
},
|
||||
mounted() {}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.title {
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.field {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.value {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
.description {
|
||||
font-size: 12px;
|
||||
margin-top: 10px;
|
||||
color: var(--el-text-color-regular);
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
.prompt {
|
||||
border: none;
|
||||
textarea {
|
||||
border-radius: 15px !important;
|
||||
resize: none;
|
||||
font-size: 14px;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
+3
-3
@@ -19,12 +19,12 @@ export default defineComponent({
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.advanced;
|
||||
return this.$store.state.midjourney.config.advanced;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set advanced', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
advanced: val
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="flex justify-between">
|
||||
<div class="flex justify-start items-center">
|
||||
<span class="text-sm font-bold">{{ $t('midjourney.name.chaos') }}</span>
|
||||
<info-icon :content="$t('midjourney.description.chaos')" />
|
||||
</div>
|
||||
<div class="flex justify-end items-center">
|
||||
<el-input-number v-model="value" size="small" controls-position="right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<el-slider v-model="value" :min="0" :max="100" :step="1" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElSlider, ElInputNumber } from 'element-plus';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
|
||||
const DEFAULT_CHAOS = 0;
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ChaosSelector',
|
||||
components: {
|
||||
ElSlider,
|
||||
InfoIcon,
|
||||
ElInputNumber
|
||||
},
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.config.chaos;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set quality', val);
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
chaos: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.value) {
|
||||
this.value = DEFAULT_CHAOS;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.field {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.title {
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
width: 30%;
|
||||
}
|
||||
.value {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
+77
-65
@@ -1,36 +1,62 @@
|
||||
<!-- eslint-disable vue/no-use-v-if-with-v-for -->
|
||||
<template>
|
||||
<div class="field">
|
||||
<h2 class="title">{{ $t('midjourney.field.elements') }}</h2>
|
||||
<el-tabs v-model="tab">
|
||||
<el-tab-pane
|
||||
v-for="(element, elementKey) in elements"
|
||||
:key="elementKey"
|
||||
:label="element.displayName"
|
||||
:name="elementKey"
|
||||
class="pane"
|
||||
<div>
|
||||
<div class="flex justify-between">
|
||||
<div class="flex justify-start items-center">
|
||||
<span class="text-sm font-bold">{{ $t('midjourney.field.elements') }}</span>
|
||||
<info-icon :content="$t('midjourney.description.elements')" />
|
||||
</div>
|
||||
<div class="flex justify-end items-center">
|
||||
<el-button round type="primary" size="small" @click="choosing = true">
|
||||
{{ $t('midjourney.button.select') }}
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<el-tag
|
||||
v-for="(tag, index) in value"
|
||||
:key="index"
|
||||
closable
|
||||
effect="dark"
|
||||
round
|
||||
class="mr-1 mb-1"
|
||||
@close="onToggle(tag)"
|
||||
>
|
||||
<div
|
||||
v-for="(item, itemKey) in element.items"
|
||||
:key="itemKey"
|
||||
:class="{
|
||||
hidden: !advanced && item?.advanced,
|
||||
item: true,
|
||||
active: value.includes(item.value)
|
||||
}"
|
||||
@click="onToggle(item.value)"
|
||||
{{ tag.label }}
|
||||
</el-tag>
|
||||
</div>
|
||||
<el-dialog v-model="choosing" width="70%">
|
||||
<el-tabs v-model="tab">
|
||||
<el-tab-pane
|
||||
v-for="(element, elementKey) in elements"
|
||||
:key="elementKey"
|
||||
:label="element.displayName"
|
||||
:name="elementKey"
|
||||
class="pane"
|
||||
>
|
||||
<el-image :src="item.image" fit="fill" class="preview" />
|
||||
<span class="name">{{ item.label }}</span>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
<div
|
||||
v-for="(item, itemKey) in element.items"
|
||||
:key="itemKey"
|
||||
:class="{
|
||||
hidden: item?.advanced,
|
||||
item: true,
|
||||
active: value.includes(item)
|
||||
}"
|
||||
@click="onToggle(item)"
|
||||
>
|
||||
<el-image :src="item.image" fit="fill" class="preview" />
|
||||
<span class="name">{{ item.label }}</span>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElTabs, ElTabPane, ElImage } from 'element-plus';
|
||||
import { ElTabs, ElTabPane, ElImage, ElDialog, ElButton, ElTag } from 'element-plus';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
|
||||
interface IElementItem {
|
||||
image: string;
|
||||
@@ -46,32 +72,26 @@ interface IElement {
|
||||
|
||||
interface IData {
|
||||
tab: string;
|
||||
value: string[];
|
||||
choosing: boolean;
|
||||
elements: Record<string, IElement>;
|
||||
}
|
||||
|
||||
export default defineComponent({
|
||||
name: 'StylizeSelector',
|
||||
name: 'ElementsSelector',
|
||||
components: {
|
||||
ElTabs,
|
||||
ElTag,
|
||||
ElTabPane,
|
||||
ElImage
|
||||
},
|
||||
props: {
|
||||
modelValue: {
|
||||
type: Object as () => string[],
|
||||
required: true
|
||||
},
|
||||
advanced: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
ElImage,
|
||||
ElDialog,
|
||||
ElButton,
|
||||
InfoIcon
|
||||
},
|
||||
emits: ['update:modelValue'],
|
||||
data(): IData {
|
||||
return {
|
||||
tab: 'styles',
|
||||
value: this.modelValue,
|
||||
choosing: false,
|
||||
elements: {
|
||||
styles: {
|
||||
displayName: this.$t('midjourney.styleCategory.styles'),
|
||||
@@ -2083,32 +2103,25 @@ export default defineComponent({
|
||||
}
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
modelValue(val) {
|
||||
this.value = val;
|
||||
},
|
||||
computed: {
|
||||
value: {
|
||||
handler(val) {
|
||||
this.$emit('update:modelValue', val);
|
||||
get() {
|
||||
return this.$store.state.midjourney.config.elements || [];
|
||||
},
|
||||
deep: true
|
||||
set(val: string[]) {
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
elements: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.value) {
|
||||
this.value = [];
|
||||
}
|
||||
this.$emit('update:modelValue', this.value);
|
||||
},
|
||||
methods: {
|
||||
onToggle(value: string) {
|
||||
if (this.value.includes(value)) {
|
||||
this.value.splice(this.value.indexOf(value), 1);
|
||||
this.$emit('update:modelValue', this.value);
|
||||
return;
|
||||
onToggle(item: any) {
|
||||
if (this.value.includes(item)) {
|
||||
this.value = this.value.filter((v) => v !== item);
|
||||
} else {
|
||||
this.value.push(value);
|
||||
this.$emit('update:modelValue', this.value);
|
||||
this.value.push(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2124,11 +2137,11 @@ export default defineComponent({
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: left;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
height: auto;
|
||||
max-height: 220px;
|
||||
overflow-y: scroll;
|
||||
flex-wrap: wrap;
|
||||
height: 230px;
|
||||
overflow-y: auto;
|
||||
.item {
|
||||
$height: 100px;
|
||||
$width: 100px;
|
||||
@@ -2141,7 +2154,6 @@ export default defineComponent({
|
||||
border-style: solid;
|
||||
border-color: var(--el-border-color);
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
|
||||
&.hidden {
|
||||
@@ -2153,8 +2165,8 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
.preview {
|
||||
width: $height;
|
||||
height: $width;
|
||||
width: $height - 8px;
|
||||
height: $width - 8px;
|
||||
}
|
||||
.name {
|
||||
position: absolute;
|
||||
File renamed without changes.
+16
-7
@@ -1,8 +1,17 @@
|
||||
<template>
|
||||
<div class="field">
|
||||
<h2 class="title">{{ $t('midjourney.name.imageWeight') }}</h2>
|
||||
<el-slider v-model="value" :min="0" :max="2" :step="0.1" class="value" />
|
||||
<info-icon :content="$t('midjourney.description.imageWeight')" class="info" />
|
||||
<div>
|
||||
<div class="flex justify-between">
|
||||
<div class="flex justify-start items-center">
|
||||
<span class="text-sm font-bold">{{ $t('midjourney.name.imageWeight') }}</span>
|
||||
<info-icon :content="$t('midjourney.description.imageWeight')" />
|
||||
</div>
|
||||
<div class="flex justify-end items-center">
|
||||
<el-input-number v-model="value" size="small" controls-position="right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<el-slider v-model="value" :min="0" :max="2" :step="0.1" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -21,12 +30,12 @@ export default defineComponent({
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.iw;
|
||||
return this.$store.state.midjourney.config.iw;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set iw', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
iw: val
|
||||
});
|
||||
}
|
||||
+3
-4
@@ -42,12 +42,11 @@ export default defineComponent({
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.mode;
|
||||
return this.$store.state.midjourney.config.mode;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set mode', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
mode: val
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
<template>
|
||||
<el-dropdown trigger="click" @command="onCommand">
|
||||
<el-button round>
|
||||
<font-awesome-icon
|
||||
v-if="activeOption?.icon"
|
||||
:icon="activeOption.icon"
|
||||
:style="{
|
||||
color: activeOption?.color
|
||||
}"
|
||||
/>
|
||||
<span class="ml-2">
|
||||
{{ activeOption?.label }}
|
||||
</span>
|
||||
<el-icon class="el-icon--right"><arrow-down /></el-icon>
|
||||
</el-button>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<el-dropdown-item
|
||||
v-for="(option, index) in options"
|
||||
:key="index"
|
||||
class="flex items-center justify-between"
|
||||
:command="option.value"
|
||||
>
|
||||
<font-awesome-icon
|
||||
v-if="option.icon"
|
||||
:icon="option.icon"
|
||||
:style="{
|
||||
color: option.color
|
||||
}"
|
||||
/>
|
||||
<span class="ml-1 text-sm">
|
||||
{{ option.label }}
|
||||
</span>
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElDropdown, ElDropdownItem, ElButton, ElIcon } from 'element-plus';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import { ArrowDown } from '@element-plus/icons-vue';
|
||||
|
||||
export const DEFAULT_MODE = 'fast';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ModeSelector',
|
||||
components: {
|
||||
ElButton,
|
||||
ElDropdown,
|
||||
ArrowDown,
|
||||
ElIcon,
|
||||
FontAwesomeIcon,
|
||||
ElDropdownItem
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
options: [
|
||||
{
|
||||
label: this.$t('midjourney.button.fast'),
|
||||
value: 'fast',
|
||||
icon: 'fa-solid fa-wind',
|
||||
color: '#2dc49c'
|
||||
},
|
||||
{
|
||||
label: this.$t('midjourney.button.relax'),
|
||||
value: 'relax',
|
||||
icon: 'fa-solid fa-mug-saucer',
|
||||
color: '#ce65e6'
|
||||
},
|
||||
{
|
||||
label: this.$t('midjourney.button.turbo'),
|
||||
value: 'turbo',
|
||||
icon: 'fa-solid fa-bolt',
|
||||
color: '#ff9900'
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
activeOption() {
|
||||
return this.options.find((option) => option.value === this.value);
|
||||
},
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.config.mode;
|
||||
},
|
||||
set(val) {
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
mode: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.value) {
|
||||
this.value = DEFAULT_MODE;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onCommand(command) {
|
||||
console.log('command', command);
|
||||
this.value = command;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.field {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.title {
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
width: 30%;
|
||||
}
|
||||
.value {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
.mode {
|
||||
.el-radio-button--small .el-radio-button__inner {
|
||||
padding: 8px 11px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
+13
-9
@@ -1,6 +1,9 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2 class="title">{{ $t('midjourney.name.model') }}</h2>
|
||||
<div class="flex justify-start items-center">
|
||||
<span class="text-sm font-bold">{{ $t('midjourney.name.model') }}</span>
|
||||
<info-icon :content="$t('midjourney.description.model')" />
|
||||
</div>
|
||||
<div class="items">
|
||||
<div
|
||||
v-for="(option, optionKey) in options"
|
||||
@@ -20,11 +23,13 @@
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElImage } from 'element-plus';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ModelSelector',
|
||||
components: {
|
||||
ElImage
|
||||
ElImage,
|
||||
InfoIcon
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -32,12 +37,12 @@ export default defineComponent({
|
||||
{
|
||||
value: '',
|
||||
label: this.$t('midjourney.model.general'),
|
||||
image: 'https://cdn.acedata.cloud/2023-10-06-174633.png'
|
||||
image: 'https://cdn.acedata.cloud/ebvlwg.png'
|
||||
},
|
||||
{
|
||||
value: 'niji 5',
|
||||
label: this.$t('midjourney.model.niji'),
|
||||
image: 'https://cdn.acedata.cloud/2023-10-06-174008.png'
|
||||
image: 'https://cdn.acedata.cloud/j6v1m7.png'
|
||||
}
|
||||
]
|
||||
};
|
||||
@@ -48,12 +53,11 @@ export default defineComponent({
|
||||
},
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.model;
|
||||
return this.$store.state.midjourney.config.model;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set model', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
model: val
|
||||
});
|
||||
}
|
||||
@@ -79,7 +83,7 @@ export default defineComponent({
|
||||
justify-content: space-between;
|
||||
|
||||
.item {
|
||||
width: 115px;
|
||||
width: 130px;
|
||||
height: 60px;
|
||||
border: 2px solid var(--el-border-color);
|
||||
display: flex;
|
||||
@@ -0,0 +1,71 @@
|
||||
<template>
|
||||
<div class="field">
|
||||
<div class="box">
|
||||
<h2 class="title">{{ $t('midjourney.name.prompt') }}</h2>
|
||||
<info-icon :content="$t('midjourney.description.prompt')" class="info" />
|
||||
</div>
|
||||
<el-input
|
||||
v-model="prompt"
|
||||
:rows="3"
|
||||
resize="none"
|
||||
type="textarea"
|
||||
class="prompt"
|
||||
:placeholder="$t('midjourney.placeholder.prompt')"
|
||||
:maxlength="200"
|
||||
show-word-limit
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElInput } from 'element-plus';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
|
||||
export const DEFAULT_PROMPT = '';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'PromptInput',
|
||||
components: {
|
||||
ElInput,
|
||||
InfoIcon
|
||||
},
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
computed: {
|
||||
prompt: {
|
||||
get() {
|
||||
return this.$store.state.midjourney?.config.prompt;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set prompt', val);
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney?.config,
|
||||
prompt: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.value) {
|
||||
this.value = DEFAULT_PROMPT;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.field {
|
||||
.box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
.title {
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
+4
-4
@@ -41,12 +41,11 @@ export default defineComponent({
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.quality;
|
||||
return this.$store.state.midjourney.config.quality;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set quality', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
quality: val
|
||||
});
|
||||
}
|
||||
@@ -65,6 +64,7 @@ export default defineComponent({
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.title {
|
||||
font-size: 14px;
|
||||
+4
-4
@@ -67,12 +67,12 @@ export default defineComponent({
|
||||
},
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.ratio;
|
||||
return this.$store.state.midjourney.config.ratio;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set ratio', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
ratio: val
|
||||
});
|
||||
}
|
||||
@@ -98,7 +98,7 @@ export default defineComponent({
|
||||
justify-content: space-between;
|
||||
|
||||
.item {
|
||||
width: 40px;
|
||||
width: 48px;
|
||||
height: 60px;
|
||||
border: 1px solid var(--el-border-color);
|
||||
display: flex;
|
||||
+37
-15
@@ -1,9 +1,16 @@
|
||||
<template>
|
||||
<div class="mb-4">
|
||||
<div class="relative">
|
||||
<div class="flex justify-between">
|
||||
<div class="flex justify-start items-center">
|
||||
<span class="text-sm font-bold">{{ $t('midjourney.name.referenceImage') }}</span>
|
||||
<info-icon :content="$t('midjourney.description.uploadReferences')" />
|
||||
</div>
|
||||
</div>
|
||||
<el-upload
|
||||
v-model:file-list="fileList"
|
||||
name="file"
|
||||
:limit="5"
|
||||
class="upload-wrapper"
|
||||
:multiple="true"
|
||||
:action="uploadUrl"
|
||||
list-type="picture"
|
||||
@@ -11,15 +18,10 @@
|
||||
:on-error="onError"
|
||||
:headers="headers"
|
||||
>
|
||||
<el-button round type="primary" class="btn btn-upload">
|
||||
<font-awesome-icon icon="fa-solid fa-upload" class="icon mr-2" />
|
||||
<el-button round type="primary" size="small" class="btn btn-upload">
|
||||
<font-awesome-icon icon="fa-solid fa-upload" class="icon mr-1" />
|
||||
{{ $t('midjourney.button.uploadReferences') }}
|
||||
</el-button>
|
||||
<template #tip>
|
||||
<div class="el-upload__tip">
|
||||
{{ $t('midjourney.description.uploadReferences') }}
|
||||
</div>
|
||||
</template>
|
||||
</el-upload>
|
||||
</div>
|
||||
</template>
|
||||
@@ -29,6 +31,7 @@ import { defineComponent } from 'vue';
|
||||
import { ElUpload, ElButton, UploadFiles, UploadFile, ElMessage } from 'element-plus';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import { getBaseUrlPlatform } from '@/utils';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
|
||||
interface IData {
|
||||
fileList: UploadFiles;
|
||||
@@ -40,6 +43,7 @@ export default defineComponent({
|
||||
components: {
|
||||
ElUpload,
|
||||
ElButton,
|
||||
InfoIcon,
|
||||
FontAwesomeIcon
|
||||
},
|
||||
emits: ['change'],
|
||||
@@ -58,6 +62,17 @@ export default defineComponent({
|
||||
urls() {
|
||||
// @ts-ignore
|
||||
return this.fileList.map((file: UploadFile) => file?.response?.file_url);
|
||||
},
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.config.references || [];
|
||||
},
|
||||
set(val: string[]) {
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
references: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -84,13 +99,20 @@ export default defineComponent({
|
||||
margin-bottom: 0;
|
||||
width: 30%;
|
||||
}
|
||||
.prompt {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.btn.btn-upload {
|
||||
border-radius: 20px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
.upload-wrapper {
|
||||
height: auto;
|
||||
display: flex;
|
||||
.el-upload-list {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
+5
-6
@@ -27,10 +27,10 @@ export default defineComponent({
|
||||
},
|
||||
computed: {
|
||||
model() {
|
||||
return this.$store.state.midjourney.preset?.model;
|
||||
return this.$store.state.midjourney.config.model;
|
||||
},
|
||||
options() {
|
||||
if (this.model === 'niji') {
|
||||
if (this.model?.includes('niji')) {
|
||||
return [
|
||||
{
|
||||
value: 'cute',
|
||||
@@ -60,12 +60,11 @@ export default defineComponent({
|
||||
},
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.style;
|
||||
return this.$store.state.midjourney.config.style;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set style', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
style: val
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="flex justify-between">
|
||||
<div class="flex justify-start items-center">
|
||||
<span class="text-sm font-bold">{{ $t('midjourney.name.stylize') }}</span>
|
||||
<info-icon :content="$t('midjourney.description.stylize')" />
|
||||
</div>
|
||||
<div class="flex justify-end items-center">
|
||||
<el-input-number v-model="value" size="small" controls-position="right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<el-slider v-model="value" :min="0" :max="100" :step="1" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElSlider, ElInputNumber } from 'element-plus';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
import { MIDJOURNEY_DEFAULT_STYLIZE } from '@/constants';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'StylizeSelector',
|
||||
components: {
|
||||
ElSlider,
|
||||
InfoIcon,
|
||||
ElInputNumber
|
||||
},
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.config.stylize;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set stylize', val);
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
stylize: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.value) {
|
||||
this.value = MIDJOURNEY_DEFAULT_STYLIZE;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
+3
-4
@@ -22,12 +22,11 @@ export default defineComponent({
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.translation;
|
||||
return this.$store.state.midjourney.config.translation;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set translation', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
translation: val
|
||||
});
|
||||
}
|
||||
+6
-6
@@ -11,7 +11,7 @@
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElSelect, ElOption } from 'element-plus';
|
||||
|
||||
const DEFAULT_VERSION = '6.0';
|
||||
const DEFAULT_VERSION = '6.1';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'VersionSelector',
|
||||
@@ -71,12 +71,11 @@ export default defineComponent({
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.version;
|
||||
return this.$store.state.midjourney.config.version;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set version', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
version: val
|
||||
});
|
||||
}
|
||||
@@ -95,6 +94,7 @@ export default defineComponent({
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.title {
|
||||
font-size: 14px;
|
||||
@@ -102,7 +102,7 @@ export default defineComponent({
|
||||
width: 30%;
|
||||
}
|
||||
.value {
|
||||
flex: 1;
|
||||
width: 80px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,50 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="flex justify-between">
|
||||
<div class="flex justify-start items-center">
|
||||
<span class="text-sm font-bold">{{ $t('midjourney.name.weird') }}</span>
|
||||
<info-icon :content="$t('midjourney.description.weird')" />
|
||||
</div>
|
||||
<div class="flex justify-end items-center">
|
||||
<el-input-number v-model="value" size="small" controls-position="right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<el-slider v-model="value" :min="0" :max="1000" :step="1" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElSlider, ElInputNumber } from 'element-plus';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
import { MIDJOURNEY_DEFAULT_WIRED } from '@/constants';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'WeirdSelector',
|
||||
components: {
|
||||
ElSlider,
|
||||
ElInputNumber,
|
||||
InfoIcon
|
||||
},
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.config.weird;
|
||||
},
|
||||
set(val) {
|
||||
this.$store.commit('midjourney/setConfig', {
|
||||
...this.$store.state.midjourney.config,
|
||||
weird: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.value) {
|
||||
this.value = MIDJOURNEY_DEFAULT_WIRED;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -1,59 +0,0 @@
|
||||
<template>
|
||||
<div class="field">
|
||||
<h2 class="title">{{ $t('midjourney.name.chaos') }}</h2>
|
||||
<el-slider v-model="value" :min="0" :max="100" :step="1" class="value" />
|
||||
<info-icon :content="$t('midjourney.description.chaos')" class="info" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElSlider } from 'element-plus';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
|
||||
const DEFAULT_CHAOS = 0;
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ChaosSelector',
|
||||
components: {
|
||||
ElSlider,
|
||||
InfoIcon
|
||||
},
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.chaos;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set quality', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
chaos: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.value) {
|
||||
this.value = DEFAULT_CHAOS;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.field {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.title {
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
width: 30%;
|
||||
}
|
||||
.value {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,58 +0,0 @@
|
||||
<template>
|
||||
<div class="field">
|
||||
<h2 class="title">{{ $t('midjourney.name.stylize') }}</h2>
|
||||
<el-slider v-model="value" :min="0" :max="1000" :step="1" class="value" />
|
||||
<info-icon :content="$t('midjourney.description.stylize')" class="info" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElSlider } from 'element-plus';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
import { MIDJOURNEY_DEFAULT_STYLIZE } from '@/constants';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'StylizeSelector',
|
||||
components: {
|
||||
ElSlider,
|
||||
InfoIcon
|
||||
},
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.stylize;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set stylize', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
stylize: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.value) {
|
||||
this.value = MIDJOURNEY_DEFAULT_STYLIZE;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.field {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.title {
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
width: 30%;
|
||||
}
|
||||
.value {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,58 +0,0 @@
|
||||
<template>
|
||||
<div class="field">
|
||||
<h2 class="title">{{ $t('midjourney.name.weird') }}</h2>
|
||||
<el-slider v-model="value" :min="0" :max="1000" :step="1" class="value" />
|
||||
<info-icon :content="$t('midjourney.description.weird')" class="info" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElSlider } from 'element-plus';
|
||||
import InfoIcon from '@/components/common/InfoIcon.vue';
|
||||
import { MIDJOURNEY_DEFAULT_WIRED } from '@/constants';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'WeirdSelector',
|
||||
components: {
|
||||
ElSlider,
|
||||
InfoIcon
|
||||
},
|
||||
computed: {
|
||||
value: {
|
||||
get() {
|
||||
return this.$store.state.midjourney.preset?.weird;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set weird', val);
|
||||
this.$store.commit('midjourney/setPreset', {
|
||||
...this.$store.state.midjourney.preset,
|
||||
weird: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.value) {
|
||||
this.value = MIDJOURNEY_DEFAULT_WIRED;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.field {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.title {
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
width: 30%;
|
||||
}
|
||||
.value {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
+680
-664
File diff suppressed because it is too large.
Load diff
+631
-615
File diff suppressed because it is too large.
Load diff
+692
-676
File diff suppressed because it is too large.
Load diff
+516
-500
File diff suppressed because it is too large.
Load diff
+463
-447
File diff suppressed because it is too large.
Load diff
+695
-679
File diff suppressed because it is too large.
Load diff
+575
-559
File diff suppressed because it is too large.
Load diff
+587
-571
File diff suppressed because it is too large.
Load diff
+660
-644
File diff suppressed because it is too large.
Load diff
+584
-568
File diff suppressed because it is too large.
Load diff
+636
-620
File diff suppressed because it is too large.
Load diff
+594
-578
File diff suppressed because it is too large.
Load diff
+621
-605
File diff suppressed because it is too large.
Load diff
+781
-766
File diff suppressed because it is too large.
Load diff
+621
-605
File diff suppressed because it is too large.
Load diff
+660
-644
File diff suppressed because it is too large.
Load diff
@@ -1440,23 +1440,27 @@
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
},
|
||||
"button.low": {
|
||||
"message": "低",
|
||||
"message": "普通",
|
||||
"description": "按钮文本,表示'低'图片质量"
|
||||
},
|
||||
"button.medium": {
|
||||
"message": "中",
|
||||
"message": "清晰",
|
||||
"description": "按钮文本,表示'中'图片质量"
|
||||
},
|
||||
"button.high": {
|
||||
"message": "高",
|
||||
"message": "高清",
|
||||
"description": "按钮文本,表示'高'图片质量"
|
||||
},
|
||||
"button.buyMore": {
|
||||
"message": "购买更多",
|
||||
"description": "按钮文本,允许用户购买更多积分"
|
||||
},
|
||||
"button.select": {
|
||||
"message": "选择",
|
||||
"description": "按钮文本,允许用户选择选项"
|
||||
},
|
||||
"button.uploadReferences": {
|
||||
"message": "上传参考",
|
||||
"message": "上传",
|
||||
"description": "按钮文本,允许用户上传参考"
|
||||
},
|
||||
"button.success": {
|
||||
@@ -1527,10 +1531,18 @@
|
||||
"message": "追踪ID",
|
||||
"description": "用于跟踪生成图像请求的追踪ID,不要翻译,保持为'追踪ID'"
|
||||
},
|
||||
"description.model": {
|
||||
"message": "选择生成图像的模型,通用适合大多数场景,Niji适合动漫风格",
|
||||
"description": "模型参数的描述"
|
||||
},
|
||||
"description.aspect": {
|
||||
"message": "--aspect,更改生成图像的宽高比,默认值取决于模型和模式",
|
||||
"description": "宽高比参数的描述"
|
||||
},
|
||||
"description.elements": {
|
||||
"message": "选择生成图像的风格元素",
|
||||
"description": "元素参数的描述"
|
||||
},
|
||||
"description.chaos": {
|
||||
"message": "--chaos,调整生成图像中的变化程度,数字越高,生成的图像越独特和意外,范围为0-100,默认为1",
|
||||
"description": "混乱参数的描述"
|
||||
@@ -1787,6 +1799,10 @@
|
||||
"message": "Niji",
|
||||
"description": "用于动漫风格图像生成的模型名称,请不要翻译,保持为'Niji'"
|
||||
},
|
||||
"name.referenceImage": {
|
||||
"message": "参考图",
|
||||
"description": "参考图像的名称"
|
||||
},
|
||||
"name.midjourneyBot": {
|
||||
"message": "Midjourney Bot",
|
||||
"description": "Name of the Midjourney model"
|
||||
@@ -1828,8 +1844,8 @@
|
||||
"description": "排除参数的名称,用于排除特定元素,翻译为'排除'"
|
||||
},
|
||||
"name.quality": {
|
||||
"message": "质量",
|
||||
"description": "质量参数的名称,用于设置生成图像的质量"
|
||||
"message": "画质",
|
||||
"description": "画质参数的名称,用于设置生成图像的质量"
|
||||
},
|
||||
"name.mode": {
|
||||
"message": "速度",
|
||||
|
||||
+184
-168
@@ -4,8 +4,8 @@
|
||||
"description": "按鈕文本,代表'可愛'風格"
|
||||
},
|
||||
"style.expressive": {
|
||||
"message": "富有表現力",
|
||||
"description": "按鈕文本,代表'富有表現力'風格"
|
||||
"message": "豐富表現力",
|
||||
"description": "按鈕文本,代表'豐富表現力'風格"
|
||||
},
|
||||
"style.original": {
|
||||
"message": "原創",
|
||||
@@ -108,7 +108,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包括此標籤的風格"
|
||||
},
|
||||
"styleTag.isometricAnime": {
|
||||
"message": "等距動畫",
|
||||
"message": "等距動漫",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包括此標籤的風格"
|
||||
},
|
||||
"styleTag.analyticDrawing": {
|
||||
@@ -120,7 +120,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包括此標籤的風格"
|
||||
},
|
||||
"styleTag.infographicDrawing": {
|
||||
"message": "信息圖繪畫",
|
||||
"message": "資訊圖繪畫",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包括此標籤的風格"
|
||||
},
|
||||
"styleTag.doubleExposure": {
|
||||
@@ -152,7 +152,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包括此標籤的風格"
|
||||
},
|
||||
"styleTag.paperQuilling": {
|
||||
"message": "紙藝術",
|
||||
"message": "紙捲藝術",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包括此標籤的風格"
|
||||
},
|
||||
"styleTag.paperCutCraft": {
|
||||
@@ -501,127 +501,127 @@
|
||||
},
|
||||
"styleTag.volcanic": {
|
||||
"message": "火山",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.wetPaint": {
|
||||
"message": "濕潤油漆",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.wildWest": {
|
||||
"message": "西部風情",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.wind": {
|
||||
"message": "風景",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.miniatureFaking": {
|
||||
"message": "微縮仿真",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.accentLighting": {
|
||||
"message": "重點照明",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.backlight": {
|
||||
"message": "背光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.blacklight": {
|
||||
"message": "紫外燈",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.goldenHourLight": {
|
||||
"message": "黃金時光燈光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.candlelight": {
|
||||
"message": "燭光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.concertLighting": {
|
||||
"message": "音樂會燈光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.crepuscularRays": {
|
||||
"message": "黃昏光線",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.directSunlight": {
|
||||
"message": "直射陽光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.dust": {
|
||||
"message": "塵埃",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.studioLighting": {
|
||||
"message": "工作室燈光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.rimLight": {
|
||||
"message": "邊緣光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.volumetricLighting": {
|
||||
"message": "體積光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.fluorescent": {
|
||||
"message": "螢光燈",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.glowing": {
|
||||
"message": "發光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.glowStick": {
|
||||
"message": "螢光棒",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.glowRadioactive": {
|
||||
"message": "放射性發光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.lavaGlow": {
|
||||
"message": "熔岩發光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "熔岩光",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.moonlight": {
|
||||
"message": "月光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.naturalLighting": {
|
||||
"message": "自然光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.neonLamp": {
|
||||
"message": "霓虹燈",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.nightclubLighting": {
|
||||
"message": "夜總會燈光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.nuclearWasteGlo": {
|
||||
"message": "核廢料發光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.quantumDot": {
|
||||
"message": "量子點",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.spotlight": {
|
||||
"message": "聚光燈",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.edgeLight": {
|
||||
"message": "邊緣光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.coldLight": {
|
||||
"message": "冷光",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.keyLighting": {
|
||||
"message": "關鍵燈光",
|
||||
@@ -692,7 +692,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.picasso": {
|
||||
"message": "畢加索",
|
||||
"message": "畢卡索",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.pietMondrian": {
|
||||
@@ -700,7 +700,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.pierreAugusteRer": {
|
||||
"message": "皮埃爾·奧古斯特·雷諾瓦",
|
||||
"message": "皮埃爾·奧古斯特·雷爾",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.rembrandt": {
|
||||
@@ -744,7 +744,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.igorMorski": {
|
||||
"message": "伊戈爾·莫爾斯基",
|
||||
"message": "伊戈爾·莫斯基",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.shinkaiMakoto": {
|
||||
@@ -780,7 +780,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.jeffreyCatherineJones": {
|
||||
"message": "傑弗里·凱瑟琳·琼斯",
|
||||
"message": "傑弗里·凱瑟琳·瓊斯",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.yaacovAgam": {
|
||||
@@ -912,7 +912,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.caravaggio": {
|
||||
"message": "卡拉瓦喬",
|
||||
"message": "卡拉瓦乔",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.diegoRivera": {
|
||||
@@ -920,7 +920,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.marcChagall": {
|
||||
"message": "馬克·夏加爾",
|
||||
"message": "马克·夏加尔",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.edgarDegas": {
|
||||
@@ -928,7 +928,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.eugeneDelacroix": {
|
||||
"message": "尤金·德拉克羅瓦",
|
||||
"message": "尤金·德拉克罗瓦",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.francisBacon": {
|
||||
@@ -936,11 +936,11 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.fridaKahlo": {
|
||||
"message": "弗里達·卡羅",
|
||||
"message": "弗里达·卡罗",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.garaldBrom": {
|
||||
"message": "加拉德·布羅姆",
|
||||
"message": "加拉德·布罗姆",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.gustavKlimt": {
|
||||
@@ -948,7 +948,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.henriMatisse": {
|
||||
"message": "亨利·馬蒂斯",
|
||||
"message": "亨利·马蒂斯",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.jackKirby": {
|
||||
@@ -960,140 +960,140 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.johannesVermeer": {
|
||||
"message": "約翰內斯·弗美爾",
|
||||
"message": "约翰内斯·弗美尔",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.jeanMichelBasquiat": {
|
||||
"message": "讓-米歇爾·巴斯奎特",
|
||||
"message": "让-米歇尔·巴斯奎特",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.marcelDuchamp": {
|
||||
"message": "馬塞爾·杜尚",
|
||||
"message": "马塞尔·杜尚",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.aluminum": {
|
||||
"message": "铝",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "鋁",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.brick": {
|
||||
"message": "砖",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "磚",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.bronze": {
|
||||
"message": "青铜",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "青銅",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.carbonFiber": {
|
||||
"message": "碳纤维",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "碳纖維",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.cardboard": {
|
||||
"message": "纸板",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "紙板",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.ceramic": {
|
||||
"message": "陶瓷",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.cotton": {
|
||||
"message": "棉花",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.fabric": {
|
||||
"message": "织物",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "織物",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.fiberOptic": {
|
||||
"message": "光纤",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "光纖",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.foil": {
|
||||
"message": "箔纸",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "箔紙",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.yarn": {
|
||||
"message": "纱线",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "紗線",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.glass": {
|
||||
"message": "玻璃",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.gold": {
|
||||
"message": "金色",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.gummies": {
|
||||
"message": "软糖",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "軟糖",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.leather": {
|
||||
"message": "皮革",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.magma": {
|
||||
"message": "岩浆",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "岩漿",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.metallic": {
|
||||
"message": "金属质感",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "金屬質感",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.nickel": {
|
||||
"message": "镍",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "鎳",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.nylon": {
|
||||
"message": "尼龙",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"message": "尼龍",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.paper": {
|
||||
"message": "纸张",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"message": "紙張",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.plastic": {
|
||||
"message": "塑料",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.quartz": {
|
||||
"message": "石英",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.wrap": {
|
||||
"message": "包装",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"message": "包裝",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.wooden": {
|
||||
"message": "木制",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"message": "木製",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.slime": {
|
||||
"message": "粘液",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"message": "黏液",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.engraving": {
|
||||
"message": "雕刻",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.ivory": {
|
||||
"message": "象牙",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.basalt": {
|
||||
"message": "玄武岩",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.pine": {
|
||||
"message": "松木",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.diamond": {
|
||||
"message": "钻石",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"message": "鑽石",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.amethyst": {
|
||||
"message": "紫水晶",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包括此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.ruby": {
|
||||
"message": "紅寶石",
|
||||
@@ -1120,7 +1120,7 @@
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包括此標籤的風格。"
|
||||
},
|
||||
"styleTag.ebony": {
|
||||
"message": "乌木",
|
||||
"message": "烏木",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包括此標籤的風格。"
|
||||
},
|
||||
"styleTag.bokeh": {
|
||||
@@ -1337,131 +1337,135 @@
|
||||
},
|
||||
"styleTag.kungfu": {
|
||||
"message": "功夫",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.kunquOpera": {
|
||||
"message": "昆曲",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.cloisonne": {
|
||||
"message": "景泰蓝",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "景泰藍",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.porcelain": {
|
||||
"message": "瓷器",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.embroidered": {
|
||||
"message": "刺绣",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "刺繡",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.jade": {
|
||||
"message": "玉石",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.chinesePavilion": {
|
||||
"message": "中国亭台",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "中國亭台",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.plumFlower": {
|
||||
"message": "梅花",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.forbiddenCity": {
|
||||
"message": "紫禁城",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.peony": {
|
||||
"message": "牡丹",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.unrealEngine": {
|
||||
"message": "虚幻引擎",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "虛幻引擎",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.octaneRender": {
|
||||
"message": "Octane渲染",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.maxonCinema4D": {
|
||||
"message": "Maxon Cinema 4D",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.quixelMegascansRender": {
|
||||
"message": "Quixel Megascans渲染",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.coronaRender": {
|
||||
"message": "Corona渲染",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.vRay": {
|
||||
"message": "V-ray",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.architecturalVisualisation": {
|
||||
"message": "建筑可视化",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "建築可視化",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.dramaticContrast": {
|
||||
"message": "戏剧性对比",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "戲劇性對比",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.goldAndBlackTone": {
|
||||
"message": "金色和黑色色调",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "金色和黑色色調",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.whiteAndPinkTone": {
|
||||
"message": "白色和粉色色调",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "白色和粉色色調",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.redAndBlackTone": {
|
||||
"message": "红色和黑色色调",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "紅色和黑色色調",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.neonShades": {
|
||||
"message": "霓虹色调",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "霓虹色調",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.richColor": {
|
||||
"message": "丰富色彩",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "豐富色彩",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.monotone": {
|
||||
"message": "单色调",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "單色調",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.theLowPurityTone": {
|
||||
"message": "低纯度色调",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "低純度色調",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"styleTag.theHighPurityTone": {
|
||||
"message": "高纯度色调",
|
||||
"description": "用于描述和生成图像的风格词,生成的图像应包含此标签的风格。"
|
||||
"message": "高純度色調",
|
||||
"description": "用於描述和生成圖像的風格詞,生成的圖像應包含此標籤的風格。"
|
||||
},
|
||||
"button.low": {
|
||||
"message": "低",
|
||||
"description": "按钮文本,表示'低'图片质量"
|
||||
"message": "普通",
|
||||
"description": "按鈕文本,表示'低'圖片質量"
|
||||
},
|
||||
"button.medium": {
|
||||
"message": "中",
|
||||
"description": "按钮文本,表示'中'图片质量"
|
||||
"message": "清晰",
|
||||
"description": "按鈕文本,表示'中'圖片質量"
|
||||
},
|
||||
"button.high": {
|
||||
"message": "高",
|
||||
"description": "按钮文本,表示'高'图片质量"
|
||||
"message": "高清",
|
||||
"description": "按鈕文本,表示'高'圖片質量"
|
||||
},
|
||||
"button.buyMore": {
|
||||
"message": "購買更多",
|
||||
"description": "按钮文本,允许用户购买更多积分"
|
||||
"description": "按鈕文本,允許用戶購買更多積分"
|
||||
},
|
||||
"button.select": {
|
||||
"message": "選擇",
|
||||
"description": "按鈕文本,允許用戶選擇選項"
|
||||
},
|
||||
"button.uploadReferences": {
|
||||
"message": "上傳參考",
|
||||
"description": "按钮文本,允许用户上传参考"
|
||||
"message": "上傳",
|
||||
"description": "按鈕文本,允許用戶上傳參考"
|
||||
},
|
||||
"button.success": {
|
||||
"message": "成功",
|
||||
"description": "按钮文本,表示操作成功"
|
||||
"description": "按鈕文本,表示操作成功"
|
||||
},
|
||||
"button.generating": {
|
||||
"message": "生成中",
|
||||
@@ -1484,8 +1488,8 @@
|
||||
"description": "按鈕文本,允許用戶將'慢速模式'設置為放鬆以生成圖像,必須翻譯為'慢速模式'"
|
||||
},
|
||||
"button.turbo": {
|
||||
"message": "極速模式",
|
||||
"description": "按鈕文本,允許用戶將'極速模式'設置為渦輪以生成圖像,必須翻譯為'極速模式'"
|
||||
"message": "极速模式",
|
||||
"description": "按鈕文本,允許用戶將'极速模式'設置為涡輪以生成圖像,必須翻譯為'极速模式'"
|
||||
},
|
||||
"button.more": {
|
||||
"message": "更多",
|
||||
@@ -1496,7 +1500,7 @@
|
||||
"description": "按鈕文本,允許用戶生成圖像"
|
||||
},
|
||||
"button.history": {
|
||||
"message": "歷史記錄",
|
||||
"message": "歷史",
|
||||
"description": "按鈕文本,允許用戶查看生成圖像的歷史記錄"
|
||||
},
|
||||
"button.generateNew": {
|
||||
@@ -1527,10 +1531,18 @@
|
||||
"message": "追蹤ID",
|
||||
"description": "用於跟蹤生成圖像請求的追蹤ID,不要翻譯,保持為'追蹤ID'"
|
||||
},
|
||||
"description.model": {
|
||||
"message": "選擇生成圖像的模型,通用適合大多數場景,Niji適合動漫風格",
|
||||
"description": "模型參數的描述"
|
||||
},
|
||||
"description.aspect": {
|
||||
"message": "--aspect,更改生成圖像的寬高比,默認值取決於模型和模式",
|
||||
"message": "--aspect,更改生成圖像的寬高比,預設值取決於模型和模式",
|
||||
"description": "寬高比參數的描述"
|
||||
},
|
||||
"description.elements": {
|
||||
"message": "選擇生成圖像的風格元素",
|
||||
"description": "元素參數的描述"
|
||||
},
|
||||
"description.chaos": {
|
||||
"message": "--chaos,調整生成圖像中的變化程度,數字越高,生成的圖像越獨特和意外,範圍為0-100,默認為1",
|
||||
"description": "混亂參數的描述"
|
||||
@@ -1552,7 +1564,7 @@
|
||||
"description": "質量參數的描述"
|
||||
},
|
||||
"description.random": {
|
||||
"message": "向提示添加隨機基礎風格代碼,可以使用'--style random-16'、'--style random-64'或'--style random-128'來獲得不同長度的隨機風格效果,沒有默認值",
|
||||
"message": "向提示添加隨機基本風格代碼,可以使用'--style random-16'、'--style random-64'或'--style random-128'來獲得不同長度的隨機風格效果,沒有默認值",
|
||||
"description": "隨機參數的描述"
|
||||
},
|
||||
"description.relax": {
|
||||
@@ -1576,7 +1588,7 @@
|
||||
"description": "風格參數的描述"
|
||||
},
|
||||
"description.stylize": {
|
||||
"message": "--stylize,調整生成任務中應用的Midjourney默認美學風格的強度,範圍為0-1000,默認為100",
|
||||
"message": "--stylize,調整生成任務中應用的Midjourney默認審美風格的強度,範圍為0-1000,默認為100",
|
||||
"description": "美化參數的描述"
|
||||
},
|
||||
"description.tile": {
|
||||
@@ -1588,7 +1600,7 @@
|
||||
"description": "渦輪參數的描述"
|
||||
},
|
||||
"description.weird": {
|
||||
"message": "--weird,探索具有實驗性質的不尋常審美風格,範圍為0-3000,默認為0",
|
||||
"message": "--weird,探索具有實驗性質的異常美學風格,範圍為0-3000,默認為0",
|
||||
"description": "怪異參數的描述"
|
||||
},
|
||||
"description.translation": {
|
||||
@@ -1596,7 +1608,7 @@
|
||||
"description": "翻譯參數的描述"
|
||||
},
|
||||
"description.imageWeight": {
|
||||
"message": "--iw,調整圖像提示相對於文本提示的權重,範圍為0-2,默認為1",
|
||||
"message": "--iw,調整圖像提示相對於文字提示的權重,範圍為0-2,默認為1",
|
||||
"description": "圖像權重參數的描述"
|
||||
},
|
||||
"description.niji": {
|
||||
@@ -1736,7 +1748,7 @@
|
||||
"description": "提示字段中的佔位文本"
|
||||
},
|
||||
"message.uploadReferencesExceed": {
|
||||
"message": "最多只能上傳5張圖片",
|
||||
"message": "最多只能上傳 5 張圖片",
|
||||
"description": "當上傳的圖片數量超過限制時的錯誤消息"
|
||||
},
|
||||
"message.uploadReferencesSuccess": {
|
||||
@@ -1787,6 +1799,10 @@
|
||||
"message": "Niji",
|
||||
"description": "用於動漫風格圖像生成的模型名稱,請不要翻譯,保持為'Niji'"
|
||||
},
|
||||
"name.referenceImage": {
|
||||
"message": "參考圖",
|
||||
"description": "參考圖像的名稱"
|
||||
},
|
||||
"name.midjourneyBot": {
|
||||
"message": "Midjourney Bot",
|
||||
"description": "Midjourney模型的名稱"
|
||||
@@ -1828,8 +1844,8 @@
|
||||
"description": "排除參數的名稱,用於排除特定元素,翻譯為'排除'"
|
||||
},
|
||||
"name.quality": {
|
||||
"message": "品質",
|
||||
"description": "品質參數的名稱,用於設置生成圖像的品質"
|
||||
"message": "畫質",
|
||||
"description": "畫質參數的名稱,用於設置生成圖像的質量"
|
||||
},
|
||||
"name.mode": {
|
||||
"message": "速度",
|
||||
@@ -1840,8 +1856,8 @@
|
||||
"description": "隨機參數的名稱,用於添加隨機風格效果"
|
||||
},
|
||||
"name.relax": {
|
||||
"message": "慢速模式",
|
||||
"description": "放鬆模式的名稱,用於以'慢速'模式生成圖像,翻譯為'慢速模式'"
|
||||
"message": "放鬆模式",
|
||||
"description": "放鬆模式的名稱,用於以'放鬆模式'生成圖像,翻譯為'慢速模式'"
|
||||
},
|
||||
"name.repeat": {
|
||||
"message": "重複",
|
||||
@@ -1869,7 +1885,7 @@
|
||||
},
|
||||
"name.turbo": {
|
||||
"message": "極速模式",
|
||||
"description": "極速模式的名稱,用於以'極速'模式生成圖像,翻譯為'極速模式'"
|
||||
"description": "極速模式的名稱,用於以'極速模式'生成圖像,翻譯為'極速模式'"
|
||||
},
|
||||
"name.weird": {
|
||||
"message": "怪異度",
|
||||
@@ -1901,15 +1917,15 @@
|
||||
},
|
||||
"placeholder.prompt": {
|
||||
"message": "輸入一句話描述您想生成的圖像,例如:一隻可愛的貓。額外的參數將覆蓋默認預設參數",
|
||||
"description": "提示字段中的占位文本"
|
||||
"description": "提示字段中的佔位文本"
|
||||
},
|
||||
"placeholder.ignore": {
|
||||
"message": "輸入要忽略的元素,例如不想讓畫面出現汽車,可以填寫`汽車`",
|
||||
"description": "忽略字段中的占位文本"
|
||||
"description": "忽略字段中的佔位文本"
|
||||
},
|
||||
"placeholder.select": {
|
||||
"message": "選擇",
|
||||
"description": "選擇字段中的占位文本"
|
||||
"description": "選擇字段中的佔位文本"
|
||||
},
|
||||
"status.pending": {
|
||||
"message": "等待中",
|
||||
|
||||
@@ -61,7 +61,7 @@ export default defineComponent({
|
||||
display: none;
|
||||
}
|
||||
.presets {
|
||||
width: 260px;
|
||||
width: 300px;
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export interface IMidjourneyPreset {
|
||||
export interface IMidjourneyConfig {
|
||||
mode?: string;
|
||||
prompt?: string;
|
||||
model?: string;
|
||||
ratio?: string;
|
||||
version?: string;
|
||||
@@ -9,8 +10,11 @@ export interface IMidjourneyPreset {
|
||||
quality?: string;
|
||||
weird?: number;
|
||||
iw?: number;
|
||||
ignore?: string;
|
||||
style?: string;
|
||||
references?: string[];
|
||||
translation?: boolean;
|
||||
elements?: any[];
|
||||
}
|
||||
|
||||
export enum MidjourneyImagineAction {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<layout>
|
||||
<template #presets>
|
||||
<preset-panel />
|
||||
<config-panel @generate="onGenerate" />
|
||||
</template>
|
||||
<template #operation>
|
||||
<div class="top">
|
||||
@@ -14,22 +14,6 @@
|
||||
/>
|
||||
<task-list @custom="onCustom" />
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<el-card v-show="operating" class="operations">
|
||||
<reference-image class="mb-4" @change="references = $event" />
|
||||
<elements-selector v-model="elements" :advanced="preset?.advanced" class="mb-4" />
|
||||
<ignore-selector v-if="preset?.advanced" v-model="ignore" />
|
||||
</el-card>
|
||||
<input-box
|
||||
:prompt="prompt"
|
||||
class="mb-4"
|
||||
@open-panel="operating = true"
|
||||
@close-panel="operating = false"
|
||||
@toggle-panel="operating = !operating"
|
||||
@update:prompt="prompt = $event"
|
||||
@submit="onGenerate"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
</layout>
|
||||
</template>
|
||||
@@ -37,11 +21,8 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import Layout from '@/layouts/Midjourney.vue';
|
||||
import PresetPanel from '@/components/midjourney/PresetPanel.vue';
|
||||
import ElementsSelector from '@/components/midjourney/ElementsSelector.vue';
|
||||
import IgnoreSelector from '@/components/midjourney/IgnoreSelector.vue';
|
||||
import ConfigPanel from '@/components/midjourney/ConfigPanel.vue';
|
||||
import { ElMessage, ElCard } from 'element-plus';
|
||||
import ReferenceImage from '@/components/midjourney/ReferenceImage.vue';
|
||||
import { applicationOperator, midjourneyOperator } from '@/operators';
|
||||
import ApplicationStatus from '@/components/application/Status.vue';
|
||||
import TaskList from '@/components/midjourney/tasks/TaskList.vue';
|
||||
@@ -56,13 +37,8 @@ import {
|
||||
MIDJOURNEY_DEFAULT_MODE,
|
||||
MIDJOURNEY_DEFAULT_QUALITY
|
||||
} from '@/constants';
|
||||
import InputBox from '@/components/midjourney/InputBox.vue';
|
||||
|
||||
interface IData {
|
||||
prompt: string;
|
||||
elements: string[];
|
||||
ignore: string;
|
||||
references: string[];
|
||||
operating: boolean;
|
||||
job: number;
|
||||
}
|
||||
@@ -72,22 +48,13 @@ const CALLBACK_URL = 'https://webhook.acedata.cloud/midjourney';
|
||||
export default defineComponent({
|
||||
name: 'MidjourneyIndex',
|
||||
components: {
|
||||
ElCard,
|
||||
ReferenceImage,
|
||||
PresetPanel,
|
||||
InputBox,
|
||||
ElementsSelector,
|
||||
IgnoreSelector,
|
||||
ConfigPanel,
|
||||
ApplicationStatus,
|
||||
TaskList,
|
||||
Layout
|
||||
},
|
||||
data(): IData {
|
||||
return {
|
||||
prompt: '',
|
||||
elements: [],
|
||||
ignore: '',
|
||||
references: [],
|
||||
operating: false,
|
||||
job: 0
|
||||
};
|
||||
@@ -102,8 +69,8 @@ export default defineComponent({
|
||||
credential() {
|
||||
return this.$store.state.midjourney.credential;
|
||||
},
|
||||
preset() {
|
||||
return this.$store.state.midjourney.preset;
|
||||
config() {
|
||||
return this.$store.state.midjourney.config;
|
||||
},
|
||||
loading() {
|
||||
return this.$store.state.midjourney.status.getApplications === Status.Request;
|
||||
@@ -119,75 +86,75 @@ export default defineComponent({
|
||||
},
|
||||
finalPrompt(): string {
|
||||
let content = '';
|
||||
if (this.references.length > 0) {
|
||||
content += `${this.references.join(' ')} `;
|
||||
if (this.config.references && this.config.references?.length > 0) {
|
||||
content += `${this.config.references.join(' ')} `;
|
||||
}
|
||||
if (this.prompt) {
|
||||
content += this.prompt;
|
||||
if (this.config.prompt) {
|
||||
content += this.config.prompt;
|
||||
}
|
||||
if (this.elements.length > 0) {
|
||||
content += ',' + this.elements.join(',');
|
||||
if (this.config.elements && this.config.elements.length > 0) {
|
||||
content += ',' + this.config.elements.map((item) => item.value).join(',');
|
||||
}
|
||||
if (this.preset?.model && !content.includes(`--${this.preset.model}`)) {
|
||||
content += ` --${this.preset.model}`;
|
||||
if (this.config?.model && !content.includes(`--${this.config.model}`)) {
|
||||
content += ` --${this.config.model}`;
|
||||
}
|
||||
if (this.preset?.version && !content.includes(`--version `) && !content.includes(`--v `)) {
|
||||
content += ` --version ${this.preset.version}`;
|
||||
if (this.config?.version && !content.includes(`--version `) && !content.includes(`--v `)) {
|
||||
content += ` --version ${this.config.version}`;
|
||||
}
|
||||
if (this.preset?.chaos && this.preset?.advanced && !content.includes(`--chaos `)) {
|
||||
content += ` --chaos ${this.preset.chaos}`;
|
||||
if (this.config?.chaos && this.config?.advanced && !content.includes(`--chaos `)) {
|
||||
content += ` --chaos ${this.config.chaos}`;
|
||||
}
|
||||
if (
|
||||
this.preset?.quality &&
|
||||
this.config?.quality &&
|
||||
!content.includes(`--quality `) &&
|
||||
!content.includes(`--q `) &&
|
||||
this.preset?.quality !== MIDJOURNEY_DEFAULT_QUALITY
|
||||
this.config?.quality !== MIDJOURNEY_DEFAULT_QUALITY
|
||||
) {
|
||||
content += ` --quality ${this.preset.quality}`;
|
||||
content += ` --quality ${this.config.quality}`;
|
||||
}
|
||||
if (
|
||||
this.preset?.ratio &&
|
||||
this.config?.ratio &&
|
||||
!content.includes(`--aspect `) &&
|
||||
!content.includes(`--ar `) &&
|
||||
this.preset?.ratio !== MIDJOURNEY_DEFAULT_RATIO
|
||||
this.config?.ratio !== MIDJOURNEY_DEFAULT_RATIO
|
||||
) {
|
||||
content += ` --aspect ${this.preset.ratio}`;
|
||||
content += ` --aspect ${this.config.ratio}`;
|
||||
}
|
||||
if (
|
||||
this.preset?.stylize &&
|
||||
this.config?.stylize &&
|
||||
!content.includes(`--stylize `) &&
|
||||
!content.includes(`--s `) &&
|
||||
this.preset?.advanced &&
|
||||
this.preset?.stylize !== MIDJOURNEY_DEFAULT_STYLIZE
|
||||
this.config?.advanced &&
|
||||
this.config?.stylize !== MIDJOURNEY_DEFAULT_STYLIZE
|
||||
) {
|
||||
content += ` --stylize ${this.preset?.stylize}`;
|
||||
content += ` --stylize ${this.config?.stylize}`;
|
||||
}
|
||||
if (
|
||||
this.preset?.weird &&
|
||||
this.config?.weird &&
|
||||
!content.includes(`--weird `) &&
|
||||
!content.includes(`--w `) &&
|
||||
this.preset?.advanced &&
|
||||
this.preset?.weird !== MIDJOURNEY_DEFAULT_WIRED
|
||||
this.config?.advanced &&
|
||||
this.config?.weird !== MIDJOURNEY_DEFAULT_WIRED
|
||||
) {
|
||||
content += ` --weird ${this.preset.weird}`;
|
||||
content += ` --weird ${this.config.weird}`;
|
||||
}
|
||||
if (this.ignore && !content.includes(`--no `)) {
|
||||
content += ` --no ${this.ignore}`;
|
||||
if (this.config.ignore && !content.includes(`--no `)) {
|
||||
content += ` --no ${this.config.ignore}`;
|
||||
}
|
||||
if (
|
||||
this.preset?.iw &&
|
||||
this.config?.iw &&
|
||||
!content.includes(`--iw `) &&
|
||||
this.preset?.advanced &&
|
||||
this.preset?.iw !== MIDJOURNEY_DEFAULT_IMAGE_WEIGHT
|
||||
this.config?.advanced &&
|
||||
this.config?.iw !== MIDJOURNEY_DEFAULT_IMAGE_WEIGHT
|
||||
) {
|
||||
content += ` --iw ${this.preset.iw}`;
|
||||
content += ` --iw ${this.config.iw}`;
|
||||
}
|
||||
if (this.preset?.style && this.preset?.advanced && !content.includes(`--style`)) {
|
||||
content += ` --style ${this.preset?.style}`;
|
||||
if (this.config?.style && this.config?.advanced && !content.includes(`--style`)) {
|
||||
content += ` --style ${this.config?.style}`;
|
||||
}
|
||||
// remove `--fast`, `--relax`, `--turbo`
|
||||
content = content.replace(/--(fast|relax|turbo) /g, '');
|
||||
return this.prompt || this.references?.length > 0 ? content : '';
|
||||
return this.config.prompt || (this.config.references && this.config.references?.length > 0) ? content : '';
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -273,23 +240,20 @@ export default defineComponent({
|
||||
const request = {
|
||||
image_id: payload.image_id,
|
||||
action: payload.action,
|
||||
mode: this.preset?.mode || MIDJOURNEY_DEFAULT_MODE,
|
||||
mode: this.config?.mode || MIDJOURNEY_DEFAULT_MODE,
|
||||
callback_url: CALLBACK_URL
|
||||
};
|
||||
this.onStartTask(request);
|
||||
},
|
||||
async onGenerate() {
|
||||
const request = {
|
||||
mode: this.preset?.mode || MIDJOURNEY_DEFAULT_MODE,
|
||||
mode: this.config?.mode || MIDJOURNEY_DEFAULT_MODE,
|
||||
prompt: this.finalPrompt,
|
||||
action: MidjourneyImagineAction.GENERATE,
|
||||
translation: this.preset?.translation,
|
||||
translation: this.config?.translation,
|
||||
callback_url: CALLBACK_URL
|
||||
};
|
||||
await this.onStartTask(request);
|
||||
this.prompt = '';
|
||||
this.elements = [];
|
||||
this.references = [];
|
||||
},
|
||||
async onScrollDown() {
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
IApplication,
|
||||
IApplicationType,
|
||||
ICredential,
|
||||
IMidjourneyPreset,
|
||||
IMidjourneyConfig,
|
||||
IMidjourneyTask,
|
||||
IMidjourneyTasksResponse,
|
||||
IService
|
||||
@@ -23,8 +23,8 @@ export const setCredential = async ({ commit }: any, payload: ICredential): Prom
|
||||
commit('setCredential', payload);
|
||||
};
|
||||
|
||||
export const setPreset = ({ commit }: any, payload: IMidjourneyPreset) => {
|
||||
commit('setPreset', payload);
|
||||
export const setConfig = ({ commit }: any, payload: IMidjourneyConfig) => {
|
||||
commit('setConfig', payload);
|
||||
};
|
||||
|
||||
export const setMode = ({ commit }: any, payload: string) => {
|
||||
@@ -149,7 +149,7 @@ export default {
|
||||
getService,
|
||||
resetAll,
|
||||
setCredential,
|
||||
setPreset,
|
||||
setConfig,
|
||||
setMode,
|
||||
setApplication,
|
||||
getApplications,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { IApplication, ICredential, IMidjourneyPreset, IMidjourneyTask, IService, Status } from '@/models';
|
||||
import { IApplication, ICredential, IMidjourneyConfig, IMidjourneyTask, IService, Status } from '@/models';
|
||||
|
||||
export interface IMidjourneyState {
|
||||
service: IService | undefined;
|
||||
@@ -11,7 +11,7 @@ export interface IMidjourneyState {
|
||||
}
|
||||
| undefined;
|
||||
credential: ICredential | undefined;
|
||||
preset: IMidjourneyPreset;
|
||||
config: IMidjourneyConfig;
|
||||
status: {
|
||||
getService: Status;
|
||||
getApplications: Status;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { IApplication, ICredential, IMidjourneyPreset, IService } from '@/models';
|
||||
import { IApplication, ICredential, IMidjourneyConfig, IService } from '@/models';
|
||||
import { IMidjourneyState } from './models';
|
||||
|
||||
export const resetAll = (state: IMidjourneyState): void => {
|
||||
state.application = undefined;
|
||||
state.applications = undefined;
|
||||
state.preset = {};
|
||||
state.config = {};
|
||||
state.tasks = {
|
||||
items: undefined,
|
||||
total: undefined
|
||||
@@ -27,8 +27,8 @@ export const setApplications = (state: IMidjourneyState, payload: IApplication[]
|
||||
state.applications = payload;
|
||||
};
|
||||
|
||||
export const setPreset = (state: IMidjourneyState, payload: IMidjourneyPreset): void => {
|
||||
state.preset = payload;
|
||||
export const setConfig = (state: IMidjourneyState, payload: IMidjourneyConfig): void => {
|
||||
state.config = payload;
|
||||
};
|
||||
|
||||
export const setTasks = (state: IMidjourneyState, payload: any): void => {
|
||||
@@ -38,7 +38,7 @@ export const setTasks = (state: IMidjourneyState, payload: any): void => {
|
||||
export default {
|
||||
setApplication,
|
||||
setApplications,
|
||||
setPreset,
|
||||
setConfig,
|
||||
setCredential,
|
||||
setService,
|
||||
setTasks,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export default [
|
||||
'midjourney.preset',
|
||||
'midjourney.config',
|
||||
'midjourney.credential',
|
||||
'midjourney.mode',
|
||||
'midjourney.application',
|
||||
|
||||
@@ -11,7 +11,7 @@ export default (): IMidjourneyState => {
|
||||
total: undefined
|
||||
},
|
||||
credential: undefined,
|
||||
preset: {},
|
||||
config: {},
|
||||
status: {
|
||||
getService: Status.None,
|
||||
getApplications: Status.None,
|
||||
|
||||
Reference in new issue
Block a user