Metadata-Version: 2.4
Name: vidova-platform
Version: 0.1.0
Summary: Vidova Platform API client: render films and motion graphics from code.
Author: Vidova
License: MIT
Project-URL: Homepage, https://platform.vidova.ai
Project-URL: Documentation, https://platform.vidova.ai/#/docs
Keywords: vidova,video,render,motion graphics,api,sdk
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Multimedia :: Video
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# vidova-platform

The Vidova Platform client for Python 3.9+, with no dependencies.

```sh
pip install vidova-platform
```

```python
import os
from vidova_platform import Vidova

vidova = Vidova(api_key=os.environ["VIDOVA_KEY"])
project = vidova.projects.create(name="My app")
film = vidova.films.create(project_id=project["id"], name="Hello",
    source='<film name="Hello" fps="30" width="1920" height="1080"><track id="t"><text duration="3" size="120">Hello</text></track></film>')
job = vidova.render(film["film"]["id"], {"type": "video", "resolution": "1080p", "fps": 30})
done = vidova.jobs.wait(job["id"])
if done["state"] == "succeeded":
    vidova.artifacts.download(done["artifacts"][0]["id"], "hello.mp4")
```

Requests that create something carry an idempotency key and are retried with the same key on network failures, 429 and 5xx. Check webhooks with `verify_webhook(secret, headers["Vidova-Signature"], raw_body)`.

Docs: https://platform.vidova.ai/#/docs
