How to input audio file. #7118

Closed
opened 2026-02-21 18:19:00 -05:00 by yindo · 2 comments
Owner

Originally created by @hsoftxl on GitHub (Dec 9, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

i want create a flow as folow.
mp3 file -> audio modle -> llm modle -> text2speech modle

Originally created by @hsoftxl on GitHub (Dec 9, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Provide a description of requested docs changes i want create a flow as folow. mp3 file -> audio modle -> llm modle -> text2speech modle
yindo added the 🙋‍♂️ question label 2026-02-21 18:19:00 -05:00
yindo closed this issue 2026-02-21 18:19:00 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 9, 2024):

Hello @hsoftxl! I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer. Let me know how I can assist you!

To create a workflow in Dify that processes an MP3 file through an audio model, then an LLM model, and finally a text-to-speech model, you can follow these steps:

  1. Audio Input: Dify supports direct processing of audio files, including MP3, using models like gpt-4o-audio-preview that can handle audio inputs without additional extractors [1].

  2. Audio Model: Choose an audio model that supports MP3 files. Available models include Alloy, Echo, Fable, Onyx, Nova, and Shimmer [2].

  3. LLM Model: After processing the audio input, you can pass the output to an LLM model for further processing. Ensure that the output format from the audio model is compatible with the input requirements of the LLM model.

  4. Text-to-Speech Model: Finally, use a text-to-speech model to convert the text output from the LLM model into speech. You will need to configure the text-to-speech model to accept the text input and produce the desired audio output.

Currently, specific integration details between these models in a single workflow are not provided in the available documentation, so you may need to experiment with the configuration to achieve the desired flow.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot[bot] commented on GitHub (Dec 9, 2024): <!-- Greeting --> Hello @hsoftxl! I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer. Let me know how I can assist you! <!-- Answer --> To create a workflow in Dify that processes an MP3 file through an audio model, then an LLM model, and finally a text-to-speech model, you can follow these steps: 1. **Audio Input**: Dify supports direct processing of audio files, including MP3, using models like `gpt-4o-audio-preview` that can handle audio inputs without additional extractors <sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/file-upload.md)</sup>. 2. **Audio Model**: Choose an audio model that supports MP3 files. Available models include Alloy, Echo, Fable, Onyx, Nova, and Shimmer <sup>[[2]](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/openai/tts/tts-1.yaml)</sup>. 3. **LLM Model**: After processing the audio input, you can pass the output to an LLM model for further processing. Ensure that the output format from the audio model is compatible with the input requirements of the LLM model. 4. **Text-to-Speech Model**: Finally, use a text-to-speech model to convert the text output from the LLM model into speech. You will need to configure the text-to-speech model to accept the text input and produce the desired audio output. Currently, specific integration details between these models in a single workflow are not provided in the available documentation, so you may need to experiment with the configuration to achieve the desired flow. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/8e2131c8-a4c3-462a-8712-08f437430098?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/8e2131c8-a4c3-462a-8712-08f437430098?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/8e2131c8-a4c3-462a-8712-08f437430098?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/8e2131c8-a4c3-462a-8712-08f437430098?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8e2131c8-a4c3-462a-8712-08f437430098?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/8e2131c8-a4c3-462a-8712-08f437430098?feedback_type=other)</sup>
Author
Owner

@DomoMKT commented on GitHub (Feb 3, 2025):

you can achieve exactly what you're looking for by checking out www.nemesyslabs.com, which provides high-quality text-to-speech conversion with super low latency and no need to create an account.

@DomoMKT commented on GitHub (Feb 3, 2025): you can achieve exactly what you're looking for by checking out [www.nemesyslabs.com](https://www.nemesyslabs.com), which provides high-quality text-to-speech conversion with super low latency and no need to create an account.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7118