fix(canvas): harmonize prompt model defaults for edge insertions
This commit is contained in:
@@ -18,7 +18,7 @@ export const CANVAS_NODE_TEMPLATES = [
|
||||
label: "Prompt",
|
||||
width: 320,
|
||||
height: 220,
|
||||
defaultData: { prompt: "", model: "", aspectRatio: "1:1" },
|
||||
defaultData: { prompt: "", model: "google/gemini-2.5-flash-image", aspectRatio: "1:1" },
|
||||
},
|
||||
{
|
||||
type: "video-prompt",
|
||||
|
||||
@@ -235,7 +235,11 @@ export const NODE_DEFAULTS: Record<
|
||||
> = {
|
||||
image: { width: 280, height: 200, data: {} },
|
||||
text: { width: 256, height: 120, data: { content: "" } },
|
||||
prompt: { width: 288, height: 220, data: { prompt: "", aspectRatio: "1:1" } },
|
||||
prompt: {
|
||||
width: 288,
|
||||
height: 220,
|
||||
data: { prompt: "", model: "google/gemini-2.5-flash-image", aspectRatio: "1:1" },
|
||||
},
|
||||
"video-prompt": {
|
||||
width: 288,
|
||||
height: 220,
|
||||
|
||||
Reference in New Issue
Block a user