Guides
- Quickstart
- Quickstarts by language
- Migration guides
- Authentication and keys
- Key protection
- Models, aliases and fallbacks
- Automatic model choice (silicon/auto)
- Chat completions
- Streaming
- Structured outputs and tools
- Logprobs
- Vision
- Responses, Claude and Ollama
- Embeddings, rerank, audio, images
- Files and batches
- Documents and search
- LoRA adapters
- Project tags and costs
- Prefix caching
- Headers, rate limits and spend caps
- Errors
- Versioning and the sandbox
- Privacy and retention
- Verifiable receipts
- Data residency
- Pricing
- Billing
- Pay per request (x402)
- On-chain oracle
- Agent credit (backed compute lines)
- Status
- SDKs
- Swift SDK
- Integrations
- Run a node
- Linux agent
- Mac mini fleets
- Compute API
- Architecture
- Changelog
- Glossary
API reference
API reference
Audio
Speech to text and text to speech.
Base URL https://api.siliconnetwork.io
Audio Transcriptions
Multipart upload. response_format is json, text, verbose_json (segments and language), srt, or vtt. Billed per second of audio.
silicon - zsh
curl -X POST https://api.siliconnetwork.io/v1/audio/transcriptions \ -H "Authorization: Bearer sn_live_..." \ -F "file=@meeting.wav" \ -F "model=whisper-large-v3-turbo" \ -F "response_format=verbose_json"transcribe.py
from openai import OpenAI client = OpenAI(base_url="https://api.siliconnetwork.io/v1", api_key="sn_live_...")with open("meeting.wav", "rb") as fh: out = client.audio.transcriptions.create(model="whisper-large-v3-turbo", file=fh)print(out.text)response
{ "text": "Thanks everyone, let's start with the roadmap.", "language": "en", "duration": 4.2, "segments": [{ "id": 0, "start": 0.0, "end": 4.2, "text": "Thanks everyone, let's start with the roadmap." }], "usage": { "type": "duration", "seconds": 5 }}Responses: 200 Successful Response, 422 Validation Error
POST/v1/audio/speech
Audio Speech
Returns audio bytes; the Content-Type names the format (wav and pcm always, mp3 when the node has an encoder). Billed per character of input; the count is echoed in X-Silicon-Usage-Units.
silicon - zsh
curl -X POST https://api.siliconnetwork.io/v1/audio/speech \ -H "Authorization: Bearer sn_live_..." \ -H "Content-Type: application/json" \ -d '{ "model": "kokoro-82m", "input": "Welcome to Silicon Network.", "voice": "af_heart", "response_format": "wav"}'speak.py
from openai import OpenAI client = OpenAI(base_url="https://api.siliconnetwork.io/v1", api_key="sn_live_...")with client.audio.speech.with_streaming_response.create( model="kokoro-82m", voice="af_heart", input="Welcome to Silicon Network.", response_format="wav") as resp: resp.stream_to_file("welcome.wav")Responses: 200 Successful Response, 422 Validation Error
Silicon Network›Docs›API›Audio54 items