# Stability AI Claude Code API Evaluation

**Category:** Audio
**Score:** 58 (C)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 58 |
| Grade | C |
| Eval score | 78 |
| Discovery score | 14 |
| Cost | $0.20 |
| Runtime | 2m 16s |
| Tool calls | 16 |
| Errors | 0 |
| Tokens used | 363306 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | Not found |
| MCP server | Not found |
| Typed SDK | https://github.com/Stability-AI/stability-sdk |
| OpenAPI | Not found |
| Agent skills | Not found |
| CLI | Not found |

## 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.20 ($0.10–0.20, great) |
| Time | Yes | 0 | 0 | 136s (2–3min, good) |
| Efficiency | Yes | 0 | 0 | 16 tool calls (≤20, acceptable) |
| Found Docs | Yes | 0 | — | Touched docs at platform.stability.ai: yes (5 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 | 19 |
| Tool call traces | 16 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-26T11:11:25.129277+00:00 |

### Generated Files

- /home/daytona/app/generate_music.py

## Related Pages

- [Claude Code API leaderboard](/leaderboard/claudecode/api)
- [Compare Claude Code API companies](/leaderboard/claudecode/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

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