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

import Foundation
import Get
import URLQueryEncoder

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

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

        /// Generate Image
        public func post(_ body: GenAPI.GenerateImageRequest) -> Request<GenAPI.GenerateImageResponse> {
            Request(path: path, method: "POST", body: body, id: "studio_api_video_generation_api_generate_image")
        }
    }
}
