top of page

How to Connect Lumia Stream, Spotify & ai_licia for Your Twitch Stream

Writer's picture: Mathieu BayouMathieu Bayou

Ever wanted ai_licia to recognise the music you're playing on Spotify while streaming on Twitch? With Lumia Stream’s Spotify integration, you can automatically update ai_licia every time a song changes. This enhances viewer interaction, allows ai_licia to respond based on your music choices and creates a more immersive streaming experience.


Whether you're setting the vibe for a relaxed stream, hyping up gameplay or just hanging out with your community, this integration ensures ai_licia stays in tune with your Spotify playlist.


Why Connect ai_licia to Spotify?


Linking ai_licia to your Spotify with Lumia Stream opens up a whole new level of interaction for your Twitch channel:


  1. Real-Time Reactions: ai_licia can react to the mood of your stream. If you're vibing with lo-fi beats, she’ll keep it chill. Switch to high-energy EDM… and her tone will match the hype!

  2. Natural Song Callouts: Instead of the usual "Now Playing" bot command, ai_licia can casually mention the current song during conversations, making her feel like part of the stream.

  3. Music-Driven Stream Themes: Playing soft piano tracks? ai_licia could suggest winding down with a cosy Q&A. Got rock blasting? She might prompt a “Chat decides my next move” challenge.

  4. Jamming & Improv: Love jamming live? If you’re freestyling, riffing or improvising music on stream, ai_licia can chime in with comments or even suggest specific vibes to keep the energy flowing!

  5. Viewer Interaction: Viewers can ask ai_licia what song is playing, and she’ll answer instantly - no need for manual commands.


How to Set Up the Lumia Stream, Spotify & ai_licia Integration (Quick & Easy Guide)


1. Connect Spotify in Lumia Stream


  • Open the Lumia Stream dashboard.

  • Under Integrations, connect your Spotify account.

  • In the Triggers section, enable the Switch Song trigger.This trigger ensures ai_licia gets an update every time your Spotify track changes.

💡 Tip: Need a visual walkthrough? Check out the official Lumia Stream Spotify Setup Guide on Youtube.

2. Get Your ai_licia API Key


  • Log in to the ai_licia Streamer Dashboard. If you don’t have an account, sign up - it’s quick and free.

  • Go to Account Settings and find the API Key section.

  • If you already have an API key, simply copy it. If not, click Generate to create a new one and copy the key shown.This key lets Lumia Stream securely communicate with ai_licia.


3. Set Up the API Request in Lumia Stream


  • In the Lumia Stream dashboard, go to Alerts.

  • From the left menu, select Spotify, then choose Switch Song.

  • Scroll down to the Advanced section and select API Request.

  • Enter the following details:

    • Endpoint (URL): https://api.getailicia.com/v1/events

    • Request Type: POST

    • Add Header: Authorization = Bearer YOUR_API_KEYReplace YOUR_API_KEY with the key you copied from ai_licia.


4. Add the JSON Data


In Lumia Stream’s Data section, paste this JSON structure:

{

  "eventType": "GAME_EVENT",

  "data": {

    "channelName": "your_channel_name",

    "content": "Now playing: {{spotify_song}} by {{spotify_artist}}",

    "ttl": 600

  }

}

What this does:

  • {{spotify_song}} and {{spotify_artist}} automatically update with each song change.

  • "ttl": 600 means ai_licia will remember the song for up to 10 minutes (600 seconds). However, if a new request comes in - like when the song changes - she will immediately update to the new track, regardless of the remaining time. 

💡 Tip: If you play longer playlists or ambient tracks, increase the ttl to 1800 (30 minutes) or more so ai_licia doesn’t lose context.

5. Test the Connection


  • Play any song on Spotify.

  • In Lumia Stream, check the Logs under the trigger settings to confirm the event fired.

  • Go to ai_licia’s Go Live page, invite her to join your stream for testing, and ask “ai_licia, what song am I listening to?”.

  • If everything is set up correctly, she’ll respond with the current track.


🎉 Success! Now, every track change updates ai_licia, keeping her in sync with your stream’s vibe.


👉 Need help? Jump into the ai_licia Discord for support!

Make Your Stream More Interactive Today


With Lumia Stream, Spotify, and ai_licia working together, your Twitch stream becomes smarter and more immersive. Viewers will love how seamlessly ai_licia references your music, making every chat feel more personal and engaging.


Ready to upgrade your stream? Set up the integration today and let ai_licia keep your community in sync with your soundtrack!



 
 
 

Comments


bottom of page