LyricVideoGenerator

v1.0.1
app.lyricvideogenerator/lyric-video Checked 4 days ago Published 1 month ago

Turn a song and its lyrics into a word-synced lyric video, with three styles to choose from.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_lyric_video Create lyric video

Turns a song the user attached (MP3/WAV) into a word-synced lyric video and proposes three visual styles. Pass the lyrics if the user gave them; otherwise they are transcribed from the audio. Takes about 10–40 seconds. Creates a new project each call.

ParameterTypeDescription
audio *objectThe song file the user attached
lyricsstringFull song lyrics, one line per sung line, if provided by the user
titlestringSong title, if known

get_lyric_video Get lyric video

Returns a lyric video project's processing status, its three style options, the style now applied, and its numbered lyric lines.

ParameterTypeDescription
projectId *stringprojectId returned by create_lyric_video

choose_style Choose style

Applies one of the three proposed style options (1, 2 or 3) to the lyric video. Replaces any edits made to the current style.

ParameterTypeDescription
option *integer
projectId *stringprojectId returned by create_lyric_video

update_style Update style

Changes the look of the current lyric video style: layout, word animation, colors, font, text size, background, and chorus emphasis. Send only the fields to change. Colors are #RRGGBB. Unreadable color combinations and unknown fonts are corrected or rejected with a reason.

ParameterTypeDescription
changes *object
projectId *stringprojectId returned by create_lyric_video

edit_lyrics Edit lyrics

Replaces the text of one lyric line (numbered from 1, as listed by get_lyric_video), keeping its timing. Use it to fix misheard or misspelled words.

ParameterTypeDescription
line *integer
projectId *stringprojectId returned by create_lyric_video
text *string

export_video Export video

Free export: a 720p, 16:9 MP4 with a small watermark and a 2.5-second end card. It renders on the user's own computer inside the widget (about as long as the song), so this tool shows the widget and starts the export there; the user downloads the MP4 from the widget when it finishes. If their ChatGPT app can't render video, the widget offers to open the project in their browser instead.

ParameterTypeDescription
projectId *stringprojectId returned by create_lyric_video

begin_local_export Begin local export

Widget only: reserve a free 720p export to render in the browser.

ParameterTypeDescription
projectId *stringprojectId returned by create_lyric_video

upload_local_export Upload local export

Widget only: storage upload target for a browser-rendered MP4.

ParameterTypeDescription
bytes *integer
exportId *string

finish_local_export Finish local export

Widget only: complete a browser-rendered export after its upload, or fail it with an error.

ParameterTypeDescription
exportId *string
assetIdstring
errorstring

open_in_browser Open in browser

Widget only: a short-lived link that opens this project in the user's browser, where it can be exported.

ParameterTypeDescription
projectId *stringprojectId returned by create_lyric_video

export_hd_video Export HD video

Renders the lyric video in 1080p without a watermark, as 16:9 (landscape) or 9:16 (vertical). Requires the user's LyricVideoGenerator account: it uses 1 credit from their plan (or is free if this song was already unlocked on the website). Credits are refunded if the render fails. Returns an exportId; the widget shows progress and the download link.

ParameterTypeDescription
projectId *stringprojectId returned by create_lyric_video
aspectstring16:9 for YouTube, 9:16 for TikTok / Reels / Shorts

get_export Get export

Returns the status of a video export and, when finished, its MP4 download URL.

ParameterTypeDescription
exportId *stringexportId of the export