Skip to main content

Runway Aleph prompt-guided video editing client for RunAPI

Project description

Runway Aleph Python SDK for RunAPI

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

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 to submit a task and return quickly, get to fetch the latest task state, and run to 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 videos 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.1.0.tar.gz (4.3 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.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: runapi_runway_aleph-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"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.1.0.tar.gz
Algorithm Hash digest
SHA256 7034d80b977eede8a886e568c388ad92495699810895f7f22664d6cdc7266fc3
MD5 37ee0d2817d5be07bd9e22a595dd8d36
BLAKE2b-256 47089e1c0f0c67b2e43a095052a5cdfdf7ff1731532038771e0f5b203adca560

See more details on using hashes here.

File details

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

File metadata

  • Download URL: runapi_runway_aleph-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23ad186ed963ae277d739fc9acd1aa0506b92fe18301e1607d9f223d9a17ed22
MD5 b7c5644f92d4d094632e7d87928887b4
BLAKE2b-256 3369438cc0fb552aa017cd34b6c932aaeb16414746e65537385799fe77a79a74

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