# Stability AI Cursor API Evaluation

**Category:** Audio
**Score:** 88 (B)

This is the agent-readable Devtool Arena evaluation page for Stability AI on Cursor API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 88 |
| Grade | B |
| Eval score | 89 |
| Discovery score | 86 |
| Cost | $0.12 |
| Runtime | 42s |
| Tool calls | 14 |
| Errors | 0 |
| Tokens used | 312278 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/stability-ai |
| llms.txt | https://docs.stability.ai/llms.txt |
| MCP server | https://docs.stability.ai/ai/docs-mcp.md |
| Typed SDK | https://github.com/Stability-AI/stability-sdk/blob/main/src/stability_sdk/client.py |
| OpenAPI | https://docs.stability.ai/openapi.json |
| Agent skills | Not found |
| CLI | https://pypi.org/project/stability-sdk/ |

## Evaluation Prompt

````text

# Task
Using https://platform.stability.ai/docs/api-reference/audio, complete the following task:

Using the Stability AI REST API, build me a Python script that generates an original instrumental music track:

1. Follow the Stability AI documentation to authenticate and choose the simplest text-to-music REST API path
2. Generate 30 seconds of upbeat electronic background music for a product launch video, with no vocals
3. Save the result as output.mp3, output.wav, or output.m4a, using a format supported by the API
4. Print a confirmation message with the filename and file size when the track is saved

Use the documented Stability AI REST API only; do not generate fake or placeholder audio. 

## Execution
After creating the script, run it to verify it works:
```bash
cd /home/daytona/app && python <your_script>.py
```

The script should print output to stdout. If there are errors, debug and fix them until it runs successfully.

````

## Grader Results

| Check | Passed | Weight | Score | Details |
|-------|--------|--------|-------|---------|
| Cost | Yes | 0 | 1 | $0.12 ($0.10–0.20, great) |
| Time | Yes | 0 | 1 | 42s (<60s, excellent) |
| Efficiency | Yes | 0 | 0 | 14 tool calls (≤15, good) |
| Found Docs | Yes | 0 | — | Touched docs at platform.stability.ai: yes (4 matching tool calls) |
| Zero Errors | Yes | 0 | — | No errors in tool outputs |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 1 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 16 |
| Tool call traces | 14 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-20T04:48:36.045206+00:00 |

### Generated Files

- /home/daytona/app/generate_music.py

## Related Pages

- [Cursor API leaderboard](/cursor/api)
- [Compare Cursor API companies](/cursor/api/compare)
- [Agent Landscape](/discoverability)

Canonical URL: https://devtoolarena.com/cursor/api/stability-ai
