Metadata-Version: 2.5
Name: runapi-heygen-video
Version: 0.1.0
Summary: RunAPI HeyGen Video SDK for text-to-video, reference-guided, and image-to-video workflows with generated sound in JavaScript, Python, Ruby, Go, Java, and PHP
Project-URL: Homepage, https://runapi.ai/models/heygen-video
Project-URL: Documentation, https://runapi.ai/docs/resources/sdks
Project-URL: Source, https://github.com/runapi-ai/heygen-video-sdk
Project-URL: Issues, https://github.com/runapi-ai/heygen-video-sdk/issues
Project-URL: Changelog, https://github.com/runapi-ai/heygen-video-sdk/blob/main/CHANGELOG.md
Project-URL: Release Notes, https://github.com/runapi-ai/heygen-video-sdk/releases/tag/python%2Fv0.1.0
Author-email: RunAPI <contact@runapi.ai>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: api,golang,gradle,heygen-video,image-to-video,java,maven,python,ruby,runapi,runapi-ai,sdk,text-to-video,typescript,video-generation
Requires-Python: >=3.9
Requires-Dist: runapi-core~=0.10.1
Description-Content-Type: text/markdown

# HeyGen Video API Python SDK for RunAPI

Use `runapi-heygen-video` for HeyGen Video video tasks in Python.

```bash
pip install runapi-heygen-video
```

```python
from runapi.heygen_video import HeyGenVideoClient

client = HeyGenVideoClient()
result = client.text_to_video.run(
    model="heygen-video-1",
    prompt="A cinematic tracking shot through a rain-soaked city",
    aspect_ratio="16:9",
)
print(result.videos[0].url)
```

Use `text_to_video` for prompt-only or reference-media generation. Use `image_to_video` with a first-frame image. Each resource provides `create`, `get`, and `run`.

- [Model reference](https://runapi.ai/models/heygen-video)
- [API reference](https://runapi.ai/docs/api/heygen-video/text-to-video)
- [Pricing and rate limits](https://runapi.ai/models/heygen-video)

Licensed under the Apache License, Version 2.0.
