magic_hour 0.86.0

Magic Hour Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Attributes used to dictate the style of the output
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct V1LipSyncCreateBodyStyle {
    /// A specific version of our lip sync system, optimized for different needs.
    /// * `lite` -  Fast lip sync - best for simple videos. Costs 1 credit per frame of video.
    /// * `standard` -  Natural, accurate lip sync - best for most creators. Requires visible mouth movement in the opening seconds of the input video. Costs 1 credit per frame of video.
    /// * `pro` -  Premium fidelity with enhanced detail - best for professionals. Requires visible mouth movement in the opening seconds of the input video. Costs 2 credits per frame of video.
    ///
    /// If your source is a still image, including a still image saved as a static video, use [AI Talking Photo](https://docs.magichour.ai/api-reference/video-projects/ai-talking-photo) with the original image and your audio instead.
    ///
    /// Note: `pro` is only available for users on Creator, Pro, and Business tiers.
    ///
    #[serde(skip_serializing_if = "Option::is_none")]
    pub generation_mode: Option<
        crate::models::V1LipSyncCreateBodyStyleGenerationModeEnum,
    >,
}