Generate Images and Convert to Video Using Flux, Kraken & Runway

Go to Workflow
3,937 views
Built by Joseph Joseph
Created on May 14, 2025

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-Key header
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 Upload node 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 Authorization header
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: [email protected]

If you’d like to hire me for custom n8n workflows or product automations, don’t hesitate to get in touch.

This workflow was created by Joseph and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (1)

HTTP Request
n8n-nodes-base.httpRequest