Metadata-Version: 2.4
Name: clipwise
Version: 0.1.0b2
Summary: Python SDK and CLI for Clipwise generation APIs
License-File: LICENSE
Requires-Python: >=3.9
Requires-Dist: httpx>=0.27
Requires-Dist: typing-extensions>=4.8
Description-Content-Type: text/markdown

# Clipwise Python SDK and CLI

Install in development:

```bash
cd backend_clipwise/clipwise_cli
pip install -e .
```

Configure:

```bash
export CLIPWISE_API_KEY="cw_live_..."
# Optional. Defaults to https://app.clipwise.ai.
export CLIPWISE_BASE_URL="https://app.clipwise.ai"
```

Python:

```python
from clipwise import Clipwise

client = Clipwise()
formats = client.formats.list()
job = client.generations.create(format="smart", prompt="Create a founder launch video")
result = client.generations.wait(job["id"])
print(result["generation"]["outputs"])
```

CLI:

```bash
clipwise formats list --json
clipwise resources list poses --video-format ugc_product_background --json
clipwise resources upload background_music ./track.mp3 --json
clipwise resources upload overlays ./overlay.webm --type underlay --json
clipwise resources generate avatars --prompt "Friendly skincare presenter" --video-format ugc_video --json
clipwise resources generate background_images --prompt "Luxury bathroom counter" --video-format ugc_product_background --json
clipwise generate --format smart --prompt "Create a 30 second founder launch video" --json
clipwise wait gen_abc123 --json
```

The package only talks to `/api/sdk/v1/*` endpoints. It does not import Django
or use internal frontend endpoints.
