- Large Language Model
- API Migration Guide
- Exclusive Feature
- Model Support
- OpenAI
- Chat(Talk)
- Responses(Talk)
- Chat(Streamed return.)
- Chat (gpt-4o Image Analysis)
- Chat (gpt-4o Structured Output)
- Chat (gpt-4o function call)
- Chat (gpt-4-plus image analysis)
- Chat (gpt-4-plus image generation)
- Chat(gpt-4o-image-generation modify image)
- Chat (gpts model)
- Chat (chatgpt-4o-latest)
- Chat (o1 Series Model)
- Chat (o3 Series Model)
- Chat(o4 Series)
- Chat(gpt-4o audio model)
- Responses(Deep-Research)
- Anthropic
- Gemini
- China Model
- Chat (Baidu ERNIE)
- Chat (Tongyi Qianwen)
- Chat (Tongyi Qianwen-VL)
- Chat(Tongyi Qianwen-OCR)
- Chat (Zhipu GLM-4)
- Chat (Zhipu GLM-4V)
- Chat (Baichuan AI)
- Chat (Moonshot AI)
- Chat (Moonshot AI-Vision)
- Chat (01.AI)
- Chat (01.AI-VL)
- Chat (DeepSeek)
- Chat (DeepSeek-VL2)
- Chat (ByteDance Doubao)
- Chat (ByteDance Doubao-Vision)
- Chat(ByteDance Doubao Image Generation)
- Chat (Stepfun)
- Chat (Stepfun Multimodal)
- Chat (iFLYTEK Spark)
- Chat (SenseTime)
- Chat(Minimax)
- Chat (Tencent Hunyuan)
- SiliconFlow
- PPIO
- Open Source Model
- Expert Model
- Other Models
- Image Generation
- Unified interface
- GPT-Image-1
- DALL.E
- Stability.ai
- Text-to-image (Image Generation-V1)
- Generate (Image Generation-SD2)
- Generate (Image Generation-SD3-Ultra)
- Generate (Image Generation-SD3)
- Generate(Image Generation-SD3.5-Large)
- Generate(Image Generation-SD3.5-Medium)
- Generate(Image to Image-SD3)
- Generate(Image to Image-SD3.5-Large)
- Generate(Image to Image-SD3.5-Medium)
- Midjourney
- Midjourney-Relax
- 302.AI
- Glif
- Flux
- Ideogram
- Recraft
- Luma
- Doubao
- Minimax
- ZHIPU
- Baidu
- Hidream
- Bagel
- SiliconFlow
- Image Processing
- 302.AI
- Upscale
- Upscale-V2
- Upscale-V3
- Upscale-V4
- Super-Upscale
- Super-Upscale-V2
- Face-upscale
- Colorize
- Colorize-V2
- Removebg
- Removebg-V2
- Removebg-V3
- Inpaint
- Erase
- Face-to-many
- Llava
- Relight
- Relight-background
- Relight-V2
- Face-swap-V2
- Fetch
- HtmltoPng
- SvgToPng
- image-translate
- image-translate-query
- image-translate-redo
- Flux-selfie
- Trellis(Image to 3D model)
- Pose-Transfer(Human Pose Transformation)
- Pose-Transfer(Human Pose Transformation Result)
- Virtual-Tryon
- Virtual-Tryon(Fetch Result)
- Denoise(AI Denoising)
- Deblur(AI Deblurring)
- 302.AI-ComfyUI
- Create Outfit Change Task
- Create Outfit Change Task (Upload Mask)
- Query Outfit Change Task Status
- Create Face Swap Task
- Query Face Swap Task Status
- Create a Task to Replace Any Item
- Create Object Replacement Task (Upload Mask)
- Check the Status of Any Object Replacement Task
- Create a Task to Transform Cartoon Characters into Real People
- Query the status of the task to turn a manga character into a real person
- Create Style Transfer Task
- Query the status of the style transfer task
- Create Image Removal Task
- Query Image Removal Task Status
- Create Video Face Swap Task
- Query Video Face Swap Task Status
- Vectorizer
- Stability.ai
- Glif
- Clipdrop
- Recraft
- BRIA
- Flux
- 官方API
- Flux-V1.1-Ultra-Redux(Image-to-image generation-Ultra)
- Flux-V1.1-Pro-Redux(Image-to-image generation-Pro)
- Flux-Dev-Redux(Image-to-image generation-Dev)
- Flux-Schnell-Redux(Image-to-image generation-Schnell)
- Flux-V1-Pro-Canny(Object consistency)
- Flux-V1-Pro-Depth(Depth consistency)
- Flux-V1-Pro-Fill(Partial repainting)
- Flux-Kontext-Pro(Image Edit)
- Flux-Kontext-Max(Image Edit)
- Hyper3D
- Tripo3D
- FASHN
- Ideogram
- Doubao
- Kling
- StepFun
- Bagel
- 302.AI
- Video Generation
- Unified Interface
- 302.AI
- Stable Diffusion
- Luma AI
- Runway
- Kling
- 302 format
- Txt2Video(Text to Video 1.0 Rapid-5s)
- Txt2Video_HQ(Text to Video 1.5 HQ-5s)
- Txt2Video_HQ(Text to Video 1.5 HQ-10s)
- Image2Video(Image to Video 1.0 Rapid-5s)
- Image2Video(Image to Video 1.0 Rapid-10s)
- Image2Video(Image to Video 1.5 Rapid-5s)
- Image2Video(Image to Video 1.5 Rapid-10s)
- Image2Video_HQ(Image to Video 1.5 HQ-5s)
- Image2Video_HQ(Image to Video 1.5 HQ-10s)
- Txt2Video(Text to Video 1.6 Standard-5s)
- Txt2Video(Text to Video 1.6 Standard-10s)
- Txt2Video(Text to Video 1.6 HQ-5s)
- Txt2Video(Text to Video 1.6 HQ-10s)
- Image2Video(Image to Video 1.6 Standard-5s)
- Image2Video(Image to Video 1.6 Standard-10s)
- Image2Video(Image to Video 1.6 HQ-5s)
- Image2Video(Image to Video 1.6 HQ-10s)
- Txt2Video(Text-to-Video 2.0 – HD – 5s)
- Image2Video(Image-to-Video 2.0 – HD – 5s)
- Image2Video(Image-to-Video 2.0 – HD – 10s)
- Image2Video (Multiple pictures for reference)
- Image2Video(Multiple pictures for reference)
- Extend_Video
- Image2Video(Image video 2.1-5 seconds)
- Image2Video(Image video 2.1-10 seconds)
- Image2Video(Image Video 2.1-HD-10 seconds)
- Image2Video(Image Video 2.1-HD-5 seconds)
- Fetch
- Official format
- 302 format
- CogVideoX
- Minimax
- Pika
- 1.5 pikaffects(Image-to-Video Generation)
- Turbo Generate(Text-to-Video Generation)
- Turbo Generate(Text-to-Video Generation)
- 2.1 Generate(Text-to-Video Generation)
- 2.1 Generate(Image-to-Video Generation)
- 2.2 Generate(Text-to-Video Generation)
- 2.2 Generate(Image-to-Video Generation)
- 2.2 Pikascenes(Generate scene videos)
- Fetch(Result)
- PixVerse
- Genmo
- Hedra
- Haiper
- Sync.
- Lightricks
- Hunyuan
- Vidu
- Vidu(Text-to-Video)
- Vidu(Image to Video)
- Vidu(Generate video from the first and last frames)
- Vidu(Reference-based video generation)
- Vidu(Generate scene video)
- Vidu(Smart Ultra HD)
- Fetch(Retrieve Task Results)
- Vidu V2(Text-to-Video Generation)
- Vidu V2(Image-to-Video)
- Vidu V2(Start-and-End Frame Video Generation)
- Vidu V2(Subject-Driven Video Generation)
- Vidu(Scene Video Generation V2)
- Vidu V2(AI Ultra HD – Premium)
- Fetch V2(Retrieve Task Result)
- Tongyi Wanxiang
- Jimeng
- SiliconFlow
- Google
- Veo3-Fast(Text-to-video)
- Veo3-Fast(Get task result)
- Veo3-Pro(Text-to-video)
- Veo3-Pro(Get task result)
- Veo3-Pro-Frames(Image and Text to Video Generation)
- Veo3-Pro-Frames(Veo3-Pro-Frames)
- Veo2(Text-to-video)
- Veo2-i2v(Image to video generation)
- Veo2(Get task results)
- Veo3 (Text-to-video)
- Veo3 (Get task result)
- Kunlun Tech
- Higgsfield
- Chanjing
- Midjourney
- Audio/Video Processing
- Unified interface
- 302.AI
- Stable-Audio(instrumental generation)
- Transcript (Audio/Video to Text)
- Transcriptions(Speech to Text)
- Alignments(Subtitle Timing)
- WhisperX
- F5-TTS(Text to Speech)
- F5-TTS (Asynchronous Text-to-Speech)
- F5-TTS (Asynchronously Retrieve Results)
- mmaudio(Text-to-Speech)
- mmaudio(AI Video Voiceover)
- mmaudio (Asynchronous Result Retrieval)
- Diffrhythm(Song Generation)
- OpenAI
- Azure
- Suno
- Doubao
- Fish Audio
- Minimax
- Dubbingx
- Udio
- Elevenlabs
- Mureka
- SiliconFlow
- Google
- Chanjing
- Information Processing
- Unified Search API
- 302.AI
- Admin Dashboard
- Information search
- Xiaohongshu_Search
- Xiaohongshu_Note
- Get_Home_Recommend
- Tiktok_Search
- Douyin_Search
- Twitter_Search
- Twitter_Post(X_Post)
- Twitter_User(X_User)
- Weibo_Post
- Search_Video
- Youtube_Info
- Youtube_Subtitles(Youtube Obtain Subtitles)
- Bilibili_Info(Bilibili Obtain Video Information)
- MP_Article_List(Get the list of WeChat official account articles)
- MP_Article(Retrieve WeChat Official Account articles)
- File processing
- Code execution
- Remote Browser
- Paper2Code
- Tavily
- SearchAPI
- Search1API
- Exa
- Bocha AI
- Doc2x
- Glif
- Jina
- DeepL
- RSSHub
- Firefly card
- Youdao
- Mistral
- Firecrawl
- RAG-related
- Tools API
- AI Video Creation Hub
- AI Paper Writing
- AI Podcast Production
- AI Writing Assistant
- AI Video Real-Time Translation
- AI Document Editor
- Web Data Extraction Tool
- AI Prompt Expert
- AI 3D Modeling
- AI Search Master 3.0
- AI Vector Graphics Generation
- Al Answer Machine
- AI PPT Generator
- Generate PPT interface with one click
- File parsing
- Generate an outline
- Generate outline content
- Get template options
- Generate PPT interface (synchronous interface)
- Load PPT data
- Generate PPT interface (asynchronous interface)
- Asynchronous query generates PPT status
- Download PPT
- Add/update custom PPT templates
- Pagination query PPT template
- AI Academic Paper Search
- One-Click Website Deployment
- AI Avatar Maker
- AI Card Generation
- AI Image Creative Station API
- Help Center
Query TTS Provider Information
GET
/302/tts/provider
Request
Query Params
provider
string
optional
e.g.: /302/tts/provider?provider=azure&provider=doubao
Example:
doubao
Header Params
Authorization
string
required
Example:
Bearer {{YOUR_API_KEY}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.302.ai/302/tts/provider?provider=doubao' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz'
Responses
🟢200成功
application/json
Body
provider_list
array [object {2}]
供应商列表
provider
string
供应商名字
req_params_info
object
TTS接口传参信息
Example
{"provider_list":[{"provider":"openai","req_params_info":{"model_list":["gpt-4o-mini-tts","tts-1","tts-1-hd"],"voice_list":[{"voice":"alloy","name":"alloy","sample":{"zh":"https://file.302.ai/gpt/tts/alloy-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/alloy-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/alloy-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"ash","name":"ash","sample":{"zh":"https://file.302.ai/gpt/tts/ash-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/ash-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/ash-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"ballad","name":"ballad","sample":{"zh":"https://file.302.ai/gpt/tts/ballad-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/ballad-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/ballad-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"coral","name":"coral","sample":{"zh":"https://file.302.ai/gpt/tts/coral-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/coral-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/coral-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"echo","name":"echo","sample":{"zh":"https://file.302.ai/gpt/tts/echo-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/echo-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/echo-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"fable","name":"fable","sample":{"zh":"https://file.302.ai/gpt/tts/fable-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/fable-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/fable-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"onyx","name":"onyx","sample":{"zh":"https://file.302.ai/gpt/tts/onyx-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/onyx-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/onyx-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"nova","name":"nova","sample":{"zh":"https://file.302.ai/gpt/tts/nova-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/nova-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/nova-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"sage","name":"sage","sample":{"zh":"https://file.302.ai/gpt/tts/sage-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/sage-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/sage-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"shimmer","name":"shimmer","sample":{"zh":"https://file.302.ai/gpt/tts/shimmer-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/shimmer-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/shimmer-ja-sample.mp3"},"gender":"","emotion":[]},{"voice":"verse","name":"verse","sample":{"zh":"https://file.302.ai/gpt/tts/verse-zh-sample.mp3","en":"https://file.302.ai/gpt/tts/verse-en-sample.mp3","ja":"https://file.302.ai/gpt/tts/verse-ja-sample.mp3"},"gender":"","emotion":[]}],"output_format_list":["mp3","opus","aac","flac","wav","pcm"]}},{"provider":"azure","req_params_info":{"model_list":[],"voice_list":[{"voice":"af-ZA-AdriNeural","name":"Adri","sample":{},"gender":"female","emotion":[]},{"voice":"af-ZA-WillemNeural","name":"Willem","sample":{},"gender":"male","emotion":[]},{"voice":"am-ET-MekdesNeural","name":"Mekdes","sample":{},"gender":"female","emotion":[]},{"voice":"am-ET-AmehaNeural","name":"Ameha","sample":{},"gender":"male","emotion":[]},{"voice":"ar-AE-FatimaNeural","name":"Fatima","sample":{},"gender":"female","emotion":[]},{"voice":"ar-AE-HamdanNeural","name":"Hamdan","sample":{},"gender":"male","emotion":[]},{"voice":"ar-BH-LailaNeural","name":"Laila","sample":{},"gender":"female","emotion":[]},{"voice":"ar-BH-AliNeural","name":"Ali","sample":{},"gender":"male","emotion":[]},{"voice":"ar-DZ-AminaNeural","name":"Amina","sample":{},"gender":"female","emotion":[]},{"voice":"ar-DZ-IsmaelNeural","name":"Ismael","sample":{},"gender":"male","emotion":[]},{"voice":"ar-EG-SalmaNeural","name":"Salma","sample":{},"gender":"female","emotion":[]},{"voice":"ar-EG-ShakirNeural","name":"Shakir","sample":{},"gender":"male","emotion":[]},{"voice":"ar-IQ-RanaNeural","name":"Rana","sample":{},"gender":"female","emotion":[]},{"voice":"ar-IQ-BasselNeural","name":"Bassel","sample":{},"gender":"male","emotion":[]},{"voice":"ar-JO-SanaNeural","name":"Sana","sample":{},"gender":"female","emotion":[]},{"voice":"ar-JO-TaimNeural","name":"Taim","sample":{},"gender":"male","emotion":[]},{"voice":"ar-KW-NouraNeural","name":"Noura","sample":{},"gender":"female","emotion":[]},{"voice":"ar-KW-FahedNeural","name":"Fahed","sample":{},"gender":"male","emotion":[]},{"voice":"ar-LB-LaylaNeural","name":"Layla","sample":{},"gender":"female","emotion":[]},{"voice":"ar-LB-RamiNeural","name":"Rami","sample":{},"gender":"male","emotion":[]},{"voice":"ar-LY-ImanNeural","name":"Iman","sample":{},"gender":"female","emotion":[]},{"voice":"ar-LY-OmarNeural","name":"Omar","sample":{},"gender":"male","emotion":[]},{"voice":"ar-MA-MounaNeural","name":"Mouna","sample":{},"gender":"female","emotion":[]},{"voice":"ar-MA-JamalNeural","name":"Jamal","sample":{},"gender":"male","emotion":[]},{"voice":"ar-OM-AyshaNeural","name":"Aysha","sample":{},"gender":"female","emotion":[]},{"voice":"ar
Modified at 2025-05-13 02:40:42