Skip to content

[NOBUG] How to call the API to convert voice files into text. #30

@syzby

Description

@syzby

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

curl http://localhost:10300/v1/audio/transcriptions -F "file=@33秒.mp3"

do not response anything.

Expected Behavior

return audio text

Steps To Reproduce

  1. docker run -d --name=faster-whisper -e PUID=1000 -e PGID=1000 -e WHISPER_MODEL=tiny-int8 -p 10300:10300 -v E:\02.docker\whisper:/config --restart unless-stopped lscr.io/linuxserver/faster-whisper:latest

  2. curl http://localhost:10300/v1/audio/transcriptions -F "file=@33秒.mp3"

Environment

- OS:Windows 11
- How docker service was installed:

CPU architecture

x86-64

Docker creation

docker run -d --name=faster-whisper  -e PUID=1000   -e PGID=1000 -e WHISPER_MODEL=tiny-int8 -p 10300:10300 -v E:\02.docker\whisper:/config   --restart unless-stopped lscr.io/linuxserver/faster-whisper:latest

Container logs

C:\Users\syzby>docker logs faster-whisper
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v2.4.0-ls62
Build-date: 2024-12-30T14:35:11+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
INFO:__main__:Ready
Connection to localhost (127.0.0.1) 10300 port [tcp/*] succeeded!
[ls.io-init] done.
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v2.4.0-ls62
Build-date: 2024-12-30T14:35:11+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
INFO:__main__:Ready
Connection to localhost (127.0.0.1) 10300 port [tcp/*] succeeded!
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions