π¬ Generate images and convert to video using Flux, Kraken & Runway
β‘ 6,182 views Β· π¬ Content Creation & Video
Description
(Image Generation β Hosting β Video Generation)
This workflow is designed for creators, automation enthusiasts, and indie hackers who want to generate image-based videos automatically using AI tools β at a low cost.
βοΈ Workflow Overview
This automation performs the following steps:
- Trigger (Schedule or manual)
- Generate an image using Flux (choose between two APIs)
- Upload the image to Kraken.io to get a public URL
- Send the image to Runway ML (choose between two APIs) to generate a video
- Receive the video as a URL β ready for posting, download, or further automation
π οΈ Step-by-Step Setup
πΌοΈ Flux (Image Generation)
You can use either of the following providers:
Option 1: Flux by BlackForest Labs (Direct API)
π Get your API key here: https://docs.bfl.ml/
- Paste your API key in the HTTP Request node named
Flux (Blackforest) - You can customize prompts or styles inside the JSON body
Option 2: Flux via RapidAPI
π Subscribe and get your key here: https://rapidapi.com/poorav925/api/ai-text-to-image-generator-flux-free-api/playground/apiendpoint_e38039ee-1912-4ef9-b4d4-270d72fca851
- Enter your RapidAPI key in the
X-RapidAPI-Keyheader - Optional: tweak prompts, style, or resolution inside the JSON body
π Kraken.io (Hosting the Image Publicly)
Runway ML requires the image to be publicly accessible. We use Kraken.io to host the generated image and return a public URL.
π Get your API credentials: https://kraken.io/account/api-credentials
Setup:
- Copy your API Key and API Secret
- Open the
Kraken Uploadnode in n8n - Replace placeholders with your credentials
- The node uploads your image and gives back a public image URL for Runway to use
π¬ RunwayML (Video Generation)
You also have two options here:
Option 1: Runway Official API
π Get your credentials at: https://dev.runwayml.com/
- Use the public image URL from Kraken in the JSON body
- Paste your Bearer token in the
Authorizationheader - Customize other settings like video length, style, FPS, etc.
Option 2: Runway via RapidAPI
π Subscribe and get your key here: https://rapidapi.com/fortunehoppers/api/runwayml/playground/apiendpoint_93c8554d-8097-40cd-8252-3d4dec9c0e68
- Paste your RapidAPI key in the request header
- Customize prompt and generation options in the body
- Use the Kraken-generated image URL as the input source
π€ What to Do with the Video
Once the video is generated, youβll get a direct video URL. You can:
- Save it to Google Sheets or Notion
- Send it via email
- Trigger a YouTube upload automation
- Or download manually for editing and reposting
π‘ Optional Tips & Notes
- You can schedule this workflow to generate AI videos daily or weekly
- Combine it with a Google Sheet of prompts for bulk automation
- Try using a consistent visual style or theme for better branding
- This workflow is lightweight and affordable β perfect for indie projects or experimental content generation
- Great for shorts, quote visuals, music loops, AI art promos, etc.
π Resources
- Flux (Blackforest) Docs
- Flux on RapidAPI
- RunwayML Official Docs
- Runway on RapidAPI
- Kraken.io API Dashboard
π Need Help?
Feel free to reach out:
- π¦ Twitter: @juppfy
- π§ Email: joseph@uppfy.com
If youβd like to hire me for custom n8n workflows or product automations, donβt hesitate to get in touch.
π Nodes Used
HTTP Request
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File