GPTProto Python SDK
Typed Python client for the GPTProto unified asynchronous media API. The
generated transport and models are wrapped by GptprotoClient for unified
create/get/run polling.
Use
pip install gptproto
export GPTPROTO_API_KEY=your_key
from gptproto import GptprotoClient
from gptproto.models import UnifiedVideoRequest, VideoResolution
client = GptprotoClient()
result = client.run(
"video",
UnifiedVideoRequest(
model="kwaivgi/kling-v2.5",
prompt="a cat dancing",
duration=5,
resolution=VideoResolution.RESOLUTION_1080P,
),
)
print(result.unsigned_urls)
Task kinds are video, image, speech, voice-clone, lip-sync, 3d,
and image-tool. run() returns on completed, raises TaskFailedError for
failed, cancelled, or expired, and raises TaskTimeoutError on timeout.
For local development:
python3.11 -m venv .venv
source .venv/bin/activate
pip install -e .
python examples/demo.py
Use the repository-level ../generate.sh to regenerate without overwriting
the hand-written run.py and public __init__.py.
Metadata
Release files for gptproto 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 | Actions |
|---|---|---|---|---|
| gptproto-0.1.0.tar.gz | 26.4 kB | Without provenance | Details for gptproto-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gptproto-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gptproto-0.1.0-py3-none-any.whl |
Total release size: 92.2 kB
Release files / gptproto-0.1.0.tar.gz
| Download URL | gptproto-0.1.0.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6790f3ceef893866394315c07928ca9bdebf254fdecb43f1aa437c7d0932f0d6
|
|
BLAKE2b-256 checksum How to use checksums |
9b141432d937b70d9d1182a01d52f98bc7a82d2fb02fbff418bf056efc24091c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Release files / gptproto-0.1.0-py3-none-any.whl
| Download URL | gptproto-0.1.0-py3-none-any.whl |
|---|---|
| Size | 65.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1441261d7b1eac77e648be0231c57d1a69de51eb138ae3ee019771233831ea6
|
|
BLAKE2b-256 checksum How to use checksums |
41b251d9bf4c372be738857b16d8c232bc9386e1a7a6b1bbffea68068ea2c08f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Security for gptproto 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.