magic_hour 0.83.0

Magic Hour Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Provide the assets for face detection
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct V1FaceDetectionCreateBodyAssets {
    /// This is the image or video where the face will be detected. This value is either
    /// - a direct URL to the file. The URL path must end in a supported file extension.
    /// - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
    ///
    /// See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
    ///
    pub target_file_path: String,
}