{
    "id": "elevenlabs",
    "name": "ElevenLabs",
    "category": "Audio",
    "description": "AI-powered text-to-speech and voice synthesis. Generate natural-sounding audio from text.",
    "baseUrl": "https://api.elevenlabs.io",
    "authStrategy": "header",
    "authKey": "xi-api-key",
    "fields": [
        { "name": "apiKey", "label": "API Key", "type": "password" }
    ],
    "hints": [
        "List voices: GET /v1/voices → { voices: [{ voice_id, name, category }] }",
        "Text-to-speech: POST /v1/text-to-speech/{voice_id}?output_format=mp3_44100_128",
        "  Request headers: Accept: audio/mpeg, Content-Type: application/json",
        "  Request body: { text: string, model_id: \"eleven_multilingual_v2\" }",
        "  Response: raw audio/mpeg binary — use resp.arrayBuffer() then new Blob([buf], {type:\"audio/mpeg\"}) and URL.createObjectURL() to play",
        "  IMPORTANT: The proxy returns raw binary, NOT JSON. Call fetch(\"/api/connectors\", ...) directly instead of synthos.connector.call() for TTS, since the helper parses JSON.",
        "Default voice: \"Rachel\" (voice_id: 21m00Tcm4TlvDq8ikWAM) is a good general-purpose voice.",
        "Max text length: 5000 characters per request."
    ],
    "onboarding": {
        "url": "https://elevenlabs.io/",
        "steps": [
            "Create an account at elevenlabs.io",
            "Go to your Profile settings",
            "Copy your API key from the API Key section"
        ]
    }
}
