import type { HeygenTemplateRequest } from '../models/HeygenTemplateRequest'; import type { HeygenTemplateResponseSingle } from '../models/HeygenTemplateResponseSingle'; import type { HeygenVideoDetail } from '../models/HeygenVideoDetail'; import type { HeygenVideoRequest } from '../models/HeygenVideoRequest'; import type { PaginatedHeygenMarketingVideoListList } from '../models/PaginatedHeygenMarketingVideoListList'; import type { PaginatedHeygenTemplateResponseSingleList } from '../models/PaginatedHeygenTemplateResponseSingleList'; import type { PaginatedVeoVideoListList } from '../models/PaginatedVeoVideoListList'; import type { VeoVideoDetail } from '../models/VeoVideoDetail'; import type { VeoVideoRequest } from '../models/VeoVideoRequest'; import type { VideoCaption } from '../models/VideoCaption'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class AiMediaService { /** * API view to list or append Heygen template ids for a tenant. * @returns PaginatedHeygenTemplateResponseSingleList * @throws ApiError */ static aiMediaOrgsUsersHeygenTemplatesList({ org, userId, page, }: { org: string; /** * A page number within the paginated result set. */ page?: number; }): CancelablePromise; /** * Endpoint to add a Heygen template id to an org. * * Only platform admins have access to this endpoint. * @returns HeygenTemplateResponseSingle * @throws ApiError */ static aiMediaOrgsUsersHeygenTemplatesCreate({ org, userId, requestBody, }: { org: string; requestBody: HeygenTemplateRequest; }): CancelablePromise; /** * Endpoint to delete a Heygen template id for an org. * * * The reponse status code is always 204 when no error. * * * Only platform admins have access to this endpoint. * @returns void * @throws ApiError */ static aiMediaOrgsUsersHeygenTemplatesDestroy({ org, templateName, userId, }: { org: string; templateName: string; }): CancelablePromise; /** * Endpoint to download caption for a video. * @returns any No response body * @throws ApiError */ static aiMediaOrgsUsersHeygenVideoCaptionsRetrieve({ heygenMarketingVideoId, org, userId, }: { heygenMarketingVideoId: string; org: string; }): CancelablePromise; /** * Endpoint to upload a new caption for a generated video. * * Only platform admins have access to this endpoint. * @returns HeygenVideoDetail * @throws ApiError */ static aiMediaOrgsUsersHeygenVideoCaptionsCreate({ heygenMarketingVideoId, org, userId, formData, }: { heygenMarketingVideoId: string; org: string; formData: VideoCaption; }): CancelablePromise; /** * Endpoint used to download a heygen video. * * * Only platform admins have access to this endpoint. * @returns any No response body * @throws ApiError */ static aiMediaOrgsUsersHeygenVideoDownloadRetrieve({ heygenMarketingVideoId, org, userId, }: { heygenMarketingVideoId: string; org: string; }): CancelablePromise; /** * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin * @returns PaginatedHeygenMarketingVideoListList * @throws ApiError */ static aiMediaOrgsUsersHeygenVideosList({ org, userId, page, }: { org: string; /** * A page number within the paginated result set. */ page?: number; }): CancelablePromise; /** * Endpoint to create a Heygen video * * Only platform admins have access to this endpoint. * @returns HeygenVideoDetail * @throws ApiError */ static aiMediaOrgsUsersHeygenVideosCreate({ org, userId, requestBody, }: { org: string; requestBody: HeygenVideoRequest; }): CancelablePromise; /** * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin * @returns HeygenVideoDetail * @throws ApiError */ static aiMediaOrgsUsersHeygenVideosRetrieve({ heygenMarketingVideoId, org, userId, }: { heygenMarketingVideoId: string; org: string; }): CancelablePromise; /** * Endpoint used to delete a heygen video. * * Only platform admins have access to this endpoint. * @returns void * @throws ApiError */ static aiMediaOrgsUsersHeygenVideosDestroy({ heygenMarketingVideoId, org, userId, }: { heygenMarketingVideoId: string; org: string; }): CancelablePromise; /** * Endpoint used to download a Veo video. * * * Only platform admins have access to this endpoint. * @returns any No response body * @throws ApiError */ static aiMediaOrgsUsersVeoVideoDownloadRetrieve({ org, userId, veoVideoId, }: { org: string; veoVideoId: string; }): CancelablePromise; /** * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin * @returns PaginatedVeoVideoListList * @throws ApiError */ static aiMediaOrgsUsersVeoVideosList({ org, userId, page, }: { org: string; /** * A page number within the paginated result set. */ page?: number; }): CancelablePromise; /** * Endpoint to create a Veo3 video * * Only platform admins have access to this endpoint. * @returns VeoVideoDetail * @throws ApiError */ static aiMediaOrgsUsersVeoVideosCreate({ org, userId, formData, }: { org: string; formData: VeoVideoRequest; }): CancelablePromise; /** * Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin * @returns VeoVideoDetail * @throws ApiError */ static aiMediaOrgsUsersVeoVideosRetrieve({ org, userId, veoVideoId, }: { org: string; veoVideoId: string; }): CancelablePromise; /** * Endpoint used to delete a veo3 video. * * Only platform admins have access to this endpoint. * @returns void * @throws ApiError */ static aiMediaOrgsUsersVeoVideosDestroy({ org, userId, veoVideoId, }: { org: string; veoVideoId: string; }): CancelablePromise; /** * Endpoint to generate video scripts from a audio file. The audio file can be one of mp3 and wav. * * The request should be a multipart form with your audio file in the `file` field. * * Initial Response: * ``` * {"script": None, "status": "started_generation", "generation_id": "your-generation-id."} * ``` * This signals the generation has started. You can use the generation id to query video script generation status from this endpoint, using a JSON like below: * ``` * {"generation_id": "your-generation-id"} * ``` * * Example response: * ``` * {"script": "hello this is a video script.", "status": "finished", "generation_id": "your-generation-id"} * * ``` * @returns any No response body * @throws ApiError */ static aiMediaOrgsUsersVideoScriptGenerationAudioCreate({ org, userId, }: { org: string; }): CancelablePromise; /** * Endpoint to generate video scripts from a document file. The document file can be one of docx, doc, pptx, ppt, txt and pdf. * * The request should be a multipart form with your document file in the `file` field. * Initial Response: * ``` * {"script": None, "status": "started_generation", "generation_id": "your-generation-id."} * ``` * This signals the generation has started. You can use the generation id to query video script generation status from this endpoint, using a JSON like below: * ``` * {"generation_id": "your-generation-id"} * ``` * * Example response: * ``` * {"script": "hello this is a video script.", "status": "finished", "generation_id": "your-generation-id"} * * ``` * @returns any No response body * @throws ApiError */ static aiMediaOrgsUsersVideoScriptGenerationDocumentCreate({ org, userId, }: { org: string; }): CancelablePromise; /** * Endpoint to generate video scripts from a text. * * The request body should be a JSON with your text, like below: * ``` * {"text": "Generate a script about a campus comedy."} * ``` * * Example response: * ``` * {"script": "hello this is a video script."} * * ``` * @returns any No response body * @throws ApiError */ static aiMediaOrgsUsersVideoScriptGenerationTextCreate({ org, userId, }: { org: string; }): CancelablePromise; }