Endpoint
GET https://api.stepfun.ai/v1/audio/voices
Request parameters
-
limitstringoptional
Page size. Default 20, min 1, max 100. -
orderstringoptional
Sort order by creation time,ascordesc(default).
asc: older voices first
desc: newer voices first -
beforestringoptional
Cursor voice ID; can be combined withlimit/order. -
afterstringoptional
Cursor voice ID; can be combined withlimit/order.
Response
-
objectstring
Alwayslist. -
dataarray
Voice entries:idint
Voice ID for audio generation.file_idint
Source audio File ID used for cloning.created_atint
Creation time.
-
has_moreboolean
Whether more pages exist. -
first_idstring
ID of the first voice in the page. -
last_idstring
ID of the last voice in the page.
Example
- curl
- python