This commit is contained in:
@@ -7,7 +7,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|||||||
const COMFYUI_URL = process.env.COMFYUI_URL || "http://localhost:8188";
|
const COMFYUI_URL = process.env.COMFYUI_URL || "http://localhost:8188";
|
||||||
|
|
||||||
// Drawing style prefix
|
// Drawing style prefix
|
||||||
const STYLE_PREFIX = `clean line art, minimalist sketch, concept art sketch, black and white line drawing, lots of white space, sparse shading, simple hatching, very low detail, subtle color accent`;
|
const STYLE_PREFIX = `clean line art, minimalist sketch, concept art sketch, black and white line drawing, lots of white space, sparse shading, simple black hatching, very low detail, subtle color accent`;
|
||||||
|
|
||||||
// 1. Generate engineered visual prompt
|
// 1. Generate engineered visual prompt
|
||||||
async function generateVisualPrompt(flavor) {
|
async function generateVisualPrompt(flavor) {
|
||||||
@@ -51,7 +51,7 @@ function buildComfyWorkflow(promptText, negativeText = "") {
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"seed": Math.floor(Math.random() * 100000),
|
"seed": Math.floor(Math.random() * 100000),
|
||||||
"steps": 4,
|
"steps": 4,
|
||||||
"cfg": 3,
|
"cfg": 2,
|
||||||
"sampler_name": "euler",
|
"sampler_name": "euler",
|
||||||
"scheduler": "simple",
|
"scheduler": "simple",
|
||||||
"denoise": 1,
|
"denoise": 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user