Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active June 5, 2025 20:03
Show Gist options
  • Select an option

  • Save wilmoore/5340da92c61baacb80ec02e7b5c6c742 to your computer and use it in GitHub Desktop.

Select an option

Save wilmoore/5340da92c61baacb80ec02e7b5c6c742 to your computer and use it in GitHub Desktop.
AI :: Model :: Platform :: Replicate :: Training :: Building an AI-Powered Spanish Tutor – AI Voice + Image Generation

AI :: Model :: Platform :: Replicate :: Training :: Building an AI-Powered Spanish Tutor – AI Voice + Image Generation

⪼ Made with 💜 by Polyglot.

related

image

This video is a live tutorial session (part of the Zero to Launch series) aimed at educating and inspiring indie hackers and product builders. The Lovable team, joined by guest Zeke from Replicate, walks viewers through building and extending a Spanish language learning web app using Lovable, Replicate, Supabase, and OpenAI. They demonstrate integrating AI-generated courses, real-time conversation via WebRTC, and image generation with Replicate—while tackling real debugging issues live.

Highlights

  • Meet the Team & Guest Intro:

    • Christian, Alex, and Harry from Lovable kick things off.
    • Zeke from Replicate introduces the platform, which lets developers run and deploy AI models via API.
  • What is Replicate?

    • API-first platform for running ML models without deep ML expertise.
    • Supports multiple modalities: image, video, text-to-speech, etc.
    • Offers a code playground and pre-written Node/Python snippets for easy dev integration.
    • Designed to scale from hobby projects to enterprise-level deployments.
  • Zero to Launch Context:

    • Series builds a production-ready app live, across multiple sessions.
    • Goes beyond coding—covers audience building, monetization, and launching.
  • Current Project: Spanish Learning App

    • Started with an AI Spanish tutor in Session 1.
    • Today: Added AI-generated courses (10-question quizzes using OpenAI & Supabase).
    • Real-time voice interaction with AI tutor added using OpenAI's real-time voice.
  • Live Build Walkthrough:

    • Lovable auto-generates SQL tables and Edge functions in Supabase.
    • Function calling used to generate structured course content.
    • Prompt engineering demo: crafting prompts for OpenAI to act as a course generator.
  • Replicate Integration:

    • Used for generating cover images for each course.
    • Model recommended: flux-schnell (fast image generation).
    • Playground used to tweak prompt, format, and output preview.
    • Showed how to handle API responses (e.g., extracting image URLs).
  • Real-Time AI Conversations:

    • Implemented real-time Spanish practice using OpenAI + WebRTC.
    • Allows user to converse with AI using voice in their native language.
    • Multilingual and conversational context-aware.
  • Lovable Product Updates:

    • New Figma-to-code export via Builder.io integration.
    • Improved support for version control, realtime updates, and OpenAI WebRTC.
    • Upcoming improvements in debugging and error handling with Supabase logs.
  • Developer Experience Tips:

    • Discussed versioning pain points in AI-based coding tools.
    • Highlighted future needs: better bookmarks/checkpoints during iteration.
  • Zeke's Insights:

    • Uses Cursor and other NL-based tools to write minimal code directly.
    • Emphasizes prompt clarity and iterative refinement for successful AI development.
  • Community Engagement:

    • Viewers voted live on features to build.
    • $50 Replicate credits offered to the first 400 users.
    • Invitation to continue Q&A in Discord.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment