shrink image more. improve prompts
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
Madison Grubb
2025-09-04 22:38:03 -04:00
parent 1e1bee6d05
commit f51a5a6e0c
2 changed files with 11 additions and 8 deletions

View File

@@ -72,8 +72,8 @@ function buildComfyWorkflow(promptText, negativeText = "") {
},
"5": {
"inputs": {
"width": 1000,
"height": 700,
"width": 640,
"height": 448,
"batch_size": 1
},
"class_type": "EmptyLatentImage"
@@ -157,7 +157,7 @@ async function downloadImage(filename, localFilename) {
// 4c. Submit prompt and handle full image pipeline
async function generateImageViaComfyUI(prompt, filename) {
const workflow = buildComfyWorkflow(prompt, "text, blurry, lowres, watermark");
const workflow = buildComfyWorkflow(prompt, "photorealism, hyper-realistic, high detail, 3D render, CGI, ray tracing, glossy, polished, smooth shading, realistic lighting, digital painting, anime, cartoon, pixelated, noisy, cluttered, blurry, sharp focus, symmetrical, perfect perspective, detailed textures, high-resolution textures, high contrast lighting, lens flare, bokeh, camera artifacts, text, logo, signature, watermark, overexposed, underexposed, glowing edges");
try {
console.log("Submitting prompt to ComfyUI...");