AI Models
Runway Aleph 2
Runway's Aleph 2 video model. 5-second clips across 8 aspect ratios.
POST
from $0.59/second/v1/media/queueOverview
Runway's Aleph 2 — high-end 5-second video clips across 8 aspect ratios. Async operation — submit a job, poll for completion.
| Property | Value |
|---|---|
| Model ID | runway/aleph-2 |
| Provider | Runway |
| Aspect Ratios | 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 21:9 |
| Duration | 5 seconds |
| Audio Generation | Not supported |
| Billing | Dynamic (actual cost per job) |
| Pricing | from $0.59/second |
Usage
All media models use the async job queue. Submit a job, then poll for the result.
Step 1: Submit Job
Text-to-Video
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'runway/aleph-2',
prompt: 'A cinematic drone shot over a rugged coastline at golden hour',
options: {
aspectRatio: '16:9',
duration: '5',
},
}),
});
const { data } = await res.json();
// data.jobId — use this to poll for resultscurl -X POST https://api.yepapi.com/v1/media/queue \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "runway/aleph-2", "prompt": "A cinematic drone shot over a rugged coastline", "options": {"aspectRatio": "16:9", "duration": "5"}}'Step 2: Poll for Result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${data.jobId}`, {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status — "pending" | "processing" | "completed" | "failed"
// job.result.video — { mimeType, base64 } when completedcurl https://api.yepapi.com/v1/media/status/JOB_ID \
-H "x-api-key: YOUR_API_KEY"Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
model | string | Yes | runway/aleph-2 or alias aleph | — |
prompt | string | Yes | Text description of the video to generate | — |
options.aspectRatio | string | No | One of: 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 21:9 | 16:9 |
options.duration | string | No | 5 (seconds) | 5 |
Pricing
| Tier | Cost/sec |
|---|---|
| All resolutions | $0.59 |
Example: 5-second video ≈ 5 x $0.59 = $2.95. Billing is dynamic — each job is billed from the actual cost of the finished video, so shorter or lower-resolution jobs cost less.
Info
Video jobs can take several minutes to complete. Results retained for 1 hour.
Under the Hood
Powered by Runway's Runway Aleph 2 via our AI provider. 100% margin on upstream costs.