Skip to content

[Feature]可否支持跃阶星辰的语音转文本模型stepaudio-2.5-asr,上线了step plan,目前astrbot无法使用 #7774

Description

@tutianyu101

Description / 描述

请问可否支持跃阶星辰的语音转文本模型stepaudio-2.5-asr,上线了step plan,目前astrbot无法使用

Image

用openai的无法使用

Image Image

Use Case / 使用场景

请问可否支持跃阶星辰的语音转文本模型stepaudio-2.5-asr,上线了step plan,目前astrbot无法使用

Image

官网示范格式:
curl -X POST 'https://api.stepfun.com/step_plan/v1/audio/asr/sse'
-H 'Content-Type: application/json'
-H 'Accept: text/event-stream'
-H "Authorization: Bearer $STEP_API_KEY"
-d '{
"audio": {
"data": "base64_encoded_audio",
"input": {
"transcription": {
"model": "stepaudio-2.5-asr",
"language": "zh",
"enable_itn": true
},
"format": {
"type": "pcm",
"codec": "pcm_s16le",
"rate": 16000,
"bits": 16,
"channel": 1
}
}
}
}'

Willing to Submit PR? / 是否愿意提交PR?

  • Yes, I am willing to submit a PR. / 是的,我愿意提交 PR。

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:providerThe bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions