Frequently asked questions
What is the best TTS API for JavaScript?
Spindragons is built for JavaScript developers using standard HTTP requests. You can use the official OpenAI SDK by changing the base_url to https://api.spindragons.info/v1. This allows you to generate audio files via simple JSON POST requests without managing infrastructure or learning a new proprietary client.
Which TTS API is cheapest?
Spindragons charges $0.01 per 1,000 characters ($10 per million characters). This flat rate applies to both tts-1 and tts-1-hd models. Failed requests are free, so you only pay for successful synthesis. There are no monthly plans, seats, or minimum spend requirements, making it cost-effective for variable usage volumes.
Is this TTS API better than OpenAI?
We are not affiliated with OpenAI. Our API uses the same request shape as the OpenAI speech endpoint, allowing you to swap the base_url and use existing OpenAI SDKs. We offer 8 distinct voice presets and support 23 languages, providing a practical alternative for indie developers who need straightforward JSON integration.
Does this TTS API have more voices?
We provide 8 voice presets: Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion. These cover various tones from warm narrators to deep documentary styles. Each voice can speak any of the 23 supported languages, allowing you to mix and match voices and languages without needing additional voice models or upgrades.
Is this TTS API faster?
Generation runs at roughly real-time speed, processing about 25 characters per second. Short phrases take a few seconds, while longer texts are split into parts and joined. Requests are processed sequentially, so under load, a request may wait in a queue. We do not guarantee specific latency or offer streaming endpoints.
Which TTS API has better documentation?
Our documentation provides concrete examples, including a ready curl command and details on the JSON body structure. We list all 8 voices, 23 languages, and supported formats like mp3 and wav. The endpoint matches the OpenAI speech API, so developers familiar with that documentation can start integrating immediately with minimal learning curve.
Is this TTS API good for beginners?
Yes, it is designed for freelancers building web apps. You can sign up with Google or email to get an API key instantly. The interface shows your balance, characters left, and a ready curl example. Since it uses standard HTTP POST requests, you can test it easily in any browser or simple script.
Does this TTS API support all languages?
We support 23 languages including English, Spanish, German, Japanese, and Hindi. Voices are not language-specific; any voice can speak any supported language. If you do not set the language parameter, it guesses from the script, defaulting to English for Latin text. Vietnamese, Thai, and Ukrainian are not currently supported.
Can I use this TTS API for commercial use?
Yes, you can use the generated audio for commercial projects. The audio files contain an inaudible watermark marking them as synthetic speech. Input text is not used for training, and generated audio is returned in the response without being stored. There are no restrictions on how you use the resulting audio files.
Is this TTS API reliable?
We do not offer an SLA or uptime guarantee. Rate limits are 60 requests per minute per key. Requests are processed sequentially, so high load may cause queuing delays. Failed requests are free, ensuring you are not charged for errors. We support support via email only, with no phone or live chat options.
Does this TTS API have a free tier?
New accounts signed up with Google receive a $0.50 free trial credit, valid for 7 days. This covers approximately 50,000 characters. Accounts created with email and password start without trial credit. There is no ongoing free tier; you must top up with USDT on the TRON network to continue using the service.
How does this TTS API compare to competitors?
Unlike many competitors, we do not offer voice cloning, SSML, or custom pronunciation lexicons. We use licensed recordings from LibriTTS-R and LibriVox. Our pricing is transparent at $10 per million characters with no monthly plans. We support 23 languages and 8 voices, providing a straightforward JSON API without complex infrastructure management.
Is this TTS API easy to scale?
Scaling is straightforward as you can issue a new API key at any time, invalidating the old one. You can manage multiple keys for different projects. Since there are no monthly plans or seats, you only pay for what you use. The API handles text splitting automatically for inputs over 4096 characters.
What is the best TTS API for freelancers?
Yes. Spindragons is practical for freelancers building JavaScript web apps. It offers a simple JSON API compatible with OpenAI SDKs, transparent pricing at $0.01 per 1,000 characters, and no monthly fees. You can start with a free trial, pay via USDT, and get immediate access to 8 voices and 23 languages without managing infrastructure.
Selection Criteria
When integrating a text-to-speech API into a JavaScript project, the primary consideration is how seamlessly the service fits into your existing workflow. For indie developers, minimizing boilerplate code and configuration overhead is essential to maintaining development velocity. The API’s compatibility with standard JSON structures allows for straightforward implementation using common libraries like fetch or the OpenAI SDK, requiring only a base URL adjustment.
Cost structure significantly impacts the viability of long-running or high-volume applications. Understanding the per-character pricing model helps in estimating expenses accurately, especially when dealing with variable input lengths. Transparent billing without hidden fees or subscription locks ensures that costs scale linearly with usage, making it easier to predict monthly expenditures for small to medium-sized projects.
Ease of integration
The API accepts standard JSON bodies, making it easy to integrate into any JavaScript environment. By simply changing the base_url to point to the Spindragons endpoint, you can utilize familiar SDK patterns without learning a new proprietary client. This reduces the time spent on setup and allows you to focus on building features rather than managing infrastructure.
Requests are processed sequentially, returning audio files directly in the response. This simplifies error handling and state management in your application, as you do not need to poll for completion or manage complex WebSocket connections for basic use cases.
- Standard JSON request format
- Compatible with OpenAI SDKs
- Synchronous audio return
Cost structure
Pricing is straightforward: $10 per 1 million characters, which equates to $0.01 per 1,000 characters. Spaces and punctuation count towards the total, so you should account for this when estimating costs for large texts. Failed requests are free, ensuring you only pay for successful synthesis.
There are no monthly plans, seats, or minimum spends. You can top up with USDT on the TRON network, with a minimum of $5. This model suits projects with fluctuating usage patterns, as you pay exactly for what you use without committing to a recurring subscription.
Voice quality
The API offers eight distinct voice presets, ranging from warm narrators to deep documentary styles. These voices are based on licensed recordings, ensuring a professional sound without the need for custom voice design. Each generated file includes an inaudible watermark to identify it as synthetic speech.
While the voices are high-quality, they are fixed presets. If you require custom voice cloning or emotion tags, those features are not currently supported. However, for most indie projects, the variety of available voices provides sufficient flexibility to match different content tones.
API Comparison
Choosing a TTS API requires balancing technical constraints with budget realities. For indie developers, the integration path dictates how quickly prototypes become production-ready. We evaluate options based on request simplicity, pricing transparency, and language coverage to ensure your web app scales without unexpected overhead.
This comparison focuses on practical metrics: how easily the API integrates with JavaScript, how costs scale with usage, and which languages are supported natively without extra configuration.
Feature set
The Spindragons API mirrors the OpenAI speech endpoint structure, allowing you to use standard OpenAI SDKs by simply updating the base_url. You send a JSON body with model, input, voice, and optional language or speed parameters. The response returns the audio file directly, with no streaming or WebSocket complexity.
Other endpoints like /v1/voices let you programmatically discover available languages and formats. This predictable structure reduces debugging time compared to APIs requiring custom parsing logic or proprietary request shapes.
- JSON-based requests compatible with OpenAI SDKs
- Standard fields: model, input, voice, response_format
- No custom parsing required for audio responses
Pricing models
Spindragons charges $10 per 1 million characters, or $0.01 per 1,000 characters. Failed requests are refunded in full, ensuring you only pay for successful synthesis. There are no monthly subscriptions, seat fees, or minimum spend requirements. This linear model suits variable workloads common in indie projects.
Payment is handled via USDT (TRC-20) with automatic crediting. A $0.50 free trial is available for Google sign-ins, allowing immediate testing without credit card details. This simplicity avoids the complexity of tiered plans or overage surprises.
- $0.01 per 1,000 characters
- No monthly subscriptions or seats
- Failed requests are free
Language support
The API supports 23 languages, including English, Spanish, German, French, Japanese, and Chinese. Any voice can speak any of these languages, offering flexibility in voice selection regardless of the target language. If the language field is omitted, the system guesses the language from the script, defaulting to English for Latin text.
Unsupported languages like Vietnamese, Thai, Indonesian, and Ukrainian are clearly excluded. This defined scope prevents unexpected behavior with lesser-known scripts and ensures consistent quality across the supported set. Developers can explicitly set the language ISO code to override auto-detection.
- 23 supported languages
- Any voice can speak any supported language
- Explicit language code recommended for non-English Latin text
Voice Options
Spindragons provides eight distinct voice presets, giving indie developers a solid foundation for audio generation without the complexity of enterprise-grade voice libraries. Each voice is designed for specific tonal needs, from warm narration to energetic promos.
Number of voices
The API offers eight carefully curated voice presets. This count strikes a balance between variety and simplicity, allowing you to quickly find a suitable tone without sifting through hundreds of options.
- Four female voices: aria, nova, luna, sage
- Four male voices: felix, milo, atlas, orion
Voice variety
Voices cover a range of styles, including calm instruction, bright upbeat tones, and deep documentary narration. All eight voices can speak any of the 23 supported languages, ensuring consistent audio quality across your project's international features.
Customization
While you cannot clone custom voices, you can adjust the generation speed between 0.25x and 4.0x. This allows you to fine-tune the pacing for different content types, from slow instructional guides to fast-paced updates.
Technical Requirements
Spindragons relies on standard HTTP requests, allowing you to use any JavaScript HTTP client or the OpenAI SDK with a custom base URL. This approach avoids the overhead of managing a proprietary SDK while ensuring compatibility with modern frameworks like React or Node.js.
SDK support
You can integrate the API using plain fetch calls or the official OpenAI JavaScript SDK by pointing base_url to https://api.spindragons.info/v1. This ensures seamless compatibility with existing codebases without requiring additional dependency installations.
Request limits
Each API key is limited to 60 requests per minute, with a stricter limit of 10 requests per minute for accounts without top-ups. Since requests are processed sequentially, longer texts may queue during high load, so implement exponential backoff for robustness.
- 60 requests/minute (10 before first top-up)
- Sequential processing may cause brief queues
- Implement retry logic for stability
Format options
Choose from mp3, wav, opus, flac, or pcm formats via the response_format field. MP3 is recommended for web delivery due to its balance of quality and file size, while PCM offers raw data for immediate processing.
- mp3, wav, opus, flac, pcm
- MP3 best for web delivery
- PCM for raw audio data
Developer Experience
The API follows standard conventions, making it easy for JavaScript developers to integrate using familiar tools. Documentation provides clear examples for common languages and frameworks.
Documentation quality
Our docs include ready-to-use code snippets for JavaScript and cURL. You can copy-paste working examples directly into your project, reducing integration time significantly.
- Clear JSON request/response examples
- Step-by-step integration guides
- SDK compatibility notes
Error handling
Standard HTTP status codes indicate success or failure. Failed requests do not consume your balance, ensuring you only pay for valid audio generation.
- Clear error messages
- No charge on failure
- Standard HTTP codes
Support availability
We offer support via email only, with no phone number or live chat. This keeps overhead low, allowing us to maintain competitive pricing for indie developers.
- Email support only
- No live chat
- No phone support
Pricing Analysis
Spindragons charges a flat $0.01 per 1,000 characters, making costs predictable for budget-conscious indie developers. Spaces and punctuation count toward the limit, and failed requests are refunded entirely, ensuring you only pay for successful synthesis.
New accounts signed in via Google receive a $0.50 trial credit, valid for seven days. This allows you to generate approximately 50,000 characters without upfront commitment. Email-signup accounts start with zero balance.
Per-character cost
Audio generation costs $10 per million characters. This simple metric avoids complex tiering or volume discounts, simplifying expense forecasting for small-scale web applications.
Trial availability
The $0.50 trial credit provides immediate access to test voice quality and API integration speed. Credits expire after seven days, encouraging rapid prototyping before committing to larger volumes.
Payment methods
Top-ups require USDT on the TRON network (TRC-20). There are no credit cards, PayPal, or VAT invoices. Minimum top-up is $5, and balance never expires.
Use Case Fit
Matching your project scale to the API’s capabilities ensures efficient development without unnecessary overhead or unexpected bottlenecks. The TTS service offers a straightforward path from prototype to production, but understanding its character limits and rate constraints is critical for maintaining a smooth workflow in JavaScript applications.
Small projects
For indie prototypes or static content generation, the $0.50 free trial provides ample room to test voice quality and integration. With a limit of 50,000 characters, you can generate dozens of audio clips without immediate payment, making it ideal for validating your concept.
- Ideal for prototyping and small-scale audio generation
Medium scale
As your application grows, you will need to manage text splitting manually into chunks of up to 4096 characters and join the resulting audio files. This approach works well for podcast episodes or interactive web apps where you can buffer responses without overwhelming the 60 requests-per-minute limit.
- Requires manual text chunking for longer inputs
Large scale
For high-volume usage, the per-character pricing model scales linearly, but you must monitor your queue depth since requests are processed sequentially. With USDT top-ups and no monthly caps, you can handle significant traffic, provided your JavaScript client handles retries and respects the rate limits effectively.
- Scales with volume; watch queue depth

