Skip to main content

apiz (Python)

Official Python SDK for the apiz.ai AI generation platform.

Status: Phase 1B scaffolding. Stub Apiz / AsyncApiz only. Real HTTP client, resources and helpers arrive in Phase 3B.

Install

pip install apiz

Usage (preview)

from apiz import Apiz, AsyncApiz

# Sync
client = Apiz()  # reads APIZ_API_KEY from env
task = client.tasks.create(model="fal-ai/flux-2/flash", params={"prompt": "a cat"})
result = client.tasks.wait_for(task.task_id)

# Async
import asyncio

async def main():
    async with AsyncApiz() as client:
        out = await client.generate(
            model="wan/v2.6/image-to-video",
            prompt="camera zooms in",
            image_url="https://...",
        )

asyncio.run(main())

Environment variables

Var Default Purpose
APIZ_API_KEY (none) Bearer token. Get one at https://apiz.ai/#/v2/api-keys
APIZ_BASE_URL https://api.apiz.ai Override backend
APIZ_TIMEOUT 60 Per-request timeout in seconds

The legacy XSKILL_API_KEY env var is also accepted.

Development

uv venv
uv pip install -e ".[dev]"
uv run pytest                 # mock-only suite
uv run pytest -m e2e          # live backend (requires APIZ_TEST_API_KEY)
uv run ruff check .
uv run mypy src

License

Apache-2.0

Metadata

Release files for apiz 0.2.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 apiz 0.2.0
File Size Uploaded Provenance Actions
apiz-0.2.0.tar.gz 24.2 kB Without provenance Details for apiz-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 46.6 kB

Release files / apiz-0.2.0.tar.gz

Download URL apiz-0.2.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
afb255144b6dbc3ec1bfd8fad24d7ee3ad9433c978ee5d386c9302f8e2cc0b22
BLAKE2b-256 checksum
How to use checksums
90e671370bedd5972c7d1186c4161c74b567ba2ac6663b30ce7a5a3fa8940919
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","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 / apiz-0.2.0-py3-none-any.whl

Download URL apiz-0.2.0-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e49fe4bd5e6de4960d0aac69d941ce20c796b1c204d1c1850729f988a2bce58a
BLAKE2b-256 checksum
How to use checksums
d88c2f633b2baf86b8323e4728664601927730dd2525a0b5ae0a65b8262bb370
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","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 apiz 0.2.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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No 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