🎬 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:

  1. Trigger (Schedule or manual)
  2. Generate an image using Flux (choose between two APIs)
  3. Upload the image to Kraken.io to get a public URL
  4. Send the image to Runway ML (choose between two APIs) to generate a video
  5. 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/

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


πŸ™ 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:

  1. Copy your API Key and API Secret
  2. Open the Kraken Upload node in n8n
  3. Replace placeholders with your credentials
  4. 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/

Option 2: Runway via RapidAPI

πŸ”‘ Subscribe and get your key here: https://rapidapi.com/fortunehoppers/api/runwayml/playground/apiendpoint_93c8554d-8097-40cd-8252-3d4dec9c0e68


πŸ“€ What to Do with the Video

Once the video is generated, you’ll get a direct video URL. You can:


πŸ’‘ Optional Tips & Notes


πŸ”— Resources


πŸ™‹ Need Help?

Feel free to reach out:

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

πŸ“– Importing guide Β· πŸ”‘ Credential setup