Skip to main content

RunAPI Runway Aleph SDK for prompt-guided video editing workflows in JavaScript, Python, Ruby, Go, Java, and PHP

Project description

Runway Aleph Python SDK for RunAPI

The Runway Aleph Python SDK is the language-specific package for Runway Aleph on RunAPI. Use this package for video generation, animation, and video editing workflows when your application needs request bodies, task status lookup, and consistent RunAPI errors in Python.

This README is the Python package guide inside the public runway-aleph-sdk repository. For the repository overview, start at ../README.md; for model details, use https://runapi.ai/models/runway-aleph; for API reference, use https://runapi.ai/docs#runway-aleph; for SDK docs, use https://runapi.ai/docs#sdk-runway-aleph.

Install

pip install runapi-runway-aleph

Quick start

from runapi.runway_aleph import RunwayAlephClient

client = RunwayAlephClient()  # reads RUNAPI_API_KEY, or pass api_key="sk-..."

task = client.edit_video.create(
    model="runway-aleph",
    prompt="Transform the scene into a watercolor painting style",
    source_video_url="https://cdn.runapi.ai/public/samples/video.mp4",
)
status = client.edit_video.get(task.id)

Use create when you want to submit a task and return quickly, get when you need the latest task state, and run when a script should create and poll until completion:

result = client.edit_video.run(
    model="runway-aleph",
    prompt="Transform the scene into a watercolor painting style",
    source_video_url="https://cdn.runapi.ai/public/samples/video.mp4",
)
print(result.videos[0].url)

In web request handlers, prefer create plus webhook or later get polling so a worker is not held open.

RunAPI-generated file URLs are temporary. Download and store generated images, videos, audio, or other files in your own durable storage within 7 days; do not treat returned URLs as long-term assets.

Language notes

Pass parameters as keyword arguments and catch the runapi.runway_aleph error classes when building video jobs, workers, or scripts. The available resource is edit_video. Keep RUNAPI_API_KEY in the environment or your secret manager; never commit API keys or callback secrets.

Links

License

Licensed under the Apache License, Version 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runapi_runway_aleph-0.2.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runapi_runway_aleph-0.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file runapi_runway_aleph-0.2.0.tar.gz.

File metadata

  • Download URL: runapi_runway_aleph-0.2.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for runapi_runway_aleph-0.2.0.tar.gz
Algorithm Hash digest
SHA256 39dfaf0c1cc90b8d0d8064a8b2daedf8230f6307ddad1e64a2ff9443a2f76357
MD5 20d5ff9c4968565ad8669da89c5e0f10
BLAKE2b-256 b9ced125a2b63ff4dc7826d1842d21b0b81202ef50e195d550476274a4690647

See more details on using hashes here.

File details

Details for the file runapi_runway_aleph-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: runapi_runway_aleph-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for runapi_runway_aleph-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e12a8f5e7ee302fa49fc760a4f481cd38f2aa2c79d2f126d2dd7243db804330
MD5 b0ee7ed02f81be4408a8d448049580aa
BLAKE2b-256 1363a1b74697e1a17b3ec55d8c0a0bafa16b9036308174a4141d4b119b61a661

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page