Professional Audio Mixing & Mastering API
Transform your audio with AI-powered mixing and mastering. Simple pricing, powerful results, rapid cloud processing for B2B and indie developers.
Multitrack Mixing
Professional-grade AI mixing that balances levels, applies EQ, compression, and effects to 2-32 tracks. Create cohesive, radio-ready mixes in seconds.
Learn More →AI Mastering
Optimize loudness, tone, and width for streaming platforms. Get broadcast-ready masters that meet Spotify, Apple Music, and YouTube standards.
Try Mastering →Rapid Processing
Cloud-based processing delivers professional-quality results in moments. Scale to thousands of tracks with our reliable infrastructure.
View Pricing →Built for Scale
Our infrastructure handles millions of tracks with enterprise-grade reliability. Over 5 million tracks processed since 2023.
How It Works
Sign Up & Get Approved
Create an account and request API access. Start testing immediately.
Integrate & Test
Use our Python client or REST API. Free 30-second previews for testing.
Purchase Credits
Buy credit bundles to power your workflow. Usage-based pricing with volume discounts.
Simple Integration
Get Started in Minutes
Our Python client and REST API make integration effortless. Free 30-second previews let you test before committing.
-
✓
Install via pip:
pip install roex-python - ✓ Comprehensive API documentation
- ✓ Bearer token authentication
- ✓ Webhook support for async workflows
# Install the client
pip install roex-python
# Authenticate and master
from roex import RoexClient
client = RoexClient(
api_key='your_api_key'
)
# Create mastering preview
result = client.mastering_preview(
track_url='https://example.com/song.wav',
musical_style='ROCK_INDIE',
webhook_url='https://example.com/webhook'
)
# Retrieve final master
master = client.retrieve_final_master(
task_id=result.task_id
)
print(f'Download: {master.download_url}')
// Create mastering preview
const response = await fetch(
'https://tonn.roexaudio.com/masteringpreview',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer your_api_key'
},
body: JSON.stringify({
masteringData: {
trackData: [{
trackURL: 'https://example.com/song.wav'
}],
musicalStyle: 'ROCK_INDIE',
desiredLoudness: 'MEDIUM',
webhookURL: 'https://example.com/webhook'
}
})
}
);
const { mastering_task_id } = await response.json();
console.log('Task ID:', mastering_task_id);
# Create mastering preview
curl -X POST https://tonn.roexaudio.com/masteringpreview \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key" \
-d '{
"masteringData": {
"trackData": [{
"trackURL": "https://example.com/song.wav"
}],
"musicalStyle": "ROCK_INDIE",
"desiredLoudness": "MEDIUM",
"webhookURL": "https://example.com/webhook"
}
}'
# Response: {"mastering_task_id": "abc123..."}
API Overview
Base URL & Endpoints
All API requests are made to:
https://tonn.roexaudio.com
Supported endpoints: /mastering,
/mixing, /enhance, /analyze, /cleanup
Authentication
All requests require Bearer token authentication. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Obtain your API key from your dashboard after registration and approval.
Preview → Final Workflow
- Request Preview: Call the preview endpoint (e.g.,
/masteringpreview) with your audio file URL. Returns a 30-second preview at no credit cost. - Review Results: Download and review the preview to ensure settings meet your needs.
- Retrieve Final: If satisfied, call
/retrievewith the task ID to get the full processed audio. Credits are deducted at this stage.
Note: Previews are free for accounts with purchased credits. Only final retrievals consume credits.
Output Formats
- ✓ Audio Files: WAV, FLAC, and MP3 formats (44.1kHz, 48kHz, or original sample rate)
- ✓ Settings JSON: For mixing, optionally retrieve FX settings (gain, pan, EQ, compression)
- ✓ Processed Stems: For multitrack mixing, download individual processed stems
- ✓ Analysis Data: JSON response with mix/master readiness metrics
Rate Limits & Processing
- Rate Limit: 100 requests per minute per API key
- Average Processing Time: <60 seconds for mastering; 2-5 minutes for multitrack mixing
- Max Track Length: 10 minutes per audio file
- Multitrack Mixing: 2-32 tracks per request
- Webhook Support: Async processing with callback notifications
What Our Partners Say
"By partnering with RoEx, we're democratizing access to professional mastering tools, empowering independent artists to compete at the industry's highest levels."
Frequently Asked Questions
What does the Tonn API do?
How is pricing calculated?
Do you offer previews?
What audio formats are supported?
How do I authenticate API requests?
What are the track limits?
Ready to Transform Your Audio?
Join thousands of developers building professional audio tools with our API. Start testing today with free previews.