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_..."
export CLIPWISE_BASE_URL="https://app.clipwise.ai"

Python:

from clipwise import Clipwise

client = Clipwise()
formats = client.formats.list(kind="all", platform="all")
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.0b1.tar.gz (9.1 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.0b1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clipwise-0.1.0b1.tar.gz
  • Upload date:
  • Size: 9.1 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.0b1.tar.gz
Algorithm Hash digest
SHA256 64a8d0b8fe543012d36deb1ee8bc715759ef0c7e8c4c8d27eea66ac340411538
MD5 0945310f4af312642776014940a3036b
BLAKE2b-256 43d7fc56accfe863b03a1157bf37e9bb2054702f00a4c5b286a23ffa5b36f6a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clipwise-0.1.0b1-py3-none-any.whl
  • Upload date:
  • Size: 11.0 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.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 f40a2ba05837442d89ea202ae0ebac670aa4492b0cfec9bcb3a862542d82fe9e
MD5 65ce4b6ef4349503233ad2be5398ac59
BLAKE2b-256 714076aff9bd3778289b7ccd874f06f9c8ea7a6c015cea21f2c6a63e2a38f26f

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