API endpoint:
http://aicore.us/api/v1/speeches
Request example:
curl --location --request GET 'http://aicore.us/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: 10
.API endpoint:
http://aicore.us/api/v1/speeches/{id}
Request example:
curl --location --request GET 'http://aicore.us/api/v1/speeches/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
http://aicore.us/api/v1/speeches
Request example:
curl --location --request POST 'http://aicore.us/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:
http://aicore.us/api/v1/speeches/{id}
Request example:
curl --location --request PUT 'http://aicore.us/api/v1/speeches/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
favorite
API endpoint:
http://aicore.us/api/v1/speeches/{id}
Request example:
curl --location --request DELETE 'http://aicore.us/api/v1/speeches/{id}' \ --header 'Authorization: Bearer {api_key}'