Back to Catalog

Templates by AI/ML API | D1m7asis

Automate AI video production & distribution with Veo3, YouTube & Google Suite

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Generate Veo3 Videos via AI/ML API, Save to Google Drive and Upload to YouTube Transform your content creation process by automating video generation with AI, publishing to YouTube, and logging results in Google Sheets. This workflow is ideal for content creators, marketers, and social media managers looking to streamline video production and distribution. How it works Trigger: Start the workflow manually or on a scheduled interval (e.g., every hour). Generate Video: Send a request to the AI/ML API to create video content based on predefined prompts and settings. Monitor Status: Poll the AI/ML API until the video generation is completed, with retry logic for reliability. Download & Upload: Retrieve the generated video file and upload it to your connected YouTube channel. Title Generation: Generate a YouTube title using AI to optimize for engagement. Log Results: Update a Google Sheet with video metadata and the YouTube URL for tracking and analytics. Set up steps Connect Credentials: Add OAuth2 credentials for AI/ML API, YouTube, and Google Sheets in n8n Credentials. Configure Nodes: Rename nodes for clarity (e.g., Generate Video, Upload to YouTube) and set up the HTTP Request node to use your AI/ML API credential. Sheet Preparation: Create a Google Sheet with columns for Date, Prompt, Video ID, and YouTube URL. Schedule: If using scheduling, configure the Schedule Trigger interval (e.g., every 60 minutes). Test & Deploy: Run a manual trigger, verify video generation, upload, and sheet entry, then activate the workflow for automation.

AI/ML API | D1m7asisBy AI/ML API | D1m7asis
2221

Generate videos from text prompts using GPT-5 and Google Veo-3

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. ๐ŸŽฌ GPT-5 Cinematic Video Generator (n8n + AI/ML API + Google Veo-3) This n8n workflow transforms even a single word into a fully rendered cinematic video using Google Veo-3 image-to-video and prompt expansion with GPT-5. Ideal for rapid creative prototyping, content creation, and AI-driven video production. --- ๐Ÿš€ Key Features Ultra-Short Input Ready โ€“ Works with just one keyword or a short idea. AI Prompt Expansion โ€“ GPT-5 adds cinematic elements: camera motion, mood, color palette, and composition. Automated Video Generation โ€“ Veo-3 i2v model creates smooth, visually appealing clips. Smart Polling โ€“ Waits until video is ready, with success/fail handling. Direct Output โ€“ Returns ready-to-use video URL for download or publishing. --- ๐Ÿ›  Setup Guide Create AI/ML API Credentials Get your API key from AI/ML API Keys. In n8n > Credentials, add AI/ML account (Bearer token). (Optional) Change Image Source Edit the Set image URL node to point to your desired still image for video generation. Run from Chat Send a word or short phrase via Chat Trigger to start the process. (Optional) Extend Output Add Google Drive upload, YouTube publish, or database logging nodes for a complete content pipeline. --- ๐Ÿ’ก How It Works Trigger โ€“ Receives chat input (keyword or brief). Prompt Expansion โ€“ GPT-5 turns it into a cinematic, Veo-3-optimized description. Video Creation โ€“ Sends prompt + image to Veo-3 image-to-video. Polling โ€“ Checks generation status every 30 seconds until complete. Result โ€“ Returns direct video URL, ready for your next steps.

AI/ML API | D1m7asisBy AI/ML API | D1m7asis
1727

Generate AI images in Telegram with GPT-4o enhancement and Flux Pro

