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 imagestext_to_video: Generate videos from text promptsimage_to_video: Animate a still image into a videovideo_to_video: Transform an existing video with text guidance
Documentation
Prerequisites
- A RunwayML account with an API secret from RunwayML
pip install runwayml
Setup
Created directory ‘runwayml_demo’.
<pixeltable.catalog.dir.Dir at 0x32bd20a10>
Text-to-Video Generation
Generate videos from text prompts. Thetext_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. Thetext_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 thatvideo_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
- RunwayML SDK Reference — Full API details for all RunwayML functions
- RunwayML API Documentation — Official RunwayML API reference
- Working with fal.ai — Another image/video generation integration
- Working with Reve — AI video generation and editing