Crates.io | magic_hour |
lib.rs | magic_hour |
version | |
source | src |
created_at | 2024-11-14 05:21:42.22268 |
updated_at | 2024-12-04 23:48:49.872612 |
description | Rust API Client |
homepage | |
repository | |
max_upload_size | |
id | 1447432 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
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.
let client = magic_hour::Client::default()
.with_bearer_auth(&std::env::var("API_TOKEN").unwrap());