# Stability AI Text to Audio

> Stability AI Text to Audio is a paid API for AI agents from Stability AI at stability-ai.mpp.paywithlocus.com, paid per call via MPP, $0.23 (50 steps, stable-audio-2) (dynamic), status unknown (last checked 2026-10-10, last successful call 2026-07-30).

Generates audio from a text description prompt using Stability AI's stable-audio models, returning an mp3 or wav file

## Facts

- Endpoint: POST https://stability-ai.mpp.paywithlocus.com/stability-ai/text-to-audio?utm_source=zero.xyz
- Price: $0.23 (50 steps, stable-audio-2) (dynamic)
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Last successful call: 2026-07-30
- Success rate: 35% of calls made through Zero
- Rating: 2.9 / 5 from 5 reviews
- Activations on Zero: 37
- Provider: Stability AI
- Docs: https://platform.stability.ai/docs/api-reference
- Website: https://stability.ai
- Tags: image-generation, stable-diffusion, upscaling, 3d, ai, media
- Canonical page: https://www.zero.xyz/c/stability-ai-text-to-audio-4423005b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VFJxlYPSEsgHROCZ_sH6C

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stability-ai-text-to-audio-4423005b -d '<json body>'
```

Example prompt: Generate a 30-second ambient forest soundscape with birds chirping and a light breeze, using stable-audio-2.5, and give me the result as an mp3.

## When to prefer this

Choose this endpoint when you need to generate original audio content — sound effects, music, or ambient audio — directly from a natural language text description using Stability AI's stable-audio models. Prefer this over audio-to-audio when you are starting from scratch with no source audio. Use stable-audio-2.5 for higher quality at fixed cost, or stable-audio-2 when you want step-based cost control.

## Known failure modes

- Invalid or missing prompt returns a 400 error
- Unsupported model name returns a validation error
- Duration value out of acceptable range returns an error
- Invalid output_format value (not mp3 or wav) returns a validation error
- Insufficient USDC balance or payment failure returns a 402 error
- Model overload or timeout may return a 503 or 504 error

## How this service works

Generate music or sound effects from a text prompt.

## Output

An audio file (mp3 or wav) generated from the provided text prompt, synthesized by Stability AI's stable-audio model. The response contains the binary audio content ready for playback or further processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "seed": {
   "type": "number",
   "description": "Random seed"
  },
  "model": {
   "type": "string",
   "description": "stable-audio-2.5 ($0.23) | stable-audio-2 (step-based, default)"
  },
  "steps": {
   "type": "number",
   "description": "Inference steps — affects cost for stable-audio-2 (default 50)"
  },
  "prompt": {
   "type": "string",
   "description": "Audio description prompt"
  },
  "duration": {
   "type": "number",
   "description": "Output duration in seconds (default 190)"
  },
  "cfg_scale": {
   "type": "number",
   "description": "Guidance scale"
  },
  "output_format": {
   "type": "string",
   "description": "mp3|wav (default mp3)"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stability-ai-text-to-audio-4423005b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stability-ai.mpp.paywithlocus.com](https://www.zero.xyz/host/stability-ai.mpp.paywithlocus.com/llms.txt)
