Lector API

Turn text, URLs, documents, and images into audio

Built for developers, agents, automation, and AI-native workflows.

What Lector can turn into audio

  • Text → direct TTS
  • URL → extracted content → audio
  • Document → parsed text → audio
  • Image → OCR → audio
  • URL + files → flexible ingestion

Choose how audio is delivered

  • Stream → real-time playback
  • URL → hosted audio file

Choose between instant streaming or generating a URL for async workflows and agents.

Built for agents and automation

  • OpenAI tool use workflows
  • Claude-style reasoning and output pipelines
  • Local and autonomous agents
  • Slack, Telegram, and automation workflows
  • Accessibility and assistive workflows

Quick examples

curl -X POST https://api.lectorai.app/v1/tts \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "text": "Hello from Lector",
      "voice": "alloy",
      "delivery": "url"
    }'
curl -X POST https://api.lectorai.app/v1/listen-url \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "url": "https://example.com/article",
      "delivery": "url"
    }'

Core endpoints

  • /v1/tts
  • /v1/listen-content
  • /v1/listen-url
  • /v1/listen-document
  • /v1/listen-document-url
  • /v1/listen-image
  • /v1/listen-image-url
  • /v1/capabilities

Simple billing flow

Start with API access, generate audio, and scale usage as your application grows.

Start building with Lector API