Skip to content

Commit 883919a

Browse files
committed
adjust api and workflow
1 parent 6bf1ca6 commit 883919a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

basic_api.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,7 @@ def prompt_image_to_image(workflow, input_path, positve_prompt, negative_prompt=
418418
generate_image_by_prompt_and_image(prompt, './output/blog/img2img', input_path, filename, save_previews)
419419

420420

421-
workflow = load_workflow('./workflows/base_workflow.json')
422-
prompt_to_image(workflow, 'Cyborg in the cyberspace connection to different interfaces and screens with wires, cinematic, colorful, black and neon turquioise', 'ugly, lowres, text, branding', save_previews=True)
423-
# input_path = './input/ComfyUI_00299_.png'
424-
# for iter in range(1, 6):
425-
# prompt_image_to_image(workflow, input_path, 'Woman in a red dress standing in middle of a crowded place, skyscrapers in the background, cinematic, dark colors, distopian', save_previews=True)
421+
# workflow = load_workflow('./workflows/basic_image_to_image.json')
422+
# prompt_to_image(workflow, 'Cyborg in the cyberspace connection to different interfaces and screens with wires, cinematic, colorful, black and neon turquioise', 'ugly, lowres, text, branding', save_previews=True)
423+
# input_path = ''
424+
# prompt_image_to_image(workflow, input_path, 'Woman in a white dress standing in middle of a crowded place, skyscrapers in the background, cinematic, monotone colors, dark, dystopian', save_previews=True)

workflows/basic_image_to_image.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"cfg": 8,
77
"sampler_name": "dpmpp_3m_sde",
88
"scheduler": "karras",
9-
"denoise": 1,
9+
"denoise": 0.6,
1010
"model": [
1111
"4",
1212
0

0 commit comments

Comments
 (0)