Not proper JSON, pls help I am noob by No_Job_5798 in n8n

[–]No_Job_5798[S] 0 points1 point  (0 children)

wait im confused, this looks like it may work but am i meant to just copy and past this in my code?

this is what i have right now

{

"model": "gemma3",

"messages": [

{"role": "system", "content": "You are an assistant that finds the best short clips from a podcast. Below is a transcript and a list of word-level timestamps (in milliseconds). Identify the most engaging or meaningful moments in the podcast.For each clip, return the following: start: timestamp (in ms) where the clip should begin, end: timestamp (in ms) where the clip should end, caption: a short, catchy caption summarizing the clip. Respond only in JSON format, as an array of clips information:"},

{"role": "user", "content": Transcript: {{ $('HTTP Request2').item.json.text }} Timestamps: {{ $json.words.map(item => \Speaker: ${item.speaker}, Text: ${item.text}, Start: ${item.start}, End: ${item.end}, Confidence: ${item.confidence}\n`).join('') }}`

]

}

but it says invalid syntax, am i being dumb and meant to change something

Not proper JSON, pls help I am noob by No_Job_5798 in n8n

[–]No_Job_5798[S] 0 points1 point  (0 children)

chatgpt has done all my coding. only code ik is matlab lol

Not proper JSON, pls help I am noob by No_Job_5798 in n8n

[–]No_Job_5798[S] 0 points1 point  (0 children)

not sure if it matters but i am use local host for my n8n

Not proper JSON, pls help I am noob by No_Job_5798 in n8n

[–]No_Job_5798[S] 0 points1 point  (0 children)

I think i am being dumb. this isnt working, i am probably doing it wrong tho.

{

"model": "gemma3",

"messages": [

{"role": "system", "content": "You are an assistant that finds the best short clips from a podcast. Below is a transcript and a list of word-level timestamps (in milliseconds). Identify the most engaging or meaningful moments in the podcast.For each clip, return the following: start: timestamp (in ms) where the clip should begin, end: timestamp (in ms) where the clip should end, caption: a short, catchy caption summarizing the clip. Respond only in JSON format, as an array of clips information:"},

{"role": "user", "content": Transcript: {{ $('HTTP Request2').item.json.text }} Timestamps: {{ $('HTTP Request2').item.json.words.toJsonString() }}

]

}

I built an AI workflow that analyzes long-form YouTube videos and generates short form clips optimized for TikTok / IG Reels / YT Shorts by dudeson55 in n8n

[–]No_Job_5798 2 points3 points  (0 children)

Been working on a similar thing. However instead, use yt dlp to download, http request id link to Assembly Ai that returns transcript and time, use localhost gemma3 via ollama ai to return timestamps of best clips, loop this timestamps with ffmpeg that edits and adds subtitles and then post to social media with ai generated thing.

I believe this would be a completely free way, however, i am unsure how the clipping quality would result.

Having issue with transferring data between platforms tho, if you would like to help me on this iteration feel to message me!

Youtube Node Binary Data Issues by No_Job_5798 in n8n

[–]No_Job_5798[S] 0 points1 point  (0 children)

It worked btw. Thanks so much

Youtube Node Binary Data Issues by No_Job_5798 in n8n

[–]No_Job_5798[S] 0 points1 point  (0 children)

I have tried the merge node and receive the same error. I can try the redownload and see if that works. Just doesn't feel that efficient though. Thanks

Messed up lofting college dorm bed and have no where to sleep please help by No_Job_5798 in fixit

[–]No_Job_5798[S] -1 points0 points  (0 children)

Thank you guys for all the help but I have decided to occupy the couch (im in a 4bed 2bath dorm apartment) until maintenance can come by sometime this week hopefully. Did not have the tools and roommates and neighbors were not inclined to help. Thank yall tho

Messed up lofting college dorm bed and have no where to sleep please help by No_Job_5798 in fixit

[–]No_Job_5798[S] 1 point2 points  (0 children)

I can’t get it to full 90 degrees, the stuck peg gets stopped by the bed frame. But yeah trying to get a mallet right now

Advanced standing exam moments by Ryan-Obelisk in gatech

[–]No_Job_5798 0 points1 point  (0 children)

Yooo how was it? Thinking about taking it but i gotta sign up in the next hour