import type * as Hedra from "../index.js"; /** * Model-specific inputs for `topaz-image-upscaler`. */ export interface InputTopazImageUpscaler { /** The image to upscale. At most 30 MB. */ source_image: Hedra.InputTopazImageUpscalerSourceImage; /** Number of outputs generated per job. Only 1 is supported. */ num_outputs?: number | undefined; /** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */ target_resolution: InputTopazImageUpscaler.TargetResolution; /** Restore facial detail, and how strongly. Off leaves faces to the general upscale. */ face_recovery?: InputTopazImageUpscaler.FaceRecovery | undefined; /** How much a recovered face may be reimagined rather than reconstructed. Takes effect only with face_recovery on. */ face_recovery_creativity?: InputTopazImageUpscaler.FaceRecoveryCreativity | undefined; } export declare namespace InputTopazImageUpscaler { /** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */ const TargetResolution: { readonly OneThousandEightyP: "1080p"; readonly TwoK: "2K"; readonly FourK: "4K"; }; type TargetResolution = (typeof TargetResolution)[keyof typeof TargetResolution]; /** Restore facial detail, and how strongly. Off leaves faces to the general upscale. */ const FaceRecovery: { readonly Off: "off"; readonly Low: "low"; readonly Medium: "medium"; readonly High: "high"; }; type FaceRecovery = (typeof FaceRecovery)[keyof typeof FaceRecovery]; /** How much a recovered face may be reimagined rather than reconstructed. Takes effect only with face_recovery on. */ const FaceRecoveryCreativity: { readonly None: "none"; readonly Low: "low"; readonly Medium: "medium"; readonly High: "high"; }; type FaceRecoveryCreativity = (typeof FaceRecoveryCreativity)[keyof typeof FaceRecoveryCreativity]; }