ltx-2.3-i2v-nsfw-te: auto portrait/landscape detection + hard first-frame anchoring
Browse files- workflows/ltx-2.3-i2v-nsfw-te.json +296 -16
workflows/ltx-2.3-i2v-nsfw-te.json
CHANGED
|
@@ -396,7 +396,8 @@
|
|
| 396 |
"name": "input",
|
| 397 |
"type": "IMAGE,MASK",
|
| 398 |
"linkIds": [
|
| 399 |
-
535
|
|
|
|
| 400 |
],
|
| 401 |
"localized_name": "input",
|
| 402 |
"label": "first_frame",
|
|
@@ -1903,7 +1904,7 @@
|
|
| 1903 |
}
|
| 1904 |
},
|
| 1905 |
"widgets_values": [
|
| 1906 |
-
|
| 1907 |
false
|
| 1908 |
]
|
| 1909 |
},
|
|
@@ -2075,8 +2076,8 @@
|
|
| 2075 |
"name": "INT",
|
| 2076 |
"type": "INT",
|
| 2077 |
"links": [
|
| 2078 |
-
|
| 2079 |
-
|
| 2080 |
]
|
| 2081 |
}
|
| 2082 |
],
|
|
@@ -2099,7 +2100,7 @@
|
|
| 2099 |
}
|
| 2100 |
},
|
| 2101 |
"widgets_values": [
|
| 2102 |
-
|
| 2103 |
"fixed"
|
| 2104 |
]
|
| 2105 |
},
|
|
@@ -2892,8 +2893,8 @@
|
|
| 2892 |
"name": "INT",
|
| 2893 |
"type": "INT",
|
| 2894 |
"links": [
|
| 2895 |
-
|
| 2896 |
-
|
| 2897 |
]
|
| 2898 |
}
|
| 2899 |
],
|
|
@@ -2916,7 +2917,7 @@
|
|
| 2916 |
}
|
| 2917 |
},
|
| 2918 |
"widgets_values": [
|
| 2919 |
-
|
| 2920 |
"fixed"
|
| 2921 |
]
|
| 2922 |
},
|
|
@@ -3795,6 +3796,213 @@
|
|
| 3795 |
"widgets_values": [
|
| 3796 |
true
|
| 3797 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3798 |
}
|
| 3799 |
],
|
| 3800 |
"groups": [
|
|
@@ -4130,24 +4338,24 @@
|
|
| 4130 |
},
|
| 4131 |
{
|
| 4132 |
"id": 558,
|
| 4133 |
-
"origin_id":
|
| 4134 |
-
"origin_slot":
|
| 4135 |
"target_id": 290,
|
| 4136 |
"target_slot": 1,
|
| 4137 |
"type": "INT"
|
| 4138 |
},
|
| 4139 |
{
|
| 4140 |
"id": 559,
|
| 4141 |
-
"origin_id":
|
| 4142 |
-
"origin_slot":
|
| 4143 |
"target_id": 290,
|
| 4144 |
"target_slot": 2,
|
| 4145 |
"type": "INT"
|
| 4146 |
},
|
| 4147 |
{
|
| 4148 |
"id": 560,
|
| 4149 |
-
"origin_id":
|
| 4150 |
-
"origin_slot":
|
| 4151 |
"target_id": 292,
|
| 4152 |
"target_slot": 0,
|
| 4153 |
"type": "INT"
|
|
@@ -4162,8 +4370,8 @@
|
|
| 4162 |
},
|
| 4163 |
{
|
| 4164 |
"id": 562,
|
| 4165 |
-
"origin_id":
|
| 4166 |
-
"origin_slot":
|
| 4167 |
"target_id": 294,
|
| 4168 |
"target_slot": 0,
|
| 4169 |
"type": "INT"
|
|
@@ -4639,6 +4847,78 @@
|
|
| 4639 |
"target_id": 277,
|
| 4640 |
"target_slot": 0,
|
| 4641 |
"type": "INT"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4642 |
}
|
| 4643 |
],
|
| 4644 |
"extra": {
|
|
|
|
| 396 |
"name": "input",
|
| 397 |
"type": "IMAGE,MASK",
|
| 398 |
"linkIds": [
|
| 399 |
+
535,
|
| 400 |
+
700
|
| 401 |
],
|
| 402 |
"localized_name": "input",
|
| 403 |
"label": "first_frame",
|
|
|
|
| 1904 |
}
|
| 1905 |
},
|
| 1906 |
"widgets_values": [
|
| 1907 |
+
1.0,
|
| 1908 |
false
|
| 1909 |
]
|
| 1910 |
},
|
|
|
|
| 2076 |
"name": "INT",
|
| 2077 |
"type": "INT",
|
| 2078 |
"links": [
|
| 2079 |
+
704,
|
| 2080 |
+
708
|
| 2081 |
]
|
| 2082 |
}
|
| 2083 |
],
|
|
|
|
| 2100 |
}
|
| 2101 |
},
|
| 2102 |
"widgets_values": [
|
| 2103 |
+
1280,
|
| 2104 |
"fixed"
|
| 2105 |
]
|
| 2106 |
},
|
|
|
|
| 2893 |
"name": "INT",
|
| 2894 |
"type": "INT",
|
| 2895 |
"links": [
|
| 2896 |
+
703,
|
| 2897 |
+
707
|
| 2898 |
]
|
| 2899 |
}
|
| 2900 |
],
|
|
|
|
| 2917 |
}
|
| 2918 |
},
|
| 2919 |
"widgets_values": [
|
| 2920 |
+
704,
|
| 2921 |
"fixed"
|
| 2922 |
]
|
| 2923 |
},
|
|
|
|
| 3796 |
"widgets_values": [
|
| 3797 |
true
|
| 3798 |
]
|
| 3799 |
+
},
|
| 3800 |
+
{
|
| 3801 |
+
"id": 330,
|
| 3802 |
+
"type": "GetImageSize",
|
| 3803 |
+
"pos": [
|
| 3804 |
+
1190,
|
| 3805 |
+
4260
|
| 3806 |
+
],
|
| 3807 |
+
"size": [
|
| 3808 |
+
220,
|
| 3809 |
+
90
|
| 3810 |
+
],
|
| 3811 |
+
"flags": {},
|
| 3812 |
+
"order": 0,
|
| 3813 |
+
"mode": 0,
|
| 3814 |
+
"inputs": [
|
| 3815 |
+
{
|
| 3816 |
+
"localized_name": "image",
|
| 3817 |
+
"name": "image",
|
| 3818 |
+
"type": "IMAGE",
|
| 3819 |
+
"link": 700
|
| 3820 |
+
}
|
| 3821 |
+
],
|
| 3822 |
+
"outputs": [
|
| 3823 |
+
{
|
| 3824 |
+
"localized_name": "width",
|
| 3825 |
+
"name": "width",
|
| 3826 |
+
"type": "INT",
|
| 3827 |
+
"links": [
|
| 3828 |
+
701,
|
| 3829 |
+
705
|
| 3830 |
+
]
|
| 3831 |
+
},
|
| 3832 |
+
{
|
| 3833 |
+
"localized_name": "height",
|
| 3834 |
+
"name": "height",
|
| 3835 |
+
"type": "INT",
|
| 3836 |
+
"links": [
|
| 3837 |
+
702,
|
| 3838 |
+
706
|
| 3839 |
+
]
|
| 3840 |
+
},
|
| 3841 |
+
{
|
| 3842 |
+
"localized_name": "batch_size",
|
| 3843 |
+
"name": "batch_size",
|
| 3844 |
+
"type": "INT",
|
| 3845 |
+
"links": null
|
| 3846 |
+
}
|
| 3847 |
+
],
|
| 3848 |
+
"properties": {
|
| 3849 |
+
"cnr_id": "comfy-core",
|
| 3850 |
+
"ver": "0.3.0",
|
| 3851 |
+
"Node name for S&R": "GetImageSize"
|
| 3852 |
+
},
|
| 3853 |
+
"widgets_values": []
|
| 3854 |
+
},
|
| 3855 |
+
{
|
| 3856 |
+
"id": 331,
|
| 3857 |
+
"type": "ComfyMathExpression",
|
| 3858 |
+
"pos": [
|
| 3859 |
+
1610,
|
| 3860 |
+
4300
|
| 3861 |
+
],
|
| 3862 |
+
"size": [
|
| 3863 |
+
260,
|
| 3864 |
+
120
|
| 3865 |
+
],
|
| 3866 |
+
"flags": {},
|
| 3867 |
+
"order": 0,
|
| 3868 |
+
"mode": 0,
|
| 3869 |
+
"inputs": [
|
| 3870 |
+
{
|
| 3871 |
+
"label": "a",
|
| 3872 |
+
"localized_name": "values.a",
|
| 3873 |
+
"name": "values.a",
|
| 3874 |
+
"type": "FLOAT,INT,BOOLEAN",
|
| 3875 |
+
"link": 701
|
| 3876 |
+
},
|
| 3877 |
+
{
|
| 3878 |
+
"label": "b",
|
| 3879 |
+
"localized_name": "values.b",
|
| 3880 |
+
"name": "values.b",
|
| 3881 |
+
"type": "FLOAT,INT,BOOLEAN",
|
| 3882 |
+
"link": 702
|
| 3883 |
+
},
|
| 3884 |
+
{
|
| 3885 |
+
"label": "c",
|
| 3886 |
+
"localized_name": "values.c",
|
| 3887 |
+
"name": "values.c",
|
| 3888 |
+
"type": "FLOAT,INT,BOOLEAN",
|
| 3889 |
+
"link": 703
|
| 3890 |
+
},
|
| 3891 |
+
{
|
| 3892 |
+
"label": "d",
|
| 3893 |
+
"localized_name": "values.d",
|
| 3894 |
+
"name": "values.d",
|
| 3895 |
+
"type": "FLOAT,INT,BOOLEAN",
|
| 3896 |
+
"link": 704
|
| 3897 |
+
}
|
| 3898 |
+
],
|
| 3899 |
+
"outputs": [
|
| 3900 |
+
{
|
| 3901 |
+
"localized_name": "FLOAT",
|
| 3902 |
+
"name": "FLOAT",
|
| 3903 |
+
"type": "FLOAT",
|
| 3904 |
+
"links": null
|
| 3905 |
+
},
|
| 3906 |
+
{
|
| 3907 |
+
"localized_name": "INT",
|
| 3908 |
+
"name": "INT",
|
| 3909 |
+
"type": "INT",
|
| 3910 |
+
"links": [
|
| 3911 |
+
558,
|
| 3912 |
+
560
|
| 3913 |
+
]
|
| 3914 |
+
},
|
| 3915 |
+
{
|
| 3916 |
+
"localized_name": "BOOL",
|
| 3917 |
+
"name": "BOOL",
|
| 3918 |
+
"type": "BOOLEAN",
|
| 3919 |
+
"links": null
|
| 3920 |
+
}
|
| 3921 |
+
],
|
| 3922 |
+
"properties": {
|
| 3923 |
+
"cnr_id": "comfy-core",
|
| 3924 |
+
"ver": "0.3.0",
|
| 3925 |
+
"Node name for S&R": "ComfyMathExpression"
|
| 3926 |
+
},
|
| 3927 |
+
"widgets_values": [
|
| 3928 |
+
"min(max(64*round(sqrt(c*d*a/b)/64), 384), 1792)"
|
| 3929 |
+
]
|
| 3930 |
+
},
|
| 3931 |
+
{
|
| 3932 |
+
"id": 332,
|
| 3933 |
+
"type": "ComfyMathExpression",
|
| 3934 |
+
"pos": [
|
| 3935 |
+
1610,
|
| 3936 |
+
4470
|
| 3937 |
+
],
|
| 3938 |
+
"size": [
|
| 3939 |
+
260,
|
| 3940 |
+
120
|
| 3941 |
+
],
|
| 3942 |
+
"flags": {},
|
| 3943 |
+
"order": 0,
|
| 3944 |
+
"mode": 0,
|
| 3945 |
+
"inputs": [
|
| 3946 |
+
{
|
| 3947 |
+
"label": "a",
|
| 3948 |
+
"localized_name": "values.a",
|
| 3949 |
+
"name": "values.a",
|
| 3950 |
+
"type": "FLOAT,INT,BOOLEAN",
|
| 3951 |
+
"link": 705
|
| 3952 |
+
},
|
| 3953 |
+
{
|
| 3954 |
+
"label": "b",
|
| 3955 |
+
"localized_name": "values.b",
|
| 3956 |
+
"name": "values.b",
|
| 3957 |
+
"type": "FLOAT,INT,BOOLEAN",
|
| 3958 |
+
"link": 706
|
| 3959 |
+
},
|
| 3960 |
+
{
|
| 3961 |
+
"label": "c",
|
| 3962 |
+
"localized_name": "values.c",
|
| 3963 |
+
"name": "values.c",
|
| 3964 |
+
"type": "FLOAT,INT,BOOLEAN",
|
| 3965 |
+
"link": 707
|
| 3966 |
+
},
|
| 3967 |
+
{
|
| 3968 |
+
"label": "d",
|
| 3969 |
+
"localized_name": "values.d",
|
| 3970 |
+
"name": "values.d",
|
| 3971 |
+
"type": "FLOAT,INT,BOOLEAN",
|
| 3972 |
+
"link": 708
|
| 3973 |
+
}
|
| 3974 |
+
],
|
| 3975 |
+
"outputs": [
|
| 3976 |
+
{
|
| 3977 |
+
"localized_name": "FLOAT",
|
| 3978 |
+
"name": "FLOAT",
|
| 3979 |
+
"type": "FLOAT",
|
| 3980 |
+
"links": null
|
| 3981 |
+
},
|
| 3982 |
+
{
|
| 3983 |
+
"localized_name": "INT",
|
| 3984 |
+
"name": "INT",
|
| 3985 |
+
"type": "INT",
|
| 3986 |
+
"links": [
|
| 3987 |
+
559,
|
| 3988 |
+
562
|
| 3989 |
+
]
|
| 3990 |
+
},
|
| 3991 |
+
{
|
| 3992 |
+
"localized_name": "BOOL",
|
| 3993 |
+
"name": "BOOL",
|
| 3994 |
+
"type": "BOOLEAN",
|
| 3995 |
+
"links": null
|
| 3996 |
+
}
|
| 3997 |
+
],
|
| 3998 |
+
"properties": {
|
| 3999 |
+
"cnr_id": "comfy-core",
|
| 4000 |
+
"ver": "0.3.0",
|
| 4001 |
+
"Node name for S&R": "ComfyMathExpression"
|
| 4002 |
+
},
|
| 4003 |
+
"widgets_values": [
|
| 4004 |
+
"min(max(64*round(sqrt(c*d*b/a)/64), 384), 1792)"
|
| 4005 |
+
]
|
| 4006 |
}
|
| 4007 |
],
|
| 4008 |
"groups": [
|
|
|
|
| 4338 |
},
|
| 4339 |
{
|
| 4340 |
"id": 558,
|
| 4341 |
+
"origin_id": 331,
|
| 4342 |
+
"origin_slot": 1,
|
| 4343 |
"target_id": 290,
|
| 4344 |
"target_slot": 1,
|
| 4345 |
"type": "INT"
|
| 4346 |
},
|
| 4347 |
{
|
| 4348 |
"id": 559,
|
| 4349 |
+
"origin_id": 332,
|
| 4350 |
+
"origin_slot": 1,
|
| 4351 |
"target_id": 290,
|
| 4352 |
"target_slot": 2,
|
| 4353 |
"type": "INT"
|
| 4354 |
},
|
| 4355 |
{
|
| 4356 |
"id": 560,
|
| 4357 |
+
"origin_id": 331,
|
| 4358 |
+
"origin_slot": 1,
|
| 4359 |
"target_id": 292,
|
| 4360 |
"target_slot": 0,
|
| 4361 |
"type": "INT"
|
|
|
|
| 4370 |
},
|
| 4371 |
{
|
| 4372 |
"id": 562,
|
| 4373 |
+
"origin_id": 332,
|
| 4374 |
+
"origin_slot": 1,
|
| 4375 |
"target_id": 294,
|
| 4376 |
"target_slot": 0,
|
| 4377 |
"type": "INT"
|
|
|
|
| 4847 |
"target_id": 277,
|
| 4848 |
"target_slot": 0,
|
| 4849 |
"type": "INT"
|
| 4850 |
+
},
|
| 4851 |
+
{
|
| 4852 |
+
"id": 700,
|
| 4853 |
+
"origin_id": -10,
|
| 4854 |
+
"origin_slot": 0,
|
| 4855 |
+
"target_id": 330,
|
| 4856 |
+
"target_slot": 0,
|
| 4857 |
+
"type": "IMAGE,MASK"
|
| 4858 |
+
},
|
| 4859 |
+
{
|
| 4860 |
+
"id": 701,
|
| 4861 |
+
"origin_id": 330,
|
| 4862 |
+
"origin_slot": 0,
|
| 4863 |
+
"target_id": 331,
|
| 4864 |
+
"target_slot": 0,
|
| 4865 |
+
"type": "INT"
|
| 4866 |
+
},
|
| 4867 |
+
{
|
| 4868 |
+
"id": 702,
|
| 4869 |
+
"origin_id": 330,
|
| 4870 |
+
"origin_slot": 1,
|
| 4871 |
+
"target_id": 331,
|
| 4872 |
+
"target_slot": 1,
|
| 4873 |
+
"type": "INT"
|
| 4874 |
+
},
|
| 4875 |
+
{
|
| 4876 |
+
"id": 703,
|
| 4877 |
+
"origin_id": 312,
|
| 4878 |
+
"origin_slot": 0,
|
| 4879 |
+
"target_id": 331,
|
| 4880 |
+
"target_slot": 2,
|
| 4881 |
+
"type": "INT"
|
| 4882 |
+
},
|
| 4883 |
+
{
|
| 4884 |
+
"id": 704,
|
| 4885 |
+
"origin_id": 299,
|
| 4886 |
+
"origin_slot": 0,
|
| 4887 |
+
"target_id": 331,
|
| 4888 |
+
"target_slot": 3,
|
| 4889 |
+
"type": "INT"
|
| 4890 |
+
},
|
| 4891 |
+
{
|
| 4892 |
+
"id": 705,
|
| 4893 |
+
"origin_id": 330,
|
| 4894 |
+
"origin_slot": 0,
|
| 4895 |
+
"target_id": 332,
|
| 4896 |
+
"target_slot": 0,
|
| 4897 |
+
"type": "INT"
|
| 4898 |
+
},
|
| 4899 |
+
{
|
| 4900 |
+
"id": 706,
|
| 4901 |
+
"origin_id": 330,
|
| 4902 |
+
"origin_slot": 1,
|
| 4903 |
+
"target_id": 332,
|
| 4904 |
+
"target_slot": 1,
|
| 4905 |
+
"type": "INT"
|
| 4906 |
+
},
|
| 4907 |
+
{
|
| 4908 |
+
"id": 707,
|
| 4909 |
+
"origin_id": 312,
|
| 4910 |
+
"origin_slot": 0,
|
| 4911 |
+
"target_id": 332,
|
| 4912 |
+
"target_slot": 2,
|
| 4913 |
+
"type": "INT"
|
| 4914 |
+
},
|
| 4915 |
+
{
|
| 4916 |
+
"id": 708,
|
| 4917 |
+
"origin_id": 299,
|
| 4918 |
+
"origin_slot": 0,
|
| 4919 |
+
"target_id": 332,
|
| 4920 |
+
"target_slot": 3,
|
| 4921 |
+
"type": "INT"
|
| 4922 |
}
|
| 4923 |
],
|
| 4924 |
"extra": {
|