API endpoint:
https://neozak.com/api/v1/speeches
Request example:
curl --location --request GET 'https://neozak.com/api/v1/speeches' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
for Name, content
for Content. Defaults to: name
.voice
alloy
, echo
, fable
, onyx
, nova
, shimmer
.format
mp3
, flac
, aac
, opus
.favorite
sort_by
id
for Date created, name
for Name. Defaults to: id
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 25
.API endpoint:
https://neozak.com/api/v1/speeches/{id}
Request example:
curl --location --request GET 'https://neozak.com/api/v1/speeches/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://neozak.com/api/v1/speeches
Request example:
curl --location --request POST 'https://neozak.com/api/v1/speeches' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --form 'name={name}' \ --form 'file=@{file}'
name
content
description
alloy
, echo
, fable
, onyx
, nova
, shimmer
.format
mp3
, flac
, aac
, opus
.API endpoint:
https://neozak.com/api/v1/speeches/{id}
Request example:
curl --location --request PUT 'https://neozak.com/api/v1/speeches/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
favorite
API endpoint:
https://neozak.com/api/v1/speeches/{id}
Request example:
curl --location --request DELETE 'https://neozak.com/api/v1/speeches/{id}' \ --header 'Authorization: Bearer {api_key}'