#2103 404 Client Error: NOT FOUND for url: http://127.0.0.1:5093/tts

93.44* Posted at: 3 hours ago 👁9

404 Client Error: NOT FOUND for url: http://127.0.0.1:5093/tts


=
system:Linux-5.14.0-611.11.1.el9_7.x86_64-x86_64-with-glibc2.34
version:v3.90
frozen:False
language:en
root_dir:/home/pietro/pyvideotrans
Python: 3.10.19 (main, Dec 9 2025, 19:03:08) [Clang 21.1.4 ]

However, the api works fine at http://127.0.0.1:5093.

1 Replies

The error indicates that the TTS service endpoint at http://127.0.0.1:5093/tts is not found (404). This is likely because the local TTS service you are trying to use (e.g., GPT-SoVITS, F5-TTS, CosyVoice) is running on a different port or path.

Here are the steps to resolve this:

  1. Verify the correct API endpoint: Open your web browser and go to http://127.0.0.1:5093. You should see a web interface or a status page for your TTS service. Look for the exact API endpoint path for the /tts function. It might be different, such as /api/tts or /v1/tts.
  2. Configure pyVideoTrans correctly:

    • In the main interface, select the TTS voice role that corresponds to your local TTS service (e.g., "GPT-SoVITS", "F5-TTS", "CosyVoice").
    • When you select such a role, a configuration window should pop up. In that window, you must enter the full, correct API URL.
    • The URL should be the base address of your service plus the specific /tts endpoint path you found in step 1. For example: http://127.0.0.1:5093/api/tts.
  3. Check service status: Ensure your local TTS service is fully started and listening on port 5093. You can test it directly using a tool like curl:

    curl -X POST http://127.0.0.1:5093/api/tts \
      -H "Content-Type: application/json" \
      -d '{"text": "Hello", "voice": "your_voice_name"}'

    Replace /api/tts and the JSON payload structure according to your service's documentation.

The key is that the /tts path in your error is likely incorrect. You need to find and use the exact endpoint path defined by the TTS service you are running locally.

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions