mirror of
https://git.atakanozban.com/Songs2VID/songs2vid.git
synced 2026-11-14 21:29:49 +01:00
37 lines
1003 B
Markdown
37 lines
1003 B
Markdown
|
|
# n8n integration (OSS)
|
||
|
|
|
||
|
|
Automate self-hosted Songs2VID with the community package **[`n8n-nodes-songs2vid`](https://www.npmjs.com/package/n8n-nodes-songs2vid)**.
|
||
|
|
|
||
|
|
Full hosted guide: [https://docs.songs2vid.com/docs/n8n](https://docs.songs2vid.com/docs/n8n)
|
||
|
|
|
||
|
|
## Install
|
||
|
|
|
||
|
|
In n8n → **Settings → Community nodes** → install:
|
||
|
|
|
||
|
|
```text
|
||
|
|
n8n-nodes-songs2vid
|
||
|
|
```
|
||
|
|
|
||
|
|
Or from this repo for local development:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
cd integrations/n8n
|
||
|
|
npm install
|
||
|
|
npm run build
|
||
|
|
```
|
||
|
|
|
||
|
|
## Auth
|
||
|
|
|
||
|
|
1. Dashboard → **Settings → API key** → create `s2yt_live_…`
|
||
|
|
2. n8n credential **Songs2VID API**: paste key, Base URL = your instance (e.g. `http://localhost:3000`)
|
||
|
|
|
||
|
|
OSS has **no plan gate** — API keys work whenever YouTube is connected.
|
||
|
|
|
||
|
|
## Flow
|
||
|
|
|
||
|
|
1. **Upload** cover (`type=image`) and audio (`type=audio`)
|
||
|
|
2. **Create Render** (`POST /api/v1/render`) with paths + optional `webhookUrl`
|
||
|
|
3. Handle completion via n8n **Webhook** or poll `GET /api/v1/jobs/:id`
|
||
|
|
|
||
|
|
Package source: [`integrations/n8n`](../integrations/n8n/).
|