magic_hour 0.56.0

Magic Hour Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// V1AiImageUpscalerCreateBody
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct V1AiImageUpscalerCreateBody {
    /// Provide the assets for upscaling
    pub assets: crate::models::V1AiImageUpscalerCreateBodyAssets,
    /// Give your image a custom name for easy identification.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// How much to scale the image. Must be either 2 or 4.
    ///
    /// Note: 4x upscale is only available on Creator, Pro, or Business tier.
    pub scale_factor: f64,
    pub style: crate::models::V1AiImageUpscalerCreateBodyStyle,
}