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

import Foundation
import Get
import URLQueryEncoder

extension Paths.VideoGen.Higgsfield {
    public var customReference: CustomReference {
        CustomReference(path: path + "/custom_reference")
    }

    public struct CustomReference {
        /// Path: `/api/video_gen/higgsfield/custom_reference`
        public let path: String

        /// Create Custom Reference
        ///
        /// Create a custom reference for text2image generation
        public func post(_ body: GenAPI.CreateCustomReferenceRequest) -> Request<GenAPI.CreateCustomReferenceResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_gen_higgsfield_api_create_custom_reference")
        }
    }
}
