Fixes #659
Lovable's POST /videos request was OpenAI's Sora body: seconds of "4" | "8" | "12", Sora sizes, and a description that still named sora-2 after the model enum was overwritten with the Google ids.
The gateway runs Veo and Gemini Omni (docs). Spec sync now replaces that body with one branch per listed video model:
- Veo 3.1 Lite: seconds
4, 6, 8. Sizes are 720p and 1080p. 1080p is 8 seconds. No 4K.
- Veo 3.1 and Veo 3.1 Fast: the same seconds, plus 4K. 1080p and 4K are 8 seconds.
- Gemini Omni 1.1 Flash: seconds
3 through 10, at 360p, 720p, 1080p, and 4K.
A listed video id with no row in that table fails the sync, so a new model cannot ship on Sora's limits. The video operation is docs-derived as of 2026-11-16. No video description mentions Sora.
Test plan#
Warning
Review limit reached#
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 46 minutes.
Check out review usage here.
View limit details
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
806e7f45-e486-46da-80e2-76b9ef23e648Reviewing files that changed from the base of the PR and between 876992937d62891e9738527934373ad840c758cf and 78e01e78b4ed8b8b487dacf15189ce5d61aade8d.
src/server/providers/adapters/lovable.tssrc/server/providers/lovable-video.test.tssrc/server/providers/lovable-video.tsThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share