Skip to main content

Install

Python 3.9+ supported. Uses httpx under the hood.

Initialize

Generations

Image (sync)

Video (async + wait_for)

Cancel

Comparisons

Models, uploads, webhooks, usage

Error handling

Async clients (coming in 0.2)

For now, the sync client works with asyncio via asyncio.to_thread:

Custom httpx client