Magic Hour Python SDK
Magic Hour provides an API (beta) that can be integrated into your own application to generate videos and images using AI.
Webhook documentation can be found here.
If you have any questions, please reach out to us via discord.
Install
pip install magic_hour
Usage
Initialize the client
Synchronous Client
from magic_hour import Client
# generate your API Key at https://magichour.ai/developer
client = Client(token="my api key")
Asynchronous Client
from magic_hour import AsyncClient
# generate your API Key at https://magichour.ai/developer
client = AsyncClient(token="my api key")
Module Documentation and Snippets
v1.ai_clothes_changer
- create - AI Clothes Changer
v1.ai_face_editor
- create - AI Face Editor
v1.ai_gif_generator
- create - AI GIFs
v1.ai_headshot_generator
- create - AI Headshots
v1.ai_image_generator
- create - AI Images
v1.ai_image_upscaler
- create - AI Image Upscaler
v1.ai_meme_generator
- create - AI Meme Generator
v1.ai_photo_editor
- create - AI Photo Editor
v1.ai_qr_code_generator
- create - AI QR Code
v1.ai_talking_photo
- create - AI Talking Photo
v1.animation
- create - Animation
v1.face_swap
- create - Face Swap video
v1.face_swap_photo
- create - Face Swap Photo
v1.files.upload_urls
- create - Generate asset upload urls
v1.image_background_remover
- create - Image Background Remover
v1.image_projects
v1.image_to_video
- create - Image-to-Video
v1.lip_sync
- create - Lip Sync
v1.photo_colorizer
- create - Photo Colorizer
v1.text_to_video
- create - Text-to-Video
v1.video_projects
v1.video_to_video
- create - Video-to-Video
Metadata
Release files for magic-hour 0.22.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| magic_hour-0.22.0.tar.gz | 44.8 kB | Without provenance | Details for magic_hour-0.22.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| magic_hour-0.22.0-py3-none-any.whl | Python 3 | none | any | Details for magic_hour-0.22.0-py3-none-any.whl |
Total release size: 174.7 kB
Release files / magic_hour-0.22.0.tar.gz
| Download URL | magic_hour-0.22.0.tar.gz |
|---|---|
| Size | 44.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fd12a59b0bbe2c0545d4c2b7d61ba28b72945773daef40d0100a738ee80a49e
|
|
BLAKE2b-256 checksum How to use checksums |
2776115b51052ac47751c0610090338ee03cfc0595b7f42b7d6605c76bcc83f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1012-azure
|
Release files / magic_hour-0.22.0-py3-none-any.whl
| Download URL | magic_hour-0.22.0-py3-none-any.whl |
|---|---|
| Size | 129.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85ef790475cbb2ea0c1bfff264877d742c481d15ece5a11bd4ebd03d919acd92
|
|
BLAKE2b-256 checksum How to use checksums |
25630952d3a7dab81afe55a7acf00f91023946daaa71406b1e6846eb058307d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1012-azure
|
Security for magic-hour 0.22.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.