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

import Foundation
import Get
import URLQueryEncoder

extension Paths.VideoGen.Text {
    public var generate: Generate {
        Generate(path: path + "/generate")
    }

    public struct Generate {
        /// Path: `/api/video_gen/text/generate`
        public let path: String

        /// Generate Text
        public func post(_ body: GenAPI.GenerateTextPromptRequest) -> Request<GenAPI.GenerateTextResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_generation_api_generate_text")
        }
    }
}
