Skip to main content

Get Aleph Video Details

Retrieve comprehensive information about Runway Alpeh video generation tasks

Overview

Retrieve detailed information about your Runway Alpeh video generation tasks, including current status, generation parameters, video URLs, and error details. This endpoint is essential for monitoring task progress and accessing completed videos.
Use this endpoint to poll task status if you’re not using callbacks, or to retrieve detailed information about completed tasks.

Authentication

Authorization
string
required
Bearer token for API authentication. Get your API key from the API Key Management Page.Format: Bearer YOUR_API_KEY

Query Parameters

taskId
string
required
Unique identifier of the Alpeh video generation task. This is the taskId returned when you create a video generation request.Example: ee603959-debb-48d1-98c4-a6d1c717eba6

Code Examples

Response Format

Success Response

Response Fields

code
integer
HTTP status code
  • 200: Request successful
  • 401: Unauthorized - Invalid API key
  • 404: Task not found
  • 422: Invalid task ID format
  • 500: Server error
msg
string
Human-readable response message
data
object
Task details and status information

Task Status Understanding

Understanding the task status helps you handle various scenarios in your application:
Status: successFlag: 0 and no errorMessageWhat to do: Continue polling, generation is in progressTypical duration: 2-15 minutes depending on complexity and system load

Error Handling

Cause: Invalid or non-existent task IDResponse:
Solution: Verify the task ID is correct and was returned from a valid generation request
Cause: Invalid or missing API keyResponse:
Solution: Check your API key and ensure it’s properly formatted in the Authorization header
Cause: Various issues during video generationCommon failure messages:
  • “Your prompt was caught by our AI moderator” - Content policy violation
  • “Failed to fetch the image” - Image URL inaccessible
  • “Inappropriate content detected” - Image content violation
  • “Upload failed due to network reasons” - Temporary technical issue
Solution: Modify prompt or image based on error message, then retry

Polling Best Practices

Recommended intervals:
  • First 5 minutes: Check every 30 seconds
  • Next 10 minutes: Check every 60 seconds
  • After 15 minutes: Check every 2-3 minutes
Set reasonable timeouts:
  • Most videos complete within 10-15 minutes
  • Set maximum timeout of 30 minutes
  • Implement exponential backoff for network errors
Handle temporary failures gracefully:

Integration Examples

React Hook for Video Generation

Generate Aleph Video

Learn how to create video generation requests

Callback Integration

Implement webhooks instead of polling for better efficiency

Need Help? Contact our support team at support@apikley.ru for assistance with the Runway Alpeh API.
Rate limits and quotas are enforced by Apikley and may differ from upstream providers.

OpenAPI

runway-api/runway-aleph-api.json get /api/v1/aleph/record-info

To find navigation and other pages in this documentation, fetch the llms.txt file at: https://docs.apikley.ru/llms.txt