) : null}
@@ -9088,6 +9254,7 @@ export function ImageNode({
item={imageBoxCutoutItem}
/>
{imageBoxCutoutItem.label}
+
) : null}
@@ -9122,6 +9289,10 @@ export function ImageNode({
item={imageRemoveWatermarkItem}
/>
{imageRemoveWatermarkItem.label}
+
) : null}
@@ -9156,6 +9327,10 @@ export function ImageNode({
item={imageMultiAngleItem}
/>
{imageMultiAngleItem.label}
+
) : null}
@@ -9173,6 +9348,10 @@ export function ImageNode({
item={imageGenerate3dModelItem}
/>
{imageGenerate3dModelItem.label}
+
) : null}
@@ -9190,6 +9369,10 @@ export function ImageNode({
item={imageGenerate3dWorldItem}
/>
{imageGenerate3dWorldItem.label}
+
) : null}
@@ -9224,6 +9407,7 @@ export function ImageNode({
item={imageExtendItem}
/>
{imageExtendItem.label}
+
) : null}
@@ -9292,6 +9476,10 @@ export function ImageNode({
item={imagePromptRegenerateItem}
/>
{imagePromptRegenerateItem.label}
+
) : null}
@@ -9346,7 +9534,8 @@ export function ImageNode({
fallback={Scan}
item={imageBoxCutoutItem}
/>
- {imageBoxCutoutItem.label}
+
{imageBoxCutoutItem.label}
+
) : null}
{isSelectedImageActionInMore("localEdit") ? (
@@ -9366,7 +9555,10 @@ export function ImageNode({
fallback={Eraser}
item={imageRemoveWatermarkItem}
/>
- {imageRemoveWatermarkItem.label}
+
{imageRemoveWatermarkItem.label}
+
) : null}
{isSelectedImageActionInMore("resize") ? (
@@ -9386,7 +9578,10 @@ export function ImageNode({
fallback={Box}
item={imageMultiAngleItem}
/>
- {imageMultiAngleItem.label}
+
{imageMultiAngleItem.label}
+
) : null}
{isSelectedImageActionInMore("generate3dModel") ? (
@@ -9398,7 +9593,10 @@ export function ImageNode({
fallback={Box}
item={imageGenerate3dModelItem}
/>
- {imageGenerate3dModelItem.label}
+
{imageGenerate3dModelItem.label}
+
) : null}
{isSelectedImageActionInMore("generate3dWorld") ? (
@@ -9410,7 +9608,8 @@ export function ImageNode({
fallback={Globe2}
item={imageGenerate3dWorldItem}
/>
- {imageGenerate3dWorldItem.label}
+
{imageGenerate3dWorldItem.label}
+
) : null}
{isSelectedImageActionInMore("layerSplit") ? (
@@ -9430,7 +9629,8 @@ export function ImageNode({
fallback={Expand}
item={imageExtendItem}
/>
- {imageExtendItem.label}
+
{imageExtendItem.label}
+
) : null}
{isSelectedImageActionInMore("crop") ? (
@@ -9472,7 +9672,10 @@ export function ImageNode({
fallback={RefreshCw}
item={imagePromptRegenerateItem}
/>
- {imagePromptRegenerateItem.label}
+
{imagePromptRegenerateItem.label}
+
) : null}
{isSelectedImageActionInMore("note") ? (
@@ -10336,6 +10539,11 @@ export function ImageNode({
) : (
<>
立即使用
+
>
)}
diff --git a/components/canvas/nodes/image-node/image-node-dialogs.tsx b/components/canvas/nodes/image-node/image-node-dialogs.tsx
index 180fb57bd..c1f558860 100644
--- a/components/canvas/nodes/image-node/image-node-dialogs.tsx
+++ b/components/canvas/nodes/image-node/image-node-dialogs.tsx
@@ -1,6 +1,6 @@
"use client";
-import { Box, Globe2, Loader2, RefreshCw } from "lucide-react";
+import { Box, Globe2, Loader2, RefreshCw, Zap } from "lucide-react";
import { Button } from "@/components/ui/button";
import {
Dialog,
@@ -38,6 +38,8 @@ interface PromptRegenerateDialogProps {
}
interface ThreeDGenerationDialogProps {
+ costLabel?: string;
+ costShortLabel?: string | null;
isProcessing: boolean;
mode: ThreeDGenerationDialogMode;
onConfirm: () => void;
@@ -108,6 +110,8 @@ export function PromptRegenerateDialog({
}
export function ThreeDGenerationDialog({
+ costLabel,
+ costShortLabel,
isProcessing,
mode,
onConfirm,
@@ -138,7 +142,7 @@ export function ThreeDGenerationDialog({
>
@@ -189,6 +193,12 @@ export function ThreeDGenerationDialog({
{selectedEntry?.description || "当前模型暂无说明。"}
+ {costLabel ? (
+
+
+ {costLabel}
+
+ ) : null}