aleph-2
Runway Aleph 2.0 is an in-context video editing model from Runway. It applies text instructions and keyframe-guided edits across existing footage while preserving details that are not meant to change. It is suited for adding, removing, or replacing subjects and objects, changing backgrounds or outfits, relighting scenes, shifting weather or time of day, restyling footage, and expanding a shot to a new aspect ratio.
Pricing
Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.
| Resolution | Standard |
|---|---|
| Any | 100,464 Toman$0,336 |
| Option | Price | Billed |
|---|---|---|
| Minimum charge | 200,928 Toman$0,672 | minimum per generation |
Billed from the length and resolution you choose. The exact cost is shown before you start a video.
Statistics
Live performance and usage of this model, aggregated across all users.
Video generation
- Aspect ratios
- 16:9 · 4:3 · 3:2 · 1:1 · 2:3 · 3:4 · 9:16 · 21:9
- Audio
- No audio
- Start from an image
- Not supported
API
Start a video, check its progress and download the finished file with your API token.
https://apiex.cloud/api/v1/videos
<?php
function api( $url, $body = null ) {
$ch = curl_init( $url );
$headers = array( "Authorization: Bearer YOUR_API_KEY" );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
if ( null !== $body ) {
$headers[] = "Content-Type: application/json";
curl_setopt( $ch, CURLOPT_POSTFIELDS, json_encode( $body ) );
}
curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers );
return curl_exec( $ch );
}
$job = json_decode( api( "https://apiex.cloud/api/v1/videos", array(
"model" => "runway/aleph-2",
"prompt" => "A calm sunrise over snowy mountains, slow aerial shot.",
"aspect_ratio" => "16:9",
) ), true );
// Videos take a while: check the job until it finishes.
while ( in_array( $job["status"], array( "queued", "in_progress" ), true ) ) {
sleep( 10 );
$job = json_decode( api( $job["polling_url"] ), true );
}
if ( "completed" === $job["status"] ) {
file_put_contents( "video.mp4", api( $job["content_url"] ) );
} else {
print_r( $job["error"] );
}
{
"id": "vid_123",
"object": "video",
"model": "runway/aleph-2",
"status": "queued",
"created_at": 1767225600,
"polling_url": "https://apiex.cloud/api/v1/videos/vid_123"
}
Authentication
Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — you can set its rate limit and IP restrictions.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
model |
string, required | This model's ID, exactly as shown above. |
prompt |
string, required | Describe the video you want. Up to 4,000 characters. |
duration |
integer, optional | Clip length in seconds. Leave it out to let the model choose. |
aspect_ratio |
string, optional | One of 16:9, 9:16, 1:1, 4:3, 3:4 or 21:9. The default is 16:9. |
resolution |
string, optional | For example 720p or 1080p. Only the resolutions this model supports are accepted. |
generate_audio |
boolean, optional | Ask the model to generate audio together with the video, when it can. |
image |
string, optional | A first frame to start the clip from: a PNG, JPEG or WebP data URL, or an https link. |
Frequently asked questions
What is aleph-2?
Runway Aleph 2.0 is an in-context video editing model from Runway. It applies text instructions and keyframe-guided edits across existing footage while preserving details that are not meant to change. It is suited for adding, removing, or replacing subjects and objects, changing backgrounds or outfits, relighting scenes, shifting weather or time of day, restyling footage, and expanding a shot to a new aspect ratio.
How much does aleph-2 cost?
Input tokens are priced at $0,00 per 1,000,000 tokens and output tokens at $0,00 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.
Does aleph-2 support image input?
aleph-2 currently accepts text input only.
When was aleph-2 added to this gateway?
aleph-2 has been available on this gateway since October 28, 2026.
Is aleph-2 currently available?
Yes, aleph-2 is active and can be used right now through this gateway.
Explore more models
Keep exploring
Ready to build with one API?
Create an account, make a key and send your first request in a few minutes.