Skip to main content

Python SDK and CLI for Clipwise generation APIs

Project description

Clipwise Python SDK and CLI

Install in development:

cd backend_clipwise/clipwise_cli
pip install -e .

Configure:

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

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:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clipwise-0.1.0b2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clipwise-0.1.0b2-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file clipwise-0.1.0b2.tar.gz.

File metadata

  • Download URL: clipwise-0.1.0b2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for clipwise-0.1.0b2.tar.gz
Algorithm Hash digest
SHA256 00225800f7195bdd3a64be822258cc4c607d6e0ba697888c7010e239371847b3
MD5 83ed2ddc4865f323432de3f0c8ce410c
BLAKE2b-256 9a996521af0470df8bd507765e1792a21b3651057f7420a95570271b7adf1577

See more details on using hashes here.

File details

Details for the file clipwise-0.1.0b2-py3-none-any.whl.

File metadata

  • Download URL: clipwise-0.1.0b2-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for clipwise-0.1.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 36a6ce40e87499cafc73b82a47f48557831ba95482f233918f9b0d31a2c930f6
MD5 8ace43c6f91bdfdca36954658443993e
BLAKE2b-256 b04c7254a3e159b2dc7e6860eca86ab5b812dd5217753a9cb65566ef3c392700

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page