Audio-to-Audio
Diffusers
Safetensors
SpanSynthEditPipeline
audio
music
midi
midi-to-audio
flow-matching
Instructions to use mimbres/spansynth-edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mimbres/spansynth-edit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mimbres/spansynth-edit", 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 codec/spansynth.diffusers_models.py from mimbres/spansynth-edit: direct link, hf CLI and curl.
- Browser
- Download file 55 Bytes
-
https://huggingface.co/mimbres/spansynth-edit/resolve/main/codec/spansynth.diffusers_models.py
- Command line
-
hf download hf://mimbres/spansynth-edit/codec/spansynth.diffusers_models.py
-
curl -L -o spansynth.diffusers_models.py https://huggingface.co/mimbres/spansynth-edit/resolve/main/codec/spansynth.diffusers_models.py
55 Bytes
| from spansynth.diffusers_models import HeartCodecModel | |