Instructions to use harishforaiandml/Sulphur-2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use harishforaiandml/Sulphur-2-base with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("harishforaiandml/Sulphur-2-base", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download workflows/ltx23_i2v distilled.json from harishforaiandml/Sulphur-2-base: direct link, hf CLI and curl.
- Browser
- Download file 12.3 kB
-
https://huggingface.co/harishforaiandml/Sulphur-2-base/resolve/main/workflows/ltx23_i2v%20distilled.json
- Command line
-
hf download 'hf://harishforaiandml/Sulphur-2-base/workflows/ltx23_i2v distilled.json'
-
curl -L -o 'ltx23_i2v distilled.json' https://huggingface.co/harishforaiandml/Sulphur-2-base/resolve/main/workflows/ltx23_i2v%20distilled.json
12.3 kB
| { | |
| "1": { | |
| "inputs": { | |
| "noise_seed": 42 | |
| }, | |
| "class_type": "RandomNoise", | |
| "_meta": { | |
| "title": "RandomNoise" | |
| } | |
| }, | |
| "2": { | |
| "inputs": { | |
| "noise_seed": 400910638816144 | |
| }, | |
| "class_type": "RandomNoise", | |
| "_meta": { | |
| "title": "RandomNoise" | |
| } | |
| }, | |
| "3": { | |
| "inputs": { | |
| "video_latent": [ | |
| "14", | |
| 0 | |
| ], | |
| "audio_latent": [ | |
| "35", | |
| 1 | |
| ] | |
| }, | |
| "class_type": "LTXVConcatAVLatent", | |
| "_meta": { | |
| "title": "LTXVConcatAVLatent" | |
| } | |
| }, | |
| "4": { | |
| "inputs": { | |
| "ckpt_name": "ltx-2.3-22b-dev-fp8.safetensors" | |
| }, | |
| "class_type": "LTXVAudioVAELoader", | |
| "_meta": { | |
| "title": "LTXV Audio VAE Loader" | |
| } | |
| }, | |
| "5": { | |
| "inputs": { | |
| "text_encoder": "gemma_3_12B_it_fp4_mixed.safetensors", | |
| "ckpt_name": "ltx-2.3-22b-dev-fp8.safetensors", | |
| "device": "default" | |
| }, | |
| "class_type": "LTXAVTextEncoderLoader", | |
| "_meta": { | |
| "title": "LTXV Audio Text Encoder Loader" | |
| } | |
| }, | |
| "6": { | |
| "inputs": { | |
| "sampler_name": "euler_ancestral_cfg_pp" | |
| }, | |
| "class_type": "KSamplerSelect", | |
| "_meta": { | |
| "title": "KSamplerSelect" | |
| } | |
| }, | |
| "7": { | |
| "inputs": { | |
| "sigmas": "0.85, 0.7250, 0.4219, 0.0" | |
| }, | |
| "class_type": "ManualSigmas", | |
| "_meta": { | |
| "title": "ManualSigmas" | |
| } | |
| }, | |
| "8": { | |
| "inputs": { | |
| "cfg": 1, | |
| "model": [ | |
| "49", | |
| 0 | |
| ], | |
| "positive": [ | |
| "10", | |
| 0 | |
| ], | |
| "negative": [ | |
| "10", | |
| 1 | |
| ] | |
| }, | |
| "class_type": "CFGGuider", | |
| "_meta": { | |
| "title": "CFGGuider" | |
| } | |
| }, | |
| "9": { | |
| "inputs": { | |
| "noise": [ | |
| "2", | |
| 0 | |
| ], | |
| "guider": [ | |
| "42", | |
| 0 | |
| ], | |
| "sampler": [ | |
| "17", | |
| 0 | |
| ], | |
| "sigmas": [ | |
| "47", | |
| 0 | |
| ], | |
| "latent_image": [ | |
| "32", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "SamplerCustomAdvanced", | |
| "_meta": { | |
| "title": "SamplerCustomAdvanced" | |
| } | |
| }, | |
| "10": { | |
| "inputs": { | |
| "positive": [ | |
| "31", | |
| 0 | |
| ], | |
| "negative": [ | |
| "31", | |
| 1 | |
| ], | |
| "latent": [ | |
| "35", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVCropGuides", | |
| "_meta": { | |
| "title": "LTXVCropGuides" | |
| } | |
| }, | |
| "13": { | |
| "inputs": { | |
| "samples": [ | |
| "35", | |
| 0 | |
| ], | |
| "upscale_model": [ | |
| "39", | |
| 0 | |
| ], | |
| "vae": [ | |
| "44", | |
| 2 | |
| ] | |
| }, | |
| "class_type": "LTXVLatentUpsampler", | |
| "_meta": { | |
| "title": "LTXVLatentUpsampler" | |
| } | |
| }, | |
| "14": { | |
| "inputs": { | |
| "strength": 1, | |
| "bypass": false, | |
| "vae": [ | |
| "44", | |
| 2 | |
| ], | |
| "image": [ | |
| "15", | |
| 0 | |
| ], | |
| "latent": [ | |
| "13", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVImgToVideoInplace", | |
| "_meta": { | |
| "title": "LTXVImgToVideoInplace" | |
| } | |
| }, | |
| "15": { | |
| "inputs": { | |
| "img_compression": 38, | |
| "image": [ | |
| "68", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVPreprocess", | |
| "_meta": { | |
| "title": "LTXVPreprocess" | |
| } | |
| }, | |
| "17": { | |
| "inputs": { | |
| "sampler_name": "euler_ancestral_cfg_pp" | |
| }, | |
| "class_type": "KSamplerSelect", | |
| "_meta": { | |
| "title": "KSamplerSelect" | |
| } | |
| }, | |
| "18": { | |
| "inputs": { | |
| "expression": "a/2", | |
| "values.a": [ | |
| "40", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "ComfyMathExpression", | |
| "_meta": { | |
| "title": "Math Expression" | |
| } | |
| }, | |
| "20": { | |
| "inputs": { | |
| "expression": "a/2", | |
| "values.a": [ | |
| "25", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "ComfyMathExpression", | |
| "_meta": { | |
| "title": "Math Expression" | |
| } | |
| }, | |
| "21": { | |
| "inputs": { | |
| "width": [ | |
| "18", | |
| 1 | |
| ], | |
| "height": [ | |
| "20", | |
| 1 | |
| ], | |
| "length": [ | |
| "27", | |
| 0 | |
| ], | |
| "batch_size": 1 | |
| }, | |
| "class_type": "EmptyLTXVLatentVideo", | |
| "_meta": { | |
| "title": "EmptyLTXVLatentVideo" | |
| } | |
| }, | |
| "22": { | |
| "inputs": { | |
| "strength": 0.8, | |
| "bypass": false, | |
| "vae": [ | |
| "44", | |
| 2 | |
| ], | |
| "image": [ | |
| "70", | |
| 0 | |
| ], | |
| "latent": [ | |
| "21", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVImgToVideoInplace", | |
| "_meta": { | |
| "title": "LTXVImgToVideoInplace" | |
| } | |
| }, | |
| "23": { | |
| "inputs": { | |
| "samples": [ | |
| "37", | |
| 1 | |
| ], | |
| "audio_vae": [ | |
| "4", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVAudioVAEDecode", | |
| "_meta": { | |
| "title": "LTXV Audio VAE Decode" | |
| } | |
| }, | |
| "24": { | |
| "inputs": { | |
| "expression": "a", | |
| "values.a": [ | |
| "26", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "ComfyMathExpression", | |
| "_meta": { | |
| "title": "Math Expression" | |
| } | |
| }, | |
| "25": { | |
| "inputs": { | |
| "value": [ | |
| "69", | |
| 1 | |
| ] | |
| }, | |
| "class_type": "PrimitiveInt", | |
| "_meta": { | |
| "title": "Height" | |
| } | |
| }, | |
| "26": { | |
| "inputs": { | |
| "value": 24 | |
| }, | |
| "class_type": "PrimitiveInt", | |
| "_meta": { | |
| "title": "Frame Rate" | |
| } | |
| }, | |
| "27": { | |
| "inputs": { | |
| "value": 241 | |
| }, | |
| "class_type": "PrimitiveInt", | |
| "_meta": { | |
| "title": "Length" | |
| } | |
| }, | |
| "29": { | |
| "inputs": { | |
| "value": "PROMPT GOES HERE, YOU CAN USE THE PROMPT ENHANCER EXTERNALLY\n\nThe prompt enhancer works with images through the mmporj, please use it" | |
| }, | |
| "class_type": "PrimitiveStringMultiline", | |
| "_meta": { | |
| "title": "Prompt" | |
| } | |
| }, | |
| "30": { | |
| "inputs": { | |
| "text": [ | |
| "29", | |
| 0 | |
| ], | |
| "clip": [ | |
| "5", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "CLIPTextEncode", | |
| "_meta": { | |
| "title": "CLIP Text Encode (Prompt)" | |
| } | |
| }, | |
| "31": { | |
| "inputs": { | |
| "frame_rate": 24, | |
| "positive": [ | |
| "30", | |
| 0 | |
| ], | |
| "negative": [ | |
| "41", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVConditioning", | |
| "_meta": { | |
| "title": "LTXVConditioning" | |
| } | |
| }, | |
| "32": { | |
| "inputs": { | |
| "video_latent": [ | |
| "22", | |
| 0 | |
| ], | |
| "audio_latent": [ | |
| "33", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVConcatAVLatent", | |
| "_meta": { | |
| "title": "LTXVConcatAVLatent" | |
| } | |
| }, | |
| "33": { | |
| "inputs": { | |
| "frames_number": [ | |
| "27", | |
| 0 | |
| ], | |
| "frame_rate": [ | |
| "24", | |
| 1 | |
| ], | |
| "batch_size": 1, | |
| "audio_vae": [ | |
| "4", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVEmptyLatentAudio", | |
| "_meta": { | |
| "title": "LTXV Empty Latent Audio" | |
| } | |
| }, | |
| "35": { | |
| "inputs": { | |
| "av_latent": [ | |
| "9", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVSeparateAVLatent", | |
| "_meta": { | |
| "title": "LTXVSeparateAVLatent" | |
| } | |
| }, | |
| "36": { | |
| "inputs": { | |
| "noise": [ | |
| "1", | |
| 0 | |
| ], | |
| "guider": [ | |
| "8", | |
| 0 | |
| ], | |
| "sampler": [ | |
| "6", | |
| 0 | |
| ], | |
| "sigmas": [ | |
| "7", | |
| 0 | |
| ], | |
| "latent_image": [ | |
| "3", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "SamplerCustomAdvanced", | |
| "_meta": { | |
| "title": "SamplerCustomAdvanced" | |
| } | |
| }, | |
| "37": { | |
| "inputs": { | |
| "av_latent": [ | |
| "36", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVSeparateAVLatent", | |
| "_meta": { | |
| "title": "LTXVSeparateAVLatent" | |
| } | |
| }, | |
| "38": { | |
| "inputs": { | |
| "fps": [ | |
| "24", | |
| 0 | |
| ], | |
| "images": [ | |
| "73", | |
| 0 | |
| ], | |
| "audio": [ | |
| "23", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "CreateVideo", | |
| "_meta": { | |
| "title": "Create Video" | |
| } | |
| }, | |
| "39": { | |
| "inputs": { | |
| "model_name": "ltx-2.3-spatial-upscaler-x2-1.0.safetensors" | |
| }, | |
| "class_type": "LatentUpscaleModelLoader", | |
| "_meta": { | |
| "title": "Load Latent Upscale Model" | |
| } | |
| }, | |
| "40": { | |
| "inputs": { | |
| "value": [ | |
| "69", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "PrimitiveInt", | |
| "_meta": { | |
| "title": "Width" | |
| } | |
| }, | |
| "41": { | |
| "inputs": { | |
| "text": "pc game, console game, video game, cartoon, childish, ugly", | |
| "clip": [ | |
| "5", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "CLIPTextEncode", | |
| "_meta": { | |
| "title": "CLIP Text Encode (Prompt)" | |
| } | |
| }, | |
| "42": { | |
| "inputs": { | |
| "cfg": 1, | |
| "model": [ | |
| "46", | |
| 0 | |
| ], | |
| "positive": [ | |
| "31", | |
| 0 | |
| ], | |
| "negative": [ | |
| "31", | |
| 1 | |
| ] | |
| }, | |
| "class_type": "CFGGuider", | |
| "_meta": { | |
| "title": "CFGGuider" | |
| } | |
| }, | |
| "43": { | |
| "inputs": { | |
| "tile_size": 768, | |
| "overlap": 64, | |
| "temporal_size": 4096, | |
| "temporal_overlap": 4 | |
| }, | |
| "class_type": "VAEDecodeTiled", | |
| "_meta": { | |
| "title": "VAE Decode (Tiled)" | |
| } | |
| }, | |
| "44": { | |
| "inputs": { | |
| "ckpt_name": "ltx-2.3-22b-dev-fp8.safetensors" | |
| }, | |
| "class_type": "CheckpointLoaderSimple", | |
| "_meta": { | |
| "title": "Load Checkpoint" | |
| } | |
| }, | |
| "45": { | |
| "inputs": { | |
| "filename_prefix": "video/LTX_2.3_t2v", | |
| "format": "auto", | |
| "codec": "auto", | |
| "video": [ | |
| "38", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "SaveVideo", | |
| "_meta": { | |
| "title": "Save Video" | |
| } | |
| }, | |
| "46": { | |
| "inputs": { | |
| "lora_name": "sulphur_final.safetensors", | |
| "strength_model": 1, | |
| "model": [ | |
| "59", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LoraLoaderModelOnly", | |
| "_meta": { | |
| "title": "Load LoRA" | |
| } | |
| }, | |
| "47": { | |
| "inputs": { | |
| "steps": 8, | |
| "max_shift": 4, | |
| "base_shift": 1.5, | |
| "stretch": true, | |
| "terminal": 0.1, | |
| "latent": [ | |
| "32", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LTXVScheduler", | |
| "_meta": { | |
| "title": "LTXVScheduler" | |
| } | |
| }, | |
| "49": { | |
| "inputs": { | |
| "lora_name": "ltx-2.3-22b-distilled-lora-1.1_fro90_ceil72_condsafe.safetensors", | |
| "strength_model": 0.5, | |
| "model": [ | |
| "60", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LoraLoaderModelOnly", | |
| "_meta": { | |
| "title": "Load LoRA" | |
| } | |
| }, | |
| "58": { | |
| "inputs": { | |
| "sigmas": "0.85, 0.7933, 0.68, 0.51, 0.2833, 0.0" | |
| }, | |
| "class_type": "ManualSigmas", | |
| "_meta": { | |
| "title": "ManualSigmas" | |
| } | |
| }, | |
| "59": { | |
| "inputs": { | |
| "lora_name": "ltx-2.3-22b-distilled-lora-1.1_fro90_ceil72_condsafe.safetensors", | |
| "strength_model": 0.7, | |
| "model": [ | |
| "74", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LoraLoaderModelOnly", | |
| "_meta": { | |
| "title": "Load LoRA" | |
| } | |
| }, | |
| "60": { | |
| "inputs": { | |
| "lora_name": "sulphur_final.safetensors", | |
| "strength_model": 1, | |
| "model": [ | |
| "74", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "LoraLoaderModelOnly", | |
| "_meta": { | |
| "title": "Load LoRA" | |
| } | |
| }, | |
| "65": { | |
| "inputs": { | |
| "sigmas": "0.8, 0.55, 0.25, 0.0" | |
| }, | |
| "class_type": "ManualSigmas", | |
| "_meta": { | |
| "title": "ManualSigmas" | |
| } | |
| }, | |
| "67": { | |
| "inputs": { | |
| "image": "Sulfur_Dust.webp" | |
| }, | |
| "class_type": "LoadImage", | |
| "_meta": { | |
| "title": "Load Image" | |
| } | |
| }, | |
| "68": { | |
| "inputs": { | |
| "resolution": 1024, | |
| "method": "NEAREST", | |
| "image": [ | |
| "67", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "ResizeImageResolution", | |
| "_meta": { | |
| "title": "Resize Image With Resolution" | |
| } | |
| }, | |
| "69": { | |
| "inputs": { | |
| "image": [ | |
| "68", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "GetImageSize", | |
| "_meta": { | |
| "title": "Get Image Size" | |
| } | |
| }, | |
| "70": { | |
| "inputs": { | |
| "scale_by": 0.5, | |
| "images": [ | |
| "15", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "ImageScaleDownBy", | |
| "_meta": { | |
| "title": "Scale Down By" | |
| } | |
| }, | |
| "73": { | |
| "inputs": { | |
| "samples": [ | |
| "37", | |
| 0 | |
| ], | |
| "vae": [ | |
| "44", | |
| 2 | |
| ] | |
| }, | |
| "class_type": "VAEDecode", | |
| "_meta": { | |
| "title": "VAE Decode" | |
| } | |
| }, | |
| "74": { | |
| "inputs": { | |
| "sage_attention": "auto", | |
| "allow_compile": false, | |
| "model": [ | |
| "44", | |
| 0 | |
| ] | |
| }, | |
| "class_type": "PathchSageAttentionKJ", | |
| "_meta": { | |
| "title": "Patch Sage Attention KJ" | |
| } | |
| } | |
| } |