feat(short-drama-agent-front): 完善质量规则确认与中文交互
This commit is contained in:
1 parent
190333d4f9
commit
c4b43b9725
85 files changed
+2059
-480
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import RawDataDetails from '../../../components/ui/RawDataDetails.vue'
|
||||
import FeedbackMessage from '../../../components/ui/FeedbackMessage.vue'
|
||||
|
||||
import ContextNotice from '../../../components/ui/ContextNotice.vue'
|
||||
@@ -208,8 +209,7 @@ const rules = {
|
||||
@submit="submit"
|
||||
>
|
||||
<ContextNotice type="info" :show-icon="false" class="text-xs">
|
||||
调用 图片模型,每次新增一张图片,可能产生费用。第一张成功的 primary 图自动成为母版;已有母版时,新
|
||||
primary 图仅作为停用候选保留。
|
||||
调用 图片模型,每次新增一张图片,可能产生费用。第一张成功的主视图会成为标准参考图;已经有标准参考图时,新主视图只作为候选保留。
|
||||
</ContextNotice>
|
||||
<!-- 以下是多视角与已有身份图选择模块,单一选项不显示选择器 -->
|
||||
<NFormItem
|
||||
@@ -221,7 +221,7 @@ const rules = {
|
||||
><NSelect
|
||||
id="identity-view"
|
||||
v-model:value="viewType"
|
||||
:options="allowedViews.map(([value, label]) => ({ label: label + '(' + value + ')', value }))"
|
||||
:options="allowedViews.map(([value, label]) => ({ label, value }))"
|
||||
class="select-control"
|
||||
></NSelect
|
||||
></NFormItem>
|
||||
@@ -235,7 +235,7 @@ const rules = {
|
||||
<template #label>
|
||||
<FieldLabel
|
||||
label="身份锚定来源"
|
||||
description="只能选择此主体已完成的图片。后端需取得图片服务可访问的远程地址;本地预览可见不保证远程地址仍有效。"
|
||||
description="只能选择这个主体已生成完成的图片。图片链接需要仍可访问,预览能显示不代表链接一直有效。"
|
||||
/>
|
||||
</template>
|
||||
<NSelect
|
||||
@@ -243,7 +243,7 @@ const rules = {
|
||||
v-model:value="referenceImageId"
|
||||
:options="[
|
||||
{
|
||||
label: String(anchor ? '自动引用当前身份母版' : '自动选择(由后端解析参考图)'),
|
||||
label: String(anchor ? '自动引用当前身份母版' : '自动选择合适的参考图'),
|
||||
value: ''
|
||||
},
|
||||
...references.map(image => ({
|
||||
@@ -260,7 +260,7 @@ const rules = {
|
||||
label="覆盖本次完整提示词(可选)"
|
||||
:label-props="{ for: 'identity-image-prompt' }"
|
||||
><NInput
|
||||
placeholder="建议留空,使用后端编译的身份约束和视角要求"
|
||||
placeholder="建议留空,自动使用已保存的角色特征和视角要求"
|
||||
:input-props="{ id: 'identity-image-prompt' }"
|
||||
class="min-h-24"
|
||||
v-model:value="prompt"
|
||||
@@ -269,7 +269,7 @@ const rules = {
|
||||
></NInput>
|
||||
</NFormItem>
|
||||
<p v-if="prompt.trim()" class="text-xs text-danger">
|
||||
自定义文本会替换后端编译的完整提示词,请自行包含身份约束和视角要求。
|
||||
填写自定义描述后,会替换自动整理的完整描述;请写清角色特征和视角要求。
|
||||
</p>
|
||||
<GenerationModelControls
|
||||
type="image"
|
||||
@@ -297,17 +297,7 @@ const rules = {
|
||||
<div v-if="preview" class="text-xs space-y-3">
|
||||
<p>实际供应方:{{ preview.provider }} · 模型:{{ preview.model }}</p>
|
||||
<p class="whitespace-pre-wrap">最终提示词:{{ preview.providerPrompt }}</p>
|
||||
<pre class="whitespace-pre-wrap break-all">{{
|
||||
JSON.stringify(
|
||||
{
|
||||
referenceImages: preview.referenceImages,
|
||||
referencePlan: preview.referencePlan,
|
||||
generationConfig: preview.generationConfig
|
||||
},
|
||||
null,
|
||||
2
|
||||
)
|
||||
}}</pre>
|
||||
<RawDataDetails :value="{ referenceImages: preview.referenceImages, referencePlan: preview.referencePlan, generationConfig: preview.generationConfig }" title="参考图与生成设置(高级)" />
|
||||
</div>
|
||||
<NCheckbox
|
||||
id="identity-image-cost"
|
||||
|
||||
Reference in new issue
Block a user