diff --git a/README.md b/README.md index c41b222..83bbd03 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,14 @@ Your ComfyUI Root Directory\python_embeded\python.exe install.py - For use cases please check out [Example Workflows](./_Example_Workflows/). [**Last update: 29/April/2025**] - **Note:** you need to put [Example Inputs Files & Folders](_Example_Workflows/_Example_Inputs_Files/) under ComfyUI Root Directory\ComfyUI\input folder before you can run the example workflow +- **MV-Adapter**: [huanngzh/MV-Adapter](https://github.com/huanngzh/MV-Adapter) + - Two generation methods: + - I2MV: Single image + 3D mesh to multi-view images + - T2MV: Text prompt to multi-view images + - Model weights: https://huggingface.co/huanngzh/mv-adapter + - [I2MV Workflow](./_Example_Workflows/MV-Adapter-ig2mv.json) + - [T2MV Workflow](./_Example_Workflows/MV-Adapter-t2mv.json) + - **Stable3DGen**: [Stable-X/Stable3DGen](https://github.com/Stable-X/Stable3DGen) - Two models pipeline: - Stable3DGen: Single image to 3D Mesh diff --git a/_Example_Workflows/MV-Adapter-ig2mv.json b/_Example_Workflows/MV-Adapter-ig2mv.json new file mode 100644 index 0000000..606553d --- /dev/null +++ b/_Example_Workflows/MV-Adapter-ig2mv.json @@ -0,0 +1,258 @@ +{ + "id": "867889cd-eeb4-48b0-853c-21e125a93896", + "revision": 0, + "last_node_id": 9, + "last_link_id": 7, + "nodes": [ + { + "id": 8, + "type": "PreviewImage", + "pos": [ + 3033.075927734375, + -927.3480224609375 + ], + "size": [ + 370.7532958984375, + 288.39501953125 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 6 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 1, + "type": "[Comfy3D] Load MVAdapter Pipeline", + "pos": [ + 2145.03466796875, + -1135.2872314453125 + ], + "size": [ + 356.66668701171875, + 250 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "mvadapter_pipe", + "type": "DIFFUSERS_PIPE", + "links": [ + 4 + ] + } + ], + "properties": { + "Node name for S&R": "[Comfy3D] Load MVAdapter Pipeline" + }, + "widgets_values": [ + "stabilityai/stable-diffusion-xl-base-1.0", + "madebyollin/sdxl-vae-fp16-fix", + "huanngzh/mv-adapter", + "default", + 6, + true, + true, + "", + "" + ] + }, + { + "id": 9, + "type": "PrimitiveString", + "pos": [ + 2155.025146484375, + -447.5125427246094 + ], + "size": [ + 334.6800231933594, + 66.81999969482422 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 7 + ] + } + ], + "properties": { + "Node name for S&R": "PrimitiveString" + }, + "widgets_values": [ + "output/StableGenTest/mesh.glb" + ] + }, + { + "id": 7, + "type": "[Comfy3D] MVAdapter Image To MultiView", + "pos": [ + 2557.745361328125, + -938.2529296875 + ], + "size": [ + 406.614990234375, + 407.14501953125 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "mvadapter_pipe", + "type": "DIFFUSERS_PIPE", + "link": 4 + }, + { + "name": "reference_image", + "type": "IMAGE", + "link": 5 + }, + { + "name": "mesh_path", + "type": "STRING", + "widget": { + "name": "mesh_path" + }, + "link": 7 + } + ], + "outputs": [ + { + "name": "multiview_images", + "type": "IMAGE", + "links": [ + 6 + ] + } + ], + "properties": { + "Node name for S&R": "[Comfy3D] MVAdapter Image To MultiView" + }, + "widgets_values": [ + "", + "high quality", + "watermark, ugly, deformed, noisy, blurry, low contrast", + 50, + 3, + 1, + 768, + 768, + 92634126158178, + "randomize", + false, + 1 + ] + }, + { + "id": 3, + "type": "LoadImage", + "pos": [ + 2152.031494140625, + -832.7184448242188 + ], + "size": [ + 346.11004638671875, + 326 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "squirrel_girl_1.png", + "image" + ] + } + ], + "links": [ + [ + 4, + 1, + 0, + 7, + 0, + "DIFFUSERS_PIPE" + ], + [ + 5, + 3, + 0, + 7, + 1, + "IMAGE" + ], + [ + 6, + 7, + 0, + 8, + 0, + "IMAGE" + ], + [ + 7, + 9, + 0, + 7, + 2, + "STRING" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9523809523809523, + "offset": [ + -1869.4567072737789, + 1193.6790746138436 + ] + }, + "node_versions": { + "comfy-core": "0.3.35", + "ComfyUI-3D-Pack": "829fc82eeeb63b614510117f0ed9c388c106b5f2" + }, + "frontendVersion": "1.20.4", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/_Example_Workflows/MV-Adapter-t2mv.json b/_Example_Workflows/MV-Adapter-t2mv.json new file mode 100644 index 0000000..11643d8 --- /dev/null +++ b/_Example_Workflows/MV-Adapter-t2mv.json @@ -0,0 +1,160 @@ +{ + "id": "fd4d59aa-116b-4ec5-920e-f918c36151fe", + "revision": 0, + "last_node_id": 3, + "last_link_id": 2, + "nodes": [ + { + "id": 2, + "type": "PreviewImage", + "pos": [ + 2673.054931640625, + -795.7294311523438 + ], + "size": [ + 291.89996337890625, + 246 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 1, + "type": "[Comfy3D] MVAdapter Text To MultiView", + "pos": [ + 2183.7578125, + -848.2293701171875 + ], + "size": [ + 400, + 358 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "mvadapter_t2mv_pipe", + "type": "DIFFUSERS_PIPE", + "link": 2 + } + ], + "outputs": [ + { + "name": "multiview_images", + "type": "IMAGE", + "links": [ + 1 + ] + } + ], + "properties": { + "Node name for S&R": "[Comfy3D] MVAdapter Text To MultiView" + }, + "widgets_values": [ + "Mater, a rusty and beat-up tow truck from the 2006 Disney/Pixar animated film 'Cars', with a rusty brown exterior, big blue eyes.", + "watermark, ugly, deformed, noisy, blurry, low contrast", + 6, + 50, + 7, + 768, + 768, + 937383047416961, + "randomize", + 1, + "0,45,90,180,270,315" + ] + }, + { + "id": 3, + "type": "[Comfy3D] Load MVAdapter T2MV Pipeline", + "pos": [ + 1833.75634765625, + -913.3286743164062 + ], + "size": [ + 298.8599548339844, + 250 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "mvadapter_t2mv_pipe", + "type": "DIFFUSERS_PIPE", + "links": [ + 2 + ] + } + ], + "properties": { + "Node name for S&R": "[Comfy3D] Load MVAdapter T2MV Pipeline" + }, + "widgets_values": [ + "stabilityai/stable-diffusion-xl-base-1.0", + "madebyollin/sdxl-vae-fp16-fix", + "huanngzh/mv-adapter", + "default", + 6, + true, + false, + "", + "" + ] + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "IMAGE" + ], + [ + 2, + 3, + 0, + 1, + 0, + "DIFFUSERS_PIPE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.2155062499999998, + "offset": [ + -1674.815702398016, + 990.4808470306099 + ] + }, + "node_versions": { + "comfy-core": "0.3.35", + "ComfyUI-3D-Pack": "354ab9f7b56129f1f0fc4a42bea1751b266fd222" + }, + "frontendVersion": "1.20.4", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file