auto-save 2026-05-18 01:07 (~8)
This commit is contained in:
@@ -716,7 +716,7 @@ function ImageGenCard({ job, frame, onJobUpdate }: {
|
||||
}) {
|
||||
const [extra, setExtra] = useState("")
|
||||
const [negative, setNegative] = useState("水印, @用户名, TikTok logo, 平台文字, 浮水印")
|
||||
const [model, setModel] = useState("gemini-3-pro-image-preview")
|
||||
const model = "gpt-image-2"
|
||||
const [mode, setMode] = useState<"edit" | "text">("edit")
|
||||
const [generating, setGenerating] = useState(false)
|
||||
const basePrompt = frame.description?.suggested_prompt ?? "(尚未识别 · 点关键帧打开 lightbox 先识别)"
|
||||
@@ -857,15 +857,9 @@ function ImageGenCard({ job, frame, onJobUpdate }: {
|
||||
|
||||
{/* 模型 + 模式 + 生成 */}
|
||||
<div className="mt-2 flex gap-1.5 items-center">
|
||||
<select
|
||||
value={model}
|
||||
onChange={(e) => setModel(e.target.value)}
|
||||
className="flex-1 text-[10.5px] px-2 py-1.5 rounded-md bg-black/40 border border-white/15 text-[var(--text-strong)]"
|
||||
>
|
||||
<option value="gemini-3-pro-image-preview">nano-banana-pro</option>
|
||||
<option value="gemini-3.1-flash-image-preview">gemini-3.1-flash-image</option>
|
||||
<option value="gemini-2.5-flash-image">gemini-2.5-flash-image</option>
|
||||
</select>
|
||||
<div className="flex-1 rounded-md border border-white/15 bg-black/40 px-2 py-1.5 text-[10.5px] font-semibold text-[var(--text-strong)]">
|
||||
gpt-image-2
|
||||
</div>
|
||||
<select
|
||||
value={mode}
|
||||
onChange={(e) => setMode(e.target.value as "edit" | "text")}
|
||||
|
||||
Reference in New Issue
Block a user