Skip to content

Introduction to Renku

┌─────────────────────────────────────────────────────────────────────┐
│ Blueprint YAML │
│ • Defines workflow: inputs, producers, connections │
└─────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────┐
│ Planner │
│ • Loads blueprint tree (blueprints + producers) │
│ • Resolves dimensions and expands loops │
│ • Builds execution graph with canonical IDs │
│ • Creates layered execution plan │
└─────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────┐
│ Runner │
│ • Executes jobs layer by layer │
│ • Resolves inputs from upstream artifacts │
│ • Builds fan-in descriptors from connections │
│ • Invokes AI providers via producer implementations │
│ • Stores artifacts and logs events │
└─────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────┐
│ Providers │
│ • OpenAI (text generation, structured output) │
│ • Replicate (video, audio, image models) │
│ • fal.ai (video, audio, image models) │
│ • Renku (timeline composition, video export) │
└─────────────────────────────────────────────────────────────────────┘
  1. Script Generation: An LLM generates a narration script divided into segments
  2. Prompt Generation: The LLM creates visual prompts for each segment
  3. Media Generation: AI models generate video clips, images, or audio per segment
  4. Timeline Composition: Renku assembles segments into a playable timeline
  5. Video Export: Remotion renders the final video file

Understanding these concepts will help you work effectively with Renku:

A YAML file that defines your complete video generation workflow. Blueprints specify:

  • What inputs the user provides (topic, duration, style, etc.)
  • What artifacts are produced (script, images, audio, video)
  • Which producers to use and how to connect them
  • How to iterate over segments (loops)

Blueprints are the “recipe” for your video.

A reusable module that invokes AI models. Producers:

  • Accept inputs (prompts, configuration)
  • Call one or more AI provider APIs
  • Produce artifacts (text, images, audio, video)

Examples: ScriptProducer, VideoProducer, AudioProducer, TimelineComposer

Any output produced by a producer:

  • Text (scripts, prompts)
  • Images (PNG, JPEG)
  • Audio (MP3, WAV)
  • Video (MP4)
  • JSON (timelines, metadata)

Artifacts can be scalar (single value) or arrays (one per segment).

A dimension that enables parallel execution. If you have 5 narration segments, a loop with countInput: NumOfSegments creates 5 instances of any producer assigned to that loop.

Data flow edges that wire outputs to inputs. Connections define how artifacts flow from one producer to another:

  • Blueprint input → Producer input
  • Producer artifact → Another producer’s input
  • Producer artifact → Blueprint artifact (final output)

An execution layer contains jobs that can run in parallel. The planner uses topological sorting to determine which jobs depend on others and groups independent jobs into the same layer.

The directory structure where Renku stores:

  • Blueprint catalog
  • Build outputs (artifacts, manifests, logs)
  • Configuration

Ready to try Renku? Start with the Install Page, then continue to the CLI Quick Start to generate your first video.