UNPKG

@wiro-ai/n8n-nodes-wiroai

Version:

n8n community node for Wiro AI's Generative AI APIs.

197 lines (159 loc) โ€ข 6.47 kB
<img src="http://wiro.ai/images/logos/logo/logo.png" alt="Wiro Logo" width="200"/> # n8n-nodes-wiroai A [n8n](https://n8n.io) community node pack that gives you access to [Wiro AI](https://wiro.ai)โ€™s powerful generative tools directly in your workflows. <img src="https://wiro.ai/images/illustrations/koala-404.png" alt="Wiro Koala" width="50"/> --- ## โœจ Features - ๐Ÿ—ฃ๏ธ Text-to-Speech - ๐ŸŽต Background Music Generator - ๐Ÿง  Chatbot (with and without RAG) - ๐Ÿ–ผ๏ธ Text-to-Image - ๐ŸŽž๏ธ Text-to-Video - ๐Ÿงผ Remove Background - ๐Ÿ›‹๏ธ Interior Design Reimagining - ๐ŸŽฅ Image-to-Video (KlingAI) - ๐Ÿ“„ OCR (Text from Image) - ๐Ÿ“ˆ Resume/CV Evaluator with Job Description - ๐Ÿ–Œ๏ธ Image Restoration and Upscaling - ๐Ÿ“ฑ 4K Mobile Wallpaper Generator - ๐ŸŽฌ Shorts / Reels Generator - ๐ŸŽผ Add Audio Effects to Video - ๐Ÿ“น Add Background Music to Video - ๐ŸŒ€ Flux Kontext Pro / Max image stylizers Each tool is implemented as a **separate node** for modular and easy use. --- ## ๐Ÿ“ฆ Installation Follow the [n8n community nodes guide](https://docs.n8n.io/integrations/community-nodes/installation/) to install this package. ```bash npm install @wiro-ai/n8n-nodes-wiroai ``` --- ## ๐Ÿ›  Operations | Node | Description | | --------------------------- | -------------------------------------------------- | | `AskAiChatbot` | General-purpose chat assistant powered by LLMs | | `CvEvaluatorJobdesc` | Evaluate resumes/CVs against job descriptions | | `EasyOcr` | Extract text from images using OCR | | `FluxKontextPro` | Apply stylized prompts to input images | | `FluxKontextMax` | Clean and enhance product-style visuals | | `GenerateBackgroundMusic` | Generate background audio from prompts | | `GenerateSpeechTTS` | Convert text to audio using speech synthesis | | `ImageToVideoKling16` | Animate image pairs into video using KlingAI | | `InteriorDesignGenerator` | Reimagine interior spaces with descriptive prompts | | `MobileWallpaperGenerator` | Generate 4K mobile phone wallpapers | | `RagChatYoutube` | Ask questions to YouTube videos using RAG + LLM | | `RemoveImageBackground` | Strip background from uploaded images | | `RestoreUpscaleImage` | Restore and upscale low-quality images | | `ShortsReelsVideoGenerator` | Generate vertical videos for Shorts/Reels | | `TextToImage` | Convert descriptive text to images | | `TextToVideoKling16` | Convert text to video using KlingAI engine | | `TextToVideoWan21` | Generate video from text via WAN2.1 | | `VideoBgMusicGenerator` | Automatically compose music for your videos | | `GenerateSoundEffectVideo` | Add sound effects to video using ai | --- ## ๐Ÿ” Credentials Youโ€™ll need a Wiro API Key and Secret. **Steps:** 1. Go to [wiro.ai](https://wiro.ai) and sign up 2. Create a project [wiro.ai/panel/project/](https://wiro.ai/panel/project/) and get your API credentials 3. In n8n โ†’ Credentials โ†’ Add new โ†’ **Wiro API** 4. Enter your key and secret values --- ## ๐Ÿš€ Usage Example To use the Text-to-Speech node: 1. Add the `Generate Speech` node 2. Set: - Prompt: `Hello world!` - Voice: `af_heart` - Language: `a` (American English) 3. Run the workflow **Output:** ```json { "taskid": "abc123", "status": "completed", "url": "https://cdn1.wiro.ai/xyz/0.mp3" } ``` --- ## ๐Ÿง  Compatibility - Requires: `n8n v1.0+` - Node.js: `v18+` --- ## ๐Ÿ“ Folder Structure ``` nodes/WiroAI/ โ”œโ”€โ”€ AskAiChatbot/ โ”œโ”€โ”€ AskAiChatbot.nodes.ts โ””โ”€โ”€ AskAiChatbot.nodes.json โ”œโ”€โ”€ CvEvaluatorJobdesc/ โ”œโ”€โ”€ CvEvaluatorJobdesc.nodes.ts โ””โ”€โ”€ CvEvaluatorJobdesc.nodes.json โ”œโ”€โ”€ EasyOcr/ โ”œโ”€โ”€ EasyOcr.nodes.ts โ””โ”€โ”€ EasyOcr.nodes.json โ”œโ”€โ”€ FluxKontextMax/ โ”œโ”€โ”€ FluxKontextMax.nodes.ts โ””โ”€โ”€ FluxKontextMax.nodes.json โ”œโ”€โ”€ FluxKontextPro/ โ”œโ”€โ”€ FluxKontextPro.nodes.ts โ””โ”€โ”€ FluxKontextPro.nodes.json โ”œโ”€โ”€ GenerateBackgroundMusic/ โ”œโ”€โ”€ GenerateBackgroundMusic.nodes.ts โ””โ”€โ”€ GenerateBackgroundMusic.nodes.json โ”œโ”€โ”€ GenerateSpeechTts/ โ”œโ”€โ”€ GenerateSpeechTts.nodes.ts โ””โ”€โ”€ GenerateSpeechTts.nodes.json โ”œโ”€โ”€ GenerateMMAudio/ โ”‚ โ”œโ”€โ”€ GenerateMMAudio.nodes.ts โ”‚ โ””โ”€โ”€ GenerateMMAudio.nodes.json โ”œโ”€โ”€ ImageToVideoKling16/ โ”œโ”€โ”€ ImageToVideoKling16.nodes.ts โ””โ”€โ”€ ImageToVideoKling16.nodes.json โ”œโ”€โ”€ InteriorDesignGenerator/ โ”œโ”€โ”€ InteriorDesignGenerator.nodes.ts โ””โ”€โ”€ InteriorDesignGenerator.nodes.json โ”œโ”€โ”€ MobileWallpaperGenerator/ โ”œโ”€โ”€ MobileWallpaperGenerator.nodes.ts โ””โ”€โ”€ MobileWallpaperGenerator.nodes.json โ”œโ”€โ”€ RagChatYoutube/ โ”œโ”€โ”€ RagChatYoutube.nodes.ts โ””โ”€โ”€ RagChatYoutube.nodes.json โ”œโ”€โ”€ RemoveImageBackground/ โ”œโ”€โ”€ RemoveImageBackground.nodes.ts โ””โ”€โ”€ RemoveImageBackground.nodes.json โ”œโ”€โ”€ RestoreUpscaleImage/ โ”œโ”€โ”€ RestoreUpscaleImage.nodes.ts โ””โ”€โ”€ RestoreUpscaleImage.nodes.json โ”œโ”€โ”€ ShortsReelsVideoGenerator/ โ”œโ”€โ”€ ShortsReelsVideoGenerator.nodes.ts โ””โ”€โ”€ ShortsReelsVideoGenerator.nodes.json โ”œโ”€โ”€ TextToImage/ โ”œโ”€โ”€ TextToImage.nodes.ts โ””โ”€โ”€ TextToImage.nodes.json โ”œโ”€โ”€ TextToVideoKling16/ โ”œโ”€โ”€ TextToVideoKling16.nodes.ts โ””โ”€โ”€ TextToVideoKling16.nodes.json โ”œโ”€โ”€ TextToVideoWan21/ โ”œโ”€โ”€ TextToVideoWan21.nodes.ts โ””โ”€โ”€ TextToVideoWan21.nodes.json โ”œโ”€โ”€ VideoBgMusicGenerator/ โ”œโ”€โ”€ VideoBgMusicGenerator.nodes.ts โ””โ”€โ”€ VideoBgMusicGenerator.nodes.json โ”œโ”€โ”€ GenerateAudioEffectVideo/ โ”œโ”€โ”€ GenerateAudioEffectVideo.nodes.ts โ””โ”€โ”€ GenerateAudioEffectVideo.nodes.json โ””โ”€โ”€ utils/ โ”œโ”€โ”€ auth.ts โ””โ”€โ”€ polling.ts credentials/ โ””โ”€โ”€ WiroApi.credentials.ts ``` --- ## ๐Ÿ“š Resources - [Wiro API Docs](https://wiro.ai/docs) - [n8n Custom Node Docs](https://docs.n8n.io/integrations/creating-nodes/) - [Community Node Guide](https://docs.n8n.io/integrations/community-nodes/) --- ## ๐Ÿ“œ License [MIT](LICENSE.md)