Documentation
¶
Overview ¶
Package elevenlabs provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.13.0 DO NOT EDIT.
Package elevenlabs provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.13.0 DO NOT EDIT.
Index ¶
- func NewAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostRequestWithBody(server string, ...) (*http.Request, error)
- func NewAddProjectV1ProjectsAddPostRequestWithBody(server string, params *AddProjectV1ProjectsAddPostParams, contentType string, ...) (*http.Request, error)
- func NewAddVoiceV1VoicesAddPostRequestWithBody(server string, params *AddVoiceV1VoicesAddPostParams, contentType string, ...) (*http.Request, error)
- func NewConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostRequest(server string, projectId string, chapterId string, ...) (*http.Request, error)
- func NewConvertProjectV1ProjectsProjectIdConvertPostRequest(server string, projectId string, ...) (*http.Request, error)
- func NewCreatesAudioNativeEnabledProjectV1AudioNativePostRequestWithBody(server string, params *CreatesAudioNativeEnabledProjectV1AudioNativePostParams, ...) (*http.Request, error)
- func NewDeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteRequest(server string, projectId string, chapterId string, ...) (*http.Request, error)
- func NewDeleteHistoryItemV1HistoryHistoryItemIdDeleteRequest(server string, historyItemId string, ...) (*http.Request, error)
- func NewDeleteProjectV1ProjectsProjectIdDeleteRequest(server string, projectId string, ...) (*http.Request, error)
- func NewDeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteRequest(server string, voiceId string, sampleId string, ...) (*http.Request, error)
- func NewDeleteVoiceV1VoicesVoiceIdDeleteRequest(server string, voiceId string, params *DeleteVoiceV1VoicesVoiceIdDeleteParams) (*http.Request, error)
- func NewDownloadHistoryItemsV1HistoryDownloadPostRequest(server string, params *DownloadHistoryItemsV1HistoryDownloadPostParams, ...) (*http.Request, error)
- func NewDownloadHistoryItemsV1HistoryDownloadPostRequestWithBody(server string, params *DownloadHistoryItemsV1HistoryDownloadPostParams, ...) (*http.Request, error)
- func NewEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostRequest(server string, voiceId string, ...) (*http.Request, error)
- func NewEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostRequestWithBody(server string, voiceId string, ...) (*http.Request, error)
- func NewEditVoiceV1VoicesVoiceIdEditPostRequestWithBody(server string, voiceId string, params *EditVoiceV1VoicesVoiceIdEditPostParams, ...) (*http.Request, error)
- func NewGetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetRequest(server string, historyItemId string, ...) (*http.Request, error)
- func NewGetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetRequest(server string, voiceId string, sampleId string, ...) (*http.Request, error)
- func NewGetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetRequest(server string, projectId string, chapterId string, ...) (*http.Request, error)
- func NewGetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetRequest(server string, projectId string, chapterId string, ...) (*http.Request, error)
- func NewGetChaptersV1ProjectsProjectIdChaptersGetRequest(server string, projectId string, ...) (*http.Request, error)
- func NewGetDefaultVoiceSettingsV1VoicesSettingsDefaultGetRequest(server string) (*http.Request, error)
- func NewGetGeneratedItemsV1HistoryGetRequest(server string, params *GetGeneratedItemsV1HistoryGetParams) (*http.Request, error)
- func NewGetHistoryItemByIDV1HistoryHistoryItemIdGetRequest(server string, historyItemId string, ...) (*http.Request, error)
- func NewGetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetRequest(server string, pronunciationDictionaryId string, ...) (*http.Request, error)
- func NewGetModelsV1ModelsGetRequest(server string, params *GetModelsV1ModelsGetParams) (*http.Request, error)
- func NewGetProjectByIDV1ProjectsProjectIdGetRequest(server string, projectId string, ...) (*http.Request, error)
- func NewGetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetRequest(server string, projectId string, ...) (*http.Request, error)
- func NewGetProjectsV1ProjectsGetRequest(server string, params *GetProjectsV1ProjectsGetParams) (*http.Request, error)
- func NewGetUserInfoV1UserGetRequest(server string, params *GetUserInfoV1UserGetParams) (*http.Request, error)
- func NewGetUserSubscriptionInfoV1UserSubscriptionGetRequest(server string, params *GetUserSubscriptionInfoV1UserSubscriptionGetParams) (*http.Request, error)
- func NewGetVoiceSettingsV1VoicesVoiceIdSettingsGetRequest(server string, voiceId string, ...) (*http.Request, error)
- func NewGetVoiceV1VoicesVoiceIdGetRequest(server string, voiceId string, params *GetVoiceV1VoicesVoiceIdGetParams) (*http.Request, error)
- func NewGetVoicesV1VoicesGetRequest(server string, params *GetVoicesV1VoicesGetParams) (*http.Request, error)
- func NewRedirectToMintlifyDocsGetRequest(server string) (*http.Request, error)
- func NewStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostRequest(server string, projectId string, chapterId string, chapterSnapshotId string, ...) (*http.Request, error)
- func NewStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostRequest(server string, projectId string, projectSnapshotId string, ...) (*http.Request, error)
- func NewTextToSpeechV1TextToSpeechVoiceIdPostRequest(server string, voiceId string, ...) (*http.Request, error)
- func NewTextToSpeechV1TextToSpeechVoiceIdPostRequestWithBody(server string, voiceId string, ...) (*http.Request, error)
- func NewTextToSpeechV1TextToSpeechVoiceIdStreamPostRequest(server string, voiceId string, ...) (*http.Request, error)
- func NewTextToSpeechV1TextToSpeechVoiceIdStreamPostRequestWithBody(server string, voiceId string, ...) (*http.Request, error)
- func NewUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostRequest(server string, projectId string, ...) (*http.Request, error)
- func NewUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostRequestWithBody(server string, projectId string, ...) (*http.Request, error)
- type AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartRequestBody
- type AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostParams
- type AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse
- type AddProjectResponseModel
- type AddProjectV1ProjectsAddPostMultipartRequestBody
- type AddProjectV1ProjectsAddPostParams
- type AddProjectV1ProjectsAddPostResponse
- type AddPronunciationDictionaryResponseModel
- type AddVoiceResponseModel
- type AddVoiceV1VoicesAddPostMultipartRequestBody
- type AddVoiceV1VoicesAddPostParams
- type AddVoiceV1VoicesAddPostResponse
- type AudioNativeCreateProjectResponseModel
- type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost
- type BodyAddProjectV1ProjectsAddPost
- type BodyAddVoiceV1VoicesAddPost
- type BodyCreatesAudioNativeEnabledProjectV1AudioNativePost
- type BodyDownloadHistoryItemsV1HistoryDownloadPost
- type BodyEditVoiceV1VoicesVoiceIdEditPost
- type BodyTextToSpeechV1TextToSpeechVoiceIdPost
- type BodyTextToSpeechV1TextToSpeechVoiceIdStreamPost
- type BodyUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost
- type ChapterResponseModel
- type ChapterResponseModelState
- type ChapterSnapshotResponseModel
- type ChapterSnapshotsResponseModel
- type ChapterStatisticsResponseModel
- type Client
- func (c *Client) AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostWithBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) AddProjectV1ProjectsAddPostWithBody(ctx context.Context, params *AddProjectV1ProjectsAddPostParams, ...) (*http.Response, error)
- func (c *Client) AddVoiceV1VoicesAddPostWithBody(ctx context.Context, params *AddVoiceV1VoicesAddPostParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPost(ctx context.Context, projectId string, chapterId string, ...) (*http.Response, error)
- func (c *Client) ConvertProjectV1ProjectsProjectIdConvertPost(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) CreatesAudioNativeEnabledProjectV1AudioNativePostWithBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) DeleteChapterV1ProjectsProjectIdChaptersChapterIdDelete(ctx context.Context, projectId string, chapterId string, ...) (*http.Response, error)
- func (c *Client) DeleteHistoryItemV1HistoryHistoryItemIdDelete(ctx context.Context, historyItemId string, ...) (*http.Response, error)
- func (c *Client) DeleteProjectV1ProjectsProjectIdDelete(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) DeleteSampleV1VoicesVoiceIdSamplesSampleIdDelete(ctx context.Context, voiceId string, sampleId string, ...) (*http.Response, error)
- func (c *Client) DeleteVoiceV1VoicesVoiceIdDelete(ctx context.Context, voiceId string, ...) (*http.Response, error)
- func (c *Client) DownloadHistoryItemsV1HistoryDownloadPost(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, ...) (*http.Response, error)
- func (c *Client) DownloadHistoryItemsV1HistoryDownloadPostWithBody(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, ...) (*http.Response, error)
- func (c *Client) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost(ctx context.Context, voiceId string, ...) (*http.Response, error)
- func (c *Client) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithBody(ctx context.Context, voiceId string, ...) (*http.Response, error)
- func (c *Client) EditVoiceV1VoicesVoiceIdEditPostWithBody(ctx context.Context, voiceId string, ...) (*http.Response, error)
- func (c *Client) GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGet(ctx context.Context, historyItemId string, ...) (*http.Response, error)
- func (c *Client) GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGet(ctx context.Context, voiceId string, sampleId string, ...) (*http.Response, error)
- func (c *Client) GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGet(ctx context.Context, projectId string, chapterId string, ...) (*http.Response, error)
- func (c *Client) GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGet(ctx context.Context, projectId string, chapterId string, ...) (*http.Response, error)
- func (c *Client) GetChaptersV1ProjectsProjectIdChaptersGet(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) GetDefaultVoiceSettingsV1VoicesSettingsDefaultGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGeneratedItemsV1HistoryGet(ctx context.Context, params *GetGeneratedItemsV1HistoryGetParams, ...) (*http.Response, error)
- func (c *Client) GetHistoryItemByIDV1HistoryHistoryItemIdGet(ctx context.Context, historyItemId string, ...) (*http.Response, error)
- func (c *Client) GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGet(ctx context.Context, pronunciationDictionaryId string, ...) (*http.Response, error)
- func (c *Client) GetModelsV1ModelsGet(ctx context.Context, params *GetModelsV1ModelsGetParams, ...) (*http.Response, error)
- func (c *Client) GetProjectByIDV1ProjectsProjectIdGet(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGet(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) GetProjectsV1ProjectsGet(ctx context.Context, params *GetProjectsV1ProjectsGetParams, ...) (*http.Response, error)
- func (c *Client) GetUserInfoV1UserGet(ctx context.Context, params *GetUserInfoV1UserGetParams, ...) (*http.Response, error)
- func (c *Client) GetUserSubscriptionInfoV1UserSubscriptionGet(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetVoiceSettingsV1VoicesVoiceIdSettingsGet(ctx context.Context, voiceId string, ...) (*http.Response, error)
- func (c *Client) GetVoiceV1VoicesVoiceIdGet(ctx context.Context, voiceId string, params *GetVoiceV1VoicesVoiceIdGetParams, ...) (*http.Response, error)
- func (c *Client) GetVoicesV1VoicesGet(ctx context.Context, params *GetVoicesV1VoicesGetParams, ...) (*http.Response, error)
- func (c *Client) RedirectToMintlifyDocsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost(ctx context.Context, projectId string, chapterId string, ...) (*http.Response, error)
- func (c *Client) StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost(ctx context.Context, projectId string, projectSnapshotId string, ...) (*http.Response, error)
- func (c *Client) TextToSpeechV1TextToSpeechVoiceIdPost(ctx context.Context, voiceId string, ...) (*http.Response, error)
- func (c *Client) TextToSpeechV1TextToSpeechVoiceIdPostWithBody(ctx context.Context, voiceId string, ...) (*http.Response, error)
- func (c *Client) TextToSpeechV1TextToSpeechVoiceIdStreamPost(ctx context.Context, voiceId string, ...) (*http.Response, error)
- func (c *Client) TextToSpeechV1TextToSpeechVoiceIdStreamPostWithBody(ctx context.Context, voiceId string, ...) (*http.Response, error)
- func (c *Client) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost(ctx context.Context, projectId string, ...) (*http.Response, error)
- func (c *Client) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithBody(ctx context.Context, projectId string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostWithBodyWithResponse(ctx context.Context, ...) (*AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse, ...)
- func (c *ClientWithResponses) AddProjectV1ProjectsAddPostWithBodyWithResponse(ctx context.Context, params *AddProjectV1ProjectsAddPostParams, ...) (*AddProjectV1ProjectsAddPostResponse, error)
- func (c *ClientWithResponses) AddVoiceV1VoicesAddPostWithBodyWithResponse(ctx context.Context, params *AddVoiceV1VoicesAddPostParams, contentType string, ...) (*AddVoiceV1VoicesAddPostResponse, error)
- func (c *ClientWithResponses) ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostWithResponse(ctx context.Context, projectId string, chapterId string, ...) (*ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse, error)
- func (c *ClientWithResponses) ConvertProjectV1ProjectsProjectIdConvertPostWithResponse(ctx context.Context, projectId string, ...) (*ConvertProjectV1ProjectsProjectIdConvertPostResponse, error)
- func (c *ClientWithResponses) CreatesAudioNativeEnabledProjectV1AudioNativePostWithBodyWithResponse(ctx context.Context, ...) (*CreatesAudioNativeEnabledProjectV1AudioNativePostResponse, error)
- func (c *ClientWithResponses) DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteWithResponse(ctx context.Context, projectId string, chapterId string, ...) (*DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteHistoryItemV1HistoryHistoryItemIdDeleteWithResponse(ctx context.Context, historyItemId string, ...) (*DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteProjectV1ProjectsProjectIdDeleteWithResponse(ctx context.Context, projectId string, ...) (*DeleteProjectV1ProjectsProjectIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteWithResponse(ctx context.Context, voiceId string, sampleId string, ...) (*DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteVoiceV1VoicesVoiceIdDeleteWithResponse(ctx context.Context, voiceId string, ...) (*DeleteVoiceV1VoicesVoiceIdDeleteResponse, error)
- func (c *ClientWithResponses) DownloadHistoryItemsV1HistoryDownloadPostWithBodyWithResponse(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, ...) (*DownloadHistoryItemsV1HistoryDownloadPostResponse, error)
- func (c *ClientWithResponses) DownloadHistoryItemsV1HistoryDownloadPostWithResponse(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, ...) (*DownloadHistoryItemsV1HistoryDownloadPostResponse, error)
- func (c *ClientWithResponses) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithBodyWithResponse(ctx context.Context, voiceId string, ...) (*EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse, error)
- func (c *ClientWithResponses) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithResponse(ctx context.Context, voiceId string, ...) (*EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse, error)
- func (c *ClientWithResponses) EditVoiceV1VoicesVoiceIdEditPostWithBodyWithResponse(ctx context.Context, voiceId string, ...) (*EditVoiceV1VoicesVoiceIdEditPostResponse, error)
- func (c *ClientWithResponses) GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetWithResponse(ctx context.Context, historyItemId string, ...) (*GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse, error)
- func (c *ClientWithResponses) GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetWithResponse(ctx context.Context, voiceId string, sampleId string, ...) (*GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse, error)
- func (c *ClientWithResponses) GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetWithResponse(ctx context.Context, projectId string, chapterId string, ...) (*GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse, error)
- func (c *ClientWithResponses) GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetWithResponse(ctx context.Context, projectId string, chapterId string, ...) (*GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse, ...)
- func (c *ClientWithResponses) GetChaptersV1ProjectsProjectIdChaptersGetWithResponse(ctx context.Context, projectId string, ...) (*GetChaptersV1ProjectsProjectIdChaptersGetResponse, error)
- func (c *ClientWithResponses) GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse, error)
- func (c *ClientWithResponses) GetGeneratedItemsV1HistoryGetWithResponse(ctx context.Context, params *GetGeneratedItemsV1HistoryGetParams, ...) (*GetGeneratedItemsV1HistoryGetResponse, error)
- func (c *ClientWithResponses) GetHistoryItemByIDV1HistoryHistoryItemIdGetWithResponse(ctx context.Context, historyItemId string, ...) (*GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse, error)
- func (c *ClientWithResponses) GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetWithResponse(ctx context.Context, pronunciationDictionaryId string, ...) (...)
- func (c *ClientWithResponses) GetModelsV1ModelsGetWithResponse(ctx context.Context, params *GetModelsV1ModelsGetParams, ...) (*GetModelsV1ModelsGetResponse, error)
- func (c *ClientWithResponses) GetProjectByIDV1ProjectsProjectIdGetWithResponse(ctx context.Context, projectId string, ...) (*GetProjectByIDV1ProjectsProjectIdGetResponse, error)
- func (c *ClientWithResponses) GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetWithResponse(ctx context.Context, projectId string, ...) (*GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse, error)
- func (c *ClientWithResponses) GetProjectsV1ProjectsGetWithResponse(ctx context.Context, params *GetProjectsV1ProjectsGetParams, ...) (*GetProjectsV1ProjectsGetResponse, error)
- func (c *ClientWithResponses) GetUserInfoV1UserGetWithResponse(ctx context.Context, params *GetUserInfoV1UserGetParams, ...) (*GetUserInfoV1UserGetResponse, error)
- func (c *ClientWithResponses) GetUserSubscriptionInfoV1UserSubscriptionGetWithResponse(ctx context.Context, ...) (*GetUserSubscriptionInfoV1UserSubscriptionGetResponse, error)
- func (c *ClientWithResponses) GetVoiceSettingsV1VoicesVoiceIdSettingsGetWithResponse(ctx context.Context, voiceId string, ...) (*GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse, error)
- func (c *ClientWithResponses) GetVoiceV1VoicesVoiceIdGetWithResponse(ctx context.Context, voiceId string, params *GetVoiceV1VoicesVoiceIdGetParams, ...) (*GetVoiceV1VoicesVoiceIdGetResponse, error)
- func (c *ClientWithResponses) GetVoicesV1VoicesGetWithResponse(ctx context.Context, params *GetVoicesV1VoicesGetParams, ...) (*GetVoicesV1VoicesGetResponse, error)
- func (c *ClientWithResponses) RedirectToMintlifyDocsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RedirectToMintlifyDocsGetResponse, error)
- func (c *ClientWithResponses) StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostWithResponse(ctx context.Context, projectId string, chapterId string, ...) (...)
- func (c *ClientWithResponses) StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostWithResponse(ctx context.Context, projectId string, projectSnapshotId string, ...) (...)
- func (c *ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdPostWithBodyWithResponse(ctx context.Context, voiceId string, ...) (*TextToSpeechV1TextToSpeechVoiceIdPostResponse, error)
- func (c *ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdPostWithResponse(ctx context.Context, voiceId string, ...) (*TextToSpeechV1TextToSpeechVoiceIdPostResponse, error)
- func (c *ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdStreamPostWithBodyWithResponse(ctx context.Context, voiceId string, ...) (*TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse, error)
- func (c *ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdStreamPostWithResponse(ctx context.Context, voiceId string, ...) (*TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse, error)
- func (c *ClientWithResponses) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithBodyWithResponse(ctx context.Context, projectId string, ...) (...)
- func (c *ClientWithResponses) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithResponse(ctx context.Context, projectId string, ...) (...)
- type ClientWithResponsesInterface
- type ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostParams
- type ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse
- type ConvertProjectV1ProjectsProjectIdConvertPostParams
- type ConvertProjectV1ProjectsProjectIdConvertPostResponse
- type CreatesAudioNativeEnabledProjectV1AudioNativePostMultipartRequestBody
- type CreatesAudioNativeEnabledProjectV1AudioNativePostParams
- type CreatesAudioNativeEnabledProjectV1AudioNativePostResponse
- type DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteParams
- type DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse
- type DeleteHistoryItemV1HistoryHistoryItemIdDeleteParams
- type DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse
- type DeleteProjectV1ProjectsProjectIdDeleteParams
- type DeleteProjectV1ProjectsProjectIdDeleteResponse
- type DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteParams
- type DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse
- type DeleteVoiceV1VoicesVoiceIdDeleteParams
- type DeleteVoiceV1VoicesVoiceIdDeleteResponse
- type DownloadHistoryItemsV1HistoryDownloadPostJSONRequestBody
- type DownloadHistoryItemsV1HistoryDownloadPostParams
- type DownloadHistoryItemsV1HistoryDownloadPostResponse
- type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONBody
- type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONRequestBody
- type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams
- type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse
- type EditVoiceV1VoicesVoiceIdEditPostMultipartRequestBody
- type EditVoiceV1VoicesVoiceIdEditPostParams
- type EditVoiceV1VoicesVoiceIdEditPostResponse
- type ExtendedSubscriptionResponseModel
- type ExtendedSubscriptionResponseModelCurrency
- type ExtendedSubscriptionResponseModelStatus
- type FeedbackResponseModel
- type FineTuningResponseModel
- type FineTuningResponseModelFinetuningState
- type GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetParams
- type GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse
- type GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetParams
- type GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse
- type GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetParams
- type GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse
- type GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetParams
- type GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse
- type GetChaptersResponseModel
- type GetChaptersV1ProjectsProjectIdChaptersGetParams
- type GetChaptersV1ProjectsProjectIdChaptersGetResponse
- type GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse
- type GetGeneratedItemsV1HistoryGetParams
- type GetGeneratedItemsV1HistoryGetResponse
- type GetHistoryItemByIDV1HistoryHistoryItemIdGetParams
- type GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse
- type GetHistoryResponseModel
- type GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetParams
- type GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse
- type GetModelsV1ModelsGetParams
- type GetModelsV1ModelsGetResponse
- type GetProjectByIDV1ProjectsProjectIdGetParams
- type GetProjectByIDV1ProjectsProjectIdGetResponse
- type GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetParams
- type GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse
- type GetProjectsResponseModel
- type GetProjectsV1ProjectsGetParams
- type GetProjectsV1ProjectsGetResponse
- type GetPronunciationDictionaryMetadataResponseModel
- type GetUserInfoV1UserGetParams
- type GetUserInfoV1UserGetResponse
- type GetUserSubscriptionInfoV1UserSubscriptionGetParams
- type GetUserSubscriptionInfoV1UserSubscriptionGetResponse
- type GetVoiceSettingsV1VoicesVoiceIdSettingsGetParams
- type GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse
- type GetVoiceV1VoicesVoiceIdGetParams
- type GetVoiceV1VoicesVoiceIdGetResponse
- type GetVoicesResponseModel
- type GetVoicesV1VoicesGetParams
- type GetVoicesV1VoicesGetResponse
- type HTTPValidationError
- type HistoryItemResponseModel
- type HistoryItemResponseModelState
- type HistoryItemResponseModelVoiceCategory
- type HttpRequestDoer
- type InvoiceResponseModel
- type LanguageResponseModel
- type ManualVerificationFileResponseModel
- type ManualVerificationResponseModel
- type ModelResponseModel
- type ProjectExtendedResponseModel
- type ProjectExtendedResponseModelState
- type ProjectResponseModel
- type ProjectResponseModelState
- type ProjectSnapshotResponseModel
- type ProjectSnapshotsResponseModel
- type PronunciationDictionaryVersionLocatorDBModel
- type RecordingResponseModel
- type RedirectToMintlifyDocsGetResponse
- type RequestEditorFn
- type SampleResponseModel
- type StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostParams
- type StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse
- type StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostParams
- type StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse
- type SubscriptionResponseModel
- type SubscriptionResponseModelCurrency
- type SubscriptionResponseModelStatus
- type TextToSpeechV1TextToSpeechVoiceIdPostJSONRequestBody
- type TextToSpeechV1TextToSpeechVoiceIdPostParams
- type TextToSpeechV1TextToSpeechVoiceIdPostResponse
- type TextToSpeechV1TextToSpeechVoiceIdStreamPostJSONRequestBody
- type TextToSpeechV1TextToSpeechVoiceIdStreamPostParams
- type TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse
- type UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostJSONRequestBody
- type UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams
- type UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse
- type UserResponseModel
- type ValidationError
- type ValidationErrorLoc0
- type ValidationErrorLoc1
- type ValidationError_Loc_Item
- func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
- func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
- type VerificationAttemptResponseModel
- type VoiceResponseModel
- type VoiceSettingsResponseModel
- type VoiceSharingResponseModel
- type VoiceSharingResponseModelReviewStatus
- type VoiceSharingResponseModelStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostRequestWithBody ¶
func NewAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostRequestWithBody(server string, params *AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostParams, contentType string, body io.Reader) (*http.Request, error)
NewAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostRequestWithBody generates requests for AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost with any type of body
func NewAddProjectV1ProjectsAddPostRequestWithBody ¶
func NewAddProjectV1ProjectsAddPostRequestWithBody(server string, params *AddProjectV1ProjectsAddPostParams, contentType string, body io.Reader) (*http.Request, error)
NewAddProjectV1ProjectsAddPostRequestWithBody generates requests for AddProjectV1ProjectsAddPost with any type of body
func NewAddVoiceV1VoicesAddPostRequestWithBody ¶
func NewAddVoiceV1VoicesAddPostRequestWithBody(server string, params *AddVoiceV1VoicesAddPostParams, contentType string, body io.Reader) (*http.Request, error)
NewAddVoiceV1VoicesAddPostRequestWithBody generates requests for AddVoiceV1VoicesAddPost with any type of body
func NewConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostRequest ¶
func NewConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostRequest(server string, projectId string, chapterId string, params *ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostParams) (*http.Request, error)
NewConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostRequest generates requests for ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPost
func NewConvertProjectV1ProjectsProjectIdConvertPostRequest ¶
func NewConvertProjectV1ProjectsProjectIdConvertPostRequest(server string, projectId string, params *ConvertProjectV1ProjectsProjectIdConvertPostParams) (*http.Request, error)
NewConvertProjectV1ProjectsProjectIdConvertPostRequest generates requests for ConvertProjectV1ProjectsProjectIdConvertPost
func NewCreatesAudioNativeEnabledProjectV1AudioNativePostRequestWithBody ¶
func NewCreatesAudioNativeEnabledProjectV1AudioNativePostRequestWithBody(server string, params *CreatesAudioNativeEnabledProjectV1AudioNativePostParams, contentType string, body io.Reader) (*http.Request, error)
NewCreatesAudioNativeEnabledProjectV1AudioNativePostRequestWithBody generates requests for CreatesAudioNativeEnabledProjectV1AudioNativePost with any type of body
func NewDeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteRequest ¶
func NewDeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteRequest(server string, projectId string, chapterId string, params *DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteParams) (*http.Request, error)
NewDeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteRequest generates requests for DeleteChapterV1ProjectsProjectIdChaptersChapterIdDelete
func NewDeleteHistoryItemV1HistoryHistoryItemIdDeleteRequest ¶
func NewDeleteHistoryItemV1HistoryHistoryItemIdDeleteRequest(server string, historyItemId string, params *DeleteHistoryItemV1HistoryHistoryItemIdDeleteParams) (*http.Request, error)
NewDeleteHistoryItemV1HistoryHistoryItemIdDeleteRequest generates requests for DeleteHistoryItemV1HistoryHistoryItemIdDelete
func NewDeleteProjectV1ProjectsProjectIdDeleteRequest ¶
func NewDeleteProjectV1ProjectsProjectIdDeleteRequest(server string, projectId string, params *DeleteProjectV1ProjectsProjectIdDeleteParams) (*http.Request, error)
NewDeleteProjectV1ProjectsProjectIdDeleteRequest generates requests for DeleteProjectV1ProjectsProjectIdDelete
func NewDeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteRequest ¶
func NewDeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteRequest(server string, voiceId string, sampleId string, params *DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteParams) (*http.Request, error)
NewDeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteRequest generates requests for DeleteSampleV1VoicesVoiceIdSamplesSampleIdDelete
func NewDeleteVoiceV1VoicesVoiceIdDeleteRequest ¶
func NewDeleteVoiceV1VoicesVoiceIdDeleteRequest(server string, voiceId string, params *DeleteVoiceV1VoicesVoiceIdDeleteParams) (*http.Request, error)
NewDeleteVoiceV1VoicesVoiceIdDeleteRequest generates requests for DeleteVoiceV1VoicesVoiceIdDelete
func NewDownloadHistoryItemsV1HistoryDownloadPostRequest ¶
func NewDownloadHistoryItemsV1HistoryDownloadPostRequest(server string, params *DownloadHistoryItemsV1HistoryDownloadPostParams, body DownloadHistoryItemsV1HistoryDownloadPostJSONRequestBody) (*http.Request, error)
NewDownloadHistoryItemsV1HistoryDownloadPostRequest calls the generic DownloadHistoryItemsV1HistoryDownloadPost builder with application/json body
func NewDownloadHistoryItemsV1HistoryDownloadPostRequestWithBody ¶
func NewDownloadHistoryItemsV1HistoryDownloadPostRequestWithBody(server string, params *DownloadHistoryItemsV1HistoryDownloadPostParams, contentType string, body io.Reader) (*http.Request, error)
NewDownloadHistoryItemsV1HistoryDownloadPostRequestWithBody generates requests for DownloadHistoryItemsV1HistoryDownloadPost with any type of body
func NewEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostRequest ¶
func NewEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostRequest(server string, voiceId string, params *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams, body EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONRequestBody) (*http.Request, error)
NewEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostRequest calls the generic EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost builder with application/json body
func NewEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostRequestWithBody ¶
func NewEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostRequestWithBody(server string, voiceId string, params *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams, contentType string, body io.Reader) (*http.Request, error)
NewEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostRequestWithBody generates requests for EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost with any type of body
func NewEditVoiceV1VoicesVoiceIdEditPostRequestWithBody ¶
func NewEditVoiceV1VoicesVoiceIdEditPostRequestWithBody(server string, voiceId string, params *EditVoiceV1VoicesVoiceIdEditPostParams, contentType string, body io.Reader) (*http.Request, error)
NewEditVoiceV1VoicesVoiceIdEditPostRequestWithBody generates requests for EditVoiceV1VoicesVoiceIdEditPost with any type of body
func NewGetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetRequest ¶
func NewGetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetRequest(server string, historyItemId string, params *GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetParams) (*http.Request, error)
NewGetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetRequest generates requests for GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGet
func NewGetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetRequest ¶
func NewGetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetRequest(server string, voiceId string, sampleId string, params *GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetParams) (*http.Request, error)
NewGetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetRequest generates requests for GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGet
func NewGetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetRequest ¶
func NewGetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetRequest(server string, projectId string, chapterId string, params *GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetParams) (*http.Request, error)
NewGetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetRequest generates requests for GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGet
func NewGetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetRequest ¶
func NewGetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetRequest(server string, projectId string, chapterId string, params *GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetParams) (*http.Request, error)
NewGetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetRequest generates requests for GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGet
func NewGetChaptersV1ProjectsProjectIdChaptersGetRequest ¶
func NewGetChaptersV1ProjectsProjectIdChaptersGetRequest(server string, projectId string, params *GetChaptersV1ProjectsProjectIdChaptersGetParams) (*http.Request, error)
NewGetChaptersV1ProjectsProjectIdChaptersGetRequest generates requests for GetChaptersV1ProjectsProjectIdChaptersGet
func NewGetDefaultVoiceSettingsV1VoicesSettingsDefaultGetRequest ¶
func NewGetDefaultVoiceSettingsV1VoicesSettingsDefaultGetRequest(server string) (*http.Request, error)
NewGetDefaultVoiceSettingsV1VoicesSettingsDefaultGetRequest generates requests for GetDefaultVoiceSettingsV1VoicesSettingsDefaultGet
func NewGetGeneratedItemsV1HistoryGetRequest ¶
func NewGetGeneratedItemsV1HistoryGetRequest(server string, params *GetGeneratedItemsV1HistoryGetParams) (*http.Request, error)
NewGetGeneratedItemsV1HistoryGetRequest generates requests for GetGeneratedItemsV1HistoryGet
func NewGetHistoryItemByIDV1HistoryHistoryItemIdGetRequest ¶
func NewGetHistoryItemByIDV1HistoryHistoryItemIdGetRequest(server string, historyItemId string, params *GetHistoryItemByIDV1HistoryHistoryItemIdGetParams) (*http.Request, error)
NewGetHistoryItemByIDV1HistoryHistoryItemIdGetRequest generates requests for GetHistoryItemByIDV1HistoryHistoryItemIdGet
func NewGetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetRequest ¶
func NewGetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetRequest(server string, pronunciationDictionaryId string, params *GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetParams) (*http.Request, error)
NewGetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetRequest generates requests for GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGet
func NewGetModelsV1ModelsGetRequest ¶
func NewGetModelsV1ModelsGetRequest(server string, params *GetModelsV1ModelsGetParams) (*http.Request, error)
NewGetModelsV1ModelsGetRequest generates requests for GetModelsV1ModelsGet
func NewGetProjectByIDV1ProjectsProjectIdGetRequest ¶
func NewGetProjectByIDV1ProjectsProjectIdGetRequest(server string, projectId string, params *GetProjectByIDV1ProjectsProjectIdGetParams) (*http.Request, error)
NewGetProjectByIDV1ProjectsProjectIdGetRequest generates requests for GetProjectByIDV1ProjectsProjectIdGet
func NewGetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetRequest ¶
func NewGetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetRequest(server string, projectId string, params *GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetParams) (*http.Request, error)
NewGetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetRequest generates requests for GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGet
func NewGetProjectsV1ProjectsGetRequest ¶
func NewGetProjectsV1ProjectsGetRequest(server string, params *GetProjectsV1ProjectsGetParams) (*http.Request, error)
NewGetProjectsV1ProjectsGetRequest generates requests for GetProjectsV1ProjectsGet
func NewGetUserInfoV1UserGetRequest ¶
func NewGetUserInfoV1UserGetRequest(server string, params *GetUserInfoV1UserGetParams) (*http.Request, error)
NewGetUserInfoV1UserGetRequest generates requests for GetUserInfoV1UserGet
func NewGetUserSubscriptionInfoV1UserSubscriptionGetRequest ¶
func NewGetUserSubscriptionInfoV1UserSubscriptionGetRequest(server string, params *GetUserSubscriptionInfoV1UserSubscriptionGetParams) (*http.Request, error)
NewGetUserSubscriptionInfoV1UserSubscriptionGetRequest generates requests for GetUserSubscriptionInfoV1UserSubscriptionGet
func NewGetVoiceSettingsV1VoicesVoiceIdSettingsGetRequest ¶
func NewGetVoiceSettingsV1VoicesVoiceIdSettingsGetRequest(server string, voiceId string, params *GetVoiceSettingsV1VoicesVoiceIdSettingsGetParams) (*http.Request, error)
NewGetVoiceSettingsV1VoicesVoiceIdSettingsGetRequest generates requests for GetVoiceSettingsV1VoicesVoiceIdSettingsGet
func NewGetVoiceV1VoicesVoiceIdGetRequest ¶
func NewGetVoiceV1VoicesVoiceIdGetRequest(server string, voiceId string, params *GetVoiceV1VoicesVoiceIdGetParams) (*http.Request, error)
NewGetVoiceV1VoicesVoiceIdGetRequest generates requests for GetVoiceV1VoicesVoiceIdGet
func NewGetVoicesV1VoicesGetRequest ¶
func NewGetVoicesV1VoicesGetRequest(server string, params *GetVoicesV1VoicesGetParams) (*http.Request, error)
NewGetVoicesV1VoicesGetRequest generates requests for GetVoicesV1VoicesGet
func NewRedirectToMintlifyDocsGetRequest ¶
NewRedirectToMintlifyDocsGetRequest generates requests for RedirectToMintlifyDocsGet
func NewStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostRequest ¶
func NewStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostRequest(server string, projectId string, chapterId string, chapterSnapshotId string, params *StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostParams) (*http.Request, error)
NewStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostRequest generates requests for StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost
func NewStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostRequest ¶
func NewStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostRequest(server string, projectId string, projectSnapshotId string, params *StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostParams) (*http.Request, error)
NewStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostRequest generates requests for StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost
func NewTextToSpeechV1TextToSpeechVoiceIdPostRequest ¶
func NewTextToSpeechV1TextToSpeechVoiceIdPostRequest(server string, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdPostParams, body TextToSpeechV1TextToSpeechVoiceIdPostJSONRequestBody) (*http.Request, error)
NewTextToSpeechV1TextToSpeechVoiceIdPostRequest calls the generic TextToSpeechV1TextToSpeechVoiceIdPost builder with application/json body
func NewTextToSpeechV1TextToSpeechVoiceIdPostRequestWithBody ¶
func NewTextToSpeechV1TextToSpeechVoiceIdPostRequestWithBody(server string, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdPostParams, contentType string, body io.Reader) (*http.Request, error)
NewTextToSpeechV1TextToSpeechVoiceIdPostRequestWithBody generates requests for TextToSpeechV1TextToSpeechVoiceIdPost with any type of body
func NewTextToSpeechV1TextToSpeechVoiceIdStreamPostRequest ¶
func NewTextToSpeechV1TextToSpeechVoiceIdStreamPostRequest(server string, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdStreamPostParams, body TextToSpeechV1TextToSpeechVoiceIdStreamPostJSONRequestBody) (*http.Request, error)
NewTextToSpeechV1TextToSpeechVoiceIdStreamPostRequest calls the generic TextToSpeechV1TextToSpeechVoiceIdStreamPost builder with application/json body
func NewTextToSpeechV1TextToSpeechVoiceIdStreamPostRequestWithBody ¶
func NewTextToSpeechV1TextToSpeechVoiceIdStreamPostRequestWithBody(server string, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdStreamPostParams, contentType string, body io.Reader) (*http.Request, error)
NewTextToSpeechV1TextToSpeechVoiceIdStreamPostRequestWithBody generates requests for TextToSpeechV1TextToSpeechVoiceIdStreamPost with any type of body
func NewUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostRequest ¶
func NewUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostRequest(server string, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, body UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostJSONRequestBody) (*http.Request, error)
NewUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostRequest calls the generic UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost builder with application/json body
func NewUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostRequestWithBody ¶
func NewUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostRequestWithBody(server string, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostRequestWithBody generates requests for UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost with any type of body
Types ¶
type AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartRequestBody ¶
type AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartRequestBody = BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost
AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostMultipartRequestBody defines body for AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost for multipart/form-data ContentType.
type AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostParams ¶
type AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostParams defines parameters for AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.
type AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse ¶
type AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AddPronunciationDictionaryResponseModel JSON422 *HTTPValidationError }
func ParseAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse ¶
func ParseAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse(rsp *http.Response) (*AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse, error)
ParseAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse parses an HTTP response from a AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostWithResponse call
func (AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse) Status ¶
func (r AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse) Status() string
Status returns HTTPResponse.Status
func (AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse) StatusCode ¶
func (r AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddProjectResponseModel ¶
type AddProjectResponseModel struct {
Project ProjectResponseModel `json:"project"`
}
AddProjectResponseModel defines model for AddProjectResponseModel.
type AddProjectV1ProjectsAddPostMultipartRequestBody ¶
type AddProjectV1ProjectsAddPostMultipartRequestBody = BodyAddProjectV1ProjectsAddPost
AddProjectV1ProjectsAddPostMultipartRequestBody defines body for AddProjectV1ProjectsAddPost for multipart/form-data ContentType.
type AddProjectV1ProjectsAddPostParams ¶
type AddProjectV1ProjectsAddPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
AddProjectV1ProjectsAddPostParams defines parameters for AddProjectV1ProjectsAddPost.
type AddProjectV1ProjectsAddPostResponse ¶
type AddProjectV1ProjectsAddPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AddProjectResponseModel JSON422 *HTTPValidationError }
func ParseAddProjectV1ProjectsAddPostResponse ¶
func ParseAddProjectV1ProjectsAddPostResponse(rsp *http.Response) (*AddProjectV1ProjectsAddPostResponse, error)
ParseAddProjectV1ProjectsAddPostResponse parses an HTTP response from a AddProjectV1ProjectsAddPostWithResponse call
func (AddProjectV1ProjectsAddPostResponse) Status ¶
func (r AddProjectV1ProjectsAddPostResponse) Status() string
Status returns HTTPResponse.Status
func (AddProjectV1ProjectsAddPostResponse) StatusCode ¶
func (r AddProjectV1ProjectsAddPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddPronunciationDictionaryResponseModel ¶
type AddPronunciationDictionaryResponseModel struct { CreatedBy string `json:"created_by"` CreationTimeUnix int `json:"creation_time_unix"` Description *string `json:"description,omitempty"` Id string `json:"id"` Name string `json:"name"` VersionId string `json:"version_id"` }
AddPronunciationDictionaryResponseModel defines model for AddPronunciationDictionaryResponseModel.
type AddVoiceResponseModel ¶
type AddVoiceResponseModel struct {
VoiceId string `json:"voice_id"`
}
AddVoiceResponseModel defines model for AddVoiceResponseModel.
type AddVoiceV1VoicesAddPostMultipartRequestBody ¶
type AddVoiceV1VoicesAddPostMultipartRequestBody = BodyAddVoiceV1VoicesAddPost
AddVoiceV1VoicesAddPostMultipartRequestBody defines body for AddVoiceV1VoicesAddPost for multipart/form-data ContentType.
type AddVoiceV1VoicesAddPostParams ¶
type AddVoiceV1VoicesAddPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
AddVoiceV1VoicesAddPostParams defines parameters for AddVoiceV1VoicesAddPost.
type AddVoiceV1VoicesAddPostResponse ¶
type AddVoiceV1VoicesAddPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AddVoiceResponseModel JSON422 *HTTPValidationError }
func ParseAddVoiceV1VoicesAddPostResponse ¶
func ParseAddVoiceV1VoicesAddPostResponse(rsp *http.Response) (*AddVoiceV1VoicesAddPostResponse, error)
ParseAddVoiceV1VoicesAddPostResponse parses an HTTP response from a AddVoiceV1VoicesAddPostWithResponse call
func (AddVoiceV1VoicesAddPostResponse) Status ¶
func (r AddVoiceV1VoicesAddPostResponse) Status() string
Status returns HTTPResponse.Status
func (AddVoiceV1VoicesAddPostResponse) StatusCode ¶
func (r AddVoiceV1VoicesAddPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AudioNativeCreateProjectResponseModel ¶
type AudioNativeCreateProjectResponseModel struct { Converting bool `json:"converting"` HtmlSnippet string `json:"html_snippet"` ProjectId string `json:"project_id"` }
AudioNativeCreateProjectResponseModel defines model for AudioNativeCreateProjectResponseModel.
type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost ¶
type BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost struct { // Description A description of the pronunciation dictionary, used for identification only. Description *string `json:"description,omitempty"` // File A lexicon .pls file which we will use to initialize the project with. File *openapi_types.File `json:"file,omitempty"` // Name The name of the pronunciation dictionary, used for identification only. Name string `json:"name"` }
BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost defines model for Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post.
type BodyAddProjectV1ProjectsAddPost ¶
type BodyAddProjectV1ProjectsAddPost struct { // AcxVolumeNormalization When the project is downloaded, should the returned audio have postprocessing in order to make it compliant with ACX loudness requirements AcxVolumeNormalization *bool `json:"acx_volume_normalization,omitempty"` // Author An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. Author *string `json:"author,omitempty"` // DefaultModelId The model_id of the model to be used for this project, you can query GET https://api.elevenlabs.io/v1/models to list all available models. DefaultModelId string `json:"default_model_id"` // DefaultParagraphVoiceId The voice_id that corresponds to the default voice used for new paragraphs. DefaultParagraphVoiceId string `json:"default_paragraph_voice_id"` // DefaultTitleVoiceId The voice_id that corresponds to the default voice used for new titles. DefaultTitleVoiceId string `json:"default_title_voice_id"` // FromDocument An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the project with its content. If this is set, 'from_url' must be null. If neither 'from_url' or 'from_document' are provided we will initialize the project as blank. FromDocument *openapi_types.File `json:"from_document,omitempty"` // FromUrl An optional URL from which we will extract content to initialize the project. If this is set, 'from_url' must be null. If neither 'from_url' or 'from_document' are provided we will initialize the project as blank. FromUrl *string `json:"from_url,omitempty"` // IsbnNumber An optional ISBN number of the project you want to create, this will be added as metadata to the mp3 file on project / chapter download. IsbnNumber *string `json:"isbn_number,omitempty"` // Name The name of the project, used for identification only. Name string `json:"name"` // PronunciationDictionaryLocators A list of pronunciation dictionary locators (id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody PronunciationDictionaryLocators []string `json:"pronunciation_dictionary_locators"` // QualityPreset Output quality of the generated audio. Must be one of: // standard - standard output format, 128kbps with 44.1kHz sample rate. // high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side. Using this setting increases the character cost by 20%. // ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side. Using this setting increases the character cost by 50%. QualityPreset *string `json:"quality_preset,omitempty"` // Title An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. Title *string `json:"title,omitempty"` }
BodyAddProjectV1ProjectsAddPost defines model for Body_Add_project_v1_projects_add_post.
type BodyAddVoiceV1VoicesAddPost ¶
type BodyAddVoiceV1VoicesAddPost struct { // Description How would you describe the voice? Description *string `json:"description,omitempty"` // Files One or more audio files to clone the voice from Files []openapi_types.File `json:"files"` // Labels Serialized labels dictionary for the voice. Labels *string `json:"labels,omitempty"` // Name The name that identifies this voice. This will be displayed in the dropdown of the website. Name string `json:"name"` }
BodyAddVoiceV1VoicesAddPost defines model for Body_Add_voice_v1_voices_add_post.
type BodyCreatesAudioNativeEnabledProjectV1AudioNativePost ¶
type BodyCreatesAudioNativeEnabledProjectV1AudioNativePost struct { // Author Author used in the player. If not provided, default author set in the Player settings is used. Author *string `json:"author,omitempty"` // AutoConvert Whether to auto convert the project to audio or not. AutoConvert *bool `json:"auto_convert,omitempty"` // BackgroundColor Background color used in the player. If not provided, default background color set in the Player settings is used. BackgroundColor *string `json:"background_color,omitempty"` // File HTML input file with a specific format. File openapi_types.File `json:"file"` // Image Image URL used in the player. If not provided, default image set in the Player settings is used. Image *string `json:"image,omitempty"` // ModelId TTS Model ID used in the player. If not provided, default model ID set in the Player settings is used. ModelId *string `json:"model_id,omitempty"` // Name Project name. Name string `json:"name"` // Sessionization Specifies for how many minutes to persist the session across page reloads. If not provided, default sessionization set in the Player settings is used. Sessionization *int `json:"sessionization,omitempty"` // Small Whether to use small player or not. If not provided, default value set in the Player settings is used. Small *bool `json:"small,omitempty"` // TextColor Text color used in the player. If not provided, default text color set in the Player settings is used. TextColor *string `json:"text_color,omitempty"` // VoiceId Voice ID used to voice the content. If not provided, default voice ID set in the Player settings is used. VoiceId *string `json:"voice_id,omitempty"` }
BodyCreatesAudioNativeEnabledProjectV1AudioNativePost defines model for Body_Creates_AudioNative_enabled_project__v1_audio_native_post.
type BodyDownloadHistoryItemsV1HistoryDownloadPost ¶
type BodyDownloadHistoryItemsV1HistoryDownloadPost struct { // HistoryItemIds A list of history items to download, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint. HistoryItemIds []string `json:"history_item_ids"` }
BodyDownloadHistoryItemsV1HistoryDownloadPost defines model for Body_Download_history_items_v1_history_download_post.
type BodyEditVoiceV1VoicesVoiceIdEditPost ¶
type BodyEditVoiceV1VoicesVoiceIdEditPost struct { // Description How would you describe the voice? Description *string `json:"description,omitempty"` // Files Audio files to add to the voice Files *[]openapi_types.File `json:"files,omitempty"` // Labels Serialized labels dictionary for the voice. Labels *string `json:"labels,omitempty"` // Name The name that identifies this voice. This will be displayed in the dropdown of the website. Name string `json:"name"` }
BodyEditVoiceV1VoicesVoiceIdEditPost defines model for Body_Edit_voice_v1_voices__voice_id__edit_post.
type BodyTextToSpeechV1TextToSpeechVoiceIdPost ¶
type BodyTextToSpeechV1TextToSpeechVoiceIdPost struct { // ModelId Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. ModelId *string `json:"model_id,omitempty"` // Text The text that will get converted into speech. Text string `json:"text"` // VoiceSettings Voice settings overriding stored setttings for the given voice. They are applied only on the given request. VoiceSettings *VoiceSettingsResponseModel `json:"voice_settings,omitempty"` }
BodyTextToSpeechV1TextToSpeechVoiceIdPost defines model for Body_Text_to_speech_v1_text_to_speech__voice_id__post.
type BodyTextToSpeechV1TextToSpeechVoiceIdStreamPost ¶
type BodyTextToSpeechV1TextToSpeechVoiceIdStreamPost struct { // ModelId Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. ModelId *string `json:"model_id,omitempty"` // Text The text that will get converted into speech. Text string `json:"text"` // VoiceSettings Voice settings overriding stored setttings for the given voice. They are applied only on the given request. VoiceSettings *VoiceSettingsResponseModel `json:"voice_settings,omitempty"` }
BodyTextToSpeechV1TextToSpeechVoiceIdStreamPost defines model for Body_Text_to_speech_v1_text_to_speech__voice_id__stream_post.
type BodyUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost ¶
type BodyUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost struct { // PronunciationDictionaryLocators A list of pronunciation dictionary locators (id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody PronunciationDictionaryLocators []PronunciationDictionaryVersionLocatorDBModel `json:"pronunciation_dictionary_locators"` }
BodyUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost defines model for Body_Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post.
type ChapterResponseModel ¶
type ChapterResponseModel struct { CanBeDownloaded bool `json:"can_be_downloaded"` ChapterId string `json:"chapter_id"` ConversionProgress float32 `json:"conversion_progress"` LastConversionDateUnix int `json:"last_conversion_date_unix"` Name string `json:"name"` State ChapterResponseModelState `json:"state"` Statistics ChapterStatisticsResponseModel `json:"statistics"` }
ChapterResponseModel defines model for ChapterResponseModel.
type ChapterResponseModelState ¶
type ChapterResponseModelState string
ChapterResponseModelState defines model for ChapterResponseModel.State.
const ( ChapterResponseModelStateConverting ChapterResponseModelState = "converting" ChapterResponseModelStateDefault ChapterResponseModelState = "default" )
Defines values for ChapterResponseModelState.
type ChapterSnapshotResponseModel ¶
type ChapterSnapshotResponseModel struct { ChapterId string `json:"chapter_id"` ChapterSnapshotId string `json:"chapter_snapshot_id"` CreatedAtUnix int `json:"created_at_unix"` Name string `json:"name"` ProjectId string `json:"project_id"` }
ChapterSnapshotResponseModel defines model for ChapterSnapshotResponseModel.
type ChapterSnapshotsResponseModel ¶
type ChapterSnapshotsResponseModel struct {
Snapshots []ChapterSnapshotResponseModel `json:"snapshots"`
}
ChapterSnapshotsResponseModel defines model for ChapterSnapshotsResponseModel.
type ChapterStatisticsResponseModel ¶
type ChapterStatisticsResponseModel struct { CharactersConverted int `json:"characters_converted"` CharactersUnconverted int `json:"characters_unconverted"` ParagraphsConverted int `json:"paragraphs_converted"` ParagraphsUnconverted int `json:"paragraphs_unconverted"` }
ChapterStatisticsResponseModel defines model for ChapterStatisticsResponseModel.
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddProjectV1ProjectsAddPostWithBody ¶
func (*Client) AddVoiceV1VoicesAddPostWithBody ¶
func (*Client) ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPost ¶
func (c *Client) ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPost(ctx context.Context, projectId string, chapterId string, params *ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConvertProjectV1ProjectsProjectIdConvertPost ¶
func (c *Client) ConvertProjectV1ProjectsProjectIdConvertPost(ctx context.Context, projectId string, params *ConvertProjectV1ProjectsProjectIdConvertPostParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatesAudioNativeEnabledProjectV1AudioNativePostWithBody ¶
func (*Client) DeleteChapterV1ProjectsProjectIdChaptersChapterIdDelete ¶
func (c *Client) DeleteChapterV1ProjectsProjectIdChaptersChapterIdDelete(ctx context.Context, projectId string, chapterId string, params *DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteHistoryItemV1HistoryHistoryItemIdDelete ¶
func (c *Client) DeleteHistoryItemV1HistoryHistoryItemIdDelete(ctx context.Context, historyItemId string, params *DeleteHistoryItemV1HistoryHistoryItemIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteProjectV1ProjectsProjectIdDelete ¶
func (c *Client) DeleteProjectV1ProjectsProjectIdDelete(ctx context.Context, projectId string, params *DeleteProjectV1ProjectsProjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSampleV1VoicesVoiceIdSamplesSampleIdDelete ¶
func (c *Client) DeleteSampleV1VoicesVoiceIdSamplesSampleIdDelete(ctx context.Context, voiceId string, sampleId string, params *DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteVoiceV1VoicesVoiceIdDelete ¶
func (c *Client) DeleteVoiceV1VoicesVoiceIdDelete(ctx context.Context, voiceId string, params *DeleteVoiceV1VoicesVoiceIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadHistoryItemsV1HistoryDownloadPost ¶
func (c *Client) DownloadHistoryItemsV1HistoryDownloadPost(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, body DownloadHistoryItemsV1HistoryDownloadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadHistoryItemsV1HistoryDownloadPostWithBody ¶
func (*Client) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost ¶
func (c *Client) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost(ctx context.Context, voiceId string, params *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams, body EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithBody ¶
func (*Client) EditVoiceV1VoicesVoiceIdEditPostWithBody ¶
func (*Client) GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGet ¶
func (c *Client) GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGet(ctx context.Context, historyItemId string, params *GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGet ¶
func (c *Client) GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGet(ctx context.Context, voiceId string, sampleId string, params *GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGet ¶
func (c *Client) GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGet(ctx context.Context, projectId string, chapterId string, params *GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGet ¶
func (c *Client) GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGet(ctx context.Context, projectId string, chapterId string, params *GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChaptersV1ProjectsProjectIdChaptersGet ¶
func (c *Client) GetChaptersV1ProjectsProjectIdChaptersGet(ctx context.Context, projectId string, params *GetChaptersV1ProjectsProjectIdChaptersGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDefaultVoiceSettingsV1VoicesSettingsDefaultGet ¶
func (*Client) GetGeneratedItemsV1HistoryGet ¶
func (c *Client) GetGeneratedItemsV1HistoryGet(ctx context.Context, params *GetGeneratedItemsV1HistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetHistoryItemByIDV1HistoryHistoryItemIdGet ¶
func (c *Client) GetHistoryItemByIDV1HistoryHistoryItemIdGet(ctx context.Context, historyItemId string, params *GetHistoryItemByIDV1HistoryHistoryItemIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGet ¶
func (c *Client) GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGet(ctx context.Context, pronunciationDictionaryId string, params *GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetModelsV1ModelsGet ¶
func (c *Client) GetModelsV1ModelsGet(ctx context.Context, params *GetModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProjectByIDV1ProjectsProjectIdGet ¶
func (c *Client) GetProjectByIDV1ProjectsProjectIdGet(ctx context.Context, projectId string, params *GetProjectByIDV1ProjectsProjectIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGet ¶
func (c *Client) GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGet(ctx context.Context, projectId string, params *GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProjectsV1ProjectsGet ¶
func (c *Client) GetProjectsV1ProjectsGet(ctx context.Context, params *GetProjectsV1ProjectsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUserInfoV1UserGet ¶
func (c *Client) GetUserInfoV1UserGet(ctx context.Context, params *GetUserInfoV1UserGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUserSubscriptionInfoV1UserSubscriptionGet ¶
func (c *Client) GetUserSubscriptionInfoV1UserSubscriptionGet(ctx context.Context, params *GetUserSubscriptionInfoV1UserSubscriptionGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetVoiceSettingsV1VoicesVoiceIdSettingsGet ¶
func (c *Client) GetVoiceSettingsV1VoicesVoiceIdSettingsGet(ctx context.Context, voiceId string, params *GetVoiceSettingsV1VoicesVoiceIdSettingsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetVoiceV1VoicesVoiceIdGet ¶
func (c *Client) GetVoiceV1VoicesVoiceIdGet(ctx context.Context, voiceId string, params *GetVoiceV1VoicesVoiceIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetVoicesV1VoicesGet ¶
func (c *Client) GetVoicesV1VoicesGet(ctx context.Context, params *GetVoicesV1VoicesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RedirectToMintlifyDocsGet ¶
func (*Client) StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost ¶
func (c *Client) StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost(ctx context.Context, projectId string, chapterId string, chapterSnapshotId string, params *StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost ¶
func (c *Client) StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost(ctx context.Context, projectId string, projectSnapshotId string, params *StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TextToSpeechV1TextToSpeechVoiceIdPost ¶
func (c *Client) TextToSpeechV1TextToSpeechVoiceIdPost(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdPostParams, body TextToSpeechV1TextToSpeechVoiceIdPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TextToSpeechV1TextToSpeechVoiceIdPostWithBody ¶
func (*Client) TextToSpeechV1TextToSpeechVoiceIdStreamPost ¶
func (c *Client) TextToSpeechV1TextToSpeechVoiceIdStreamPost(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdStreamPostParams, body TextToSpeechV1TextToSpeechVoiceIdStreamPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TextToSpeechV1TextToSpeechVoiceIdStreamPostWithBody ¶
func (*Client) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost ¶
func (c *Client) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost(ctx context.Context, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, body UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithBody ¶
func (c *Client) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithBody(ctx context.Context, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // RedirectToMintlifyDocsGet request RedirectToMintlifyDocsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreatesAudioNativeEnabledProjectV1AudioNativePost request with any body CreatesAudioNativeEnabledProjectV1AudioNativePostWithBody(ctx context.Context, params *CreatesAudioNativeEnabledProjectV1AudioNativePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetGeneratedItemsV1HistoryGet request GetGeneratedItemsV1HistoryGet(ctx context.Context, params *GetGeneratedItemsV1HistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DownloadHistoryItemsV1HistoryDownloadPost request with any body DownloadHistoryItemsV1HistoryDownloadPostWithBody(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) DownloadHistoryItemsV1HistoryDownloadPost(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, body DownloadHistoryItemsV1HistoryDownloadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteHistoryItemV1HistoryHistoryItemIdDelete request DeleteHistoryItemV1HistoryHistoryItemIdDelete(ctx context.Context, historyItemId string, params *DeleteHistoryItemV1HistoryHistoryItemIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetHistoryItemByIDV1HistoryHistoryItemIdGet request GetHistoryItemByIDV1HistoryHistoryItemIdGet(ctx context.Context, historyItemId string, params *GetHistoryItemByIDV1HistoryHistoryItemIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGet request GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGet(ctx context.Context, historyItemId string, params *GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetModelsV1ModelsGet request GetModelsV1ModelsGet(ctx context.Context, params *GetModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetProjectsV1ProjectsGet request GetProjectsV1ProjectsGet(ctx context.Context, params *GetProjectsV1ProjectsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // AddProjectV1ProjectsAddPost request with any body AddProjectV1ProjectsAddPostWithBody(ctx context.Context, params *AddProjectV1ProjectsAddPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteProjectV1ProjectsProjectIdDelete request DeleteProjectV1ProjectsProjectIdDelete(ctx context.Context, projectId string, params *DeleteProjectV1ProjectsProjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetProjectByIDV1ProjectsProjectIdGet request GetProjectByIDV1ProjectsProjectIdGet(ctx context.Context, projectId string, params *GetProjectByIDV1ProjectsProjectIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetChaptersV1ProjectsProjectIdChaptersGet request GetChaptersV1ProjectsProjectIdChaptersGet(ctx context.Context, projectId string, params *GetChaptersV1ProjectsProjectIdChaptersGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteChapterV1ProjectsProjectIdChaptersChapterIdDelete request DeleteChapterV1ProjectsProjectIdChaptersChapterIdDelete(ctx context.Context, projectId string, chapterId string, params *DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGet request GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGet(ctx context.Context, projectId string, chapterId string, params *GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPost request ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPost(ctx context.Context, projectId string, chapterId string, params *ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGet request GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGet(ctx context.Context, projectId string, chapterId string, params *GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost request StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost(ctx context.Context, projectId string, chapterId string, chapterSnapshotId string, params *StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ConvertProjectV1ProjectsProjectIdConvertPost request ConvertProjectV1ProjectsProjectIdConvertPost(ctx context.Context, projectId string, params *ConvertProjectV1ProjectsProjectIdConvertPostParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGet request GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGet(ctx context.Context, projectId string, params *GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost request StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost(ctx context.Context, projectId string, projectSnapshotId string, params *StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostParams, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost request with any body UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithBody(ctx context.Context, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost(ctx context.Context, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, body UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost request with any body AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostWithBody(ctx context.Context, params *AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGet request GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGet(ctx context.Context, pronunciationDictionaryId string, params *GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // TextToSpeechV1TextToSpeechVoiceIdPost request with any body TextToSpeechV1TextToSpeechVoiceIdPostWithBody(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TextToSpeechV1TextToSpeechVoiceIdPost(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdPostParams, body TextToSpeechV1TextToSpeechVoiceIdPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TextToSpeechV1TextToSpeechVoiceIdStreamPost request with any body TextToSpeechV1TextToSpeechVoiceIdStreamPostWithBody(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdStreamPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) TextToSpeechV1TextToSpeechVoiceIdStreamPost(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdStreamPostParams, body TextToSpeechV1TextToSpeechVoiceIdStreamPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetUserInfoV1UserGet request GetUserInfoV1UserGet(ctx context.Context, params *GetUserInfoV1UserGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetUserSubscriptionInfoV1UserSubscriptionGet request GetUserSubscriptionInfoV1UserSubscriptionGet(ctx context.Context, params *GetUserSubscriptionInfoV1UserSubscriptionGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetVoicesV1VoicesGet request GetVoicesV1VoicesGet(ctx context.Context, params *GetVoicesV1VoicesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // AddVoiceV1VoicesAddPost request with any body AddVoiceV1VoicesAddPostWithBody(ctx context.Context, params *AddVoiceV1VoicesAddPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDefaultVoiceSettingsV1VoicesSettingsDefaultGet request GetDefaultVoiceSettingsV1VoicesSettingsDefaultGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteVoiceV1VoicesVoiceIdDelete request DeleteVoiceV1VoicesVoiceIdDelete(ctx context.Context, voiceId string, params *DeleteVoiceV1VoicesVoiceIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetVoiceV1VoicesVoiceIdGet request GetVoiceV1VoicesVoiceIdGet(ctx context.Context, voiceId string, params *GetVoiceV1VoicesVoiceIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // EditVoiceV1VoicesVoiceIdEditPost request with any body EditVoiceV1VoicesVoiceIdEditPostWithBody(ctx context.Context, voiceId string, params *EditVoiceV1VoicesVoiceIdEditPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSampleV1VoicesVoiceIdSamplesSampleIdDelete request DeleteSampleV1VoicesVoiceIdSamplesSampleIdDelete(ctx context.Context, voiceId string, sampleId string, params *DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGet request GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGet(ctx context.Context, voiceId string, sampleId string, params *GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetVoiceSettingsV1VoicesVoiceIdSettingsGet request GetVoiceSettingsV1VoicesVoiceIdSettingsGet(ctx context.Context, voiceId string, params *GetVoiceSettingsV1VoicesVoiceIdSettingsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error) // EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost request with any body EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithBody(ctx context.Context, voiceId string, params *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost(ctx context.Context, voiceId string, params *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams, body EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostWithBodyWithResponse ¶
func (c *ClientWithResponses) AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostWithBodyWithResponse(ctx context.Context, params *AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse, error)
AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostWithBodyWithResponse request with arbitrary body returning *AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse
func (*ClientWithResponses) AddProjectV1ProjectsAddPostWithBodyWithResponse ¶
func (c *ClientWithResponses) AddProjectV1ProjectsAddPostWithBodyWithResponse(ctx context.Context, params *AddProjectV1ProjectsAddPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectV1ProjectsAddPostResponse, error)
AddProjectV1ProjectsAddPostWithBodyWithResponse request with arbitrary body returning *AddProjectV1ProjectsAddPostResponse
func (*ClientWithResponses) AddVoiceV1VoicesAddPostWithBodyWithResponse ¶
func (c *ClientWithResponses) AddVoiceV1VoicesAddPostWithBodyWithResponse(ctx context.Context, params *AddVoiceV1VoicesAddPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddVoiceV1VoicesAddPostResponse, error)
AddVoiceV1VoicesAddPostWithBodyWithResponse request with arbitrary body returning *AddVoiceV1VoicesAddPostResponse
func (*ClientWithResponses) ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostWithResponse ¶
func (c *ClientWithResponses) ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostWithResponse(ctx context.Context, projectId string, chapterId string, params *ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostParams, reqEditors ...RequestEditorFn) (*ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse, error)
ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostWithResponse request returning *ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse
func (*ClientWithResponses) ConvertProjectV1ProjectsProjectIdConvertPostWithResponse ¶
func (c *ClientWithResponses) ConvertProjectV1ProjectsProjectIdConvertPostWithResponse(ctx context.Context, projectId string, params *ConvertProjectV1ProjectsProjectIdConvertPostParams, reqEditors ...RequestEditorFn) (*ConvertProjectV1ProjectsProjectIdConvertPostResponse, error)
ConvertProjectV1ProjectsProjectIdConvertPostWithResponse request returning *ConvertProjectV1ProjectsProjectIdConvertPostResponse
func (*ClientWithResponses) CreatesAudioNativeEnabledProjectV1AudioNativePostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatesAudioNativeEnabledProjectV1AudioNativePostWithBodyWithResponse(ctx context.Context, params *CreatesAudioNativeEnabledProjectV1AudioNativePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatesAudioNativeEnabledProjectV1AudioNativePostResponse, error)
CreatesAudioNativeEnabledProjectV1AudioNativePostWithBodyWithResponse request with arbitrary body returning *CreatesAudioNativeEnabledProjectV1AudioNativePostResponse
func (*ClientWithResponses) DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteWithResponse(ctx context.Context, projectId string, chapterId string, params *DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse, error)
DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteWithResponse request returning *DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse
func (*ClientWithResponses) DeleteHistoryItemV1HistoryHistoryItemIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteHistoryItemV1HistoryHistoryItemIdDeleteWithResponse(ctx context.Context, historyItemId string, params *DeleteHistoryItemV1HistoryHistoryItemIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse, error)
DeleteHistoryItemV1HistoryHistoryItemIdDeleteWithResponse request returning *DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse
func (*ClientWithResponses) DeleteProjectV1ProjectsProjectIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteProjectV1ProjectsProjectIdDeleteWithResponse(ctx context.Context, projectId string, params *DeleteProjectV1ProjectsProjectIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteProjectV1ProjectsProjectIdDeleteResponse, error)
DeleteProjectV1ProjectsProjectIdDeleteWithResponse request returning *DeleteProjectV1ProjectsProjectIdDeleteResponse
func (*ClientWithResponses) DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteWithResponse(ctx context.Context, voiceId string, sampleId string, params *DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse, error)
DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteWithResponse request returning *DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse
func (*ClientWithResponses) DeleteVoiceV1VoicesVoiceIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteVoiceV1VoicesVoiceIdDeleteWithResponse(ctx context.Context, voiceId string, params *DeleteVoiceV1VoicesVoiceIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteVoiceV1VoicesVoiceIdDeleteResponse, error)
DeleteVoiceV1VoicesVoiceIdDeleteWithResponse request returning *DeleteVoiceV1VoicesVoiceIdDeleteResponse
func (*ClientWithResponses) DownloadHistoryItemsV1HistoryDownloadPostWithBodyWithResponse ¶
func (c *ClientWithResponses) DownloadHistoryItemsV1HistoryDownloadPostWithBodyWithResponse(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DownloadHistoryItemsV1HistoryDownloadPostResponse, error)
DownloadHistoryItemsV1HistoryDownloadPostWithBodyWithResponse request with arbitrary body returning *DownloadHistoryItemsV1HistoryDownloadPostResponse
func (*ClientWithResponses) DownloadHistoryItemsV1HistoryDownloadPostWithResponse ¶
func (c *ClientWithResponses) DownloadHistoryItemsV1HistoryDownloadPostWithResponse(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, body DownloadHistoryItemsV1HistoryDownloadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DownloadHistoryItemsV1HistoryDownloadPostResponse, error)
func (*ClientWithResponses) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithBodyWithResponse ¶
func (c *ClientWithResponses) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithBodyWithResponse(ctx context.Context, voiceId string, params *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse, error)
EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithBodyWithResponse request with arbitrary body returning *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse
func (*ClientWithResponses) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithResponse ¶
func (c *ClientWithResponses) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithResponse(ctx context.Context, voiceId string, params *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams, body EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse, error)
func (*ClientWithResponses) EditVoiceV1VoicesVoiceIdEditPostWithBodyWithResponse ¶
func (c *ClientWithResponses) EditVoiceV1VoicesVoiceIdEditPostWithBodyWithResponse(ctx context.Context, voiceId string, params *EditVoiceV1VoicesVoiceIdEditPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditVoiceV1VoicesVoiceIdEditPostResponse, error)
EditVoiceV1VoicesVoiceIdEditPostWithBodyWithResponse request with arbitrary body returning *EditVoiceV1VoicesVoiceIdEditPostResponse
func (*ClientWithResponses) GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetWithResponse ¶
func (c *ClientWithResponses) GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetWithResponse(ctx context.Context, historyItemId string, params *GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetParams, reqEditors ...RequestEditorFn) (*GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse, error)
GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetWithResponse request returning *GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse
func (*ClientWithResponses) GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetWithResponse ¶
func (c *ClientWithResponses) GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetWithResponse(ctx context.Context, voiceId string, sampleId string, params *GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetParams, reqEditors ...RequestEditorFn) (*GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse, error)
GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetWithResponse request returning *GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse
func (*ClientWithResponses) GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetWithResponse ¶
func (c *ClientWithResponses) GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetWithResponse(ctx context.Context, projectId string, chapterId string, params *GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetParams, reqEditors ...RequestEditorFn) (*GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse, error)
GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetWithResponse request returning *GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse
func (*ClientWithResponses) GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetWithResponse ¶
func (c *ClientWithResponses) GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetWithResponse(ctx context.Context, projectId string, chapterId string, params *GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetParams, reqEditors ...RequestEditorFn) (*GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse, error)
GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetWithResponse request returning *GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse
func (*ClientWithResponses) GetChaptersV1ProjectsProjectIdChaptersGetWithResponse ¶
func (c *ClientWithResponses) GetChaptersV1ProjectsProjectIdChaptersGetWithResponse(ctx context.Context, projectId string, params *GetChaptersV1ProjectsProjectIdChaptersGetParams, reqEditors ...RequestEditorFn) (*GetChaptersV1ProjectsProjectIdChaptersGetResponse, error)
GetChaptersV1ProjectsProjectIdChaptersGetWithResponse request returning *GetChaptersV1ProjectsProjectIdChaptersGetResponse
func (*ClientWithResponses) GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetWithResponse ¶
func (c *ClientWithResponses) GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse, error)
GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetWithResponse request returning *GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse
func (*ClientWithResponses) GetGeneratedItemsV1HistoryGetWithResponse ¶
func (c *ClientWithResponses) GetGeneratedItemsV1HistoryGetWithResponse(ctx context.Context, params *GetGeneratedItemsV1HistoryGetParams, reqEditors ...RequestEditorFn) (*GetGeneratedItemsV1HistoryGetResponse, error)
GetGeneratedItemsV1HistoryGetWithResponse request returning *GetGeneratedItemsV1HistoryGetResponse
func (*ClientWithResponses) GetHistoryItemByIDV1HistoryHistoryItemIdGetWithResponse ¶
func (c *ClientWithResponses) GetHistoryItemByIDV1HistoryHistoryItemIdGetWithResponse(ctx context.Context, historyItemId string, params *GetHistoryItemByIDV1HistoryHistoryItemIdGetParams, reqEditors ...RequestEditorFn) (*GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse, error)
GetHistoryItemByIDV1HistoryHistoryItemIdGetWithResponse request returning *GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse
func (*ClientWithResponses) GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetWithResponse ¶
func (c *ClientWithResponses) GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetWithResponse(ctx context.Context, pronunciationDictionaryId string, params *GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetParams, reqEditors ...RequestEditorFn) (*GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse, error)
GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetWithResponse request returning *GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse
func (*ClientWithResponses) GetModelsV1ModelsGetWithResponse ¶
func (c *ClientWithResponses) GetModelsV1ModelsGetWithResponse(ctx context.Context, params *GetModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*GetModelsV1ModelsGetResponse, error)
GetModelsV1ModelsGetWithResponse request returning *GetModelsV1ModelsGetResponse
func (*ClientWithResponses) GetProjectByIDV1ProjectsProjectIdGetWithResponse ¶
func (c *ClientWithResponses) GetProjectByIDV1ProjectsProjectIdGetWithResponse(ctx context.Context, projectId string, params *GetProjectByIDV1ProjectsProjectIdGetParams, reqEditors ...RequestEditorFn) (*GetProjectByIDV1ProjectsProjectIdGetResponse, error)
GetProjectByIDV1ProjectsProjectIdGetWithResponse request returning *GetProjectByIDV1ProjectsProjectIdGetResponse
func (*ClientWithResponses) GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetWithResponse ¶
func (c *ClientWithResponses) GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetWithResponse(ctx context.Context, projectId string, params *GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetParams, reqEditors ...RequestEditorFn) (*GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse, error)
GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetWithResponse request returning *GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse
func (*ClientWithResponses) GetProjectsV1ProjectsGetWithResponse ¶
func (c *ClientWithResponses) GetProjectsV1ProjectsGetWithResponse(ctx context.Context, params *GetProjectsV1ProjectsGetParams, reqEditors ...RequestEditorFn) (*GetProjectsV1ProjectsGetResponse, error)
GetProjectsV1ProjectsGetWithResponse request returning *GetProjectsV1ProjectsGetResponse
func (*ClientWithResponses) GetUserInfoV1UserGetWithResponse ¶
func (c *ClientWithResponses) GetUserInfoV1UserGetWithResponse(ctx context.Context, params *GetUserInfoV1UserGetParams, reqEditors ...RequestEditorFn) (*GetUserInfoV1UserGetResponse, error)
GetUserInfoV1UserGetWithResponse request returning *GetUserInfoV1UserGetResponse
func (*ClientWithResponses) GetUserSubscriptionInfoV1UserSubscriptionGetWithResponse ¶
func (c *ClientWithResponses) GetUserSubscriptionInfoV1UserSubscriptionGetWithResponse(ctx context.Context, params *GetUserSubscriptionInfoV1UserSubscriptionGetParams, reqEditors ...RequestEditorFn) (*GetUserSubscriptionInfoV1UserSubscriptionGetResponse, error)
GetUserSubscriptionInfoV1UserSubscriptionGetWithResponse request returning *GetUserSubscriptionInfoV1UserSubscriptionGetResponse
func (*ClientWithResponses) GetVoiceSettingsV1VoicesVoiceIdSettingsGetWithResponse ¶
func (c *ClientWithResponses) GetVoiceSettingsV1VoicesVoiceIdSettingsGetWithResponse(ctx context.Context, voiceId string, params *GetVoiceSettingsV1VoicesVoiceIdSettingsGetParams, reqEditors ...RequestEditorFn) (*GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse, error)
GetVoiceSettingsV1VoicesVoiceIdSettingsGetWithResponse request returning *GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse
func (*ClientWithResponses) GetVoiceV1VoicesVoiceIdGetWithResponse ¶
func (c *ClientWithResponses) GetVoiceV1VoicesVoiceIdGetWithResponse(ctx context.Context, voiceId string, params *GetVoiceV1VoicesVoiceIdGetParams, reqEditors ...RequestEditorFn) (*GetVoiceV1VoicesVoiceIdGetResponse, error)
GetVoiceV1VoicesVoiceIdGetWithResponse request returning *GetVoiceV1VoicesVoiceIdGetResponse
func (*ClientWithResponses) GetVoicesV1VoicesGetWithResponse ¶
func (c *ClientWithResponses) GetVoicesV1VoicesGetWithResponse(ctx context.Context, params *GetVoicesV1VoicesGetParams, reqEditors ...RequestEditorFn) (*GetVoicesV1VoicesGetResponse, error)
GetVoicesV1VoicesGetWithResponse request returning *GetVoicesV1VoicesGetResponse
func (*ClientWithResponses) RedirectToMintlifyDocsGetWithResponse ¶
func (c *ClientWithResponses) RedirectToMintlifyDocsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RedirectToMintlifyDocsGetResponse, error)
RedirectToMintlifyDocsGetWithResponse request returning *RedirectToMintlifyDocsGetResponse
func (*ClientWithResponses) StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostWithResponse ¶
func (c *ClientWithResponses) StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostWithResponse(ctx context.Context, projectId string, chapterId string, chapterSnapshotId string, params *StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostParams, reqEditors ...RequestEditorFn) (*StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse, error)
StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostWithResponse request returning *StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse
func (*ClientWithResponses) StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostWithResponse ¶
func (c *ClientWithResponses) StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostWithResponse(ctx context.Context, projectId string, projectSnapshotId string, params *StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostParams, reqEditors ...RequestEditorFn) (*StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse, error)
StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostWithResponse request returning *StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse
func (*ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdPostWithBodyWithResponse ¶
func (c *ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdPostWithBodyWithResponse(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TextToSpeechV1TextToSpeechVoiceIdPostResponse, error)
TextToSpeechV1TextToSpeechVoiceIdPostWithBodyWithResponse request with arbitrary body returning *TextToSpeechV1TextToSpeechVoiceIdPostResponse
func (*ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdPostWithResponse ¶
func (c *ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdPostWithResponse(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdPostParams, body TextToSpeechV1TextToSpeechVoiceIdPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TextToSpeechV1TextToSpeechVoiceIdPostResponse, error)
func (*ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdStreamPostWithBodyWithResponse ¶
func (c *ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdStreamPostWithBodyWithResponse(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdStreamPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse, error)
TextToSpeechV1TextToSpeechVoiceIdStreamPostWithBodyWithResponse request with arbitrary body returning *TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse
func (*ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdStreamPostWithResponse ¶
func (c *ClientWithResponses) TextToSpeechV1TextToSpeechVoiceIdStreamPostWithResponse(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdStreamPostParams, body TextToSpeechV1TextToSpeechVoiceIdStreamPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse, error)
func (*ClientWithResponses) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithBodyWithResponse(ctx context.Context, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse, error)
UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithBodyWithResponse request with arbitrary body returning *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse
func (*ClientWithResponses) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithResponse ¶
func (c *ClientWithResponses) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithResponse(ctx context.Context, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, body UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // RedirectToMintlifyDocsGet request RedirectToMintlifyDocsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RedirectToMintlifyDocsGetResponse, error) // CreatesAudioNativeEnabledProjectV1AudioNativePost request with any body CreatesAudioNativeEnabledProjectV1AudioNativePostWithBodyWithResponse(ctx context.Context, params *CreatesAudioNativeEnabledProjectV1AudioNativePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatesAudioNativeEnabledProjectV1AudioNativePostResponse, error) // GetGeneratedItemsV1HistoryGet request GetGeneratedItemsV1HistoryGetWithResponse(ctx context.Context, params *GetGeneratedItemsV1HistoryGetParams, reqEditors ...RequestEditorFn) (*GetGeneratedItemsV1HistoryGetResponse, error) // DownloadHistoryItemsV1HistoryDownloadPost request with any body DownloadHistoryItemsV1HistoryDownloadPostWithBodyWithResponse(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DownloadHistoryItemsV1HistoryDownloadPostResponse, error) DownloadHistoryItemsV1HistoryDownloadPostWithResponse(ctx context.Context, params *DownloadHistoryItemsV1HistoryDownloadPostParams, body DownloadHistoryItemsV1HistoryDownloadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DownloadHistoryItemsV1HistoryDownloadPostResponse, error) // DeleteHistoryItemV1HistoryHistoryItemIdDelete request DeleteHistoryItemV1HistoryHistoryItemIdDeleteWithResponse(ctx context.Context, historyItemId string, params *DeleteHistoryItemV1HistoryHistoryItemIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse, error) // GetHistoryItemByIDV1HistoryHistoryItemIdGet request GetHistoryItemByIDV1HistoryHistoryItemIdGetWithResponse(ctx context.Context, historyItemId string, params *GetHistoryItemByIDV1HistoryHistoryItemIdGetParams, reqEditors ...RequestEditorFn) (*GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse, error) // GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGet request GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetWithResponse(ctx context.Context, historyItemId string, params *GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetParams, reqEditors ...RequestEditorFn) (*GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse, error) // GetModelsV1ModelsGet request GetModelsV1ModelsGetWithResponse(ctx context.Context, params *GetModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*GetModelsV1ModelsGetResponse, error) // GetProjectsV1ProjectsGet request GetProjectsV1ProjectsGetWithResponse(ctx context.Context, params *GetProjectsV1ProjectsGetParams, reqEditors ...RequestEditorFn) (*GetProjectsV1ProjectsGetResponse, error) // AddProjectV1ProjectsAddPost request with any body AddProjectV1ProjectsAddPostWithBodyWithResponse(ctx context.Context, params *AddProjectV1ProjectsAddPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectV1ProjectsAddPostResponse, error) // DeleteProjectV1ProjectsProjectIdDelete request DeleteProjectV1ProjectsProjectIdDeleteWithResponse(ctx context.Context, projectId string, params *DeleteProjectV1ProjectsProjectIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteProjectV1ProjectsProjectIdDeleteResponse, error) // GetProjectByIDV1ProjectsProjectIdGet request GetProjectByIDV1ProjectsProjectIdGetWithResponse(ctx context.Context, projectId string, params *GetProjectByIDV1ProjectsProjectIdGetParams, reqEditors ...RequestEditorFn) (*GetProjectByIDV1ProjectsProjectIdGetResponse, error) // GetChaptersV1ProjectsProjectIdChaptersGet request GetChaptersV1ProjectsProjectIdChaptersGetWithResponse(ctx context.Context, projectId string, params *GetChaptersV1ProjectsProjectIdChaptersGetParams, reqEditors ...RequestEditorFn) (*GetChaptersV1ProjectsProjectIdChaptersGetResponse, error) // DeleteChapterV1ProjectsProjectIdChaptersChapterIdDelete request DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteWithResponse(ctx context.Context, projectId string, chapterId string, params *DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse, error) // GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGet request GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetWithResponse(ctx context.Context, projectId string, chapterId string, params *GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetParams, reqEditors ...RequestEditorFn) (*GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse, error) // ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPost request ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostWithResponse(ctx context.Context, projectId string, chapterId string, params *ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostParams, reqEditors ...RequestEditorFn) (*ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse, error) // GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGet request GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetWithResponse(ctx context.Context, projectId string, chapterId string, params *GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetParams, reqEditors ...RequestEditorFn) (*GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse, error) // StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost request StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostWithResponse(ctx context.Context, projectId string, chapterId string, chapterSnapshotId string, params *StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostParams, reqEditors ...RequestEditorFn) (*StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse, error) // ConvertProjectV1ProjectsProjectIdConvertPost request ConvertProjectV1ProjectsProjectIdConvertPostWithResponse(ctx context.Context, projectId string, params *ConvertProjectV1ProjectsProjectIdConvertPostParams, reqEditors ...RequestEditorFn) (*ConvertProjectV1ProjectsProjectIdConvertPostResponse, error) // GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGet request GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetWithResponse(ctx context.Context, projectId string, params *GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetParams, reqEditors ...RequestEditorFn) (*GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse, error) // StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost request StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostWithResponse(ctx context.Context, projectId string, projectSnapshotId string, params *StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostParams, reqEditors ...RequestEditorFn) (*StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse, error) // UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost request with any body UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithBodyWithResponse(ctx context.Context, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse, error) UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithResponse(ctx context.Context, projectId string, params *UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams, body UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse, error) // AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost request with any body AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostWithBodyWithResponse(ctx context.Context, params *AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePostResponse, error) // GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGet request GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetWithResponse(ctx context.Context, pronunciationDictionaryId string, params *GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetParams, reqEditors ...RequestEditorFn) (*GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse, error) // TextToSpeechV1TextToSpeechVoiceIdPost request with any body TextToSpeechV1TextToSpeechVoiceIdPostWithBodyWithResponse(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TextToSpeechV1TextToSpeechVoiceIdPostResponse, error) TextToSpeechV1TextToSpeechVoiceIdPostWithResponse(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdPostParams, body TextToSpeechV1TextToSpeechVoiceIdPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TextToSpeechV1TextToSpeechVoiceIdPostResponse, error) // TextToSpeechV1TextToSpeechVoiceIdStreamPost request with any body TextToSpeechV1TextToSpeechVoiceIdStreamPostWithBodyWithResponse(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdStreamPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse, error) TextToSpeechV1TextToSpeechVoiceIdStreamPostWithResponse(ctx context.Context, voiceId string, params *TextToSpeechV1TextToSpeechVoiceIdStreamPostParams, body TextToSpeechV1TextToSpeechVoiceIdStreamPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse, error) // GetUserInfoV1UserGet request GetUserInfoV1UserGetWithResponse(ctx context.Context, params *GetUserInfoV1UserGetParams, reqEditors ...RequestEditorFn) (*GetUserInfoV1UserGetResponse, error) // GetUserSubscriptionInfoV1UserSubscriptionGet request GetUserSubscriptionInfoV1UserSubscriptionGetWithResponse(ctx context.Context, params *GetUserSubscriptionInfoV1UserSubscriptionGetParams, reqEditors ...RequestEditorFn) (*GetUserSubscriptionInfoV1UserSubscriptionGetResponse, error) // GetVoicesV1VoicesGet request GetVoicesV1VoicesGetWithResponse(ctx context.Context, params *GetVoicesV1VoicesGetParams, reqEditors ...RequestEditorFn) (*GetVoicesV1VoicesGetResponse, error) // AddVoiceV1VoicesAddPost request with any body AddVoiceV1VoicesAddPostWithBodyWithResponse(ctx context.Context, params *AddVoiceV1VoicesAddPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddVoiceV1VoicesAddPostResponse, error) // GetDefaultVoiceSettingsV1VoicesSettingsDefaultGet request GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse, error) // DeleteVoiceV1VoicesVoiceIdDelete request DeleteVoiceV1VoicesVoiceIdDeleteWithResponse(ctx context.Context, voiceId string, params *DeleteVoiceV1VoicesVoiceIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteVoiceV1VoicesVoiceIdDeleteResponse, error) // GetVoiceV1VoicesVoiceIdGet request GetVoiceV1VoicesVoiceIdGetWithResponse(ctx context.Context, voiceId string, params *GetVoiceV1VoicesVoiceIdGetParams, reqEditors ...RequestEditorFn) (*GetVoiceV1VoicesVoiceIdGetResponse, error) // EditVoiceV1VoicesVoiceIdEditPost request with any body EditVoiceV1VoicesVoiceIdEditPostWithBodyWithResponse(ctx context.Context, voiceId string, params *EditVoiceV1VoicesVoiceIdEditPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditVoiceV1VoicesVoiceIdEditPostResponse, error) // DeleteSampleV1VoicesVoiceIdSamplesSampleIdDelete request DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteWithResponse(ctx context.Context, voiceId string, sampleId string, params *DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteParams, reqEditors ...RequestEditorFn) (*DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse, error) // GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGet request GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetWithResponse(ctx context.Context, voiceId string, sampleId string, params *GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetParams, reqEditors ...RequestEditorFn) (*GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse, error) // GetVoiceSettingsV1VoicesVoiceIdSettingsGet request GetVoiceSettingsV1VoicesVoiceIdSettingsGetWithResponse(ctx context.Context, voiceId string, params *GetVoiceSettingsV1VoicesVoiceIdSettingsGetParams, reqEditors ...RequestEditorFn) (*GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse, error) // EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost request with any body EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithBodyWithResponse(ctx context.Context, voiceId string, params *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse, error) EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithResponse(ctx context.Context, voiceId string, params *EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams, body EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostParams ¶
type ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostParams defines parameters for ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPost.
type ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse ¶
type ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse ¶
func ParseConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse(rsp *http.Response) (*ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse, error)
ParseConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse parses an HTTP response from a ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostWithResponse call
func (ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse) Status ¶
func (r ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse) Status() string
Status returns HTTPResponse.Status
func (ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse) StatusCode ¶
func (r ConvertChapterV1ProjectsProjectIdChaptersChapterIdConvertPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConvertProjectV1ProjectsProjectIdConvertPostParams ¶
type ConvertProjectV1ProjectsProjectIdConvertPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
ConvertProjectV1ProjectsProjectIdConvertPostParams defines parameters for ConvertProjectV1ProjectsProjectIdConvertPost.
type ConvertProjectV1ProjectsProjectIdConvertPostResponse ¶
type ConvertProjectV1ProjectsProjectIdConvertPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseConvertProjectV1ProjectsProjectIdConvertPostResponse ¶
func ParseConvertProjectV1ProjectsProjectIdConvertPostResponse(rsp *http.Response) (*ConvertProjectV1ProjectsProjectIdConvertPostResponse, error)
ParseConvertProjectV1ProjectsProjectIdConvertPostResponse parses an HTTP response from a ConvertProjectV1ProjectsProjectIdConvertPostWithResponse call
func (ConvertProjectV1ProjectsProjectIdConvertPostResponse) Status ¶
func (r ConvertProjectV1ProjectsProjectIdConvertPostResponse) Status() string
Status returns HTTPResponse.Status
func (ConvertProjectV1ProjectsProjectIdConvertPostResponse) StatusCode ¶
func (r ConvertProjectV1ProjectsProjectIdConvertPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatesAudioNativeEnabledProjectV1AudioNativePostMultipartRequestBody ¶
type CreatesAudioNativeEnabledProjectV1AudioNativePostMultipartRequestBody = BodyCreatesAudioNativeEnabledProjectV1AudioNativePost
CreatesAudioNativeEnabledProjectV1AudioNativePostMultipartRequestBody defines body for CreatesAudioNativeEnabledProjectV1AudioNativePost for multipart/form-data ContentType.
type CreatesAudioNativeEnabledProjectV1AudioNativePostParams ¶
type CreatesAudioNativeEnabledProjectV1AudioNativePostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
CreatesAudioNativeEnabledProjectV1AudioNativePostParams defines parameters for CreatesAudioNativeEnabledProjectV1AudioNativePost.
type CreatesAudioNativeEnabledProjectV1AudioNativePostResponse ¶
type CreatesAudioNativeEnabledProjectV1AudioNativePostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AudioNativeCreateProjectResponseModel JSON422 *HTTPValidationError }
func ParseCreatesAudioNativeEnabledProjectV1AudioNativePostResponse ¶
func ParseCreatesAudioNativeEnabledProjectV1AudioNativePostResponse(rsp *http.Response) (*CreatesAudioNativeEnabledProjectV1AudioNativePostResponse, error)
ParseCreatesAudioNativeEnabledProjectV1AudioNativePostResponse parses an HTTP response from a CreatesAudioNativeEnabledProjectV1AudioNativePostWithResponse call
func (CreatesAudioNativeEnabledProjectV1AudioNativePostResponse) Status ¶
func (r CreatesAudioNativeEnabledProjectV1AudioNativePostResponse) Status() string
Status returns HTTPResponse.Status
func (CreatesAudioNativeEnabledProjectV1AudioNativePostResponse) StatusCode ¶
func (r CreatesAudioNativeEnabledProjectV1AudioNativePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteParams ¶
type DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteParams defines parameters for DeleteChapterV1ProjectsProjectIdChaptersChapterIdDelete.
type DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse ¶
type DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseDeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse ¶
func ParseDeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse(rsp *http.Response) (*DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse, error)
ParseDeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse parses an HTTP response from a DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteWithResponse call
func (DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse) Status ¶
func (r DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse) StatusCode ¶
func (r DeleteChapterV1ProjectsProjectIdChaptersChapterIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteHistoryItemV1HistoryHistoryItemIdDeleteParams ¶
type DeleteHistoryItemV1HistoryHistoryItemIdDeleteParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
DeleteHistoryItemV1HistoryHistoryItemIdDeleteParams defines parameters for DeleteHistoryItemV1HistoryHistoryItemIdDelete.
type DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse ¶
type DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseDeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse ¶
func ParseDeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse(rsp *http.Response) (*DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse, error)
ParseDeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse parses an HTTP response from a DeleteHistoryItemV1HistoryHistoryItemIdDeleteWithResponse call
func (DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse) Status ¶
func (r DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse) StatusCode ¶
func (r DeleteHistoryItemV1HistoryHistoryItemIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectV1ProjectsProjectIdDeleteParams ¶
type DeleteProjectV1ProjectsProjectIdDeleteParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
DeleteProjectV1ProjectsProjectIdDeleteParams defines parameters for DeleteProjectV1ProjectsProjectIdDelete.
type DeleteProjectV1ProjectsProjectIdDeleteResponse ¶
type DeleteProjectV1ProjectsProjectIdDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseDeleteProjectV1ProjectsProjectIdDeleteResponse ¶
func ParseDeleteProjectV1ProjectsProjectIdDeleteResponse(rsp *http.Response) (*DeleteProjectV1ProjectsProjectIdDeleteResponse, error)
ParseDeleteProjectV1ProjectsProjectIdDeleteResponse parses an HTTP response from a DeleteProjectV1ProjectsProjectIdDeleteWithResponse call
func (DeleteProjectV1ProjectsProjectIdDeleteResponse) Status ¶
func (r DeleteProjectV1ProjectsProjectIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectV1ProjectsProjectIdDeleteResponse) StatusCode ¶
func (r DeleteProjectV1ProjectsProjectIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteParams ¶
type DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteParams defines parameters for DeleteSampleV1VoicesVoiceIdSamplesSampleIdDelete.
type DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse ¶
type DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseDeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse ¶
func ParseDeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse(rsp *http.Response) (*DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse, error)
ParseDeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse parses an HTTP response from a DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteWithResponse call
func (DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse) Status ¶
func (r DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse) StatusCode ¶
func (r DeleteSampleV1VoicesVoiceIdSamplesSampleIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVoiceV1VoicesVoiceIdDeleteParams ¶
type DeleteVoiceV1VoicesVoiceIdDeleteParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
DeleteVoiceV1VoicesVoiceIdDeleteParams defines parameters for DeleteVoiceV1VoicesVoiceIdDelete.
type DeleteVoiceV1VoicesVoiceIdDeleteResponse ¶
type DeleteVoiceV1VoicesVoiceIdDeleteResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseDeleteVoiceV1VoicesVoiceIdDeleteResponse ¶
func ParseDeleteVoiceV1VoicesVoiceIdDeleteResponse(rsp *http.Response) (*DeleteVoiceV1VoicesVoiceIdDeleteResponse, error)
ParseDeleteVoiceV1VoicesVoiceIdDeleteResponse parses an HTTP response from a DeleteVoiceV1VoicesVoiceIdDeleteWithResponse call
func (DeleteVoiceV1VoicesVoiceIdDeleteResponse) Status ¶
func (r DeleteVoiceV1VoicesVoiceIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVoiceV1VoicesVoiceIdDeleteResponse) StatusCode ¶
func (r DeleteVoiceV1VoicesVoiceIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadHistoryItemsV1HistoryDownloadPostJSONRequestBody ¶
type DownloadHistoryItemsV1HistoryDownloadPostJSONRequestBody = BodyDownloadHistoryItemsV1HistoryDownloadPost
DownloadHistoryItemsV1HistoryDownloadPostJSONRequestBody defines body for DownloadHistoryItemsV1HistoryDownloadPost for application/json ContentType.
type DownloadHistoryItemsV1HistoryDownloadPostParams ¶
type DownloadHistoryItemsV1HistoryDownloadPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
DownloadHistoryItemsV1HistoryDownloadPostParams defines parameters for DownloadHistoryItemsV1HistoryDownloadPost.
type DownloadHistoryItemsV1HistoryDownloadPostResponse ¶
type DownloadHistoryItemsV1HistoryDownloadPostResponse struct { Body []byte HTTPResponse *http.Response JSON422 *HTTPValidationError }
func ParseDownloadHistoryItemsV1HistoryDownloadPostResponse ¶
func ParseDownloadHistoryItemsV1HistoryDownloadPostResponse(rsp *http.Response) (*DownloadHistoryItemsV1HistoryDownloadPostResponse, error)
ParseDownloadHistoryItemsV1HistoryDownloadPostResponse parses an HTTP response from a DownloadHistoryItemsV1HistoryDownloadPostWithResponse call
func (DownloadHistoryItemsV1HistoryDownloadPostResponse) Status ¶
func (r DownloadHistoryItemsV1HistoryDownloadPostResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadHistoryItemsV1HistoryDownloadPostResponse) StatusCode ¶
func (r DownloadHistoryItemsV1HistoryDownloadPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONBody ¶
type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONBody = VoiceSettingsResponseModel
EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONBody defines parameters for EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost.
type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONRequestBody ¶
type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONRequestBody = EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONBody
EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostJSONRequestBody defines body for EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost for application/json ContentType.
type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams ¶
type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostParams defines parameters for EditVoiceSettingsV1VoicesVoiceIdSettingsEditPost.
type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse ¶
type EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse ¶
func ParseEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse(rsp *http.Response) (*EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse, error)
ParseEditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse parses an HTTP response from a EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostWithResponse call
func (EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse) Status ¶
func (r EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse) Status() string
Status returns HTTPResponse.Status
func (EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse) StatusCode ¶
func (r EditVoiceSettingsV1VoicesVoiceIdSettingsEditPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditVoiceV1VoicesVoiceIdEditPostMultipartRequestBody ¶
type EditVoiceV1VoicesVoiceIdEditPostMultipartRequestBody = BodyEditVoiceV1VoicesVoiceIdEditPost
EditVoiceV1VoicesVoiceIdEditPostMultipartRequestBody defines body for EditVoiceV1VoicesVoiceIdEditPost for multipart/form-data ContentType.
type EditVoiceV1VoicesVoiceIdEditPostParams ¶
type EditVoiceV1VoicesVoiceIdEditPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
EditVoiceV1VoicesVoiceIdEditPostParams defines parameters for EditVoiceV1VoicesVoiceIdEditPost.
type EditVoiceV1VoicesVoiceIdEditPostResponse ¶
type EditVoiceV1VoicesVoiceIdEditPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseEditVoiceV1VoicesVoiceIdEditPostResponse ¶
func ParseEditVoiceV1VoicesVoiceIdEditPostResponse(rsp *http.Response) (*EditVoiceV1VoicesVoiceIdEditPostResponse, error)
ParseEditVoiceV1VoicesVoiceIdEditPostResponse parses an HTTP response from a EditVoiceV1VoicesVoiceIdEditPostWithResponse call
func (EditVoiceV1VoicesVoiceIdEditPostResponse) Status ¶
func (r EditVoiceV1VoicesVoiceIdEditPostResponse) Status() string
Status returns HTTPResponse.Status
func (EditVoiceV1VoicesVoiceIdEditPostResponse) StatusCode ¶
func (r EditVoiceV1VoicesVoiceIdEditPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExtendedSubscriptionResponseModel ¶
type ExtendedSubscriptionResponseModel struct { AllowedToExtendCharacterLimit bool `json:"allowed_to_extend_character_limit"` CanExtendCharacterLimit bool `json:"can_extend_character_limit"` CanExtendVoiceLimit bool `json:"can_extend_voice_limit"` CanUseInstantVoiceCloning bool `json:"can_use_instant_voice_cloning"` CanUseProfessionalVoiceCloning bool `json:"can_use_professional_voice_cloning"` CharacterCount int `json:"character_count"` CharacterLimit int `json:"character_limit"` Currency ExtendedSubscriptionResponseModelCurrency `json:"currency"` HasOpenInvoices bool `json:"has_open_invoices"` MaxVoiceAddEdits int `json:"max_voice_add_edits"` NextCharacterCountResetUnix int `json:"next_character_count_reset_unix"` NextInvoice InvoiceResponseModel `json:"next_invoice"` ProfessionalVoiceLimit int `json:"professional_voice_limit"` Status ExtendedSubscriptionResponseModelStatus `json:"status"` Tier string `json:"tier"` VoiceAddEditCounter int `json:"voice_add_edit_counter"` VoiceLimit int `json:"voice_limit"` }
ExtendedSubscriptionResponseModel defines model for ExtendedSubscriptionResponseModel.
type ExtendedSubscriptionResponseModelCurrency ¶
type ExtendedSubscriptionResponseModelCurrency string
ExtendedSubscriptionResponseModelCurrency defines model for ExtendedSubscriptionResponseModel.Currency.
const ( ExtendedSubscriptionResponseModelCurrencyEur ExtendedSubscriptionResponseModelCurrency = "eur" ExtendedSubscriptionResponseModelCurrencyUsd ExtendedSubscriptionResponseModelCurrency = "usd" )
Defines values for ExtendedSubscriptionResponseModelCurrency.
type ExtendedSubscriptionResponseModelStatus ¶
type ExtendedSubscriptionResponseModelStatus string
ExtendedSubscriptionResponseModelStatus defines model for ExtendedSubscriptionResponseModel.Status.
const ( ExtendedSubscriptionResponseModelStatusActive ExtendedSubscriptionResponseModelStatus = "active" ExtendedSubscriptionResponseModelStatusCanceled ExtendedSubscriptionResponseModelStatus = "canceled" ExtendedSubscriptionResponseModelStatusFree ExtendedSubscriptionResponseModelStatus = "free" ExtendedSubscriptionResponseModelStatusIncomplete ExtendedSubscriptionResponseModelStatus = "incomplete" ExtendedSubscriptionResponseModelStatusIncompleteExpired ExtendedSubscriptionResponseModelStatus = "incomplete_expired" ExtendedSubscriptionResponseModelStatusPastDue ExtendedSubscriptionResponseModelStatus = "past_due" ExtendedSubscriptionResponseModelStatusTrialing ExtendedSubscriptionResponseModelStatus = "trialing" ExtendedSubscriptionResponseModelStatusUnpaid ExtendedSubscriptionResponseModelStatus = "unpaid" )
Defines values for ExtendedSubscriptionResponseModelStatus.
type FeedbackResponseModel ¶
type FeedbackResponseModel struct { AudioQuality bool `json:"audio_quality"` Emotions bool `json:"emotions"` Feedback string `json:"feedback"` Glitches bool `json:"glitches"` InaccurateClone bool `json:"inaccurate_clone"` Other bool `json:"other"` ReviewStatus *string `json:"review_status,omitempty"` ThumbsUp bool `json:"thumbs_up"` }
FeedbackResponseModel defines model for FeedbackResponseModel.
type FineTuningResponseModel ¶
type FineTuningResponseModel struct { FineTuningRequested bool `json:"fine_tuning_requested"` FinetuningState FineTuningResponseModelFinetuningState `json:"finetuning_state"` IsAllowedToFineTune bool `json:"is_allowed_to_fine_tune"` Language string `json:"language"` ManualVerification ManualVerificationResponseModel `json:"manual_verification"` ManualVerificationRequested bool `json:"manual_verification_requested"` SliceIds []string `json:"slice_ids"` VerificationAttempts []VerificationAttemptResponseModel `json:"verification_attempts"` VerificationAttemptsCount int `json:"verification_attempts_count"` VerificationFailures []string `json:"verification_failures"` }
FineTuningResponseModel defines model for FineTuningResponseModel.
type FineTuningResponseModelFinetuningState ¶
type FineTuningResponseModelFinetuningState string
FineTuningResponseModelFinetuningState defines model for FineTuningResponseModel.FinetuningState.
const ( FineTuned FineTuningResponseModelFinetuningState = "fine_tuned" IsFineTuning FineTuningResponseModelFinetuningState = "is_fine_tuning" NotStarted FineTuningResponseModelFinetuningState = "not_started" )
Defines values for FineTuningResponseModelFinetuningState.
type GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetParams ¶
type GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetParams defines parameters for GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGet.
type GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse ¶
type GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse struct { Body []byte HTTPResponse *http.Response JSON422 *HTTPValidationError }
func ParseGetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse ¶
func ParseGetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse(rsp *http.Response) (*GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse, error)
ParseGetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse parses an HTTP response from a GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetWithResponse call
func (GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse) Status ¶
func (r GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse) StatusCode ¶
func (r GetAudioFromHistoryItemV1HistoryHistoryItemIdAudioGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetParams ¶
type GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetParams defines parameters for GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGet.
type GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse ¶
type GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse struct { Body []byte HTTPResponse *http.Response JSON422 *HTTPValidationError }
func ParseGetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse ¶
func ParseGetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse(rsp *http.Response) (*GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse, error)
ParseGetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse parses an HTTP response from a GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetWithResponse call
func (GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse) Status ¶
func (r GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse) StatusCode ¶
func (r GetAudioFromSampleV1VoicesVoiceIdSamplesSampleIdAudioGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetParams ¶
type GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetParams defines parameters for GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGet.
type GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse ¶
type GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ChapterResponseModel JSON422 *HTTPValidationError }
func ParseGetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse ¶
func ParseGetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse(rsp *http.Response) (*GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse, error)
ParseGetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse parses an HTTP response from a GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetWithResponse call
func (GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse) Status ¶
func (r GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse) StatusCode ¶
func (r GetChapterByIDV1ProjectsProjectIdChaptersChapterIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetParams ¶
type GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetParams defines parameters for GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGet.
type GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse ¶
type GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ChapterSnapshotsResponseModel JSON422 *HTTPValidationError }
func ParseGetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse ¶
func ParseGetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse(rsp *http.Response) (*GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse, error)
ParseGetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse parses an HTTP response from a GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetWithResponse call
func (GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse) Status ¶
func (r GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse) StatusCode ¶
func (r GetChapterSnapshotsV1ProjectsProjectIdChaptersChapterIdSnapshotsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChaptersResponseModel ¶
type GetChaptersResponseModel struct {
Chapters []ChapterResponseModel `json:"chapters"`
}
GetChaptersResponseModel defines model for GetChaptersResponseModel.
type GetChaptersV1ProjectsProjectIdChaptersGetParams ¶
type GetChaptersV1ProjectsProjectIdChaptersGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetChaptersV1ProjectsProjectIdChaptersGetParams defines parameters for GetChaptersV1ProjectsProjectIdChaptersGet.
type GetChaptersV1ProjectsProjectIdChaptersGetResponse ¶
type GetChaptersV1ProjectsProjectIdChaptersGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetChaptersResponseModel JSON422 *HTTPValidationError }
func ParseGetChaptersV1ProjectsProjectIdChaptersGetResponse ¶
func ParseGetChaptersV1ProjectsProjectIdChaptersGetResponse(rsp *http.Response) (*GetChaptersV1ProjectsProjectIdChaptersGetResponse, error)
ParseGetChaptersV1ProjectsProjectIdChaptersGetResponse parses an HTTP response from a GetChaptersV1ProjectsProjectIdChaptersGetWithResponse call
func (GetChaptersV1ProjectsProjectIdChaptersGetResponse) Status ¶
func (r GetChaptersV1ProjectsProjectIdChaptersGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetChaptersV1ProjectsProjectIdChaptersGetResponse) StatusCode ¶
func (r GetChaptersV1ProjectsProjectIdChaptersGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse ¶
type GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VoiceSettingsResponseModel }
func ParseGetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse ¶
func ParseGetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse(rsp *http.Response) (*GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse, error)
ParseGetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse parses an HTTP response from a GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetWithResponse call
func (GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse) Status ¶
func (r GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse) StatusCode ¶
func (r GetDefaultVoiceSettingsV1VoicesSettingsDefaultGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGeneratedItemsV1HistoryGetParams ¶
type GetGeneratedItemsV1HistoryGetParams struct { // PageSize How many history items to return at maximum. Can not exceed 1000, defaults to 100. PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"` // StartAfterHistoryItemId After which history_item_id to start fetching, use this parameter to paginate across a large collection of history items. In case this parameter is not provided history items will be fetched starting from the most recently created one ordered descending by their creation date. StartAfterHistoryItemId *string `form:"start_after_history_item_id,omitempty" json:"start_after_history_item_id,omitempty"` // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetGeneratedItemsV1HistoryGetParams defines parameters for GetGeneratedItemsV1HistoryGet.
type GetGeneratedItemsV1HistoryGetResponse ¶
type GetGeneratedItemsV1HistoryGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetHistoryResponseModel JSON422 *HTTPValidationError }
func ParseGetGeneratedItemsV1HistoryGetResponse ¶
func ParseGetGeneratedItemsV1HistoryGetResponse(rsp *http.Response) (*GetGeneratedItemsV1HistoryGetResponse, error)
ParseGetGeneratedItemsV1HistoryGetResponse parses an HTTP response from a GetGeneratedItemsV1HistoryGetWithResponse call
func (GetGeneratedItemsV1HistoryGetResponse) Status ¶
func (r GetGeneratedItemsV1HistoryGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetGeneratedItemsV1HistoryGetResponse) StatusCode ¶
func (r GetGeneratedItemsV1HistoryGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHistoryItemByIDV1HistoryHistoryItemIdGetParams ¶
type GetHistoryItemByIDV1HistoryHistoryItemIdGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetHistoryItemByIDV1HistoryHistoryItemIdGetParams defines parameters for GetHistoryItemByIDV1HistoryHistoryItemIdGet.
type GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse ¶
type GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HistoryItemResponseModel JSON422 *HTTPValidationError }
func ParseGetHistoryItemByIDV1HistoryHistoryItemIdGetResponse ¶
func ParseGetHistoryItemByIDV1HistoryHistoryItemIdGetResponse(rsp *http.Response) (*GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse, error)
ParseGetHistoryItemByIDV1HistoryHistoryItemIdGetResponse parses an HTTP response from a GetHistoryItemByIDV1HistoryHistoryItemIdGetWithResponse call
func (GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse) Status ¶
func (r GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse) StatusCode ¶
func (r GetHistoryItemByIDV1HistoryHistoryItemIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHistoryResponseModel ¶
type GetHistoryResponseModel struct { HasMore bool `json:"has_more"` History []HistoryItemResponseModel `json:"history"` LastHistoryItemId string `json:"last_history_item_id"` }
GetHistoryResponseModel defines model for GetHistoryResponseModel.
type GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetParams ¶
type GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetParams defines parameters for GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGet.
type GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse ¶
type GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetPronunciationDictionaryMetadataResponseModel JSON422 *HTTPValidationError }
func ParseGetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse ¶
func ParseGetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse(rsp *http.Response) (*GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse, error)
ParseGetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse parses an HTTP response from a GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetWithResponse call
func (GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse) Status ¶
func (r GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse) StatusCode ¶
func (r GetMetadataForAPronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetModelsV1ModelsGetParams ¶
type GetModelsV1ModelsGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetModelsV1ModelsGetParams defines parameters for GetModelsV1ModelsGet.
type GetModelsV1ModelsGetResponse ¶
type GetModelsV1ModelsGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ModelResponseModel JSON422 *HTTPValidationError }
func ParseGetModelsV1ModelsGetResponse ¶
func ParseGetModelsV1ModelsGetResponse(rsp *http.Response) (*GetModelsV1ModelsGetResponse, error)
ParseGetModelsV1ModelsGetResponse parses an HTTP response from a GetModelsV1ModelsGetWithResponse call
func (GetModelsV1ModelsGetResponse) Status ¶
func (r GetModelsV1ModelsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetModelsV1ModelsGetResponse) StatusCode ¶
func (r GetModelsV1ModelsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectByIDV1ProjectsProjectIdGetParams ¶
type GetProjectByIDV1ProjectsProjectIdGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetProjectByIDV1ProjectsProjectIdGetParams defines parameters for GetProjectByIDV1ProjectsProjectIdGet.
type GetProjectByIDV1ProjectsProjectIdGetResponse ¶
type GetProjectByIDV1ProjectsProjectIdGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectExtendedResponseModel JSON422 *HTTPValidationError }
func ParseGetProjectByIDV1ProjectsProjectIdGetResponse ¶
func ParseGetProjectByIDV1ProjectsProjectIdGetResponse(rsp *http.Response) (*GetProjectByIDV1ProjectsProjectIdGetResponse, error)
ParseGetProjectByIDV1ProjectsProjectIdGetResponse parses an HTTP response from a GetProjectByIDV1ProjectsProjectIdGetWithResponse call
func (GetProjectByIDV1ProjectsProjectIdGetResponse) Status ¶
func (r GetProjectByIDV1ProjectsProjectIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectByIDV1ProjectsProjectIdGetResponse) StatusCode ¶
func (r GetProjectByIDV1ProjectsProjectIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetParams ¶
type GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetParams defines parameters for GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGet.
type GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse ¶
type GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ProjectSnapshotsResponseModel JSON422 *HTTPValidationError }
func ParseGetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse ¶
func ParseGetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse(rsp *http.Response) (*GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse, error)
ParseGetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse parses an HTTP response from a GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetWithResponse call
func (GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse) Status ¶
func (r GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse) StatusCode ¶
func (r GetProjectSnapshotsV1ProjectsProjectIdSnapshotsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectsResponseModel ¶
type GetProjectsResponseModel struct {
Projects []ProjectResponseModel `json:"projects"`
}
GetProjectsResponseModel defines model for GetProjectsResponseModel.
type GetProjectsV1ProjectsGetParams ¶
type GetProjectsV1ProjectsGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetProjectsV1ProjectsGetParams defines parameters for GetProjectsV1ProjectsGet.
type GetProjectsV1ProjectsGetResponse ¶
type GetProjectsV1ProjectsGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetProjectsResponseModel JSON422 *HTTPValidationError }
func ParseGetProjectsV1ProjectsGetResponse ¶
func ParseGetProjectsV1ProjectsGetResponse(rsp *http.Response) (*GetProjectsV1ProjectsGetResponse, error)
ParseGetProjectsV1ProjectsGetResponse parses an HTTP response from a GetProjectsV1ProjectsGetWithResponse call
func (GetProjectsV1ProjectsGetResponse) Status ¶
func (r GetProjectsV1ProjectsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectsV1ProjectsGetResponse) StatusCode ¶
func (r GetProjectsV1ProjectsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPronunciationDictionaryMetadataResponseModel ¶
type GetPronunciationDictionaryMetadataResponseModel struct { CreatedBy string `json:"created_by"` CreationTimeUnix int `json:"creation_time_unix"` Description *string `json:"description,omitempty"` Id string `json:"id"` Name string `json:"name"` }
GetPronunciationDictionaryMetadataResponseModel defines model for GetPronunciationDictionaryMetadataResponseModel.
type GetUserInfoV1UserGetParams ¶
type GetUserInfoV1UserGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetUserInfoV1UserGetParams defines parameters for GetUserInfoV1UserGet.
type GetUserInfoV1UserGetResponse ¶
type GetUserInfoV1UserGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserResponseModel JSON422 *HTTPValidationError }
func ParseGetUserInfoV1UserGetResponse ¶
func ParseGetUserInfoV1UserGetResponse(rsp *http.Response) (*GetUserInfoV1UserGetResponse, error)
ParseGetUserInfoV1UserGetResponse parses an HTTP response from a GetUserInfoV1UserGetWithResponse call
func (GetUserInfoV1UserGetResponse) Status ¶
func (r GetUserInfoV1UserGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserInfoV1UserGetResponse) StatusCode ¶
func (r GetUserInfoV1UserGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserSubscriptionInfoV1UserSubscriptionGetParams ¶
type GetUserSubscriptionInfoV1UserSubscriptionGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetUserSubscriptionInfoV1UserSubscriptionGetParams defines parameters for GetUserSubscriptionInfoV1UserSubscriptionGet.
type GetUserSubscriptionInfoV1UserSubscriptionGetResponse ¶
type GetUserSubscriptionInfoV1UserSubscriptionGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ExtendedSubscriptionResponseModel JSON422 *HTTPValidationError }
func ParseGetUserSubscriptionInfoV1UserSubscriptionGetResponse ¶
func ParseGetUserSubscriptionInfoV1UserSubscriptionGetResponse(rsp *http.Response) (*GetUserSubscriptionInfoV1UserSubscriptionGetResponse, error)
ParseGetUserSubscriptionInfoV1UserSubscriptionGetResponse parses an HTTP response from a GetUserSubscriptionInfoV1UserSubscriptionGetWithResponse call
func (GetUserSubscriptionInfoV1UserSubscriptionGetResponse) Status ¶
func (r GetUserSubscriptionInfoV1UserSubscriptionGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserSubscriptionInfoV1UserSubscriptionGetResponse) StatusCode ¶
func (r GetUserSubscriptionInfoV1UserSubscriptionGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVoiceSettingsV1VoicesVoiceIdSettingsGetParams ¶
type GetVoiceSettingsV1VoicesVoiceIdSettingsGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetVoiceSettingsV1VoicesVoiceIdSettingsGetParams defines parameters for GetVoiceSettingsV1VoicesVoiceIdSettingsGet.
type GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse ¶
type GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VoiceSettingsResponseModel JSON422 *HTTPValidationError }
func ParseGetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse ¶
func ParseGetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse(rsp *http.Response) (*GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse, error)
ParseGetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse parses an HTTP response from a GetVoiceSettingsV1VoicesVoiceIdSettingsGetWithResponse call
func (GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse) Status ¶
func (r GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse) StatusCode ¶
func (r GetVoiceSettingsV1VoicesVoiceIdSettingsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVoiceV1VoicesVoiceIdGetParams ¶
type GetVoiceV1VoicesVoiceIdGetParams struct { // WithSettings If set will return settings information corresponding to the voice, requires authorization. WithSettings *bool `form:"with_settings,omitempty" json:"with_settings,omitempty"` // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetVoiceV1VoicesVoiceIdGetParams defines parameters for GetVoiceV1VoicesVoiceIdGet.
type GetVoiceV1VoicesVoiceIdGetResponse ¶
type GetVoiceV1VoicesVoiceIdGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VoiceResponseModel JSON422 *HTTPValidationError }
func ParseGetVoiceV1VoicesVoiceIdGetResponse ¶
func ParseGetVoiceV1VoicesVoiceIdGetResponse(rsp *http.Response) (*GetVoiceV1VoicesVoiceIdGetResponse, error)
ParseGetVoiceV1VoicesVoiceIdGetResponse parses an HTTP response from a GetVoiceV1VoicesVoiceIdGetWithResponse call
func (GetVoiceV1VoicesVoiceIdGetResponse) Status ¶
func (r GetVoiceV1VoicesVoiceIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVoiceV1VoicesVoiceIdGetResponse) StatusCode ¶
func (r GetVoiceV1VoicesVoiceIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVoicesResponseModel ¶
type GetVoicesResponseModel struct {
Voices []VoiceResponseModel `json:"voices"`
}
GetVoicesResponseModel defines model for GetVoicesResponseModel.
type GetVoicesV1VoicesGetParams ¶
type GetVoicesV1VoicesGetParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
GetVoicesV1VoicesGetParams defines parameters for GetVoicesV1VoicesGet.
type GetVoicesV1VoicesGetResponse ¶
type GetVoicesV1VoicesGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *GetVoicesResponseModel JSON422 *HTTPValidationError }
func ParseGetVoicesV1VoicesGetResponse ¶
func ParseGetVoicesV1VoicesGetResponse(rsp *http.Response) (*GetVoicesV1VoicesGetResponse, error)
ParseGetVoicesV1VoicesGetResponse parses an HTTP response from a GetVoicesV1VoicesGetWithResponse call
func (GetVoicesV1VoicesGetResponse) Status ¶
func (r GetVoicesV1VoicesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVoicesV1VoicesGetResponse) StatusCode ¶
func (r GetVoicesV1VoicesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail *[]ValidationError `json:"detail,omitempty"`
}
HTTPValidationError defines model for HTTPValidationError.
type HistoryItemResponseModel ¶
type HistoryItemResponseModel struct { CharacterCountChangeFrom int `json:"character_count_change_from"` CharacterCountChangeTo int `json:"character_count_change_to"` ContentType string `json:"content_type"` DateUnix int `json:"date_unix"` Feedback FeedbackResponseModel `json:"feedback"` HistoryItemId string `json:"history_item_id"` ModelId string `json:"model_id"` RequestId string `json:"request_id"` Settings map[string]interface{} `json:"settings"` State HistoryItemResponseModelState `json:"state"` Text string `json:"text"` VoiceCategory HistoryItemResponseModelVoiceCategory `json:"voice_category"` VoiceId string `json:"voice_id"` VoiceName string `json:"voice_name"` }
HistoryItemResponseModel defines model for HistoryItemResponseModel.
type HistoryItemResponseModelState ¶
type HistoryItemResponseModelState string
HistoryItemResponseModelState defines model for HistoryItemResponseModel.State.
const ( Created HistoryItemResponseModelState = "created" Deleted HistoryItemResponseModelState = "deleted" Processing HistoryItemResponseModelState = "processing" )
Defines values for HistoryItemResponseModelState.
type HistoryItemResponseModelVoiceCategory ¶
type HistoryItemResponseModelVoiceCategory string
HistoryItemResponseModelVoiceCategory defines model for HistoryItemResponseModel.VoiceCategory.
const ( Cloned HistoryItemResponseModelVoiceCategory = "cloned" Generated HistoryItemResponseModelVoiceCategory = "generated" Premade HistoryItemResponseModelVoiceCategory = "premade" Professional HistoryItemResponseModelVoiceCategory = "professional" )
Defines values for HistoryItemResponseModelVoiceCategory.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InvoiceResponseModel ¶
type InvoiceResponseModel struct { AmountDueCents int `json:"amount_due_cents"` NextPaymentAttemptUnix int `json:"next_payment_attempt_unix"` }
InvoiceResponseModel defines model for InvoiceResponseModel.
type LanguageResponseModel ¶
type LanguageResponseModel struct { LanguageId string `json:"language_id"` Name string `json:"name"` }
LanguageResponseModel defines model for LanguageResponseModel.
type ManualVerificationFileResponseModel ¶
type ManualVerificationFileResponseModel struct { FileId string `json:"file_id"` FileName string `json:"file_name"` MimeType string `json:"mime_type"` SizeBytes int `json:"size_bytes"` UploadDateUnix int `json:"upload_date_unix"` }
ManualVerificationFileResponseModel defines model for ManualVerificationFileResponseModel.
type ManualVerificationResponseModel ¶
type ManualVerificationResponseModel struct { ExtraText string `json:"extra_text"` Files []ManualVerificationFileResponseModel `json:"files"` RequestTimeUnix int `json:"request_time_unix"` }
ManualVerificationResponseModel defines model for ManualVerificationResponseModel.
type ModelResponseModel ¶
type ModelResponseModel struct { CanBeFinetuned bool `json:"can_be_finetuned"` CanDoTextToSpeech bool `json:"can_do_text_to_speech"` CanDoVoiceConversion bool `json:"can_do_voice_conversion"` CanUseSpeakerBoost bool `json:"can_use_speaker_boost"` CanUseStyle bool `json:"can_use_style"` Description string `json:"description"` Languages []LanguageResponseModel `json:"languages"` MaxCharactersRequestFreeUser int `json:"max_characters_request_free_user"` MaxCharactersRequestSubscribedUser int `json:"max_characters_request_subscribed_user"` ModelId string `json:"model_id"` Name string `json:"name"` RequiresAlphaAccess bool `json:"requires_alpha_access"` ServesProVoices bool `json:"serves_pro_voices"` TokenCostFactor float32 `json:"token_cost_factor"` }
ModelResponseModel defines model for ModelResponseModel.
type ProjectExtendedResponseModel ¶
type ProjectExtendedResponseModel struct { CanBeDownloaded bool `json:"can_be_downloaded"` Chapters []ChapterResponseModel `json:"chapters"` CreateDateUnix int `json:"create_date_unix"` DefaultModelId string `json:"default_model_id"` DefaultParagraphVoiceId string `json:"default_paragraph_voice_id"` DefaultTitleVoiceId string `json:"default_title_voice_id"` LastConversionDateUnix int `json:"last_conversion_date_unix"` Name string `json:"name"` ProjectId string `json:"project_id"` State ProjectExtendedResponseModelState `json:"state"` }
ProjectExtendedResponseModel defines model for ProjectExtendedResponseModel.
type ProjectExtendedResponseModelState ¶
type ProjectExtendedResponseModelState string
ProjectExtendedResponseModelState defines model for ProjectExtendedResponseModel.State.
const ( ProjectExtendedResponseModelStateConverting ProjectExtendedResponseModelState = "converting" ProjectExtendedResponseModelStateDefault ProjectExtendedResponseModelState = "default" ProjectExtendedResponseModelStateInQueue ProjectExtendedResponseModelState = "in_queue" )
Defines values for ProjectExtendedResponseModelState.
type ProjectResponseModel ¶
type ProjectResponseModel struct { AcxVolumeNormalization bool `json:"acx_volume_normalization"` Author string `json:"author"` CanBeDownloaded bool `json:"can_be_downloaded"` CreateDateUnix int `json:"create_date_unix"` DefaultModelId string `json:"default_model_id"` DefaultParagraphVoiceId string `json:"default_paragraph_voice_id"` DefaultTitleVoiceId string `json:"default_title_voice_id"` IsbnNumber string `json:"isbn_number"` LastConversionDateUnix int `json:"last_conversion_date_unix"` Name string `json:"name"` ProjectId string `json:"project_id"` State ProjectResponseModelState `json:"state"` Title string `json:"title"` }
ProjectResponseModel defines model for ProjectResponseModel.
type ProjectResponseModelState ¶
type ProjectResponseModelState string
ProjectResponseModelState defines model for ProjectResponseModel.State.
const ( Converting ProjectResponseModelState = "converting" Default ProjectResponseModelState = "default" )
Defines values for ProjectResponseModelState.
type ProjectSnapshotResponseModel ¶
type ProjectSnapshotResponseModel struct { CreatedAtUnix int `json:"created_at_unix"` Name string `json:"name"` ProjectId string `json:"project_id"` ProjectSnapshotId string `json:"project_snapshot_id"` }
ProjectSnapshotResponseModel defines model for ProjectSnapshotResponseModel.
type ProjectSnapshotsResponseModel ¶
type ProjectSnapshotsResponseModel struct {
Snapshots []ProjectSnapshotResponseModel `json:"snapshots"`
}
ProjectSnapshotsResponseModel defines model for ProjectSnapshotsResponseModel.
type PronunciationDictionaryVersionLocatorDBModel ¶
type PronunciationDictionaryVersionLocatorDBModel struct { PronunciationDictionaryId string `json:"pronunciation_dictionary_id"` VersionId string `json:"version_id"` }
PronunciationDictionaryVersionLocatorDBModel defines model for PronunciationDictionaryVersionLocatorDBModel.
type RecordingResponseModel ¶
type RecordingResponseModel struct { MimeType string `json:"mime_type"` RecordingId string `json:"recording_id"` SizeBytes int `json:"size_bytes"` Transcription string `json:"transcription"` UploadDateUnix int `json:"upload_date_unix"` }
RecordingResponseModel defines model for RecordingResponseModel.
type RedirectToMintlifyDocsGetResponse ¶
type RedirectToMintlifyDocsGetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} }
func ParseRedirectToMintlifyDocsGetResponse ¶
func ParseRedirectToMintlifyDocsGetResponse(rsp *http.Response) (*RedirectToMintlifyDocsGetResponse, error)
ParseRedirectToMintlifyDocsGetResponse parses an HTTP response from a RedirectToMintlifyDocsGetWithResponse call
func (RedirectToMintlifyDocsGetResponse) Status ¶
func (r RedirectToMintlifyDocsGetResponse) Status() string
Status returns HTTPResponse.Status
func (RedirectToMintlifyDocsGetResponse) StatusCode ¶
func (r RedirectToMintlifyDocsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SampleResponseModel ¶
type SampleResponseModel struct { FileName string `json:"file_name"` Hash string `json:"hash"` MimeType string `json:"mime_type"` SampleId string `json:"sample_id"` SizeBytes int `json:"size_bytes"` }
SampleResponseModel defines model for SampleResponseModel.
type StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostParams ¶
type StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostParams defines parameters for StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.
type StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse ¶
type StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse struct { Body []byte HTTPResponse *http.Response JSON422 *HTTPValidationError }
func ParseStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse ¶
func ParseStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse(rsp *http.Response) (*StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse, error)
ParseStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse parses an HTTP response from a StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostWithResponse call
func (StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse) Status ¶
func (r StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse) Status() string
Status returns HTTPResponse.Status
func (StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse) StatusCode ¶
func (r StreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostParams ¶
type StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostParams defines parameters for StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.
type StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse ¶
type StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse struct { Body []byte HTTPResponse *http.Response JSON422 *HTTPValidationError }
func ParseStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse ¶
func ParseStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse(rsp *http.Response) (*StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse, error)
ParseStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse parses an HTTP response from a StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostWithResponse call
func (StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse) Status ¶
func (r StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse) Status() string
Status returns HTTPResponse.Status
func (StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse) StatusCode ¶
func (r StreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubscriptionResponseModel ¶
type SubscriptionResponseModel struct { AllowedToExtendCharacterLimit bool `json:"allowed_to_extend_character_limit"` CanExtendCharacterLimit bool `json:"can_extend_character_limit"` CanExtendVoiceLimit bool `json:"can_extend_voice_limit"` CanUseInstantVoiceCloning bool `json:"can_use_instant_voice_cloning"` CanUseProfessionalVoiceCloning bool `json:"can_use_professional_voice_cloning"` CharacterCount int `json:"character_count"` CharacterLimit int `json:"character_limit"` Currency SubscriptionResponseModelCurrency `json:"currency"` MaxVoiceAddEdits int `json:"max_voice_add_edits"` NextCharacterCountResetUnix int `json:"next_character_count_reset_unix"` ProfessionalVoiceLimit int `json:"professional_voice_limit"` Status SubscriptionResponseModelStatus `json:"status"` Tier string `json:"tier"` VoiceAddEditCounter int `json:"voice_add_edit_counter"` VoiceLimit int `json:"voice_limit"` }
SubscriptionResponseModel defines model for SubscriptionResponseModel.
type SubscriptionResponseModelCurrency ¶
type SubscriptionResponseModelCurrency string
SubscriptionResponseModelCurrency defines model for SubscriptionResponseModel.Currency.
const ( SubscriptionResponseModelCurrencyEur SubscriptionResponseModelCurrency = "eur" SubscriptionResponseModelCurrencyUsd SubscriptionResponseModelCurrency = "usd" )
Defines values for SubscriptionResponseModelCurrency.
type SubscriptionResponseModelStatus ¶
type SubscriptionResponseModelStatus string
SubscriptionResponseModelStatus defines model for SubscriptionResponseModel.Status.
const ( SubscriptionResponseModelStatusActive SubscriptionResponseModelStatus = "active" SubscriptionResponseModelStatusCanceled SubscriptionResponseModelStatus = "canceled" SubscriptionResponseModelStatusFree SubscriptionResponseModelStatus = "free" SubscriptionResponseModelStatusIncomplete SubscriptionResponseModelStatus = "incomplete" SubscriptionResponseModelStatusIncompleteExpired SubscriptionResponseModelStatus = "incomplete_expired" SubscriptionResponseModelStatusPastDue SubscriptionResponseModelStatus = "past_due" SubscriptionResponseModelStatusTrialing SubscriptionResponseModelStatus = "trialing" SubscriptionResponseModelStatusUnpaid SubscriptionResponseModelStatus = "unpaid" )
Defines values for SubscriptionResponseModelStatus.
type TextToSpeechV1TextToSpeechVoiceIdPostJSONRequestBody ¶
type TextToSpeechV1TextToSpeechVoiceIdPostJSONRequestBody = BodyTextToSpeechV1TextToSpeechVoiceIdPost
TextToSpeechV1TextToSpeechVoiceIdPostJSONRequestBody defines body for TextToSpeechV1TextToSpeechVoiceIdPost for application/json ContentType.
type TextToSpeechV1TextToSpeechVoiceIdPostParams ¶
type TextToSpeechV1TextToSpeechVoiceIdPostParams struct { // OptimizeStreamingLatency You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: // 0 - default mode (no latency optimizations) // 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) // 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) // 3 - max latency optimizations // 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). // // Defaults to 0. OptimizeStreamingLatency *int `form:"optimize_streaming_latency,omitempty" json:"optimize_streaming_latency,omitempty"` // OutputFormat Output format of the generated audio. Must be one of: // mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. // mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. // mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. // mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. // mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. // pcm_16000 - PCM format (S16LE) with 16kHz sample rate. // pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. // pcm_24000 - PCM format (S16LE) with 24kHz sample rate. // pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Independent Publisher tier or above. // ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. OutputFormat *string `form:"output_format,omitempty" json:"output_format,omitempty"` // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
TextToSpeechV1TextToSpeechVoiceIdPostParams defines parameters for TextToSpeechV1TextToSpeechVoiceIdPost.
type TextToSpeechV1TextToSpeechVoiceIdPostResponse ¶
type TextToSpeechV1TextToSpeechVoiceIdPostResponse struct { Body []byte HTTPResponse *http.Response JSON422 *HTTPValidationError }
func ParseTextToSpeechV1TextToSpeechVoiceIdPostResponse ¶
func ParseTextToSpeechV1TextToSpeechVoiceIdPostResponse(rsp *http.Response) (*TextToSpeechV1TextToSpeechVoiceIdPostResponse, error)
ParseTextToSpeechV1TextToSpeechVoiceIdPostResponse parses an HTTP response from a TextToSpeechV1TextToSpeechVoiceIdPostWithResponse call
func (TextToSpeechV1TextToSpeechVoiceIdPostResponse) Status ¶
func (r TextToSpeechV1TextToSpeechVoiceIdPostResponse) Status() string
Status returns HTTPResponse.Status
func (TextToSpeechV1TextToSpeechVoiceIdPostResponse) StatusCode ¶
func (r TextToSpeechV1TextToSpeechVoiceIdPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TextToSpeechV1TextToSpeechVoiceIdStreamPostJSONRequestBody ¶
type TextToSpeechV1TextToSpeechVoiceIdStreamPostJSONRequestBody = BodyTextToSpeechV1TextToSpeechVoiceIdStreamPost
TextToSpeechV1TextToSpeechVoiceIdStreamPostJSONRequestBody defines body for TextToSpeechV1TextToSpeechVoiceIdStreamPost for application/json ContentType.
type TextToSpeechV1TextToSpeechVoiceIdStreamPostParams ¶
type TextToSpeechV1TextToSpeechVoiceIdStreamPostParams struct { // OptimizeStreamingLatency You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: // 0 - default mode (no latency optimizations) // 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) // 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) // 3 - max latency optimizations // 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). // // Defaults to 0. OptimizeStreamingLatency *int `form:"optimize_streaming_latency,omitempty" json:"optimize_streaming_latency,omitempty"` // OutputFormat Output format of the generated audio. Must be one of: // mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. // mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. // mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. // mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. // mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. // pcm_16000 - PCM format (S16LE) with 16kHz sample rate. // pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. // pcm_24000 - PCM format (S16LE) with 24kHz sample rate. // pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Independent Publisher tier or above. // ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. OutputFormat *string `form:"output_format,omitempty" json:"output_format,omitempty"` // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
TextToSpeechV1TextToSpeechVoiceIdStreamPostParams defines parameters for TextToSpeechV1TextToSpeechVoiceIdStreamPost.
type TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse ¶
type TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse struct { Body []byte HTTPResponse *http.Response JSON422 *HTTPValidationError }
func ParseTextToSpeechV1TextToSpeechVoiceIdStreamPostResponse ¶
func ParseTextToSpeechV1TextToSpeechVoiceIdStreamPostResponse(rsp *http.Response) (*TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse, error)
ParseTextToSpeechV1TextToSpeechVoiceIdStreamPostResponse parses an HTTP response from a TextToSpeechV1TextToSpeechVoiceIdStreamPostWithResponse call
func (TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse) Status ¶
func (r TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse) Status() string
Status returns HTTPResponse.Status
func (TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse) StatusCode ¶
func (r TextToSpeechV1TextToSpeechVoiceIdStreamPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostJSONRequestBody ¶
type UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostJSONRequestBody = BodyUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost
UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostJSONRequestBody defines body for UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost for application/json ContentType.
type UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams ¶
type UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams struct { // XiApiKey Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. XiApiKey *string `json:"xi-api-key,omitempty"` }
UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostParams defines parameters for UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPost.
type UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse ¶
type UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse struct { Body []byte HTTPResponse *http.Response JSON200 *interface{} JSON422 *HTTPValidationError }
func ParseUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse ¶
func ParseUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse(rsp *http.Response) (*UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse, error)
ParseUpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse parses an HTTP response from a UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostWithResponse call
func (UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse) Status ¶
func (r UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse) StatusCode ¶
func (r UpdatePronunciationDictionariesV1ProjectsProjectIdUpdatePronunciationDictionariesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserResponseModel ¶
type UserResponseModel struct { CanUseDelayedPaymentMethods bool `json:"can_use_delayed_payment_methods"` IsNewUser bool `json:"is_new_user"` Subscription SubscriptionResponseModel `json:"subscription"` XiApiKey string `json:"xi_api_key"` }
UserResponseModel defines model for UserResponseModel.
type ValidationError ¶
type ValidationError struct { Loc []ValidationError_Loc_Item `json:"loc"` Msg string `json:"msg"` Type string `json:"type"` }
ValidationError defines model for ValidationError.
type ValidationErrorLoc0 ¶
type ValidationErrorLoc0 = string
ValidationErrorLoc0 defines model for .
type ValidationError_Loc_Item ¶
type ValidationError_Loc_Item struct {
// contains filtered or unexported fields
}
ValidationError_Loc_Item defines model for ValidationError.loc.Item.
func (ValidationError_Loc_Item) AsValidationErrorLoc0 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0
func (ValidationError_Loc_Item) AsValidationErrorLoc1 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1
func (*ValidationError_Loc_Item) FromValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
FromValidationErrorLoc0 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) FromValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
FromValidationErrorLoc1 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc1
func (ValidationError_Loc_Item) MarshalJSON ¶
func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
func (*ValidationError_Loc_Item) MergeValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
MergeValidationErrorLoc0 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) MergeValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
MergeValidationErrorLoc1 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc1
func (*ValidationError_Loc_Item) UnmarshalJSON ¶
func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
type VerificationAttemptResponseModel ¶
type VerificationAttemptResponseModel struct { Accepted bool `json:"accepted"` DateUnix int `json:"date_unix"` LevenshteinDistance float32 `json:"levenshtein_distance"` Recording RecordingResponseModel `json:"recording"` Similarity float32 `json:"similarity"` Text string `json:"text"` }
VerificationAttemptResponseModel defines model for VerificationAttemptResponseModel.
type VoiceResponseModel ¶
type VoiceResponseModel struct { AvailableForTiers []string `json:"available_for_tiers"` Category string `json:"category"` Description string `json:"description"` FineTuning FineTuningResponseModel `json:"fine_tuning"` HighQualityBaseModelIds []string `json:"high_quality_base_model_ids"` Labels map[string]string `json:"labels"` Name string `json:"name"` PreviewUrl string `json:"preview_url"` Samples []SampleResponseModel `json:"samples"` Settings VoiceSettingsResponseModel `json:"settings"` Sharing VoiceSharingResponseModel `json:"sharing"` VoiceId string `json:"voice_id"` }
VoiceResponseModel defines model for VoiceResponseModel.
type VoiceSettingsResponseModel ¶
type VoiceSettingsResponseModel struct { SimilarityBoost float32 `json:"similarity_boost"` Stability float32 `json:"stability"` Style *float32 `json:"style,omitempty"` UseSpeakerBoost *bool `json:"use_speaker_boost,omitempty"` }
VoiceSettingsResponseModel defines model for VoiceSettingsResponseModel.
type VoiceSharingResponseModel ¶
type VoiceSharingResponseModel struct { ClonedByCount int `json:"cloned_by_count"` Description string `json:"description"` EnabledInLibrary bool `json:"enabled_in_library"` HistoryItemSampleId string `json:"history_item_sample_id"` Labels map[string]string `json:"labels"` LikedByCount int `json:"liked_by_count"` Name string `json:"name"` OriginalVoiceId string `json:"original_voice_id"` PublicOwnerId string `json:"public_owner_id"` ReviewMessage string `json:"review_message"` ReviewStatus VoiceSharingResponseModelReviewStatus `json:"review_status"` Status VoiceSharingResponseModelStatus `json:"status"` WhitelistedEmails []string `json:"whitelisted_emails"` }
VoiceSharingResponseModel defines model for VoiceSharingResponseModel.
type VoiceSharingResponseModelReviewStatus ¶
type VoiceSharingResponseModelReviewStatus string
VoiceSharingResponseModelReviewStatus defines model for VoiceSharingResponseModel.ReviewStatus.
const ( Allowed VoiceSharingResponseModelReviewStatus = "allowed" AllowedWithChanges VoiceSharingResponseModelReviewStatus = "allowed_with_changes" Declined VoiceSharingResponseModelReviewStatus = "declined" NotRequested VoiceSharingResponseModelReviewStatus = "not_requested" Pending VoiceSharingResponseModelReviewStatus = "pending" )
Defines values for VoiceSharingResponseModelReviewStatus.
type VoiceSharingResponseModelStatus ¶
type VoiceSharingResponseModelStatus string
VoiceSharingResponseModelStatus defines model for VoiceSharingResponseModel.Status.
const ( Copied VoiceSharingResponseModelStatus = "copied" CopiedDisabled VoiceSharingResponseModelStatus = "copied_disabled" Disabled VoiceSharingResponseModelStatus = "disabled" Enabled VoiceSharingResponseModelStatus = "enabled" )
Defines values for VoiceSharingResponseModelStatus.