Upload workflows/api/outpaint-lama.json with huggingface_hub
Browse files- workflows/api/outpaint-lama.json +31 -18
workflows/api/outpaint-lama.json
CHANGED
|
@@ -160,16 +160,25 @@
|
|
| 160 |
},
|
| 161 |
"17": {
|
| 162 |
"_meta": {
|
| 163 |
-
"title": "
|
| 164 |
},
|
| 165 |
"class_type": "INPAINT_LoadInpaintModel",
|
| 166 |
"inputs": {
|
| 167 |
-
"model_name": "
|
| 168 |
}
|
| 169 |
},
|
| 170 |
"18": {
|
| 171 |
"_meta": {
|
| 172 |
-
"title": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
},
|
| 174 |
"class_type": "INPAINT_InpaintWithModel",
|
| 175 |
"inputs": {
|
|
@@ -185,10 +194,23 @@
|
|
| 185 |
"15",
|
| 186 |
1
|
| 187 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
"seed": 0
|
| 189 |
}
|
| 190 |
},
|
| 191 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
"_meta": {
|
| 193 |
"title": "Snap to exact target dims"
|
| 194 |
},
|
|
@@ -200,7 +222,7 @@
|
|
| 200 |
0
|
| 201 |
],
|
| 202 |
"image": [
|
| 203 |
-
"
|
| 204 |
0
|
| 205 |
],
|
| 206 |
"upscale_method": "lanczos",
|
|
@@ -210,23 +232,14 @@
|
|
| 210 |
]
|
| 211 |
}
|
| 212 |
},
|
| 213 |
-
"
|
| 214 |
-
"_meta": {
|
| 215 |
-
"title": "target_width"
|
| 216 |
-
},
|
| 217 |
-
"class_type": "PrimitiveInt",
|
| 218 |
-
"inputs": {
|
| 219 |
-
"value": 1216
|
| 220 |
-
}
|
| 221 |
-
},
|
| 222 |
-
"20": {
|
| 223 |
"_meta": {
|
| 224 |
"title": "Paste original pixels back"
|
| 225 |
},
|
| 226 |
"class_type": "ImageCompositeMasked",
|
| 227 |
"inputs": {
|
| 228 |
"destination": [
|
| 229 |
-
"
|
| 230 |
0
|
| 231 |
],
|
| 232 |
"mask": [
|
|
@@ -242,12 +255,12 @@
|
|
| 242 |
"y": 0
|
| 243 |
}
|
| 244 |
},
|
| 245 |
-
"
|
| 246 |
"class_type": "SaveImage",
|
| 247 |
"inputs": {
|
| 248 |
"filename_prefix": "outpaint/lama",
|
| 249 |
"images": [
|
| 250 |
-
"
|
| 251 |
0
|
| 252 |
]
|
| 253 |
}
|
|
|
|
| 160 |
},
|
| 161 |
"17": {
|
| 162 |
"_meta": {
|
| 163 |
+
"title": "Inpaint model (MAT / big-lama)"
|
| 164 |
},
|
| 165 |
"class_type": "INPAINT_LoadInpaintModel",
|
| 166 |
"inputs": {
|
| 167 |
+
"model_name": "MAT_Places512_G_fp16.safetensors"
|
| 168 |
}
|
| 169 |
},
|
| 170 |
"18": {
|
| 171 |
"_meta": {
|
| 172 |
+
"title": "Fill upscaler (fixes low-res fill)"
|
| 173 |
+
},
|
| 174 |
+
"class_type": "UpscaleModelLoader",
|
| 175 |
+
"inputs": {
|
| 176 |
+
"model_name": "RealESRGAN_x4plus.pth"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"19": {
|
| 180 |
+
"_meta": {
|
| 181 |
+
"title": "LaMa/MAT fill"
|
| 182 |
},
|
| 183 |
"class_type": "INPAINT_InpaintWithModel",
|
| 184 |
"inputs": {
|
|
|
|
| 194 |
"15",
|
| 195 |
1
|
| 196 |
],
|
| 197 |
+
"optional_upscale_model": [
|
| 198 |
+
"18",
|
| 199 |
+
0
|
| 200 |
+
],
|
| 201 |
"seed": 0
|
| 202 |
}
|
| 203 |
},
|
| 204 |
+
"2": {
|
| 205 |
+
"_meta": {
|
| 206 |
+
"title": "target_width"
|
| 207 |
+
},
|
| 208 |
+
"class_type": "PrimitiveInt",
|
| 209 |
+
"inputs": {
|
| 210 |
+
"value": 1216
|
| 211 |
+
}
|
| 212 |
+
},
|
| 213 |
+
"20": {
|
| 214 |
"_meta": {
|
| 215 |
"title": "Snap to exact target dims"
|
| 216 |
},
|
|
|
|
| 222 |
0
|
| 223 |
],
|
| 224 |
"image": [
|
| 225 |
+
"19",
|
| 226 |
0
|
| 227 |
],
|
| 228 |
"upscale_method": "lanczos",
|
|
|
|
| 232 |
]
|
| 233 |
}
|
| 234 |
},
|
| 235 |
+
"21": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
"_meta": {
|
| 237 |
"title": "Paste original pixels back"
|
| 238 |
},
|
| 239 |
"class_type": "ImageCompositeMasked",
|
| 240 |
"inputs": {
|
| 241 |
"destination": [
|
| 242 |
+
"20",
|
| 243 |
0
|
| 244 |
],
|
| 245 |
"mask": [
|
|
|
|
| 255 |
"y": 0
|
| 256 |
}
|
| 257 |
},
|
| 258 |
+
"22": {
|
| 259 |
"class_type": "SaveImage",
|
| 260 |
"inputs": {
|
| 261 |
"filename_prefix": "outpaint/lama",
|
| 262 |
"images": [
|
| 263 |
+
"21",
|
| 264 |
0
|
| 265 |
]
|
| 266 |
}
|