├── .github └── workflows │ ├── black.yml │ ├── ci.yml │ ├── mypy.yml │ ├── pip.yml │ └── ruff.yml ├── .gitignore ├── CITATION ├── LICENSE ├── README.md ├── VERSION ├── cog.yaml ├── integrations ├── README.md ├── __init__.py ├── baseten.py └── cog_riffusion.py ├── pyproject.toml ├── requirements.txt ├── requirements_all.txt ├── requirements_dev.txt ├── riffusion ├── __init__.py ├── audio_splitter.py ├── cli.py ├── datatypes.py ├── external │ ├── README.md │ ├── __init__.py │ └── prompt_weighting.py ├── py.typed ├── riffusion_pipeline.py ├── server.py ├── spectrogram_converter.py ├── spectrogram_image_converter.py ├── spectrogram_params.py ├── streamlit │ ├── README.md │ ├── __init__.py │ ├── playground.py │ ├── tasks │ │ ├── __init__.py │ │ ├── audio_to_audio.py │ │ ├── home.py │ │ ├── image_to_audio.py │ │ ├── interpolation.py │ │ ├── sample_clips.py │ │ ├── split_audio.py │ │ ├── text_to_audio.py │ │ └── text_to_audio_batch.py │ └── util.py └── util │ ├── __init__.py │ ├── audio_util.py │ ├── base64_util.py │ ├── fft_util.py │ ├── image_util.py │ └── torch_util.py ├── seed_images ├── agile.png ├── marim.png ├── mask_beat_lines_80.png ├── mask_gradient_dark.png ├── mask_gradient_top_70.png ├── mask_gradient_top_fifth_75.png ├── mask_top_third_75.png ├── mask_top_third_95.png ├── motorway.png ├── og_beat.png └── vibes.png ├── setup.py └── test ├── __init__.py ├── audio_to_image_test.py ├── image_to_audio_test.py ├── image_util_test.py ├── print_exif_test.py ├── sample_clips_test.py ├── spectrogram_converter_test.py ├── spectrogram_image_converter_test.py ├── test_case.py └── test_data ├── README.md └── tired_traveler ├── clips ├── clip_0_start_15795_ms_duration_5678_ms.wav ├── clip_1_start_860_ms_duration_5678_ms.wav └── clip_2_start_103694_ms_duration_5678_ms.wav ├── images ├── clip_2_start_103694_ms_duration_5678_ms.png └── clip_2_start_103694_ms_duration_5678_ms_stereo.png └── tired_traveler.mp3 /.github/workflows/black.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/.github/workflows/black.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/mypy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/.github/workflows/mypy.yml -------------------------------------------------------------------------------- /.github/workflows/pip.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/.github/workflows/pip.yml -------------------------------------------------------------------------------- /.github/workflows/ruff.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/.github/workflows/ruff.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/.gitignore -------------------------------------------------------------------------------- /CITATION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/CITATION -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.3.1 2 | -------------------------------------------------------------------------------- /cog.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/cog.yaml -------------------------------------------------------------------------------- /integrations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/integrations/README.md -------------------------------------------------------------------------------- /integrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /integrations/baseten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/integrations/baseten.py -------------------------------------------------------------------------------- /integrations/cog_riffusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/integrations/cog_riffusion.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/requirements.txt -------------------------------------------------------------------------------- /requirements_all.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/requirements_all.txt -------------------------------------------------------------------------------- /requirements_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/requirements_dev.txt -------------------------------------------------------------------------------- /riffusion/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /riffusion/audio_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/audio_splitter.py -------------------------------------------------------------------------------- /riffusion/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/cli.py -------------------------------------------------------------------------------- /riffusion/datatypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/datatypes.py -------------------------------------------------------------------------------- /riffusion/external/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/external/README.md -------------------------------------------------------------------------------- /riffusion/external/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /riffusion/external/prompt_weighting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/external/prompt_weighting.py -------------------------------------------------------------------------------- /riffusion/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/py.typed -------------------------------------------------------------------------------- /riffusion/riffusion_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/riffusion_pipeline.py -------------------------------------------------------------------------------- /riffusion/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/server.py -------------------------------------------------------------------------------- /riffusion/spectrogram_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/spectrogram_converter.py -------------------------------------------------------------------------------- /riffusion/spectrogram_image_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/spectrogram_image_converter.py -------------------------------------------------------------------------------- /riffusion/spectrogram_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/spectrogram_params.py -------------------------------------------------------------------------------- /riffusion/streamlit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/README.md -------------------------------------------------------------------------------- /riffusion/streamlit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /riffusion/streamlit/playground.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/playground.py -------------------------------------------------------------------------------- /riffusion/streamlit/tasks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /riffusion/streamlit/tasks/audio_to_audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/tasks/audio_to_audio.py -------------------------------------------------------------------------------- /riffusion/streamlit/tasks/home.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/tasks/home.py -------------------------------------------------------------------------------- /riffusion/streamlit/tasks/image_to_audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/tasks/image_to_audio.py -------------------------------------------------------------------------------- /riffusion/streamlit/tasks/interpolation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/tasks/interpolation.py -------------------------------------------------------------------------------- /riffusion/streamlit/tasks/sample_clips.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/tasks/sample_clips.py -------------------------------------------------------------------------------- /riffusion/streamlit/tasks/split_audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/tasks/split_audio.py -------------------------------------------------------------------------------- /riffusion/streamlit/tasks/text_to_audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/tasks/text_to_audio.py -------------------------------------------------------------------------------- /riffusion/streamlit/tasks/text_to_audio_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/tasks/text_to_audio_batch.py -------------------------------------------------------------------------------- /riffusion/streamlit/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/streamlit/util.py -------------------------------------------------------------------------------- /riffusion/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /riffusion/util/audio_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/util/audio_util.py -------------------------------------------------------------------------------- /riffusion/util/base64_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/util/base64_util.py -------------------------------------------------------------------------------- /riffusion/util/fft_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/util/fft_util.py -------------------------------------------------------------------------------- /riffusion/util/image_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/util/image_util.py -------------------------------------------------------------------------------- /riffusion/util/torch_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/riffusion/util/torch_util.py -------------------------------------------------------------------------------- /seed_images/agile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/agile.png -------------------------------------------------------------------------------- /seed_images/marim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/marim.png -------------------------------------------------------------------------------- /seed_images/mask_beat_lines_80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/mask_beat_lines_80.png -------------------------------------------------------------------------------- /seed_images/mask_gradient_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/mask_gradient_dark.png -------------------------------------------------------------------------------- /seed_images/mask_gradient_top_70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/mask_gradient_top_70.png -------------------------------------------------------------------------------- /seed_images/mask_gradient_top_fifth_75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/mask_gradient_top_fifth_75.png -------------------------------------------------------------------------------- /seed_images/mask_top_third_75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/mask_top_third_75.png -------------------------------------------------------------------------------- /seed_images/mask_top_third_95.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/mask_top_third_95.png -------------------------------------------------------------------------------- /seed_images/motorway.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/motorway.png -------------------------------------------------------------------------------- /seed_images/og_beat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/og_beat.png -------------------------------------------------------------------------------- /seed_images/vibes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/seed_images/vibes.png -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/setup.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/audio_to_image_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/audio_to_image_test.py -------------------------------------------------------------------------------- /test/image_to_audio_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/image_to_audio_test.py -------------------------------------------------------------------------------- /test/image_util_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/image_util_test.py -------------------------------------------------------------------------------- /test/print_exif_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/print_exif_test.py -------------------------------------------------------------------------------- /test/sample_clips_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/sample_clips_test.py -------------------------------------------------------------------------------- /test/spectrogram_converter_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/spectrogram_converter_test.py -------------------------------------------------------------------------------- /test/spectrogram_image_converter_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/spectrogram_image_converter_test.py -------------------------------------------------------------------------------- /test/test_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/test_case.py -------------------------------------------------------------------------------- /test/test_data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/test_data/README.md -------------------------------------------------------------------------------- /test/test_data/tired_traveler/clips/clip_0_start_15795_ms_duration_5678_ms.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/test_data/tired_traveler/clips/clip_0_start_15795_ms_duration_5678_ms.wav -------------------------------------------------------------------------------- /test/test_data/tired_traveler/clips/clip_1_start_860_ms_duration_5678_ms.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/test_data/tired_traveler/clips/clip_1_start_860_ms_duration_5678_ms.wav -------------------------------------------------------------------------------- /test/test_data/tired_traveler/clips/clip_2_start_103694_ms_duration_5678_ms.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/test_data/tired_traveler/clips/clip_2_start_103694_ms_duration_5678_ms.wav -------------------------------------------------------------------------------- /test/test_data/tired_traveler/images/clip_2_start_103694_ms_duration_5678_ms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/test_data/tired_traveler/images/clip_2_start_103694_ms_duration_5678_ms.png -------------------------------------------------------------------------------- /test/test_data/tired_traveler/images/clip_2_start_103694_ms_duration_5678_ms_stereo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/test_data/tired_traveler/images/clip_2_start_103694_ms_duration_5678_ms_stereo.png -------------------------------------------------------------------------------- /test/test_data/tired_traveler/tired_traveler.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riffusion/riffusion-hobby/HEAD/test/test_data/tired_traveler/tired_traveler.mp3 --------------------------------------------------------------------------------