All models

RunwayML Aleph 2

runwayml/aleph-2
RunwayML Video EditingVideo-to-VideoKeyframe ControlMultimodal

RunwayML's video editing model. Edit one frame to update your whole video, make changes across multiple shots, and work with up to 30 seconds of video. Supports keyframe-guided editing for precise control over specific moments in the clip.

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "runwayml/aleph-2",
    "prompt": <string>
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "runwayml/aleph-2", "prompt": "<string>"}'

Examples

example

Parameters

Input
content_moderation object

Settings that affect the behavior of the content moderation system

duration number

Duration of the source video in seconds. Used for billing only

keyframes array

Timed guidance images placed at specific points in the input video. Each entry has a uri and either seconds (absolute timestamp) or at (frac

prompt string required

Text prompt describing the edit to apply to the input video

prompt_images array

Image keyframes for guiding the edit at specific points in the output video. Up to 5.

seed integer

Random seed for reproducible results

video_uri string required

HTTPS URL, Runway URI, or data URI of the source video to edit (≤30 seconds)

Output
video: URL to the edited video