Vidu Python SDK for RunAPI
Create image-to-video or reference-to-video tasks, retrieve their status, or use run to poll until completion. Validation runs on the RunAPI server.
Install
pip install runapi-vidu
Quick start
Set RUNAPI_API_KEY in your environment. Replace the example image URL with a publicly accessible reference image.
from runapi.vidu import ViduClient
client = ViduClient() # reads RUNAPI_API_KEY
result = client.reference_to_video.run(
model="vidu-q4-reference-to-video",
prompt="Animate the referenced scene with a slow camera pan",
reference_image_urls=["https://cdn.runapi.ai/public/samples/image.jpg"],
audio=False,
)
print(result.videos[0].url)
Use create to submit without waiting and get to retrieve the task by ID. Reference generation requires a prompt and 1–15 image URLs; it also accepts up to 3 MP3 reference audio URLs. Images must be JPG/JPEG/PNG/WEBP, at most 50 MB each; MP3 references must be 3–12 seconds and at most 50 MB each. Remote file properties are checked during provider processing, so a task can fail asynchronously.
See the API reference and SDK guide. For current pricing, use the canonical model pages: image-to-video and reference-to-video.
Metadata
Release files for runapi-vidu 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| runapi_vidu-0.1.0.tar.gz | 3.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| runapi_vidu-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / runapi_vidu-0.1.0.tar.gz
| Download URL | runapi_vidu-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccb5e87c544a22dfd2730d43cade1965723d79a864ce6ca6e6d5d09497e8445f
|
|
BLAKE2b-256 checksum How to use checksums |
0d4b79fe5cca7c0e0fa362f46e04addaaf7af606e80dab5dc358537f1076da87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / runapi_vidu-0.1.0-py3-none-any.whl
| Download URL | runapi_vidu-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12b84c574edecd14117219a8bb2f62f010a0d66d67be5170fdd7fb714def2187
|
|
BLAKE2b-256 checksum How to use checksums |
d45d19843a4556715ec5d9780397b0e1f5ac0d67bd4deadf28a6ebd8dc49ee61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for runapi-vidu 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.