Recipe API

Your Recipe API server is up and running! Here are the available endpoints:

GET /recipes

Fetch all recipes

GET /recipes/:id

Fetch a single recipe by ID

POST /recipes

Manually add a new recipe

DELETE /recipes/:id

Delete a recipe by ID

POST /process-youtube

Process a YouTube video into a recipe

GET /content-creators

Get all content creators with pagination

GET /content-creators/:id

Get a single content creator by ID

GET /content-creators/:id/recipes

Get all recipes by a specific content creator

GET /setup-status

Check database setup status and get setup instructions

🎤 Voice Assistant

GET /health

Voice assistant health check

POST /api/transcribe

Transcribe audio to text using OpenAI Whisper

POST /api/chat

Recipe-aware chat with GPT-3.5

POST /api/speak

Convert text to speech using OpenAI TTS

POST /api/voice-chat

🎯 Complete audio-to-audio workflow: Send audio → transcribe → chat → speech response

📱 Social Media Processing

POST /social-media/tiktok

Get TikTok video transcript and details from a TikTok URL

POST /social-media/instagram

Get Instagram post details and video transcript from an Instagram URL

Server is running on port 5000