Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voice Task API (with GPT-5-Nano) 🎤→📋

Node.js OpenAI Multier

A Node.js API that converts voice commands into structured tasks using OpenAI Whisper and GPT-5-Nano. Perfect for integrating with task management applications like Kanban boards.

Check out vue-mini-kanban, the repository using this API.

✨ Features

  • 🎤 Audio Capture: Supports WebM audio file uploads
  • 📝 Automatic Transcription: Uses OpenAI Whisper to convert audio to text
  • 🤖 Smart Processing: GPT-5-Nano structures tasks with title, description, and priority
  • 📊 Structured Output: Returns formatted JSON with HTML for easy frontend integration
  • 🔒 Security: Automatically removes sensitive information
  • 🌐 CORS Enabled: Ready for web application integration

🛠️ Tech Stack

  • Node.js + Express - Web server
  • Multer - File upload middleware
  • OpenAI API - Whisper (transcription) and GPT-5-Nano (processing)
  • CORS - Cross-origin resource sharing

📋 Prerequisites

  • Node.js 18 or higher
  • OpenAI API key
  • npm or yarn

📡 API Endpoints

POST /api/voice-task

Processes an audio file and returns a structured task.

  • Headers: Content-Type: multipart/form-data

  • Body: audio: Audio file (WebM)

⚙️ How to Run

npm install
OPENAI_API_KEY=your_openai_api_key_here
PORT=3000
npm run dev

The server will be running at http://localhost:3000

About

Node.js API that turns voice commands into structured tasks using OpenAI Whisper and GPT-5-Nano

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages