Ghost Voice Intelligence API Reference
A practical API overview for engineering teams integrating Ghost into AI voice stacks, routing layers, or enterprise voice products.
Authentication
Ghost Voice Intelligence uses bearer-token authentication for control plane access. Requests are scoped per environment and can be paired with provider policies, latency constraints, and audit settings.
Authorization: Bearer gv_live_xxxxxxxxx
Content-Type: application/jsonSynthesis Request
Applications submit text along with behavior goals. Ghost evaluates prosody controls, emotional state, session memory, and provider availability before executing synthesis.
POST /v1/speech/synthesize
{
"text": "Thanks for calling Ghost AI Solutions.",
"mode": "realtime",
"voice_seed": "sales-demo-01",
"emotion": {
"primary": "confident",
"secondary": "warm",
"intensity": 0.72
},
"prosody": {
"pace": 0.88,
"emphasis": "strategic",
"pause_strategy": "conversational"
},
"session_id": "session_2391"
}Response Model
Responses include the selected provider path, timing metadata, quality signals, and pointers for streaming or stitched audio retrieval.
- provider: resolved provider and region path
- trace_id: observability correlation id
- latency_ms: orchestration and provider latency
- quality_score: evaluation loop output
- audio_url or stream token: delivery handle for playback
Enterprise Integration Surface
Beyond synthesis, the control plane can expose session adaptation, provider routing policies, event hooks, and quality scoring data for enterprise pipelines.
- Session continuity endpoints for persistent voice behavior
- Routing policies for preferred vendors and failover
- Evaluation hooks for post-call or post-session scoring
- Metrics export for latency, quality, and provider health