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.
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
Understanding the task status helps you handle various scenarios in your application:
Processing
Success
Failed
Status: successFlag: 0 and no errorMessageWhat to do: Continue polling, generation is in progressTypical duration: 2-15 minutes depending on complexity and system load
Status: successFlag: 1What to do: Access video and thumbnail URLs from the response objectVideo availability: URLs are valid for 14 days after completion
Status: successFlag: 0 and has errorMessageWhat to do: Check errorMessage for details, modify parameters if needed, retry if appropriateCommon causes: Content policy violations, image access issues, technical errors
runway-api/runway-aleph-api.json get /api/v1/aleph/record-info
Copy
openapi: 3.0.0info: title: Runway Alpeh API description: Apikley Runway Alpeh API Documentation version: 1.0.0 contact: name: Technical Support email: [email protected]servers: - url: https://api.apikley.ru description: API Serversecurity: - BearerAuth: []paths: /api/v1/aleph/record-info: get: summary: Get Aleph Video Details description: >- Retrieve comprehensive information about an Aleph AI-generated video task. ### Usage Guide - Check the status of an Aleph video generation task - Access video URLs when generation is complete - Troubleshoot failed generation attempts ### Status Descriptions - `successFlag`: 1 = success, 0 = failed or in progress - Video links are valid for 14 days after completion - Use this endpoint to poll task status if not using callbacks ### Developer Notes - The response includes detailed task information including creation time, completion time, and error details - Parameter JSON contains the original generation request parameters operationId: get-aleph-video-details parameters: - name: taskId in: query description: >- Unique identifier of the Aleph video generation task. This is the taskId returned when creating an Aleph video. required: true schema: type: string example: ee603959-debb-48d1-98c4-a6d1c717eba6 responses: '200': description: Request successful content: application/json: schema: allOf: - type: object properties: code: type: integer enum: - 200 - 401 - 404 - 422 - 429 - 451 - 455 - 500 description: >- Response status code - **200**: Success - Request has been processed successfully - **401**: Unauthorized - Authentication credentials are missing or invalid - **404**: Not Found - The requested resource or endpoint does not exist - **422**: Validation Error - The request parameters failed validation checks - **429**: Rate Limited - Request limit has been exceeded for this resource - **451**: Unauthorized - Failed to fetch the image. Kindly verify any access limits set by you or your service provider. - **455**: Service Unavailable - System is currently undergoing maintenance - **500**: Server Error - An unexpected error occurred while processing the request msg: type: string description: Status message example: success data: type: object properties: taskId: type: string description: >- Unique identifier of the Aleph AI video generation task example: ee603959-debb-48d1-98c4-a6d1c717eba6 paramJson: type: string description: >- JSON string containing the original generation request parameters example: >- {"prompt":"A majestic eagle soaring through mountain clouds","videoUrl":"https://example.com/input-video.mp4"} response: type: object description: >- Response data containing generated video information properties: taskId: type: string description: Task ID associated with this generation example: ee603959-debb-48d1-98c4-a6d1c717eba6 resultVideoUrl: type: string description: >- URL to access and download the generated video, valid for 14 days example: https://file.com/k/xxxxxxx.mp4 resultImageUrl: type: string description: >- URL of a thumbnail image from the generated video example: https://file.com/m/xxxxxxxx.png completeTime: type: string format: date-time description: Timestamp when the video generation was completed example: '2023-08-15T14:30:45Z' createTime: type: string format: date-time description: Timestamp when the task was created example: '2023-08-15T14:25:00Z' successFlag: type: integer format: int32 description: >- Success status: 1 = success, 0 = failed or in progress enum: - 0 - 1 example: 1 errorCode: type: integer format: int32 description: Error code when generation fails (0 if successful) example: 0 errorMessage: type: string description: >- Detailed error message explaining the reason for failure (empty if successful) example: '' example: code: 200 msg: success data: taskId: ee603959-debb-48d1-98c4-a6d1c717eba6 paramJson: >- {"prompt":"A majestic eagle soaring through mountain clouds at sunset","videoUrl":"https://example.com/input-video.mp4"} response: taskId: ee603959-debb-48d1-98c4-a6d1c717eba6 resultVideoUrl: https://file.com/k/xxxxxxx.mp4 resultImageUrl: https://file.com/m/xxxxxxxx.png completeTime: '2023-08-15T14:30:45Z' createTime: '2023-08-15T14:25:00Z' successFlag: 1 errorCode: 0 errorMessage: '' '500': $ref: '#/components/responses/Error'components: responses: Error: description: Server Error securitySchemes: BearerAuth: type: http scheme: bearer bearerFormat: API Key description: >- All APIs require authentication via Bearer Token. Get API Key: 1. Visit [API Key Management Page](https://app.apikley.ru/keys) to get your API Key Usage: Add to request header: Authorization: Bearer APIKLEY_API_KEY Note: - Keep your API Key secure and do not share it with others - If you suspect your API Key has been compromised, reset it immediately in the management page