curl --request POST \ --url https://geoff.ai/api/v1/t2a/async \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "Long-form text content to convert to speech...", "voice_id": "default", "format": "mp3" }'
{ "data": { "task_id": "task_abc123", "status": "processing" }, "trace_id": "04ede0ab069fb1ba8be5156a24b1e081" }
Create an asynchronous speech generation task.
Bearer API_key
default
mp3
wav
ogg
44100