Skip to main content

Generate AI music and publish YouTube videos automatically with Blotato, OpenAI, ElevenLabs, and Shotstack

Workflow preview

Workflow preview
100%
Generate AI music and publish YouTube videos automatically with Blotato, OpenAI, ElevenLabs, and Shotstack preview
Open on n8n.io

1. Workflow Overview

Generate AI Music & Publish to YouTube Automatically with Blotato This workflow automatically generates AI music, creates a ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.httprequest, n8n-nodes-base.merge, @blotato/n8n-nodes-blotato.blotato, n8n-nodes-cloudinary.cloudinary

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Dr. Firas.

Original n8n.io source

1.1 Workflow description

Title
Generate AI music and publish YouTube videos automatically with Blotato, OpenAI, ElevenLabs, and Shotstack
Workflow name
Generate AI music and publish YouTube videos automatically with Blotato, OpenAI, ElevenLabs, and Shotstack

πŸ’₯ Generate AI Music & Publish to YouTube Automatically with Blotato

This workflow automatically generates AI music, creates a thumbnail, converts everything into a video, and publishes it directly to YouTube β€” fully automated.

Perfect for building faceless YouTube music channels, AI content automation, or passive content generation pipelines.


Who is this for?

This template is ideal for:

  • YouTube creators building AI music channels
  • Content creators creating faceless videos
  • Automation enthusiasts using n8n for content pipelines
  • Agencies generating bulk YouTube content
  • Anyone wanting to automate music creation and publishing

Whether you're creating lofi music, ambient tracks, meditation sounds, or background music, this workflow removes manual work entirely.


What problem is this workflow solving?

Creating AI music videos typically involves multiple manual steps:

  • Generating music
  • Creating thumbnails
  • Converting audio into video
  • Uploading to YouTube
  • Writing titles and metadata

This process is time-consuming and repetitive.

This workflow automates everything into a single end-to-end pipeline, allowing you to:

  • Generate unlimited AI music
  • Automatically create thumbnails
  • Convert audio into video
  • Publish directly to YouTube

What this workflow does

This workflow performs the following steps:

  1. User submits a music request via form
  2. AI generates an optimized music prompt
  3. ElevenLabs generates AI music
  4. AI generates thumbnail prompt
  5. Atlas Cloud generates thumbnail image
  6. Cloudinary uploads generated assets
  7. Shotstack creates video (image + audio)
  8. Blotato uploads video to YouTube automatically
  9. SEO-optimized YouTube title is generated automatically

Final result: AI-generated music video automatically published to YouTube

The entire process runs fully automated.


Setup

To use this workflow, configure the following credentials:

Required APIs
  • OpenAI API Key β€” Prompt generation
  • Elevenlabs API Key β€” Music generation
  • AtlasCloud API Key β€” Thumbnail generation
  • Cloudinary Account β€” Media hosting
  • Shotstack API Key β€” Video creation
  • Blotato API Key β€” YouTube publishing
Community Node Requirement

This workflow uses the Blotato community node.

πŸŽ₯ Watch This Tutorial


πŸ‘‹ Need help or want to customize this?

πŸ“© Contact: LinkedIn πŸ“Ί YouTube: @DRFIRASS πŸš€ Workshops: Mes Ateliers n8n

Need help customizing?

Contact me for consulting and support : Linkedin / Youtube / πŸš€ Mes Ateliers n8n

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Music Generation Form

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.5

Block 2 - Generate ElevenLabs Prompt

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 3 - OpenAI gpt-4o-mini

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 4 - JSON Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 5 - Generate Music - ElevenLabs

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 6 - Generate Image Prompt

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 7 - OpenAI gpt-4o-mini Image

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 8 - Generate Thumbnail - Atlas Cloud

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 9 - Merge Audio & Image Paths

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 10 - Create post Youtube

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 11 - Upload an asset from file data

Type / Role
n8n-nodes-cloudinary.cloudinary - cloudinary
Config choices
Version 1

Block 12 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 13 - Check Image Status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 14 - Extract Prediction ID

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Wait2

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 16 - Shotstack Render

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 17 - Shotstack Poll Result

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 18 - Code clean urls

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Code clear imageUrl

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate AI music and publish YouTube videos automatically with Blotato, OpenAI, ElevenLabs, and Shotstack
Complexity advanced
Nodes 24
Categories Content Creation, Multimodal AI
Author Dr. Firas
Published 10 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14985/14985.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate AI music and publish YouTube videos automatically with Blotato, OpenAI, ElevenLabs, and Shotstack do?

Generate AI Music & Publish to YouTube Automatically with Blotato This workflow automatically generates AI music, creates a ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.