G
GetLLMs

Stable Diffusion Dance

Unleash creativity with Stable Diffusion Dance. Generate dynamic video sequences and striking dance animations synchronized perfectly to your audio.

Platform: Replicate
Audio Reactive GenerationStable DiffusionDynamic Video SynthesisDance Animation
7 runs
8x A100 (80GB)
License Check Required

🚀Function Overview

Generates dynamic video sequences or image frames that react to audio input, creating rhythmic visualizations synchronized to sound using Stable Diffusion.

Key Features

  • Real-time audio synchronization for visual outputs
  • Customizable stylistic prompts and scaling
  • Adjustable audio parameters (smoothing, noise, loudness)
  • Frame interpolation for smooth animations
  • Batch generation for efficient processing

Use Cases

  • Creating music visualization videos
  • Generating dance animations synced to beats
  • Producing dynamic AI art installations
  • Developing rhythm-based game content

⚙️Input Parameters

prompts

string

style_suffix

string

Style suffix to add to the prompt. This can be used to add the same style to each prompt.

audio_file

string

input audio file

prompt_scale

number

Determines influence of your prompt on generation.

random_seed

integer

Each seed generates a different image

diffusion_steps

integer

Number of diffusion steps. Higher steps could produce better results but will take longer to generate. Maximum 30 (using K-Euler-Diffusion).

audio_smoothing

number

Audio smoothing factor.

audio_noise_scale

number

Larger values mean audio will lead to bigger changes in the image.

audio_loudness_type

string

Type of loudness to use for audio. Options are 'rms' or 'peak'.

frame_rate

number

Frames per second for the generated video.

width

integer

Width of the generated image. The model was really only trained on 512x512 images. Other sizes tend to create less coherent images.

height

integer

Height of the generated image. The model was really only trained on 512x512 images. Other sizes tend to create less coherent images.

batch_size

integer

Number of images to generate at once. Higher batch sizes will generate images faster but will use more GPU memory i.e. not work depending on resolution.

frame_interpolation

boolean

Whether to interpolate between frames using FFMPEG or not.

💡Usage Examples

Example 1

Input Parameters

{
  "width": 384,
  "height": 512,
  "prompts": "Star and light, space and stardust",
  "audio_file": "https://replicate.delivery/pbxt/N1XZkpff9cLQB76lssrieB6Vx8XzLV9cwSAuLKatXx141k4d/Capo-In-The-Fields.wav",
  "batch_size": 24,
  "frame_rate": 16,
  "random_seed": 13,
  "prompt_scale": 15,
  "style_suffix": "by android jones, psychedelic, alien geometry, digital art, neon",
  "audio_smoothing": 0.8,
  "diffusion_steps": 20,
  "audio_noise_scale": 0.4,
  "audio_loudness_type": "peak",
  "frame_interpolation": true
}

Output Results

https://replicate.delivery/yhqm/eZ7m5Bnk5rSCJSIZvSybjKcfgm428INeFqBmUSWX8BlfVG2SB/00023.png
https://replicate.delivery/yhqm/0TF6Re6u3XX3BinnRHONsgD6kM9nfIofpjvd0xclKIOWLDbpA/00047.png
https://replicate.delivery/yhqm/A6e5xfrff7x2lRuXtdXTgStY8XMPPm9z8Ak51oIstl0dXG2SB/00071.png
https://replicate.delivery/yhqm/Pi0u35elTb0ncCu4NuDTeqBztCsaDeeNKetMDsy8bHoawMslC/00095.png
https://replicate.delivery/yhqm/eDYuWjVupK0xGix7Z78nZtRJ9MFXPmssz796HnfVXTNPmhtUA/00119.png
https://replicate.delivery/yhqm/41zm8THmyyaxPtdeHkxBQ6uedMZwG7tep7TuydJ9mhv0MDbpA/00143.png
https://replicate.delivery/yhqm/oopU2wzlDnpiJtLzFfKeW28unpu20a1bo4WtSZO2aKMmmhtUA/00167.png
https://replicate.delivery/yhqm/5Is6JDf2kDXwPiT1KC2DexShJL0pBvmQuD5DjhEzREekNDbpA/00191.png
https://replicate.delivery/yhqm/dHvBVAOgoG4tLNHyJsXDBzlImwv8mMzrJHYfNlSxesoeNDbpA/00215.png
https://replicate.delivery/yhqm/KMGwqefxOSlkyEdkESGQJYg0sQCFaHdexFuI10dPJ6eqcG2SB/00239.png
https://replicate.delivery/yhqm/a4WrPbU8x8qaF5AOauVWvELtl1v6eqOGbk8mRNVUlyZrzwWKA/00263.png
https://replicate.delivery/yhqm/f73of80os6twHErfWAEqhIXD57L3iyw7ZnRVl6eshzaGeMslC/00287.png
https://replicate.delivery/yhqm/7er9jUoGxdUbDaLoTmxJA0uFo9juCLfYa2t9y84xkTPtnhtUA/00311.png
https://replicate.delivery/yhqm/2PP3KpiMQQaXIRZ9me0vxkVlRRBKVltZAmiD0lbE0ru8zwWKA/00335.png
https://replicate.delivery/yhqm/SYtOO2eNpuQeHEz2ve4GBcHBOZ0XNRzeTgaqUUpvQNRWgG2SB/00359.png
https://replicate.delivery/yhqm/LyxfTm3CnOTcZywkhElMWPmw7SU1L24RLfRNeYA0YutjQDbpA/00383.png
https://replicate.delivery/yhqm/dSGlZQfn2RS4Ji1WLULLfIEHdx1uzzMy9bFr3FRXgNXdohtUA/00407.png
https://replicate.delivery/yhqm/ypEzI0AfdgSeepN7IUyftCuv4e71u7rsjvdTgZnItjIGFNslC/00431.png
https://replicate.delivery/yhqm/O4snpeMpC6WzNCA8apceVq9i6OzdOJwfOH0MawU9u33oRDbpA/00455.png
https://replicate.delivery/yhqm/ouDqs2e9PyWCZCpUcu5sofKsK0aftlJsIuQV3QEID5FASDbpA/00479.png
https://replicate.delivery/yhqm/ao6CCiMhSjbxERCqOoWrya0emmT54o9FwnDothEx8kQh0wWKA/00483.png
https://replicate.delivery/yhqm/ZLXmejRIldWkLqDUx7h5Tw6O8JvoCcc0qNijZTDxtcsk0wWKA/z_interpollation.mp4
https://replicate.delivery/yhqm/QuUDJ2Bzru44IJ4ZdEb4CXo53roUKgJbv4GpFv8a4XDTaYLF/z_interpollation_60fps.mp4