n8n Integration
Overview
n8n is a workflow automation tool. By integrating NanoStudio API with n8n, you can easily build automated AI image generation workflows, such as creating social media cover via simple forms.
Usage
YouTube Thumbnail Generator
This workflow demonstrates how to generate high-quality YouTube thumbnails based on a title and optional reference image. It uses Nano Banana Pro model for best results.
Features
- Form Trigger: Simple input for video title.
- Image Reference: Option to upload a reference image for style transfer.
- Automated Prompting: Automatically generates detailed prompts based on your inputs.
- Wait & Poll Loop: Handles the asynchronous nature of image generation tasks.
Community Post
Download Workflow
You can import this workflow directly into your n8n instance.
Workflow Code
{
"name": "YouTube Thumbnail Generator (Nano Banana Pro)",
"nodes": [
{
"parameters": {
"formTitle": "YouTube Thumbnail Generator",
"formDescription": "Enter title -> Generate -> Get image in seconds",
// ... (truncated)
},
"name": "Form",
"type": "n8n-nodes-base.formTrigger",
// ...
}
// ... (See full file download for complete code)
]
}Note: Please update the
Authorizationheader in the HTTP Request nodes with your actual NanoStudio API Key (Bearer sk-...).