Skip to main content
Open in Kaggle  Open in Colab  Download Notebook
This documentation page is also available as an interactive notebook. You can launch the notebook in Kaggle or Colab, or download it for use with an IDE or local Jupyter installation, by clicking one of the above links.
Pixeltable’s RunwayML integration lets you generate and transform images and videos using RunwayML’s Gen-4.5, Veo, and other models, directly from your Pixeltable tables.

What is RunwayML?

RunwayML is an AI creative platform offering state-of-the-art generative models for images and video. Pixeltable wraps four endpoints:
  • text_to_image: Generate images from text prompts with optional reference images
  • text_to_video: Generate videos from text prompts
  • image_to_video: Animate a still image into a video
  • video_to_video: Transform an existing video with text guidance

Documentation

Prerequisites

  1. A RunwayML account with an API secret from RunwayML
  2. pip install runwayml
Important: RunwayML API calls consume credits based on your plan. Image and video generation can be expensive — monitor your usage to avoid unexpected charges.

Setup

To read more about working with API keys in Pixeltable, see Configuration.
Created directory ‘runwayml_demo’.
<pixeltable.catalog.dir.Dir at 0x32bd20a10>

Text-to-Video Generation

Generate videos from text prompts. The text_to_video function returns a JSON response containing the output video URL.
Created table ‘text_to_video’.
Added 0 column values with 0 errors in 0.00 s
Added 0 column values with 0 errors in 0.00 s
No rows affected.
Inserted 1 row with 0 errors in 105.52 s (0.01 rows/s)
1 row inserted.

Image-to-Video Generation

Animate a still image into a video. You can optionally add a text prompt to guide the motion.
Created table ‘image_to_video’.
Added 0 column values with 0 errors in 0.01 s
Added 0 column values with 0 errors in 0.01 s
No rows affected.
Inserted 1 row with 0 errors in 145.73 s (0.01 rows/s)
1 row inserted.

Text-to-Image Generation

Generate images from text prompts with reference images. The text_to_image function requires at least one reference image.
Created table ‘text_to_image’.
Added 0 column values with 0 errors in 0.01 s
Added 0 column values with 0 errors in 0.01 s
No rows affected.
Inserted 1 row with 0 errors in 21.70 s (0.05 rows/s)
1 row inserted.

Video-to-Video Transformation

Transform an existing video with text guidance. Note that video_to_video requires a publicly accessible HTTPS URL for the input video (not a local file).

Using model_kwargs for Advanced Parameters

All RunwayML functions accept an optional model_kwargs parameter for passing additional API parameters not exposed as explicit arguments. Refer to the RunwayML API docs for the full list of supported parameters per endpoint.

Learn More

Last modified on June 24, 2026