Skip to content

inworld-ai/inworld-api-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inworld AI

Inworld API Examples

MIT License Documentation

This repository contains examples to help you get started with the Inworld APIs. These examples are short snippets that demonstrate best-practices in using Inworld and accelerating your development process.

Prerequisites

Requirement
Python 3.10+
Node.js 20+
API key Get one at inworld.ai

Repository Structure

inworld-api-examples/ ├── stt/ │ ├── python/ │ └── js/ ├── tts/ │ ├── python/ │ └── js/ └── realtime/ ├── python/ └── js/ 

Getting Started

STT (Speech-to-Text)

Transcribe audio via synchronous HTTP or real-time WebSocket streaming.

  • Python — Sync and streaming STT examples in Python
  • JavaScript — Sync and streaming STT examples in JavaScript

Covers synthesis, HTTP & WebSocket streaming, word/phoneme timestamps, long-text chunking, low-latency benchmarks, voice cloning, and voice design.

  • Python — Text-to-speech examples in Python
  • JavaScript — Text-to-speech examples in JavaScript

Covers WebSocket and WebRTC-based real-time voice agents with both basic and JWT authentication.

  • Python — Real-time voice agent examples in Python
  • JavaScript — Real-time voice agent examples in JavaScript

About

Inworld API Examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages