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": "<your prompt>",
    "video_uri": "https://example.com/input.mp4"
  }'

# 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": "<your prompt>", "video_uri": "https://example.com/input.mp4"}'

Examples

example

Parameters

Input
prompt string required

Text prompt describing the edit to apply to the input video

video_uri string required

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

content_moderation object optional

Settings that affect the behavior of the content moderation system

duration number optional

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

keyframes array optional

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_images array optional

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

seed integer optional

Random seed for reproducible results

Output
video: URL to the edited video