/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseResponse } from '../models/BaseResponse';
import type { CancelablePromise } from '../core/CancelablePromise';
import { OpenAPI } from '../core/OpenAPI';
import { request as __request } from '../core/request';

export class GenerationsService {
    public static generateImage(
        requestBody: any,
    ): CancelablePromise<BaseResponse> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/api/v1/generations/image',
            body: requestBody,
        });
    }

    public static generateVideo(
        requestBody: any,
    ): CancelablePromise<BaseResponse> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/api/v1/generations/video',
            body: requestBody,
        });
    }

    public static upscaleImage(
        requestBody: any,
    ): CancelablePromise<BaseResponse> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/api/v1/generations/upscale',
            body: requestBody,
        });
    }

    public static generateAudio(
        requestBody: any,
    ): CancelablePromise<BaseResponse> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/api/v1/generations/audio',
            body: requestBody,
        });
    }

    public static generateAudioUnified(
        requestBody: any,
    ): CancelablePromise<BaseResponse> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/api/v1/generations/audio-unified',
            body: requestBody,
        });
    }

    public static generateMusic(
        requestBody: any,
    ): CancelablePromise<BaseResponse> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/api/v1/generations/music',
            body: requestBody,
        });
    }

    public static optimizePromptEndpoint(
        requestBody: any,
    ): CancelablePromise<BaseResponse> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/api/v1/generations/optimize-prompt',
            body: requestBody,
        });
    }

    public static splitStoryboardsEndpoint(
        requestBody: any,
    ): CancelablePromise<BaseResponse> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/api/v1/generations/split-storyboards',
            body: requestBody,
        });
    }
}
