maxrave-dev / maxrave-dev/SimpMusic
AI Lyrics Translation fails with OpenRouter Custom OpenAI Compatible API
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 11.4k
- Forks
- 599
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 7
Description
Duplicate Check
- I confirm I searched for existing reports and found no duplicates.
Describe the Bug
Hello,
I am testing the AI Lyrics Translation feature, but translated lyrics are not appearing.
AI Setup:
- AI Provider: Custom OpenAI Compatible
- Base URL: "https://openrouter.ai/api/v1"
- Model: "google/gemma-4-26b-a4b-it:free"
- Translation language: "en"
Testing:
I tested the same OpenRouter configuration using cURL, and the API works correctly. The model successfully returns translated text.
Example response:
"The English translation is: "Hello my love, how are you?""
Issue:
Inside SimpMusic:
- API key is accepted
- Use AI Lyric Translation is enabled
- Lyrics are available
- But AI-translated lyrics are not displayed
Actual behavior:
No translated lyrics appear.
Could you please check if Custom OpenAI Compatible endpoints like OpenRouter are fully supported by the AI Lyrics Translation beta feature?
Steps to Reproduce
- Open Settings → AI
- Select Custom OpenAI Compatible
- Enter OpenRouter API key
- Set Base URL and model ID
- Enable Use AI Lyric Translation
- Play a non-English song with lyrics
Expected Behavior
Lyrics should be translated into English.
App Version
v1.6.0
Android Version
Android 15
Device Model
Samsung A06
Custom ROM
- I am using a custom ROM
Custom ROM Name (if applicable)
No response
Screenshots (optional)
No response
Log / Error Details
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Settings → AI and reproduce the AI Lyrics Translation flow with the listed OpenRouter-compatible configuration, comparing the app behavior with the successful cURL response. Done means translated lyrics appear for a non-English song when the feature is enabled; the issue provides no file or test names, so trace the Android translation path first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- ai, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100