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

import Foundation
import Get
import URLQueryEncoder

extension Paths.Gen.WithGenId {
    public var setClipPrompt: SetClipPrompt {
        SetClipPrompt(path: path + "/set_clip_prompt")
    }

    public struct SetClipPrompt {
        /// Path: `/api/gen/{gen_id}/set_clip_prompt`
        public let path: String

        /// Set Clip Prompt
        ///
        /// Set the metadata of a GeneratedClip. User must own clip.
        public func post(_ body: GenAPI.UpdatedClipPromptSpec) -> Request<Void> {
            Request(path: path, method: "POST", body: body, id: "studio_api_bots_gen_api_set_clip_prompt")
        }
    }
}