Pros and Cons
This API offers a straightforward JSON interface that integrates easily into JavaScript projects without requiring complex infrastructure. The pricing is transparent, charging only for successful character generation, which helps indie developers control costs effectively.
Advantages
The straightforward JSON request structure works with standard HTTP libraries, allowing quick implementation in any JavaScript environment. Failed requests are free, ensuring you only pay for usable audio output. The included free trial provides immediate credit to test the service without financial commitment.
- Simple JSON API compatible with existing HTTP clients
- Pay only for successful synthesis requests
- Instant $0.50 trial credit for new accounts
- No monthly fees or minimum spend requirements
Disadvantages
Audio generation processes requests sequentially, meaning higher traffic can lead to queueing delays. The rate limit of 60 requests per minute may restrict rapid batch processing. Payment relies exclusively on USDT (TRC-20), which requires familiarity with cryptocurrency wallets rather than traditional credit cards.
- Sequential processing can cause latency during high load
- Limited to USDT (TRC-20) for top-ups
- 60 requests per minute cap per key
Limitations
The API does not support streaming, SSML, or custom voice cloning. Input text is limited to 4096 characters per request, requiring client-side splitting for longer content. There is no official mobile SDK or browser extension, and support is limited to email without an SLA guarantee.
Implementation Tips
Writing long dialogues or narration requires splitting input into chunks under 4096 characters. Send these segments sequentially and join the resulting audio files on the client side. This approach ensures stable generation without exceeding limits, especially when building voice lines for web apps.
Proper error handling prevents app crashes during temporary spikes. Since requests are processed in a queue, short phrases may take a few seconds. Implement retry logic with exponential backoff to handle transient failures gracefully without wasting credits on failed synthesis attempts.
Chunking text
Split input text into segments of up to 4096 characters. Send each part via a separate POST request and concatenate the returned audio files. This guarantees compatibility with the API’s single-request limit and simplifies debugging individual segments.
- Limit each request to 4096 characters.
- Join output files sequentially in your JS logic.
Handling errors
Wrap API calls in try-catch blocks. Check the HTTP status code; if synthesis fails, the charge is returned, so you can safely retry or notify the user. Avoid infinite loops by capping retries.
Monitor rate limits (60 requests per minute). If you exceed this, pause briefly before resuming. This prevents queuing delays from compounding during bulk generation tasks.
Caching results
Store generated audio URLs or base64 data locally if the same text is used repeatedly. This saves API credits and reduces load times for your users. Cache keys should include text content, voice, speed, and language parameters.
Security Considerations
Securing your API key is the first line of defense for your TTS integration. Since Spindragons issues one active key per account, you must treat it as a secret credential. Store it in your environment variables rather than hardcoding it into your client-side JavaScript bundle, where it can be easily scraped by users.
If you suspect your key has been exposed, revoke it immediately via the dashboard. A new key is issued instantly, and the old one stops working at once, ensuring no further unauthorized usage charges accumulate while you update your application configuration.
API key management
Keep your API key in environment variables. Rotate it immediately if exposed via the /get-api-key/ dashboard.
- Use environment variables, not hardcoded values.
- Revoke and replace keys instantly via dashboard.
- One active key per account simplifies tracking.
Data privacy
Your input text is used solely to produce the audio and is not used for training your voice models. The generated audio is returned in the response and not stored on our servers, ensuring your content remains transient.
We retain request metadata—such as timestamp, character count, and status—strictly for billing purposes. This minimal data retention ensures you can verify charges without retaining your actual creative content.
- Input text is not used for training.
- Generated audio is not stored.
- Metadata kept only for billing.
Rate limiting
Each API key is limited to 60 requests per minute. If you exceed this threshold, subsequent requests will be rejected until the window resets. This prevents a single script from monopolizing the generation queue.
New accounts start with a lower limit of 10 requests per minute until the first top-up is processed. Monitor your usage via the dashboard to adjust your client-side polling intervals accordingly.
- Standard limit: 60 requests/minute.
- New accounts: 10 requests/minute.
- Limits reset per minute window.
Final Recommendation
Spindragons offers a straightforward integration path for JavaScript freelancers, combining reasonable voice quality with a transparent per-character pricing model. The API behaves predictably, making it a reliable backbone for web apps without requiring complex infrastructure management or enterprise-level contracts.
For developers prioritizing cost efficiency, the absence of monthly plans and the straightforward TRC-20 top-up process ensure you only pay for what you generate. The free trial provides immediate access to test the service without financial commitment, ideal for small-scale prototypes.
Best overall choice
Spindragons balances ease of use with sufficient voice variety for most indie projects. The OpenAI-compatible endpoint structure means existing JavaScript code snippets can often be adapted with minimal changes, reducing development time for freelancers building web applications.
- Compatible with OpenAI SDKs
- Simple JSON integration
- No monthly subscription fees
Best for budget
The per-character pricing at $10 per million characters ensures predictable costs without hidden fees. Failed requests are free, and the balance never expires, allowing you to top up only when necessary via USDT on TRON.
- $0.01 per 1,000 characters
- No minimum spend
- Balance does not expire
Best for quality
While not claiming to be the most realistic, the eight preset voices offer distinct tones suitable for narration, news, or storytelling. The audio files are clear and carry an inaudible watermark, ensuring synthetic origin without compromising playback quality for end users.
- 8 distinct voice presets
- Clear audio output
- Multiple format options
Next Steps
Ready to integrate synthetic voice into your JavaScript app? The fastest way to verify fit is generating audio with a single curl command or using the provided OpenAI SDK wrapper. You can test the $0.50 free trial immediately without entering credit card details.
Dive into the documentation to understand request structures, rate limits, and error codes. The guides cover chunking strategies for long texts and format selection, ensuring you avoid common pitfalls like character limits or unsupported languages.
Try the API
Visit /get-api-key/ to generate your first API key. Use the interactive console to send text and receive an MP3 file in seconds. This hands-on step confirms latency and voice quality before you commit to a payment method.
- Generate a key via Google or email
- Test with the provided curl example
- Verify audio formats like MP3 and WAV
Read the docs
Review the endpoint specifications at /docs/. Pay attention to the 4096-character limit per request and the 60 requests per minute rate limit. Understanding these constraints helps you design efficient client-side logic for large scripts.
- Endpoint: POST /v1/audio/speech
- Supported formats: mp3, wav, opus, flac, pcm
- Voice presets: 8 distinct styles
Start building
Integrate the API into your JavaScript project using the standard fetch API or OpenAI SDK. Top up your balance with USDT (TRC-20) when you are ready for production. Start small, monitor usage, and scale as your indie project grows.
- Use base_url: https://api.spindragons.info/v1
- Handle errors gracefully with retry logic
- Monitor character usage via the dashboard
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Requests are processed sequentially, returning audio files directly in the response.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- Node.js documentation
- Creative Commons Attribution 4.0
- OpenAI API reference: create speech
- Python documentation
- W3C WAI: making audio and video accessible
- openai-node on GitHub
- LibriTTS-R paper (arXiv 2305.18802)
- curl documentation
- MDN: Web Speech API
- ISO 639 language codes
- TRON developer hub: TRC-20
