// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Generate {
    public var upsample: Upsample {
        Upsample(path: path + "/upsample")
    }

    public struct Upsample {
        /// Path: `/api/generate/upsample`
        public let path: String

        /// Run Upsample
        public func post(_ body: GenAPI.UpsampleParamsSpec) -> Request<GenAPI.GenerationRequestSchema> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_generate_api_run_upsample")
        }
    }
}
