Skip to content

Usage Guide

This guide covers the day-to-day workflows for using Renku: specifying inputs, discovering blueprints and models, testing with dry runs, generating content, and iterating on your creations.

Every blueprint requires an inputs file that provides the configuration for your video generation.

Inputs are specified in YAML with two main sections:

inputs:
InquiryPrompt: "Your topic or prompt here"
Duration: 60
NumOfSegments: 3
# ... other blueprint-specific inputs
models:
# Optional: override default model selections
- model: minimax/speech-2.6-hd
provider: replicate
producerId: AudioProducer
TypeYAML SyntaxExample
stringQuoted or unquoted text"Hello world" or Hello world
intNumber without quotes42
arrayYAML list["item1", "item2"]

Every blueprint includes an input-template.yaml with all available inputs and their defaults:

Terminal window
# Copy the template
cp {blueprint-dir}/input-template.yaml ./my-inputs.yaml
# Edit with your values
nano ./my-inputs.yaml

Override the default AI model for any producer:

models:
# Use a specific video model
- model: google/veo-3.1-fast
provider: replicate
producerId: VideoProducer
# Use a specific voice model
- model: elevenlabs/v3
provider: replicate
producerId: AudioProducer

List all available blueprints:

Terminal window
renku blueprints:list

Output:

Available Blueprints:
1. audio-only.yaml
- Audio-Only Narration
- Generates script and audio narration
2. video-only.yaml
- Video-Only Generation
- Generates script and video clips
3. image-to-video.yaml
- Image-to-Video Transitions
- Creates videos from image sequences

Get detailed information about a blueprint:

Terminal window
renku blueprints:describe {workspace}/catalog/blueprints/video-only/video-only.yaml

This shows:

  • Required and optional inputs
  • Artifacts produced
  • Producers used
  • Loops defined

See available models for a blueprint’s producers:

Terminal window
renku producers:list --blueprint=video-only.yaml

Output:

Producer model configurations:
VideoProducer (4 video models)
Provider Model Price
replicate bytedance/seedance-1-pro-fast 480p: $0.015/s
replicate google/veo-3.1-fast $0.10/s
fal-ai veo3-1 -
AudioProducer (2 audio models)
Provider Model Price
replicate minimax/speech-2.6-hd $0.0001/token
replicate elevenlabs/v3 $0.0001/token
⚠️ Missing API tokens:
- fal-ai: FAL_KEY not set

Before spending API credits, validate your configuration with a dry run:

Terminal window
renku generate \
--inputs=./my-inputs.yaml \
--blueprint=./my-blueprint.yaml \
--dry-run
  • Validates blueprint YAML structure
  • Checks all required inputs are provided
  • Verifies producer paths exist
  • Creates the execution plan
  • Generates placeholder artifacts
  • Call any AI provider APIs
  • Consume API credits
  • Generate real content

After a dry run, examine the execution plan:

Terminal window
cat {workspace}/builds/movie-{id}/runs/rev-0001-plan.json

The plan shows:

  • Execution layers (parallel groups)
  • Jobs in each layer
  • Input/output connections
  • Canonical IDs for all nodes

Run the complete workflow:

Terminal window
renku generate \
--inputs=./my-inputs.yaml \
--blueprint=./my-blueprint.yaml

Renku will:

  1. Create a new movie directory
  2. Execute producers layer by layer
  3. Store artifacts in the blob store
  4. Create friendly symlinks in movies/
  5. Log all events for future reference

Resume or regenerate an existing movie:

Terminal window
# By movie ID
renku generate --movie-id=movie-a1b2c3d4
# The most recent movie
renku generate --last

Skip confirmation prompts for automation:

Terminal window
renku generate \
--inputs=./my-inputs.yaml \
--blueprint=./my-blueprint.yaml \
--non-interactive

Generated content is in two locations:

Build directory (builds/movie-{id}/):

  • blobs/ - Raw generated files
  • manifests/ - Artifact metadata
  • events/ - Execution logs

Friendly view (movies/movie-{id}/):

  • Human-readable filenames
  • Symlinks to blob storage
  • Easy to browse and share

Renku’s incremental build system makes iteration efficient.

  1. Edit your inputs file
  2. Re-run generation on the same movie:
Terminal window
renku generate --movie-id=movie-a1b2c3d4 --inputs=./my-inputs.yaml

Renku detects which inputs changed and only regenerates affected artifacts.

You can manually edit generated text artifacts:

  1. Find the artifact in movies/movie-{id}/
  2. Edit the file directly (it’s a symlink to the blob)
  3. Re-run generation:
Terminal window
renku generate --movie-id=movie-a1b2c3d4

Renku will:

  • Detect your manual edits
  • Keep your changes
  • Only regenerate downstream artifacts that depend on the edited file

If an AI-generated image or video isn’t satisfactory:

  1. Replace the file in movies/movie-{id}/
  2. Re-run generation

Your replacement will be used for downstream processing (like timeline composition).

For cost control and quality review, generate content in stages.

Renku groups independent jobs into execution layers:

  • Layer 0: Script generation (depends only on inputs)
  • Layer 1: Prompt generation, audio synthesis (depends on script)
  • Layer 2: Video/image generation (depends on prompts)
  • Layer 3: Timeline composition (depends on all media)
Terminal window
renku generate \
--inputs=./my-inputs.yaml \
--blueprint=./my-blueprint.yaml \
--up-to-layer=1

This stops after layer 1, so you can:

  • Review the generated script
  • Check audio quality
  • Make edits before generating expensive video content

After reviewing, continue generation:

Terminal window
renku generate --movie-id=movie-a1b2c3d4 --up-to-layer=2
  1. Review scripts first - Script generation is cheap; video generation is expensive
  2. Use layer limits - Generate expensive content only when you’re happy with cheaper precursors
  3. Iterate on prompts - Edit video prompts before generating videos
  4. Leverage caching - Re-running generation only rebuilds changed artifacts

Start the viewer and open a movie:

Terminal window
# Specific movie
renku viewer:view --movie-id=movie-a1b2c3d4
# Most recent movie
renku viewer:view --last

Start the viewer server in the background:

Terminal window
renku viewer:start

Stop it when done:

Terminal window
renku viewer:stop

Export the final video as MP4:

Terminal window
renku export --movie-id=movie-a1b2c3d4

With custom settings:

Terminal window
renku export --last \
--width=1920 \
--height=1080 \
--fps=30

The exported video is saved to:

  • builds/movie-{id}/FinalVideo.mp4
  • movies/movie-{id}/FinalVideo.mp4 (symlink)

Remove a movie and its artifacts:

Terminal window
renku clean --movie-id=movie-a1b2c3d4

This removes:

  • The build directory
  • The friendly view directory
  • All associated artifacts

For new blueprints, start with:

  • Fewer segments (2-3 instead of 10)
  • Dry run first
  • Layer-by-layer generation

Don’t generate everything at once:

  1. Generate script → Review
  2. Generate prompts → Review and edit
  3. Generate media → Review
  4. Compose timeline → Export

Keep your inputs files in version control:

  • Track changes to prompts and settings
  • Reproduce past generations
  • Share configurations with team members

Check provider dashboards regularly:

  • Video generation is most expensive
  • Audio generation is moderate
  • Script generation is cheap

Use renku producers:list to see pricing information.