fofr/image-merger 🔢📝✓🖼️❓ → 🖼️
About
Merge two images, with an optional third for controlnet.
Example Output
Prompt:
"an svg illustration, sharp, solid color, thick outline"
Output
Performance Metrics
27.47s
Prediction Time
27.48s
Total Time
All Input Parameters
{
"steps": 20,
"width": 768,
"height": 768,
"prompt": "an svg illustration, sharp, solid color, thick outline",
"animate": false,
"image_1": "https://replicate.delivery/pbxt/KLpMSbIo0rCeITgKcB6CPTsfUbSquTptlLHOR7SyDBiaUBUS/0_2.webp",
"image_2": "https://replicate.delivery/pbxt/KLpMTQ754bUSZlPnrYog5JFI0mRGVoXAkQSlPk1yfHssW532/0_2-1.webp",
"merge_mode": "left_right",
"upscale_2x": true,
"control_image": "https://replicate.delivery/pbxt/KLpMSa1lK4SMNxrhDnXFkk6BYkpIZVVXg3WrQIlLPCUn4Uaw/0_3.webp",
"upscale_steps": 20,
"animate_frames": 24,
"negative_prompt": "garish, soft, ugly, broken, distorted",
"image_1_strength": 1,
"image_2_strength": 1,
"return_temp_files": false
}
Input Parameters
- seed
- Fix the random seed for reproducibility
- steps
- width
- height
- prompt
- A prompt to guide the image merging
- animate
- Animate merging from one image to the other. Only the video is returned.
- image_1 (required)
- image_2 (required)
- merge_mode
- The mode to use for merging the images
- upscale_2x
- control_image
- An optional image to use with control net to influence the merging
- upscale_steps
- The number of steps per controlnet tile
- animate_frames
- The number of frames to generate for the animation
- negative_prompt
- Things you do not want in the merged image
- image_1_strength
- The strength of the first image
- image_2_strength
- The strength of the second image
- return_temp_files
- Return any temporary files, such as preprocessed controlnet images. Useful for debugging.
Output Schema
Output
Example Execution Logs
Random seed set to: 582146397
Checking weights
✅ ip-adapter-plus_sd15.safetensors
✅ control_v11p_sd15_canny_fp16.safetensors
✅ model.15.safetensors
✅ body_pose_model.pth
✅ control_v11p_sd15_openpose_fp16.safetensors
✅ Realistic_Vision_V6.0_NV_B1.safetensors
✅ hand_pose_model.pth
✅ 4x-UltraSharp.pth
✅ control_v11f1p_sd15_depth_fp16.safetensors
✅ ZoeD_M12_N.pt
✅ facenet.pth
====================================
Checking inputs
✅ /tmp/inputs/left.webp
✅ /tmp/inputs/controlnet.webp
✅ /tmp/inputs/right.webp
====================================
Running workflow
got prompt
Executing node 8, title: KSampler (Efficient), class type: KSampler (Efficient)
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 3 new models
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:05, 3.78it/s]
10%|█ | 2/20 [00:00<00:04, 3.68it/s]
15%|█▌ | 3/20 [00:00<00:04, 3.66it/s]
20%|██ | 4/20 [00:01<00:04, 3.64it/s]
25%|██▌ | 5/20 [00:01<00:04, 3.63it/s]
30%|███ | 6/20 [00:01<00:03, 3.59it/s]
35%|███▌ | 7/20 [00:01<00:03, 3.60it/s]
40%|████ | 8/20 [00:02<00:03, 3.56it/s]
45%|████▌ | 9/20 [00:02<00:03, 3.56it/s]
50%|█████ | 10/20 [00:02<00:02, 3.60it/s]
55%|█████▌ | 11/20 [00:03<00:02, 3.63it/s]
60%|██████ | 12/20 [00:03<00:02, 3.64it/s]
65%|██████▌ | 13/20 [00:03<00:01, 3.66it/s]
70%|███████ | 14/20 [00:03<00:01, 4.04it/s]
75%|███████▌ | 15/20 [00:03<00:01, 4.32it/s]
80%|████████ | 16/20 [00:04<00:00, 4.56it/s]
85%|████████▌ | 17/20 [00:04<00:00, 4.74it/s]
90%|█████████ | 18/20 [00:04<00:00, 4.91it/s]
95%|█████████▌| 19/20 [00:04<00:00, 5.14it/s]
100%|██████████| 20/20 [00:04<00:00, 4.18it/s]
Executing node 9, title: Save Image, class type: PreviewImage
Executing node 71, title: Ultimate SD Upscale, class type: UltimateSDUpscale
Canva size: 1536x1536
Image size: 768x768
Scale factor: 2
Upscaling iteration 1 with scale factor 2
Tile size: 512x512
Tiles amount: 9
Grid: 3x3
Redraw enabled: True
Seams fix mode: NONE
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 6 new models
unload clone 4
unload clone 3
unload clone 2
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:02, 8.37it/s]
10%|█ | 2/20 [00:00<00:02, 8.97it/s]
15%|█▌ | 3/20 [00:00<00:01, 9.16it/s]
20%|██ | 4/20 [00:00<00:01, 9.35it/s]
25%|██▌ | 5/20 [00:00<00:01, 9.42it/s]
35%|███▌ | 7/20 [00:00<00:01, 11.26it/s]
45%|████▌ | 9/20 [00:00<00:00, 12.25it/s]
55%|█████▌ | 11/20 [00:00<00:00, 12.85it/s]
65%|██████▌ | 13/20 [00:01<00:00, 13.22it/s]
75%|███████▌ | 15/20 [00:01<00:00, 13.42it/s]
85%|████████▌ | 17/20 [00:01<00:00, 13.60it/s]
95%|█████████▌| 19/20 [00:01<00:00, 13.71it/s]
100%|██████████| 20/20 [00:01<00:00, 12.38it/s]
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 6 new models
unload clone 7
unload clone 4
unload clone 5
unload clone 3
unload clone 3
unload clone 2
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:02, 9.02it/s]
10%|█ | 2/20 [00:00<00:01, 9.45it/s]
15%|█▌ | 3/20 [00:00<00:01, 9.56it/s]
20%|██ | 4/20 [00:00<00:01, 9.64it/s]
25%|██▌ | 5/20 [00:00<00:01, 9.69it/s]
35%|███▌ | 7/20 [00:00<00:01, 11.46it/s]
45%|████▌ | 9/20 [00:00<00:00, 12.40it/s]
55%|█████▌ | 11/20 [00:00<00:00, 12.90it/s]
65%|██████▌ | 13/20 [00:01<00:00, 13.28it/s]
75%|███████▌ | 15/20 [00:01<00:00, 13.52it/s]
85%|████████▌ | 17/20 [00:01<00:00, 13.66it/s]
95%|█████████▌| 19/20 [00:01<00:00, 13.74it/s]
100%|██████████| 20/20 [00:01<00:00, 12.54it/s]
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 6 new models
unload clone 7
unload clone 4
unload clone 5
unload clone 3
unload clone 3
unload clone 2
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:02, 9.04it/s]
10%|█ | 2/20 [00:00<00:01, 9.42it/s]
15%|█▌ | 3/20 [00:00<00:01, 9.58it/s]
20%|██ | 4/20 [00:00<00:01, 9.63it/s]
25%|██▌ | 5/20 [00:00<00:01, 9.66it/s]
35%|███▌ | 7/20 [00:00<00:01, 11.43it/s]
45%|████▌ | 9/20 [00:00<00:00, 12.32it/s]
55%|█████▌ | 11/20 [00:00<00:00, 12.81it/s]
65%|██████▌ | 13/20 [00:01<00:00, 13.17it/s]
75%|███████▌ | 15/20 [00:01<00:00, 13.42it/s]
85%|████████▌ | 17/20 [00:01<00:00, 13.60it/s]
95%|█████████▌| 19/20 [00:01<00:00, 13.73it/s]
100%|██████████| 20/20 [00:01<00:00, 12.49it/s]
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 6 new models
unload clone 7
unload clone 4
unload clone 5
unload clone 3
unload clone 3
unload clone 2
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:02, 8.97it/s]
10%|█ | 2/20 [00:00<00:01, 9.39it/s]
15%|█▌ | 3/20 [00:00<00:01, 9.55it/s]
20%|██ | 4/20 [00:00<00:01, 9.64it/s]
25%|██▌ | 5/20 [00:00<00:01, 9.68it/s]
35%|███▌ | 7/20 [00:00<00:01, 11.39it/s]
45%|████▌ | 9/20 [00:00<00:00, 12.34it/s]
55%|█████▌ | 11/20 [00:00<00:00, 12.87it/s]
65%|██████▌ | 13/20 [00:01<00:00, 13.25it/s]
75%|███████▌ | 15/20 [00:01<00:00, 13.48it/s]
85%|████████▌ | 17/20 [00:01<00:00, 13.63it/s]
95%|█████████▌| 19/20 [00:01<00:00, 13.74it/s]
100%|██████████| 20/20 [00:01<00:00, 12.50it/s]
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 6 new models
unload clone 7
unload clone 4
unload clone 5
unload clone 3
unload clone 3
unload clone 2
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:02, 9.01it/s]
10%|█ | 2/20 [00:00<00:01, 9.41it/s]
15%|█▌ | 3/20 [00:00<00:01, 9.58it/s]
20%|██ | 4/20 [00:00<00:01, 9.64it/s]
25%|██▌ | 5/20 [00:00<00:01, 9.69it/s]
35%|███▌ | 7/20 [00:00<00:01, 11.47it/s]
45%|████▌ | 9/20 [00:00<00:00, 12.41it/s]
55%|█████▌ | 11/20 [00:00<00:00, 12.92it/s]
65%|██████▌ | 13/20 [00:01<00:00, 13.26it/s]
75%|███████▌ | 15/20 [00:01<00:00, 13.43it/s]
85%|████████▌ | 17/20 [00:01<00:00, 13.61it/s]
95%|█████████▌| 19/20 [00:01<00:00, 13.73it/s]
100%|██████████| 20/20 [00:01<00:00, 12.52it/s]
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 6 new models
unload clone 7
unload clone 4
unload clone 5
unload clone 3
unload clone 3
unload clone 2
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:02, 9.00it/s]
10%|█ | 2/20 [00:00<00:01, 9.43it/s]
15%|█▌ | 3/20 [00:00<00:01, 9.56it/s]
20%|██ | 4/20 [00:00<00:01, 9.64it/s]
25%|██▌ | 5/20 [00:00<00:01, 9.68it/s]
35%|███▌ | 7/20 [00:00<00:01, 11.37it/s]
45%|████▌ | 9/20 [00:00<00:00, 12.32it/s]
55%|█████▌ | 11/20 [00:00<00:00, 12.87it/s]
65%|██████▌ | 13/20 [00:01<00:00, 13.26it/s]
75%|███████▌ | 15/20 [00:01<00:00, 13.48it/s]
85%|████████▌ | 17/20 [00:01<00:00, 13.63it/s]
95%|█████████▌| 19/20 [00:01<00:00, 13.74it/s]
100%|██████████| 20/20 [00:01<00:00, 12.51it/s]
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 6 new models
unload clone 7
unload clone 4
unload clone 5
unload clone 3
unload clone 3
unload clone 2
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:02, 9.07it/s]
10%|█ | 2/20 [00:00<00:01, 9.46it/s]
15%|█▌ | 3/20 [00:00<00:01, 9.60it/s]
20%|██ | 4/20 [00:00<00:01, 9.66it/s]
25%|██▌ | 5/20 [00:00<00:01, 9.68it/s]
35%|███▌ | 7/20 [00:00<00:01, 11.38it/s]
45%|████▌ | 9/20 [00:00<00:00, 12.33it/s]
55%|█████▌ | 11/20 [00:00<00:00, 12.91it/s]
65%|██████▌ | 13/20 [00:01<00:00, 13.23it/s]
75%|███████▌ | 15/20 [00:01<00:00, 13.42it/s]
85%|████████▌ | 17/20 [00:01<00:00, 13.60it/s]
95%|█████████▌| 19/20 [00:01<00:00, 13.73it/s]
100%|██████████| 20/20 [00:01<00:00, 12.51it/s]
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 6 new models
unload clone 7
unload clone 4
unload clone 5
unload clone 3
unload clone 3
unload clone 2
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:02, 8.75it/s]
10%|█ | 2/20 [00:00<00:01, 9.29it/s]
15%|█▌ | 3/20 [00:00<00:01, 9.41it/s]
20%|██ | 4/20 [00:00<00:01, 9.48it/s]
25%|██▌ | 5/20 [00:00<00:01, 9.57it/s]
35%|███▌ | 7/20 [00:00<00:01, 11.35it/s]
45%|████▌ | 9/20 [00:00<00:00, 12.32it/s]
55%|█████▌ | 11/20 [00:00<00:00, 12.89it/s]
65%|██████▌ | 13/20 [00:01<00:00, 13.20it/s]
75%|███████▌ | 15/20 [00:01<00:00, 13.38it/s]
85%|████████▌ | 17/20 [00:01<00:00, 13.53it/s]
95%|█████████▌| 19/20 [00:01<00:00, 13.67it/s]
100%|██████████| 20/20 [00:01<00:00, 12.43it/s]
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Requested to load ControlNet
Loading 6 new models
unload clone 7
unload clone 4
unload clone 5
unload clone 3
unload clone 3
unload clone 2
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:02, 8.89it/s]
10%|█ | 2/20 [00:00<00:01, 9.33it/s]
15%|█▌ | 3/20 [00:00<00:01, 9.49it/s]
20%|██ | 4/20 [00:00<00:01, 9.58it/s]
25%|██▌ | 5/20 [00:00<00:01, 9.64it/s]
35%|███▌ | 7/20 [00:00<00:01, 11.42it/s]
45%|████▌ | 9/20 [00:00<00:00, 11.91it/s]
55%|█████▌ | 11/20 [00:00<00:00, 12.61it/s]
65%|██████▌ | 13/20 [00:01<00:00, 10.36it/s]
75%|███████▌ | 15/20 [00:01<00:00, 10.14it/s]
85%|████████▌ | 17/20 [00:01<00:00, 10.91it/s]
95%|█████████▌| 19/20 [00:01<00:00, 11.72it/s]
100%|██████████| 20/20 [00:01<00:00, 11.10it/s]
Executing node 72, title: Save Image, class type: SaveImage
Prompt executed in 26.95 seconds
outputs: {'27': {'images': [{'filename': 'ComfyUI_temp_zsiiq_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '70': {'openpose_json': ['[\n {\n "people": [\n {\n "pose_keypoints_2d": [\n 0.5458333333333333,\n 0.44583333333333336,\n 1.0,\n 0.575,\n 0.828125,\n 1.0,\n 0.23333333333333334,\n 0.8322916666666667,\n 1.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.9114583333333334,\n 0.825,\n 1.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.0,\n 0.45729166666666665,\n 0.371875,\n 1.0,\n 0.6302083333333334,\n 0.3572916666666667,\n 1.0,\n 0.37395833333333334,\n 0.434375,\n 1.0,\n 0.7520833333333333,\n 0.421875,\n 1.0\n ],\n "face_keypoints_2d": [\n 0.3687500059604645,\n 0.39895832538604736,\n 1.0,\n 0.3812499940395355,\n 0.4385416805744171,\n 1.0,\n 0.39375001192092896,\n 0.4906249940395355,\n 1.0,\n 0.4072916805744171,\n 0.53125,\n 1.0,\n 0.4208333194255829,\n 0.5708333253860474,\n 1.0,\n 0.4468750059604645,\n 0.609375,\n 1.0,\n 0.48645833134651184,\n 0.6354166865348816,\n 1.0,\n 0.5260416865348816,\n 0.6489583253860474,\n 1.0,\n 0.565625011920929,\n 0.6489583253860474,\n 1.0,\n 0.6166666746139526,\n 0.6364583373069763,\n 1.0,\n 0.65625,\n 0.621874988079071,\n 1.0,\n 0.6958333253860474,\n 0.5833333134651184,\n 1.0,\n 0.721875011920929,\n 0.5572916865348816,\n 1.0,\n 0.7354166507720947,\n 0.5052083134651184,\n 1.0,\n 0.7354166507720947,\n 0.4645833373069763,\n 1.0,\n 0.7364583611488342,\n 0.4124999940395355,\n 1.0,\n 0.7489583492279053,\n 0.3604166805744171,\n 1.0,\n 0.3812499940395355,\n 0.34687501192092896,\n 1.0,\n 0.3947916626930237,\n 0.31979167461395264,\n 1.0,\n 0.4333333373069763,\n 0.3072916567325592,\n 1.0,\n 0.46041667461395264,\n 0.3072916567325592,\n 1.0,\n 0.4989583194255829,\n 0.32083332538604736,\n 1.0,\n 0.565625011920929,\n 0.3072916567325592,\n 1.0,\n 0.6041666865348816,\n 0.29374998807907104,\n 1.0,\n 0.643750011920929,\n 0.28125,\n 1.0,\n 0.6833333373069763,\n 0.29374998807907104,\n 1.0,\n 0.7093750238418579,\n 0.31979167461395264,\n 1.0,\n 0.5385416746139526,\n 0.3604166805744171,\n 1.0,\n 0.5385416746139526,\n 0.39895832538604736,\n 1.0,\n 0.5385416746139526,\n 0.42500001192092896,\n 1.0,\n 0.5395833253860474,\n 0.4520833194255829,\n 1.0,\n 0.5249999761581421,\n 0.4906249940395355,\n 1.0,\n 0.5385416746139526,\n 0.49166667461395264,\n 1.0,\n 0.5520833134651184,\n 0.49166667461395264,\n 1.0,\n 0.565625011920929,\n 0.4906249940395355,\n 1.0,\n 0.578125,\n 0.4781250059604645,\n 1.0,\n 0.4208333194255829,\n 0.3854166567325592,\n 1.0,\n 0.43437498807907104,\n 0.3604166805744171,\n 1.0,\n 0.4729166626930237,\n 0.3604166805744171,\n 1.0,\n 0.4989583194255829,\n 0.3854166567325592,\n 1.0,\n 0.4729166626930237,\n 0.3864583373069763,\n 1.0,\n 0.43437498807907104,\n 0.3864583373069763,\n 1.0,\n 0.5916666388511658,\n 0.37291666865348816,\n 1.0,\n 0.6177083253860474,\n 0.34687501192092896,\n 1.0,\n 0.643750011920929,\n 0.34687501192092896,\n 1.0,\n 0.6697916388511658,\n 0.359375,\n 1.0,\n 0.6447916626930237,\n 0.37291666865348816,\n 1.0,\n 0.6177083253860474,\n 0.37291666865348816,\n 1.0,\n 0.4989583194255829,\n 0.5572916865348816,\n 1.0,\n 0.512499988079071,\n 0.543749988079071,\n 1.0,\n 0.5385416746139526,\n 0.5302083492279053,\n 1.0,\n 0.5520833134651184,\n 0.5302083492279053,\n 1.0,\n 0.578125,\n 0.5177083611488342,\n 1.0,\n 0.6041666865348816,\n 0.53125,\n 1.0,\n 0.6302083134651184,\n 0.543749988079071,\n 1.0,\n 0.6041666865348816,\n 0.5572916865348816,\n 1.0,\n 0.578125,\n 0.5697916746139526,\n 1.0,\n 0.5645833611488342,\n 0.5708333253860474,\n 1.0,\n 0.5385416746139526,\n 0.5708333253860474,\n 1.0,\n 0.5249999761581421,\n 0.5697916746139526,\n 1.0,\n 0.5114583373069763,\n 0.5572916865348816,\n 1.0,\n 0.5385416746139526,\n 0.543749988079071,\n 1.0,\n 0.5645833611488342,\n 0.543749988079071,\n 1.0,\n 0.578125,\n 0.543749988079071,\n 1.0,\n 0.6177083253860474,\n 0.543749988079071,\n 1.0,\n 0.578125,\n 0.543749988079071,\n 1.0,\n 0.5645833611488342,\n 0.543749988079071,\n 1.0,\n 0.5385416746139526,\n 0.543749988079071,\n 1.0,\n 0.4468750059604645,\n 0.37291666865348816,\n 1.0,\n 0.6302083134651184,\n 0.359375,\n 1.0\n ],\n "hand_left_keypoints_2d": null,\n "hand_right_keypoints_2d": null\n }\n ],\n "canvas_height": 960,\n "canvas_width": 960\n }\n]']}, '66': {'images': [{'filename': 'ComfyUI_temp_jtpso_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '77': {'images': [{'filename': 'ComfyUI_temp_qpeve_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '60': {'images': [{'filename': 'ComfyUI_temp_fjomb_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '55': {'images': [{'filename': 'ComfyUI_temp_veglg_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '8': {'images': [{'filename': 'ComfyUI_temp_kopyh_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '9': {'images': [{'filename': 'ComfyUI_temp_mupfr_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '72': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}}
====================================
Contents of /tmp/outputs:
ComfyUI_00001_.png
Version Details
- Version ID
db2c826b6a7215fd31695acb73b5b2c91a077f88a2a264c003745e62901e2867- Version Created
- February 5, 2024