Skip to main content

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

IDUsed inWhere to get it
languageIdvoices queryfliki.ai/info/voice, or the languages endpoint
dialectIdvoices queryfliki.ai/info/voice, or the dialects endpoint
voiceIdvideo, audio, text-to-speechfliki.ai/info/voice, or the voices endpoint
voiceStyleIdaudio, text-to-speechThe styles array of a voice in the voices endpoint
templateIdvideofliki.ai/info/template
subtitlePresetIdvideofliki.ai/info/subtitle
fileIdstatus, file deleteReturned 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 selected languageId / dialectId from 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)
  1. Call languages, then pick a languageId.
  2. Call dialects, then pick a dialectId.
  3. Call voices?languageId=...&dialectId=.... Each result's _id is a voiceId, and each entry in its styles array has an _id you pass as voiceStyleId.

templateId and subtitlePresetId have no list endpoint, so copy them from a browse page as described above.