storkai (Python)
Client for the Stork API: talking photo video, text to speech and singing video. No dependencies. Python 3.8+.
pip install storkai
export STORK_API_KEY=sk_stork_... # create one at https://www.stork.ai/dashboard/api
from storkai import Stork
stork = Stork()
# Text to speech: an MP3 from text (the free tier needs no credits)
audio = stork.speech.create_and_wait(text="Welcome back to the channel.", voice_id="en-ava", tier="free")
print(audio["audio_url"])
# Talking photo: one photo says your text
video = stork.talking_photo.create_and_wait(
image_url="https://www.stork.ai/samples/talking-photo/portrait.jpg",
text="Hi! I am your new assistant.",
voice_id="en-leo",
tier="free",
)
print(video["video_url"])
# Singing video: one photo performs a song (paid, slow: minutes)
job = stork.singing_video.create(image_url="https://...jpg", audio_url="https://...mp3", seconds=15)
print(stork.singing_video.wait(job["id"])["video_url"])
Every resource has create, get, list, estimate, wait and
create_and_wait. create adds an Idempotency-Key, so a retried request
never makes or charges for a second job. Errors raise StorkError with
status, code, param and request_id.
Webhooks:
from storkai import verify_webhook
ok = verify_webhook(raw_body, request.headers["Stork-Signature"], "whsec_...")
Docs: https://www.stork.ai/developers (Markdown: https://www.stork.ai/developers.md)
Metadata
Release files for storkai 0.1.1
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 |
|---|---|---|---|---|
| storkai-0.1.1.tar.gz | 4.1 kB | With provenance | Details for storkai-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| storkai-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for storkai-0.1.1-py3-none-any.whl |
Total release size: 8.5 kB
Release files / storkai-0.1.1.tar.gz
| Download URL | storkai-0.1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2dac67d6252faaa87176b15b9b432817e70bdf402e2328ed6d78cf9b9db7d93e
|
|
BLAKE2b-256 checksum How to use checksums |
d63bb59bab14fa069c2ac62ae519e5652dd92f7933f470e8334485f7c6466806
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / storkai-0.1.1-py3-none-any.whl
| Download URL | storkai-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3312422bf9d517938f33356c6c9107a1bcbd8b28c7dff623eaa58b47660fe72b
|
|
BLAKE2b-256 checksum How to use checksums |
169faf402bd0bba7636d8329b79de1ae84b29728449997a51c132879baea79b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for storkai 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for storkai-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA 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.