Instructions to use vantagewithai/Krea-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use vantagewithai/Krea-2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("vantagewithai/Krea-2", torch_dtype=torch.bfloat16, device_map="cuda") prompt = "A small, dark-colored cat is captured mid-stride, walking down the center of a narrow, abandoned street. The street is paved and appears cracked and worn. On either side of the street are tall, dilapidated buildings with visible brickwork and windows. A street lamp stands on the right side. The entire image is rendered in a monochromatic blue, with a distinct halftone dot pattern overlaying the scene, giving it a retro or printed appearance. The focus is soft, and the lighting is diffused, creating a hazy, atmospheric effect. The perspective is from ground level, looking down the length of the street, which narrows into the distance., halftone texture" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload Vantage_Krea-2-Identity-Edit.json
Browse files- Vantage_Krea-2-Identity-Edit.json +128 -130
Vantage_Krea-2-Identity-Edit.json
CHANGED
|
@@ -372,7 +372,6 @@
|
|
| 372 |
"link": null
|
| 373 |
},
|
| 374 |
{
|
| 375 |
-
"dir": 3,
|
| 376 |
"name": "any_05",
|
| 377 |
"type": "FLOAT",
|
| 378 |
"link": null
|
|
@@ -536,70 +535,6 @@
|
|
| 536 |
"color": "#233",
|
| 537 |
"bgcolor": "#355"
|
| 538 |
},
|
| 539 |
-
{
|
| 540 |
-
"id": 39,
|
| 541 |
-
"type": "Krea2EditGroundedEncode",
|
| 542 |
-
"pos": [
|
| 543 |
-
-874.2502410646996,
|
| 544 |
-
276.79392336950156
|
| 545 |
-
],
|
| 546 |
-
"size": [
|
| 547 |
-
671.1947591130026,
|
| 548 |
-
152
|
| 549 |
-
],
|
| 550 |
-
"flags": {},
|
| 551 |
-
"order": 24,
|
| 552 |
-
"mode": 4,
|
| 553 |
-
"inputs": [
|
| 554 |
-
{
|
| 555 |
-
"name": "clip",
|
| 556 |
-
"type": "CLIP",
|
| 557 |
-
"link": 54
|
| 558 |
-
},
|
| 559 |
-
{
|
| 560 |
-
"name": "image",
|
| 561 |
-
"shape": 7,
|
| 562 |
-
"type": "IMAGE",
|
| 563 |
-
"link": 55
|
| 564 |
-
},
|
| 565 |
-
{
|
| 566 |
-
"name": "image_b",
|
| 567 |
-
"shape": 7,
|
| 568 |
-
"type": "IMAGE",
|
| 569 |
-
"link": 56
|
| 570 |
-
}
|
| 571 |
-
],
|
| 572 |
-
"outputs": [
|
| 573 |
-
{
|
| 574 |
-
"name": "CONDITIONING",
|
| 575 |
-
"type": "CONDITIONING",
|
| 576 |
-
"links": [
|
| 577 |
-
58,
|
| 578 |
-
68
|
| 579 |
-
]
|
| 580 |
-
}
|
| 581 |
-
],
|
| 582 |
-
"title": "Negative Prompt",
|
| 583 |
-
"properties": {
|
| 584 |
-
"aux_id": "lbouaraba/comfyui-krea2edit",
|
| 585 |
-
"ver": "17af88332728c97ab5c7d26296b2cae59c935976",
|
| 586 |
-
"Node name for S&R": "Krea2EditGroundedEncode",
|
| 587 |
-
"ue_properties": {
|
| 588 |
-
"widget_ue_connectable": {
|
| 589 |
-
"prompt": true,
|
| 590 |
-
"grounding_px": true
|
| 591 |
-
},
|
| 592 |
-
"version": "7.8",
|
| 593 |
-
"input_ue_unconnectable": {}
|
| 594 |
-
}
|
| 595 |
-
},
|
| 596 |
-
"widgets_values": [
|
| 597 |
-
"",
|
| 598 |
-
832
|
| 599 |
-
],
|
| 600 |
-
"color": "#222",
|
| 601 |
-
"bgcolor": "#000"
|
| 602 |
-
},
|
| 603 |
{
|
| 604 |
"id": 10,
|
| 605 |
"type": "EmptyLatentImage",
|
|
@@ -1049,7 +984,6 @@
|
|
| 1049 |
"link": null
|
| 1050 |
},
|
| 1051 |
{
|
| 1052 |
-
"dir": 3,
|
| 1053 |
"name": "any_05",
|
| 1054 |
"type": "CONDITIONING",
|
| 1055 |
"link": null
|
|
@@ -1276,70 +1210,6 @@
|
|
| 1276 |
"color": "#323",
|
| 1277 |
"bgcolor": "#535"
|
| 1278 |
},
|
| 1279 |
-
{
|
| 1280 |
-
"id": 38,
|
| 1281 |
-
"type": "Krea2EditGroundedEncode",
|
| 1282 |
-
"pos": [
|
| 1283 |
-
-874.1945885387198,
|
| 1284 |
-
70.87957723403797
|
| 1285 |
-
],
|
| 1286 |
-
"size": [
|
| 1287 |
-
669.9704035413863,
|
| 1288 |
-
168.7789329237852
|
| 1289 |
-
],
|
| 1290 |
-
"flags": {},
|
| 1291 |
-
"order": 25,
|
| 1292 |
-
"mode": 0,
|
| 1293 |
-
"inputs": [
|
| 1294 |
-
{
|
| 1295 |
-
"name": "clip",
|
| 1296 |
-
"type": "CLIP",
|
| 1297 |
-
"link": 47
|
| 1298 |
-
},
|
| 1299 |
-
{
|
| 1300 |
-
"name": "image",
|
| 1301 |
-
"shape": 7,
|
| 1302 |
-
"type": "IMAGE",
|
| 1303 |
-
"link": 52
|
| 1304 |
-
},
|
| 1305 |
-
{
|
| 1306 |
-
"name": "image_b",
|
| 1307 |
-
"shape": 7,
|
| 1308 |
-
"type": "IMAGE",
|
| 1309 |
-
"link": 53
|
| 1310 |
-
}
|
| 1311 |
-
],
|
| 1312 |
-
"outputs": [
|
| 1313 |
-
{
|
| 1314 |
-
"name": "CONDITIONING",
|
| 1315 |
-
"type": "CONDITIONING",
|
| 1316 |
-
"links": [
|
| 1317 |
-
48,
|
| 1318 |
-
49
|
| 1319 |
-
]
|
| 1320 |
-
}
|
| 1321 |
-
],
|
| 1322 |
-
"title": "Positive Prompt",
|
| 1323 |
-
"properties": {
|
| 1324 |
-
"aux_id": "lbouaraba/comfyui-krea2edit",
|
| 1325 |
-
"ver": "17af88332728c97ab5c7d26296b2cae59c935976",
|
| 1326 |
-
"Node name for S&R": "Krea2EditGroundedEncode",
|
| 1327 |
-
"ue_properties": {
|
| 1328 |
-
"widget_ue_connectable": {
|
| 1329 |
-
"prompt": true,
|
| 1330 |
-
"grounding_px": true
|
| 1331 |
-
},
|
| 1332 |
-
"version": "7.8",
|
| 1333 |
-
"input_ue_unconnectable": {}
|
| 1334 |
-
}
|
| 1335 |
-
},
|
| 1336 |
-
"widgets_values": [
|
| 1337 |
-
"",
|
| 1338 |
-
832
|
| 1339 |
-
],
|
| 1340 |
-
"color": "#232",
|
| 1341 |
-
"bgcolor": "#353"
|
| 1342 |
-
},
|
| 1343 |
{
|
| 1344 |
"id": 47,
|
| 1345 |
"type": "INTConstant",
|
|
@@ -1840,6 +1710,134 @@
|
|
| 1840 |
],
|
| 1841 |
"color": "#2a363b",
|
| 1842 |
"bgcolor": "#3f5159"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1843 |
}
|
| 1844 |
],
|
| 1845 |
"links": [
|
|
|
|
| 372 |
"link": null
|
| 373 |
},
|
| 374 |
{
|
|
|
|
| 375 |
"name": "any_05",
|
| 376 |
"type": "FLOAT",
|
| 377 |
"link": null
|
|
|
|
| 535 |
"color": "#233",
|
| 536 |
"bgcolor": "#355"
|
| 537 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 538 |
{
|
| 539 |
"id": 10,
|
| 540 |
"type": "EmptyLatentImage",
|
|
|
|
| 984 |
"link": null
|
| 985 |
},
|
| 986 |
{
|
|
|
|
| 987 |
"name": "any_05",
|
| 988 |
"type": "CONDITIONING",
|
| 989 |
"link": null
|
|
|
|
| 1210 |
"color": "#323",
|
| 1211 |
"bgcolor": "#535"
|
| 1212 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1213 |
{
|
| 1214 |
"id": 47,
|
| 1215 |
"type": "INTConstant",
|
|
|
|
| 1710 |
],
|
| 1711 |
"color": "#2a363b",
|
| 1712 |
"bgcolor": "#3f5159"
|
| 1713 |
+
},
|
| 1714 |
+
{
|
| 1715 |
+
"id": 39,
|
| 1716 |
+
"type": "Krea2EditGroundedEncode",
|
| 1717 |
+
"pos": [
|
| 1718 |
+
-874.2502410646996,
|
| 1719 |
+
276.79392336950156
|
| 1720 |
+
],
|
| 1721 |
+
"size": [
|
| 1722 |
+
671.1947591130026,
|
| 1723 |
+
152
|
| 1724 |
+
],
|
| 1725 |
+
"flags": {},
|
| 1726 |
+
"order": 24,
|
| 1727 |
+
"mode": 4,
|
| 1728 |
+
"inputs": [
|
| 1729 |
+
{
|
| 1730 |
+
"name": "clip",
|
| 1731 |
+
"type": "CLIP",
|
| 1732 |
+
"link": 54
|
| 1733 |
+
},
|
| 1734 |
+
{
|
| 1735 |
+
"name": "image",
|
| 1736 |
+
"shape": 7,
|
| 1737 |
+
"type": "IMAGE",
|
| 1738 |
+
"link": 55
|
| 1739 |
+
},
|
| 1740 |
+
{
|
| 1741 |
+
"name": "image_b",
|
| 1742 |
+
"shape": 7,
|
| 1743 |
+
"type": "IMAGE",
|
| 1744 |
+
"link": 56
|
| 1745 |
+
}
|
| 1746 |
+
],
|
| 1747 |
+
"outputs": [
|
| 1748 |
+
{
|
| 1749 |
+
"name": "CONDITIONING",
|
| 1750 |
+
"type": "CONDITIONING",
|
| 1751 |
+
"links": [
|
| 1752 |
+
58,
|
| 1753 |
+
68
|
| 1754 |
+
]
|
| 1755 |
+
}
|
| 1756 |
+
],
|
| 1757 |
+
"title": "Negative Prompt",
|
| 1758 |
+
"properties": {
|
| 1759 |
+
"aux_id": "lbouaraba/comfyui-krea2edit",
|
| 1760 |
+
"ver": "17af88332728c97ab5c7d26296b2cae59c935976",
|
| 1761 |
+
"Node name for S&R": "Krea2EditGroundedEncode",
|
| 1762 |
+
"ue_properties": {
|
| 1763 |
+
"widget_ue_connectable": {
|
| 1764 |
+
"prompt": true,
|
| 1765 |
+
"grounding_px": true
|
| 1766 |
+
},
|
| 1767 |
+
"version": "7.8",
|
| 1768 |
+
"input_ue_unconnectable": {}
|
| 1769 |
+
}
|
| 1770 |
+
},
|
| 1771 |
+
"widgets_values": [
|
| 1772 |
+
"",
|
| 1773 |
+
768
|
| 1774 |
+
],
|
| 1775 |
+
"color": "#222",
|
| 1776 |
+
"bgcolor": "#000"
|
| 1777 |
+
},
|
| 1778 |
+
{
|
| 1779 |
+
"id": 38,
|
| 1780 |
+
"type": "Krea2EditGroundedEncode",
|
| 1781 |
+
"pos": [
|
| 1782 |
+
-874.1945885387198,
|
| 1783 |
+
70.87957723403797
|
| 1784 |
+
],
|
| 1785 |
+
"size": [
|
| 1786 |
+
669.9704035413863,
|
| 1787 |
+
168.7789329237852
|
| 1788 |
+
],
|
| 1789 |
+
"flags": {},
|
| 1790 |
+
"order": 25,
|
| 1791 |
+
"mode": 0,
|
| 1792 |
+
"inputs": [
|
| 1793 |
+
{
|
| 1794 |
+
"name": "clip",
|
| 1795 |
+
"type": "CLIP",
|
| 1796 |
+
"link": 47
|
| 1797 |
+
},
|
| 1798 |
+
{
|
| 1799 |
+
"name": "image",
|
| 1800 |
+
"shape": 7,
|
| 1801 |
+
"type": "IMAGE",
|
| 1802 |
+
"link": 52
|
| 1803 |
+
},
|
| 1804 |
+
{
|
| 1805 |
+
"name": "image_b",
|
| 1806 |
+
"shape": 7,
|
| 1807 |
+
"type": "IMAGE",
|
| 1808 |
+
"link": 53
|
| 1809 |
+
}
|
| 1810 |
+
],
|
| 1811 |
+
"outputs": [
|
| 1812 |
+
{
|
| 1813 |
+
"name": "CONDITIONING",
|
| 1814 |
+
"type": "CONDITIONING",
|
| 1815 |
+
"links": [
|
| 1816 |
+
48,
|
| 1817 |
+
49
|
| 1818 |
+
]
|
| 1819 |
+
}
|
| 1820 |
+
],
|
| 1821 |
+
"title": "Positive Prompt",
|
| 1822 |
+
"properties": {
|
| 1823 |
+
"aux_id": "lbouaraba/comfyui-krea2edit",
|
| 1824 |
+
"ver": "17af88332728c97ab5c7d26296b2cae59c935976",
|
| 1825 |
+
"Node name for S&R": "Krea2EditGroundedEncode",
|
| 1826 |
+
"ue_properties": {
|
| 1827 |
+
"widget_ue_connectable": {
|
| 1828 |
+
"prompt": true,
|
| 1829 |
+
"grounding_px": true
|
| 1830 |
+
},
|
| 1831 |
+
"version": "7.8",
|
| 1832 |
+
"input_ue_unconnectable": {}
|
| 1833 |
+
}
|
| 1834 |
+
},
|
| 1835 |
+
"widgets_values": [
|
| 1836 |
+
"",
|
| 1837 |
+
768
|
| 1838 |
+
],
|
| 1839 |
+
"color": "#232",
|
| 1840 |
+
"bgcolor": "#353"
|
| 1841 |
}
|
| 1842 |
],
|
| 1843 |
"links": [
|