No project description provided
Project description
Magic Hour API Python SDK
Overview
Introduction
Magic Hour provides an API (beta) that can be integrated into your own application to generate videos using AI.
Webhook documentation can be found here.
If you have any questions, please reach out to us via discord.
Authentication
Every request requires an API key.
To get started, first generate your API key here.
Then, add the Authorization header to the request.
| Key | Value |
|---|---|
| Authorization | Bearer mhk_live_apikey |
Warning: any API call that renders a video will utilize frames in your account.
Synchronous Client
from magic_hour import Client
from os import getenv
client = Client(token=getenv("API_TOKEN"))
Asynchronous Client
from magic_hour import AsyncClient
from os import getenv
client = AsyncClient(token=getenv("API_TOKEN"))
SDK Usage
See SDK Examples for example usage of all SDK functionality
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file magic_hour-0.0.5.tar.gz.
File metadata
- Download URL: magic_hour-0.0.5.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20a809b4933f2e86a4cf0913c110ef24ff047de7368b9f409fb6a495bacdaf08
|
|
| MD5 |
4b6d79df5c09d5819dda4003a4539ac1
|
|
| BLAKE2b-256 |
492faa858e9c8beb7490053169e79d181864c5db7f23099b590aa10d30cd29c0
|
File details
Details for the file magic_hour-0.0.5-py3-none-any.whl.
File metadata
- Download URL: magic_hour-0.0.5-py3-none-any.whl
- Upload date:
- Size: 49.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8911f66905c6bb29550cbe89d8657ac0928e674d2987263d04d5c57deb649598
|
|
| MD5 |
ad6819a647f6decac1c5502ff5a7cef6
|
|
| BLAKE2b-256 |
a6fd5f93f0597a1216df23a9ec33378d9cab7cbcf2e6e63c6f1f89d17beb18cb
|