Stable audio 2 5 text to audio

From awesome-genmedia/skills · View interactive version

Stable audio 2 5 text to audio is an AI agent skill from the GitHub repository awesome-genmedia/skills. Generate audio from text descriptions using Stable Audio 2.5. Trigger: Use when the user wants to create audio from a text prompt, or requests 'text to audio', 'generate sound', 'stable audio', or 'create audio from description'.

How to use this skill

Skill file

Stable Audio 2.5 | Text to Audio

Generate audio clips from text descriptions. Create music, sound effects, ambient soundscapes, and more with controllable duration and quality.

Quick Start

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "stable-audio-2-5-text-to-audio",
    "version": "0.0.1",
    "input": {
      "prompt": "A cinematic orchestral score with rising strings and dramatic timpani",
      "seconds_total": 30,
      "guidance_scale": 1,
      "num_inference_steps": 8
    }
  }'

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| guidance_scale | integer | 1 | How strictly the diffusion process adheres to the prompt text (higher values keep closer to prompt) |

| num_inference_steps | integer | 8 | The number of steps to denoise the audio for |

| prompt | string | (empty) | The prompt to generate audio from |

| seconds_total | integer | 190 | The duration of the audio clip to generate |

| seed | integer | (empty) | Random seed for reproducibility |

Output

Examples

Sound Effect

{
  "model": "stable-audio-2-5-text-to-audio",
  "version": "0.0.1",
  "input": {
    "prompt": "Thunder rumbling in the distance with heavy rain on a tin roof",
    "seconds_total": 15,
    "guidance_scale": 2,
    "num_inference_steps": 10
  }
}

Background Music

{
  "model": "stable-audio-2-5-text-to-audio",
  "version": "0.0.1",
  "input": {
    "prompt": "Lo-fi hip hop beat with vinyl crackle, mellow piano chords, and a slow drum loop",
    "seconds_total": 60,
    "guidance_scale": 1,
    "num_inference_steps": 8,
    "seed": 77
  }
}

Ambient Soundscape

{
  "model": "stable-audio-2-5-text-to-audio",
  "version": "0.0.1",
  "input": {
    "prompt": "Peaceful forest with birds singing, a gentle stream, and wind through leaves",
    "seconds_total": 120,
    "guidance_scale": 1,
    "num_inference_steps": 8
  }
}

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.