๐Ÿง  AI Image Generator Bot โ€” Telegram + AI/ML API This n8n workflow allows users to generate AI-generated images by sending messages to a Telegram bot. Each request is logged in Google Sheets and limited by a daily quota per user. Image prompts are enhanced by LLM before generation. --- ๐Ÿš€ Features ๐Ÿ“ฉ Telegram-based input ๐Ÿง  Prompt enhancement with GPT-4o ๐ŸŽจ AI image generation via flux-pro model (AIMLAPI) ๐Ÿ–‹ Auto-caption generation ๐Ÿ“Š Usage tracked per user daily in Google Sheets ๐Ÿ”’ Daily request limits โœ… Graceful UX for over-limit cases --- ๐Ÿ›  Setup Guide ๐Ÿ“ฒ Create Telegram Bot Talk to @BotFather Use /newbot โ†’ Choose a name and username Save the bot token ๐Ÿ” Set Up Credentials in n8n Telegram API: Use your bot token Google Sheets: Set up via OAuth2 or Service Account AI/ML API: Set up with your API key from aimlapi.com ๐Ÿ“— Prepare Google Sheet Name: Any (e.g., Image bot usage statistic) Sheet: Sheet1 Columns: userid | date | query | resulturl Share the sheet with the email of your service/OAuth2 account ๐Ÿ”ง Configure the Workflow Open the n8n editor and import the JSON Update: Telegram credential Google Sheets credential and Sheet ID AI/ML API credentials --- โš™๏ธ Flow Summary | Node | Function | | ------------------------------ | ------------------------------------ | | ๐Ÿ“ฉ Receive Telegram Message | Triggered by user message | | ๐Ÿ“Š Fetch Usage Logs | Reads today's entries from Sheet | | ๐Ÿ“ˆ Count Todayโ€™s Requests | Counts how many generations today | | ๐Ÿ”ข Set Daily Limit | Sets default limit (5) | | ๐Ÿšฆ Check Limit Exceeded? | If over limit โ†’ notify | | ๐Ÿง  Enhance Prompt | Uses GPT-4o to improve user's prompt | | ๐ŸŽจ Generate Image | Sends to AIMLAPI to generate | | ๐Ÿ–‹ Describe Image | Generates caption for the image | | ๐Ÿ“ค Send Image to User | Sends back to Telegram | | ๐Ÿ“ Log Successful Generation | Writes to Google Sheets | --- ๐Ÿ“ Data Logging Each successful generation is stored in Google Sheets: | user\id | date | query | result\url | | -------- | ---- | ----- | ----------- | --- ๐Ÿ’ก Example Prompt Flow User sends: astronaut cat floating in space Bot replies: > Hereโ€™s your image: > A majestic feline astronaut drifts through a glittering cosmic void, its helmet reflecting starlight. The image is sent with the caption --- ๐Ÿ”„ Daily Limit Default: 5 generations/day per Telegram user You can change this in the ๐Ÿ”ข Set Daily Limit node --- ๐Ÿงช Testing Use /execute workflow in Telegram โ€” not "Execute Node" in editor Log test results to sheet Add extra Set nodes for debugging as needed --- ๐Ÿ“Ž Resources ๐Ÿ”— AI/ML API Docs ๐Ÿ–ผ๏ธ flux-pro Model UI

AI/ML API | D1m7asisBy AI/ML API | D1m7asis
1259

Analyze images & extract text with GPT-4o Vision and Telegram

