Skip to main content

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for storkai 0.1.0
File Size Uploaded Provenance Actions
storkai-0.1.0.tar.gz 3.8 kB With provenance Details for storkai-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for storkai 0.1.0
File Interpreter ABI Platform Actions
storkai-0.1.0-py3-none-any.whl Python 3 none any Details for storkai-0.1.0-py3-none-any.whl

Total release size: 7.9 kB

Release files / storkai-0.1.0.tar.gz

Download URL storkai-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cb846439ee166ff3baaf208ff164695cbb72d547bd1478ab267d541b59a73fa4
BLAKE2b-256 checksum
How to use checksums
32a232c806a0ff6854c9c418def0e5f1b25ecf4914e73214556b20945b9bef42
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 log

Release files / storkai-0.1.0-py3-none-any.whl

Download URL storkai-0.1.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c56146e919ce189766c8c2f542655e82a133ec45ef4d863906fe83db39ebb75f
BLAKE2b-256 checksum
How to use checksums
94f36022063687636332e296a07bc6d9d2dd47507c5abfc3fd15268e3c18bdae
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 log

Security for storkai 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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for storkai-0.1.0.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 log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page