Frequently asked questions
Is the TTS API easy to integrate with JavaScript?
Yes, it uses the same request shape as the OpenAI speech endpoint. You can use official OpenAI SDKs by changing the base_url to https://api.spindragons.info/v1. Send a POST request with your text and voice preset, and receive an audio file directly in your JavaScript application without managing complex infrastructure.
Does the TTS API work with Node.js?
Yes, it works seamlessly with Node.js. Since it follows the standard JSON request format, you can use the official OpenAI SDK or plain HTTP libraries. Simply configure the base_url to https://api.spindragons.info/v1 and use your API key for authentication to generate audio files from your Node environment.
Is the TTS API faster than competitors?
Requests are processed sequentially, so speed depends on queue load. Typical generation is roughly real time (~25 characters per second). Short phrases take a few seconds. There is no SLA or uptime guarantee to ensure specific latency. We do not claim to be the fastest; we prioritize reliable, predictable synthesis for your web app workflow.
Can I use the TTS API for free?
You can start with a free trial of $0.50 credit, valid for 7 days, when signing in with Google. This covers about 50,000 characters. If you use email and password, you start without trial credit. Failed requests are free, and you pay $0.01 per 1,000 characters after.
Does the TTS API support web sockets?
No, the API does not support WebSocket connections or real-time streaming. It operates on a standard request-response model where you send text and receive the complete audio file. There is no streaming of partial audio chunks, so you must wait for the synthesis to complete before receiving the data.
Is the TTS API good for large projects?
It supports texts up to 4096 characters per request. For larger projects, you can split text into parts and join the audio files. The API handles 60 requests per minute per key. You can manage multiple keys if needed, but there is no enterprise contract or dedicated support for scaling.
Does the TTS API have a mobile SDK?
No, there is no official mobile SDK. You can use the standard HTTP requests or the OpenAI SDK in your mobile app by setting the base_url to https://api.spindragons.info/v1. The API is designed for web integration, so you handle the network calls directly within your mobile application code.
Can I customize voices in the TTS API?
No, you cannot customize voices or upload your own. You choose from 8 preset voices like Aria, Nova, or Felix. There is no voice cloning or design feature. You can adjust speed between 0.25 and 4.0, but the underlying voice characteristics remain fixed to the licensed recordings.
Is the TTS API reliable?
There is no SLA or uptime guarantee. Requests are processed one after another, so high load may cause queuing delays. Failed requests are free, but there is no specific reliability promise. Support is available by email only, with no phone number or live chat for immediate issue resolution.
Does the TTS API require a backend?
A: No, you can call the API directly from the browser. Use your API key in the Authorization header to send POST requests to https://api.spindragons.info/v1/audio/speech. This allows you to generate audio directly in client-side JavaScript without needing a separate server to proxy the requests.
How does the TTS API handle errors?
If synthesis fails, the charge is returned in full. You can check the response status to handle errors in your code. Failed requests do not consume your balance. There is no detailed error logging or SLA, so you should implement standard retry logic for transient network or processing issues.
Can I use the TTS API in a browser?
Yes, you can use it directly in the browser. Send a POST request to the speech endpoint with your text and voice. The API returns an audio file that you can play using standard HTML5 audio elements. Just ensure you handle your API key securely if exposing it client-side.
Does the TTS API support TypeScript?
Yes. The API uses standard JSON requests, so you can use the official OpenAI SDK by setting base_url to https://api.spindragons.info/v1. It has built-in TypeScript definitions. Alternatively, define your own interfaces for the request and response bodies to integrate smoothly into your TypeScript project.
Is the TTS API open source?
No, the API itself is not open source. The voices are based on licensed recordings from LibriTTS-R and LibriVox. There is no public repository for the core engine or SDK code. You access the service via HTTP requests using your API key, but the underlying implementation remains proprietary.
Integration Ease
The Spindragons API is built for simplicity. You send a standard JSON payload to a single endpoint and receive an audio file. There is no complex infrastructure to manage, making it ideal for freelancers who want to integrate voice features quickly without heavy overhead.
This straightforward design means you can start generating speech with just a few lines of code. The API handles the synthesis engine, so you focus on your application logic rather than audio processing details.
Simple JSON API
The API accepts a JSON body with fields like model, input, voice, and response_format. It mirrors the OpenAI speech endpoint structure, so you know exactly what to send. Authentication is handled via a simple Bearer token in the header.
You do not need to parse complex XML or manage multipart forms. The request shape is consistent, reducing integration errors and simplifying your codebase.
- Single endpoint:
POST /v1/audio/speech - Standard JSON request body
- Bearer token authentication
No complex setup
Integration requires only an API key and a valid endpoint URL. Once you have your key from /get-api-key/, you are ready to make requests. There are no SDK dependencies or heavy libraries required for basic usage.
The system handles audio formatting automatically. Language detection is based on the script, and voice selection is manual. You simply specify the voice you want and the text to convert, and the API returns the audio file directly.
Works with fetch
You can use the native fetch API in JavaScript to send requests. This eliminates the need for third-party HTTP libraries, keeping your bundle size small. The response is a direct audio file, which you can handle as a blob or stream.
For those who prefer it, the official OpenAI SDKs also work by changing the base_url to https://api.spindragons.info/v1. This provides flexibility without forcing a specific library on your project.
Performance
The API processes requests sequentially, meaning synthesis happens one after another rather than in parallel. For short phrases, generation takes a few seconds, while longer texts approach real-time speeds, generating approximately 25 characters of text per second of audio.
Real-time generation
Long texts must be split into 4,096-character segments by the client, and the resulting audio files are joined. This ensures consistent output without manual chunking logic in your JavaScript code, though the initial processing time depends on the total length.
Queue handling
Requests are processed in the order they arrive. Under heavy load, your request may wait in a queue before synthesis begins. This sequential processing is standard for this infrastructure but means concurrent requests will not execute simultaneously.
Latency expectations
Expect a few seconds of delay for short phrases. For longer documents, the delay scales linearly with length, roughly matching the audio duration. Rate limits (60 requests/minute) may also introduce waiting periods if you exceed the quota.
SDK Compatibility
The API mirrors the OpenAI speech endpoint structure, allowing you to reuse familiar code patterns. By simply adjusting the base_url in the official OpenAI SDKs, you can integrate Spindragons without rewriting your HTTP clients. This compatibility reduces boilerplate and speeds up initial implementation for JavaScript developers.
You can also send standard fetch requests with JSON bodies, making it easy to integrate into any modern framework or vanilla Node.js service. The consistent request shape means you spend less time debugging endpoint differences and more time building features.
OpenAI SDK support
Use the official OpenAI JavaScript SDK by pointing it to https://api.spindragons.info/v1. Pass your tts-... API key in the Authorization header. This approach lets you leverage existing libraries and type definitions you likely already have.
Custom HTTP requests
For full control, send a POST request to /v1/audio/speech with your JSON payload. This method works with any HTTP library, including axios or native fetch, ensuring you are not locked into a specific client implementation.
No extra libraries
You do not need to install proprietary Spindragons packages. The standard JSON format works out of the box, keeping your dependency list minimal and your build process straightforward.
Cost Efficiency
For freelance web developers, predictable costs are essential when building scalable JavaScript applications. Our pricing model charges only $0.01 per 1,000 characters, ensuring you pay strictly for what you generate. This structure eliminates hidden fees and allows precise budgeting for client projects or personal SaaS products.
Pay per use
Each request processes up to 4,096 characters of text. Failed synthesis returns the charge in full, so you never pay for errors. This ensures that your API usage directly correlates with actual value delivered to your end-users, making it easy to calculate per-user costs in your app.
- $0.01 per 1,000 characters
- Failed requests are free
- Unlimited characters via splitting (4096 characters per request)
No idle costs
Unlike monthly subscriptions, there are no seats, minimums, or recurring fees. If your web app is idle, you pay nothing. This is ideal for indie developers who may have sporadic traffic patterns or beta phases where usage is unpredictable.
Predictable billing
Balance never expires, and top-ups are processed automatically via USDT on TRON. You can monitor your exact character count and remaining balance directly in your dashboard. This transparency helps you avoid unexpected overages while scaling your JavaScript service.
- No monthly plans
- No minimum spend
- Auto-credit via USDT
Voice Quality
Spindragons offers eight distinct voice presets, ranging from warm narrators to deep documentary tones. You can choose between female voices like Aria and Luna, or male options such as Felix and Orion. Each voice is designed for specific use cases, ensuring your JavaScript app sounds professional without manual tuning.
8 presets
Select from eight licensed voices that cover various tones and styles. The options include warm, bright, soft, calm, energetic, friendly, neutral, and deep presets. This variety allows you to match the audio to your app’s personality, whether it is a news reader or a casual chatbot.
- Aria (warm, clear narrator)
- Nova (bright, upbeat)
- Luna (soft, storytelling)
- Sage (calm, instructional)
- Felix (energetic, promo)
- Milo (friendly, conversational)
- Atlas (neutral, news)
- Orion (deep, documentary)
Natural sound
The voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobook readings. They sound natural and clear, avoiding the robotic tone common in older TTS systems. The audio quality is sufficient for most web applications, from voiceovers to interactive prompts.
Watermarking
Every generated audio file includes an inaudible watermark that identifies the speech as synthetic. This helps maintain transparency if you distribute the audio. The watermark is embedded in the file and does not affect the listening experience or the technical compatibility of the audio with your JavaScript code.
Language Support
Spindragons supports 23 specific languages, covering major global markets without unnecessary complexity. You can generate audio in Arabic, Chinese, French, German, Hindi, Japanese, Korean, Spanish, and many others. Every voice preset can speak any of these languages, giving you consistent audio quality regardless of the target language.
This approach keeps your JavaScript code simple. You do not need to manage separate voice models for each language or handle complex locale-specific rules. The API handles the linguistic nuances internally, allowing you to focus on your app’s core features.
23 languages
The supported languages are: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Any voice can speak any of these languages, ensuring consistent tone and quality across your entire application.
- Arabic, Chinese, Danish, Dutch, English
- Finnish, French, German, Greek, Hebrew
- Hindi, Italian, Japanese, Korean, Malay
- Norwegian, Polish, Portuguese, Russian, Spanish
- Swahili, Swedish, Turkish
Auto-detection
If you do not specify a language, the API guesses it from the text script. Latin script defaults to English. This works well for simple English text but may fail for other languages using Latin characters, such as French or German.
Explicit setting
For non-English Latin-script text, you should explicitly set the language field. This ensures the voice pronounces words correctly. The API does not support Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali, or other languages outside the listed 23.
Limitations
The API has clear boundaries that define its workflow. Understanding these constraints helps you structure your requests correctly and avoid unexpected errors during synthesis.
Knowing the limits upfront prevents debugging surprises. You can design your UI and backend logic to handle these specific technical realities without guesswork.
4096 char limit
Each request accepts a maximum of 4096 characters. If your text exceeds this, you must split it into chunks, synthesize each part, and join the audio files yourself.
Spaces and punctuation count toward this limit. Plan your string handling to ensure you stay within the boundary to avoid truncation.
- Split long texts into 4096-character segments
- Join resulting audio files sequentially
- Count spaces and punctuation in limit
No streaming
The API does not support WebSocket or real-time partial audio. You send a POST request and wait for the complete audio file in the response.
For short phrases, this latency is minimal. For longer texts, the generation may take time as requests are processed in a queue.
This means you cannot pipe audio directly to a player as it generates; you must wait for the full file download.
- No real-time audio chunks
- Full file returned in response
- Queue wait times apply
No SSML
The service does not support Speech Synthesis Markup Language. You cannot control pauses, emphasis, or pronunciation via XML tags.
Voice tone is determined by the preset selected (e.g., 'sage' for calm, 'felix' for energetic). Custom pronunciation lexicons are not available.
For precise control, rely on text formatting and voice selection rather than markup syntax.
- No XML/SSML support
- No custom pronunciation tags
- No pause or emphasis controls
Use Cases
Text-to-speech integrates seamlessly into client-side JavaScript apps. Send a JSON payload via fetch and receive audio files directly in the browser. This eliminates the need for a backend proxy for simple use cases.
Browser extensions benefit from low latency for short phrases. Node.js services handle background synthesis for larger projects. Both workflows support the same standard endpoints and authentication keys.
Web apps
Integrate TTS directly into your frontend using standard fetch calls. Pass text to the POST /v1/audio/speech endpoint and handle the returned audio blob. This works for dynamic content generation without server overhead.
For longer texts, split input into 4096-character chunks in JavaScript. Concatenate the resulting audio files client-side or via a simple Node.js script.
- Direct browser integration via fetch
- Dynamic content audio generation
- Client-side audio blob handling
Browser extensions
Generate short audio cues or read-aloud features for users. The 4096-character limit suits most UI notifications and help texts. Queue requests to avoid hitting the 60 RPM rate limit.
Use the free trial credit to test voice presets like nova for upbeat alerts or sage for instructional steps.
- Short phrase audio cues
- UI notification sounds
- Help text read-aloud
Node.js services
Handle background synthesis for web apps or mobile backends. Process batches of text efficiently by splitting into chunks. Store or stream the resulting audio files as needed.
The consistent API shape allows easy migration from OpenAI-style services. Use the same SDK structure with a simple base_url change to https://api.spindragons.info/v1.
- Background synthesis processing
- Batch text splitting
- Easy SDK migration
Developer Experience
The /get-api-key/ dashboard gives you a ready-to-use curl example and your API key immediately. You can paste the code directly into your JavaScript project to verify connectivity before building the full integration.
You can test synthesis limits and audio formats quickly using the provided examples. The interface shows your remaining balance and character count, so you know exactly how much generation capacity you have left during development.
Clear docs
The documentation mirrors the standard OpenAI speech endpoint structure. This means you can use the official OpenAI JavaScript SDK by simply changing the base_url to https://api.spindragons.info/v1. No learning curve for complex custom libraries.
- Standard JSON request shape
- Compatible with official OpenAI SDKs
- Ready
curlexamples on the dashboard
Easy testing
Sign up with Google to get $0.50 in free trial credit. This covers about 50,000 characters, enough to test multiple voices and formats without entering payment details immediately.
You can verify audio quality and language detection instantly. The dashboard displays usage stats so you can track how many characters your test phrases consume.
Support channels
Support is available via email only. There is no live chat or phone number. For technical questions about integration or billing, send a message and expect a response through your email inbox.
Comparison to Alternatives
Many TTS solutions bundle extra features you rarely need, such as SSML parsing or custom voice cloning, which adds complexity to your JavaScript stack. Our API strips away the noise, offering just the essential POST endpoint and standard JSON responses that fit directly into fetch calls.
Competitors often charge monthly subscriptions or require minimum spend commitments. With Spindragons, you pay strictly per character used, ensuring you never waste money on idle capacity.
Simpler stack
You do not need to install heavy libraries or manage complex state machines for partial audio streams. The API returns complete audio files via standard HTTP, allowing your JavaScript code to handle the blob directly without middleware.
- No SSML parsing overhead
- Standard JSON responses
- No complex state management
Lower cost
Unlike enterprise-grade platforms that lock you into monthly seats or minimum spend tiers, our pay-as-you-go model aligns costs with actual usage. You start with a free trial credit and only pay for what you generate.
- No monthly subscriptions
- No minimum spend
- Pay per 1,000 characters
Same interface
If you are already familiar with OpenAI’s TTS endpoint, you already know how to use this API. The request shape is identical, requiring only a change to the base_url and your specific API key.
- OpenAI SDK compatible
- Identical JSON body structure
- Same model names
Final Verdict
Spindragons is built for developers who want a reliable TTS endpoint without managing infrastructure. The simple JSON API and OpenAI SDK compatibility make it easy to integrate into JavaScript projects, while the pay-per-use model ensures you only pay for what you generate.
Good fit for indie devs
If you are building web apps, browser extensions, or Node.js services, this API offers a straightforward path to audio generation. The lack of complex setup and predictable billing aligns well with indie development workflows.
- Simple integration with fetch or OpenAI SDK
- Pay only for characters used
- No monthly fees or idle costs
Not for enterprise
The API lacks SLAs, uptime guarantees, and dedicated support channels, making it less suitable for large-scale, mission-critical deployments. If you require strict compliance certifications or custom voice cloning, this may not meet your needs.
Start with trial
You can test the API with a free $0.50 credit when signing in with Google. This allows you to evaluate voice quality and integration ease before committing to larger character volumes.
Next Steps
Getting started is straightforward. Create your account to receive a free trial credit and API key. You can sign in with Google for immediate access or use a standard email and password. Once registered, your dashboard displays your key, balance, and a ready-to-use cURL example for testing.
The key is issued instantly, allowing you to begin making requests without waiting for manual approval. This quick setup ensures you can move from sign-up to your first audio generation in minutes.
Sign up
Visit the /get-api-key/ page to create your account. You can authenticate via Google for instant trial credit or use a standard email and password. The process is simple and takes only a few seconds, providing immediate access to your unique API key and initial balance.
Read docs
Navigate to the /docs/ section to understand the JSON request structure. Review the available voices, supported languages, and rate limits. The documentation provides clear examples for both the OpenAI SDK and plain HTTP requests, ensuring you can integrate the API correctly into your JavaScript environment.
Build your app
Start making POST requests to the speech endpoint. Use your API key for authentication and send text input to receive audio files. Test with short phrases first to verify latency and quality, then scale up to longer texts by splitting them into 4096-character chunks. Integrate the audio directly into your web app or Node.js service.
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.
