| 35 | name="LTXVBaseSampler", |
| 36 | ) |
| 37 | class LTXVBaseSampler: |
| 38 | |
| 39 | @classmethod |
| 40 | def INPUT_TYPES(s): |
| 41 | return { |
| 42 | "required": { |
| 43 | "model": ("MODEL", {"tooltip": "The diffusion model to use."}), |
| 44 | "vae": ("VAE", {"tooltip": "The VAE to use."}), |
| 45 | "width": ( |
| 46 | "INT", |
| 47 | { |
| 48 | "default": 768, |
| 49 | "min": 64, |
| 50 | "max": nodes.MAX_RESOLUTION, |
| 51 | "step": 32, |
| 52 | }, |
| 53 | ), |
| 54 | "height": ( |
| 55 | "INT", |
| 56 | { |
| 57 | "default": 512, |
| 58 | "min": 64, |
| 59 | "max": nodes.MAX_RESOLUTION, |
| 60 | "step": 32, |
| 61 | }, |
| 62 | ), |
| 63 | "num_frames": ( |
| 64 | "INT", |
| 65 | {"default": 97, "min": 1, "max": nodes.MAX_RESOLUTION, "step": 8}, |
| 66 | ), |
| 67 | "guider": ( |
| 68 | "GUIDER", |
| 69 | {"tooltip": "The guider to use, must be a STGGuiderAdvanced."}, |
| 70 | ), |
| 71 | "sampler": ("SAMPLER", {"tooltip": "The sampler to use."}), |
| 72 | "sigmas": ("SIGMAS", {"tooltip": "The sigmas to use."}), |
| 73 | "noise": ("NOISE", {"tooltip": "The noise to use for the sampling."}), |
| 74 | }, |
| 75 | "optional": { |
| 76 | "optional_cond_images": ( |
| 77 | "IMAGE", |
| 78 | {"tooltip": "The images to use for conditioning the sampling."}, |
| 79 | ), |
| 80 | "optional_cond_indices": ( |
| 81 | "STRING", |
| 82 | { |
| 83 | "tooltip": "The indices of the images to use for conditioning the sampling." |
| 84 | }, |
| 85 | ), |
| 86 | "strength": ( |
| 87 | "FLOAT", |
| 88 | { |
| 89 | "default": 0.9, |
| 90 | "min": 0, |
| 91 | "max": 1, |
| 92 | "tooltip": "The strength of the conditioning on the images.", |
| 93 | }, |
| 94 | ), |
no outgoing calls
no test coverage detected