Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: ditto.audio Favorites API
description: Cloud API behind ditto.audio. The reader (reader.ditto.audio) and the voice studio (studio.ditto.audio) are separate apps sharing this one backend — see /docs/reader and /docs/inference for each app’s public surface. Third-party integrations want /docs/public (rendered for humans at https://ditto.audio/docs).
version: '1.0'
contact: {}
servers: []
tags:
- name: Favorites
paths:
/v1/favorites/voices:
get:
operationId: VoiceFavoritesController_list
parameters: []
responses:
'200':
description: ''
security:
- bearer: []
summary: Your favorite voices, newest first, as catalog rows (preview clips and engine…
tags:
- Favorites
/v1/favorites/voices/{slug}:
put:
operationId: VoiceFavoritesController_add
parameters:
- name: slug
required: true
in: path
schema:
type: string
responses:
'404':
description: No such public voice
'409':
description: 'FAVORITES_FULL: the account holds the most favorites it may'
security:
- bearer: []
summary: Add a catalog voice to your favorites (idempotent)
tags:
- Favorites
delete:
operationId: VoiceFavoritesController_remove
parameters:
- name: slug
required: true
in: path
schema:
type: string
responses:
'200':
description: ''
security:
- bearer: []
summary: Remove a voice from your favorites (a no-op when it is not one)
tags:
- Favorites
components:
securitySchemes:
bearer:
scheme: bearer
bearerFormat: ditto_sk_live_… API key, ditto_oat_… OAuth access token, or a session JWT
type: http
description: An API key (`ditto_sk_live_…`, made at https://ditto.audio/account/api-keys) authenticates /v1/audio/* and /v1/reader/*; an OAuth connection's one-hour access token (`ditto_oat_…`) holds the audio:read and audio:speech scopes only. Account routes (/v1/api-keys, /v1/usage, /v1/subscription) take the signed-in session's token (a JWT) only.