Whoโ€™s it for Teams and makers who want a plug-and-play vision bot: users send a photo in Telegram, the bot returns a concise description plus OCR text. No custom servers requiredโ€”just n8n, a Telegram bot, and an AIMLAPI key. What it does / How it works The workflow listens for new Telegram messages, fetches the highest-resolution photo, converts it to base64, normalizes the MIME type, and calls AIMLAPI (GPT-4o Vision) via the HTTP Request node using the OpenAI-compatible messages format with an image_url data URI. The model returns a short caption and extracted text. The answer is sent back to the same Telegram chat. Requirements n8n instance (self-hosted or cloud) Telegram bot token (from @BotFather) AIMLAPI account and API key (OpenAI-compatible endpoint) How to set up Create a Telegram bot with @BotFather and copy the token. In n8n, add Telegram credentials (no hardcoded tokens in nodes). Add AIMLAPI credentials with your API key (base URL: https://api.aimlapi.com/v1). Import the workflow JSON and connect credentials in the nodes. Execute the trigger and send a photo to your bot to test. How to customize the workflow Modify the vision prompt (e.g., add brand, language, or formatting rules). Switch models within AIMLAPI (any vision-capable model using the same messages schema). Add an IF branch for text-only messages (reply with guidance). Log usage to Google Sheets or a database (user id, file id, response). Add rate limits, user allowlists, or Markdown formatting in Telegram responses. Increase timeouts/retries in the HTTP Request node for long-running images.

AI/ML API | D1m7asisBy AI/ML API | D1m7asis
955

Send daily AI-generated quotes & images to Telegram with GPT-4o and Flux-pro

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. ๐ŸŒ… Daily AI Inspiration (n8n + AI/ML API + Telegram) This n8n workflow sends a short, original AIโ€‘generated quote and a matching cinematic image to your Telegram chat every morning. It autoโ€‘captures your chat ID from the first message you send to the bot, then runs on a daily schedule. ๐Ÿš€ Key Features Zeroโ€‘Friction Delivery โ€” Just send any message once; the chat ID is saved for daily drops. AI Quote Writer โ€” GPTโ€‘4o crafts concise, uplifting quotes (no author, no quotes). Cinematic Visuals โ€” flux-pro turns each quote into a moodโ€‘rich illustration. Handsโ€‘Off Scheduling โ€” Runs at a set time every day via Schedule Trigger. Telegram Ready โ€” Sends the image + caption directly to your chat. ๐Ÿ›  Setup Guide Create AI/ML API Credentials Get your API key in AI/ML API. In n8n โ†’ Credentials, add AI/ML API (Bearer token, Base URL https://api.aimlapi.com/v1). Create Telegram Credentials In Telegram, open @BotFather โ†’ /newbot โ†’ save the bot token. In n8n โ†’ Credentials โ†’ Telegram API, paste the token. Capture Chat ID Start the workflow, message your bot once (Telegram Trigger will store the chat ID automatically). Schedule & Test Set your preferred time in Schedule Trigger (e.g., 07:30). Execute once to confirm delivery, then enable the workflow. ๐Ÿ’ก How It Works Trigger โ€” Runs daily via Schedule Trigger (or manually after first chat message to capture chat ID). Quote Generation โ€” AI/ML API (GPTโ€‘4o) produces a short, original, uplifting line. Image Creation โ€” AI/ML API (flux-pro) renders a cinematic image inspired by the quote. Telegram Delivery โ€” Sends the image to your chat with the quote as the caption (๐ŸŒ… prefix). Optional: tweak image size (1024ร—1024 by default), add logging (Google Sheets), or extend with moderation, model switching, or multiโ€‘chat routing.

AI/ML API | D1m7asisBy AI/ML API | D1m7asis
643

Answer questions with factual web search using Telegram, Tavily and GPT-5

๐Ÿง  Telegram Search Assistant โ€” Tavily + AI/ML API This n8n workflow lets users ask questions in Telegram and receive concise, fact-based answers. It performs a web search with Tavily, then uses AIMLAPI (GPT-5) to summarize results into a clear 3โ€“4 sentence reply. The flow ensures grounded, non-hallucinated answers. --- ๐Ÿš€ Features ๐Ÿ“ฉ Telegram-based input โŒจ๏ธ Typing indicator for better UX ๐Ÿ”Ž Web search with Tavily (JSON results) ๐Ÿง  Summarization with AIMLAPI (openai/gpt-5-chat-latest) ๐Ÿ“ค Replies in the same chat/thread โœ… Guardrails against hallucinations --- ๐Ÿ›  Setup Guide ๐Ÿ“ฒ Create Telegram Bot Talk to @BotFather Use /newbot โ†’ choose a name and username Save the bot token ๐Ÿ” Set Up Credentials in n8n Telegram API: use your bot token Tavily: add your Tavily API key AI/ML API: add your API key Base URL: https://api.aimlapi.com/v1 ๐Ÿ”ง Configure the Workflow Open the n8n editor and import the JSON Update credentials for Telegram, Tavily, and AIMLAPI --- โš™๏ธ Flow Summary | Node | Function | |--------------------------|-----------------------------------------------| | ๐Ÿ“ฉ Receive Telegram Msg | Triggered when user sends text | | โŒจ๏ธ Typing Indicator | Shows โ€œtypingโ€ฆโ€ to user | | ๐Ÿ”Ž Web Search | Queries Tavily with userโ€™s message | | ๐Ÿง  LLM Summarize | Summarizes search JSON into a factual answer | | ๐Ÿ“ค Reply to Telegram | Sends concise answer back to same thread | --- ๐Ÿ“ Data Handling By default: no data stored Optional: log queries & answers to Google Sheets or a database --- ๐Ÿ’ก Example Prompt Flow User sends: When is the next solar eclipse in Europe? Bot replies: The next solar eclipse in Europe will occur on August 12, 2026. It will be visible as a total eclipse across Spain, with partial views in much of Europe. The maximum eclipse will occur around 17:46 UTC. --- ๐Ÿ”„ Customization Add commands: /help, /sources, /news Apply rate-limits per user Extend logging to Google Sheets / DB Add NSFW / profanity filters before search --- ๐Ÿงช Testing Test end-to-end in Telegram (not just โ€œExecute Nodeโ€) Add a fallback reply if Tavily returns empty results Use sticky notes for debugging & best practices --- ๐Ÿ“Ž Resources ๐Ÿ”— AI/ML API Docs ๐Ÿ”— Tavily Search API

AI/ML API | D1m7asisBy AI/ML API | D1m7asis
478

Interactive Russian language tutor bot with GPT-4o and Telegram

This n8n workflow turns Telegram into a personal language tutor. Users can choose between different learning modes โ€” vocabulary, grammar, quiz, or mixed lessons โ€” simply by adding a hashtag to their message. The bot processes requests with AI/ML API and sends back structured, interactive lessons in Telegram. --- ๐Ÿš€ Features ๐Ÿ“ฉ Telegram-based input with hashtag commands ๐Ÿง  Adaptive AI responses (vocabulary, grammar, quiz) ๐Ÿ”ค Pronunciation support in Latin transcription ๐Ÿ“’ Grammar explanations with examples โ“ Custom quizzes with auto-feedback ๐Ÿ’ฌ Supportive learning experience with motivational messages โณ Typing indicator for smoother UX --- ๐Ÿ›  Setup Guide ๐Ÿ“ฒ Create Telegram Bot Go to @BotFather Use /newbot โ†’ choose a name and username Save the bot token ๐Ÿ” Set Up Credentials in n8n Telegram API: Use your bot token AI/ML API: Add your API key under AI/ML account โš™๏ธ Configure the Workflow Import the JSON into n8n Update credentials (Telegram + AI/ML API) Activate the workflow ๐Ÿ’ฌ Start Learning In Telegram, send a message with one of the supported hashtags: vocabulary โ€” learn new words grammar โ€” study rules with examples quiz โ€” get exercises Or just send plain text for a free-form AI response --- ๐Ÿ” Node Overview Telegram Trigger โ†’ Listens for incoming messages Show Typing Indicator โ†’ Displays โ€œtypingโ€ฆโ€ while processing Switch Node โ†’ Routes message by hashtag (vocabulary, grammar, quiz) Prompt Builder Nodes โ†’ Create JSON payload for AI/ML API AI/ML API Node โ†’ Generates the structured lesson Telegram Send โ†’ Sends the formatted response back to the user --- ๐Ÿ’ก Example Flow User Input: vocabulary ะบัƒะบัƒั€ัƒะทะฐ Bot Output: ะšัƒะบัƒั€ัƒะทะฐ (Kukurรบza) โ€” Corn Pronunciation: koo-koo-ROO-zah Sentence: ะฏ ะปัŽะฑะปัŽ ะตัั‚ัŒ ะบัƒะบัƒั€ัƒะทัƒ ะฝะฐ ะณั€ะธะปะต. I love eating grilled corn. ๐Ÿ‘‰ Try to write your own sentence with โ€œะบัƒะบัƒั€ัƒะทะฐโ€!

AI/ML API | D1m7asisBy AI/ML API | D1m7asis
257

Create personalized city trip itineraries with Telegram Bot & GPT-4o

Overview This workflow transforms your Telegram bot into a smart AI-powered travel assistant that instantly creates 3-day trip plans for any city in the world. Users can personalize trips by sending hashtags such as luxury, budget, or romantic to receive itineraries aligned with their travel style โ€” from cozy getaways to adrenaline-filled adventures. Ideal for travel bloggers, tour operators, and AI enthusiasts looking to provide interactive trip suggestions through Telegram. --- How it Works Telegram Trigger โ€” Listens for new messages from users. Show Typing Indicator โ€” Sends a โ€œtypingโ€ฆโ€ signal for a smooth user experience. Switch Node โ€” Detects preset hashtags (e.g. cozy, nightlife, cultural) and routes the flow. Prompt Builder โ€” Creates a JSON prompt with the selected city, trip duration, and preset theme. AI/ML API (GPT-5 or GPT-4o) โ€” Generates a detailed 3-day itinerary including sights, restaurants, and travel tips. Telegram Message โ€” Sends the formatted trip plan back to the user. --- Key Features ๐ŸŒ Dynamic Itinerary Generation โ€” Get personalized 3-day travel plans for any city. ๐Ÿง  AI-Driven Recommendations โ€” Sights, food, local culture, and insider tips generated via AI/ML API. ๐ŸŽฏ Preset Travel Styles โ€” Support for multiple hashtags: cozy โ€” Relaxed and charming ๐Ÿ›‹๏ธ nightlife โ€” Bars, concerts, and clubbing ๐ŸŒƒ๐Ÿธ extreme โ€” Adventure & adrenaline ๐Ÿง—โ€โ™‚๏ธ family โ€” Kid-friendly fun ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ budget โ€” Affordable travel ๐Ÿ’ฐ luxury โ€” Premium experiences โœจ cultural โ€” Museums & history ๐ŸŽจ๐Ÿ›๏ธ nature โ€” Parks & scenic hikes ๐ŸŒฒ๐Ÿž๏ธ romantic โ€” Cozy and scenic spots ๐Ÿ’• ๐Ÿ’ฌ Interactive Telegram Experience โ€” Fast responses with typing indicators. โš™๏ธ Plug-and-Play Setup โ€” Ready to import and activate. --- Setup Steps Create Telegram Bot Open @BotFather Run /newbot, set a name and username Save your bot token Add Credentials in n8n Telegram API โ†’ Use your bot token AI/ML API โ†’ Add your API key (GPT-4o or GPT-5 model) Import and Configure Import this JSON workflow into n8n Link credentials for Telegram and AI/ML API Activate the workflow Test the Bot Send: luxury Paris or nature Bali Receive your detailed AI-generated itinerary instantly --- Example Interaction User: /romantic Florence Bot: โœจ 3-Day Romantic Getaway in Florence โœจ Day 1 โ€” Artistic Beginnings โ€ข Visit: Uffizi Gallery, Ponte Vecchio โ€ข Eat: Trattoria ZaZa ๐Ÿ โ€ข Tip: Sunset walk along Arno River ๐ŸŒ‡ Day 2 โ€” Tuscan Charm โ€ข Visit: Boboli Gardens, Piazzale Michelangelo โ€ข Eat: Wine tasting in Chianti region ๐Ÿท โ€ข Tip: Rent a Vespa for the full Italian vibe ๐Ÿ‡ฎ๐Ÿ‡น Day 3 โ€” Hidden Gems โ€ข Visit: Fiesole hilltop village โ€ข Eat: Local bakery for morning cappuccino โ˜• โ€ข Tip: Avoid peak crowds by starting early ๐ŸŒ… --- Resources ๐Ÿ“˜ AI/ML API Documentation

AI/ML API | D1m7asisBy AI/ML API | D1m7asis
132

Convert Gmail emails to Telegram voice messages with GPT-5 and Inworld TTS

Whoโ€™s it for For makers, founders, and productivity nerds who want to listen to their inbox instead of reading it. No servers, no hosting โ€” all done with n8n, a Telegram bot, and AI/ML API (LLM + TTS). What it does / How it works This workflow listens for new Gmail emails, extracts the sender, subject, date, and snippet, generates a 2โ€“3 sentence natural summary using GPT-5 via AI/ML API, then converts the text into a lifelike voice message using Inworld TTS-1-Max. The final audio file is downloaded and instantly delivered to your Telegram via a bot. A separate auxiliary flow captures your Telegram chat_id once, stores it in a Data Table, and the main flow reuses it every time โ€” no hardcoding required. High-level flow: Gmail Trigger detects new incoming email Code node builds a clean emailData block AI/ML API (GPT-5) generates a natural spoken summary AI/ML API (Inworld TTS-1-Max) converts summary โ†’ voice Audio file is downloaded Voice message is sent to the same Telegram chat Requirements A working n8n instance (self-hosted or cloud) Gmail OAuth2 credentials Telegram bot token from @BotFather AI/ML API key Base URL: https://api.aimlapi.com/v1 Supports GPT-5 and Inworld TTS-1-Max Set up steps Create a Telegram bot via @BotFather and add Telegram API credentials in n8n Create an AI/ML API credential using your API key Add Gmail OAuth2 credentials for inbox access Import the workflow JSON Open nodes and attach the correct credentials (no hardcoded tokens inside nodes) Run the Telegram Trigger once and send any message to your bot โ€” this saves your chat_id Activate your workflow and receive your first voice-summary How to customize Replace GPT-5 with another LLM from AI/ML API (same schema) Change prompt style: tone, structure, language, or verbosity Add language selection or multi-voice support Add filters (e.g., only important emails, only starred emails) Log all activity to Google Sheets or a database Add IF conditions: voice only during certain hours, weekday vs weekend rules Add rate-limits or user allowlists Change the voice model for different notification styles: corporate, friendly, narrator

AI/ML API | D1m7asisBy AI/ML API | D1m7asis
59
All templates loaded