Add n8n community node, /api/v1/render alias, and job webhooks for OSS automation.

Payment-free self-hosted builds keep full API access with optional webhookUrl callbacks and the published n8n-nodes-songs2vid package source under integrations/n8n.
This commit is contained in:
Atakan Doğan Özban
2026-08-08 16:32:28 +02:00
parent 848607f9e0
commit f9b2a997a2
27 changed files with 7333 additions and 14 deletions
+3
View File
@@ -35,12 +35,15 @@ export async function POST(req: NextRequest) {
const job = await createVideoJob(user, {
imagePath: body.imagePath,
items,
webhookUrl: body.webhookUrl ?? null,
});
return NextResponse.json({
jobId: job.id,
itemCount: job.items.length,
status: job.status,
statusUrl: `/api/v1/jobs/${job.id}`,
webhookUrl: body.webhookUrl ?? null,
playlist: playlist
? { id: playlist.id, title: playlist.title, privacy: playlist.privacy }
: null,