List Text to Speech Tasks
FreshGETGET https://api.creatify.ai/api/text_to_speech/Retrieve a list of all text-to-speech tasks.
Headers
| Header | Type | Required | Description |
|---|---|---|---|
X-API-ID | string | Yes | Your Creatify API ID |
X-API-KEY | string | Yes | Your Creatify API key |
Example Request
bash
curl -X GET 'https://api.creatify.ai/api/text_to_speech/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key'Response
json
[
{
"id": "tts-001",
"status": "done",
"text": "Welcome to our product demonstration.",
"voice_id": "voice-en-001",
"output": "https://cdn.creatify.ai/tts/tts-001.mp3",
"created_at": "2024-01-15T10:30:00Z"
}
]Status Codes
| Code | Description |
|---|---|
200 | Success |
401 | Unauthorized -- invalid API credentials |
429 | Rate limit exceeded |
500 | Internal server error |