Python SDK Quickstart
Synthesize Multimodal Tensors in 3 Lines
Install the high-performance Python SDK and initialize real-time streaming connections to Neural OS clusters.
# Install via pip
$ pip install neural-os-core
from neural_os import NeuralEngine
# Initialize client with sub-1.5ms edge routing
engine = NeuralEngine(api_key="nos_live_9981247")
# Stream sub-millisecond tensor response
response = engine.synthesize_stream(
prompt="Refactor CUDA memory alignment for FP8 tensors",
concurrency=64
)
for token in response.stream():
print(token, end="", flush=True)
cURL REST Example
curl -X POST https://api.neural-os.ai/v3/inference \
-H "Authorization: Bearer nos_live_9981247" \
-H "Content-Type: application/json" \
-d '{
"model": "neural-llm-70b-fp8",
"prompt": "Synthesize risk report",
"temperature": 0.7
}'