Finding your IDs
Most endpoints take one or more IDs (a voiceId, templateId, and so on). This
page is the single reference for every ID the API accepts, what it's for, and
the two ways to get it: copy it from a browse page or fetch it from an endpoint.
Quick reference
| ID | Used in | Where to get it |
|---|---|---|
languageId | voices query | fliki.ai/info/voice, or the languages endpoint |
dialectId | voices query | fliki.ai/info/voice, or the dialects endpoint |
voiceId | video, audio, text-to-speech | fliki.ai/info/voice, or the voices endpoint |
voiceStyleId | audio, text-to-speech | The styles array of a voice in the voices endpoint |
templateId | video | fliki.ai/info/template |
subtitlePresetId | video | fliki.ai/info/subtitle |
fileId | status, file delete | Returned by every generate/* response |
Copy IDs from a browse page
The most common IDs can be copied directly from a public browse page, no API call required. Hover or click the copy icon next to the item:
voiceId,languageId,dialectId: browse every voice at fliki.ai/info/voice. Copy any voice's ID from its card, and copy the selectedlanguageId/dialectIdfrom the Language / Dialect selectors.templateId: browse every template at fliki.ai/info/template.subtitlePresetId: browse every built-in preset at fliki.ai/info/subtitle.
Fetch IDs from the API
You can also discover IDs programmatically. The voice-related IDs follow a chain:
languages >> dialects >> voices >> voice.styles[]
(languageId) (dialectId) (voiceId) (voiceStyleId)
- Call languages, then pick a
languageId. - Call dialects, then pick a
dialectId. - Call voices
?languageId=...&dialectId=.... Each result's_idis avoiceId, and each entry in itsstylesarray has an_idyou pass asvoiceStyleId.
templateId and subtitlePresetId have no list endpoint, so copy them from a
browse page as described above.