- Large Language Model
- API Migration Guide
- Exclusive Feature
- Model Support
- OpenAI
- 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
- Open Source Model
- Large Language Model
- Chat(LLaMA3.3)
- Chat(LLaMA3.2 multimodal)
- Chat(LLaMA3.1)
- Chat(Mixtral-8x7B)
- Chat(Mistral-Large-2411)
- Chat(Mistral-small-2503)
- Chat(Pixtral-Large-2411multimodal)
- Chat(Gemma-7B、Gemma-3-27b-it)
- Chat(Gemma2-9B)
- Chat(Command R+)
- Chat(Qwen2)
- Chat(Qwen2.5)
- Chat(Qwen2.5-VL)
- Chat(Llama-3.1-nemotron)
- Chat(QwQ-32B、QwQ-Plus、QwQ-32B-Preview)
- Chat(Mistral-Large-2411) Copy
- Expert Model
- Other Models
- Image Generation
- 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
- Image Processing
- 302.AI
- Upscale
- Upscale-V2
- Upscale-V3
- Upscale-V4
- Super-Upscale
- Super-Upscale-V2
- Face-upscale
- Colorize
- Colorize-V2
- Removebg
- Removebg-V2
- 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
- Query Outfit Change Task Status
- Create Face Swap Task
- Query Face Swap Task Status
- Create a Task to Replace Any Item
- 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
- Vectorizer
- Stability.ai
- Glif
- Clipdrop
- Recraft
- BRIA
- Flux
- 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)
- Hyper3D
- Tripo3D
- FASHN
- Ideogram
- Doubao
- Kling
- 302.AI
- Video Generation
- Unified Interface
- 302.AI
- Stable Diffusion
- Luma AI
- Runway
- Kling
- 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)
- Extend_Video
- 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)
- Image2Video (Multiple pictures for reference)
- Fetch
- CogVideoX
- Minimax
- Pika
- PixVerse
- Genmo
- Hedra
- Haiper
- Sync.
- Lightricks
- Hunyuan
- Vidu
- Tongyi Wanxiang
- Jimeng
- SiliconFlow
- Kunlun Tech
- Audio/Video Processing
- 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
- 302.AI
- Information Processing
- 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
- Tavily
- SearchAPI
- Search1API
- Doc2x
- Glif
- Jina
- DeepL
- Exa
- Bocha AI
- RSSHub
- Firefly card
- Youdao
- Mistral
- 302.AI
- 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
- AI Prompt Expert
- Al Answer Machine
- AI 3D Modeling
- AI Search Master 3.0
- AI Vector Graphics Generation
- Web Data Extraction Tool
- 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
- Help Center
Query task status
GET
/302/vt/tasks/subtitle/{task_id}
Request
Authorization
Path Params
task_id
string
required
Header Params
Authorization
string
optional
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/vt/tasks/subtitle/' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz'
Responses
🟢200转录成功
application/json
Body
status
enum<string>
任务状态
Allowed values:
queueprocessingsuccessfail
result
object
required
subtitile
object
转录结果
Examples
{
"status": "success",
"result": {
"subtitile": {
"segments": [
{
"start": 0.216,
"end": 2.859,
"text": " The water cycle is a natural circular system.",
"words": [
{
"word": "The",
"start": 0.216,
"end": 0.316,
"score": 0.994
},
{
"word": "water",
"start": 0.356,
"end": 0.617,
"score": 0.893
},
{
"word": "cycle",
"start": 0.677,
"end": 1.097,
"score": 0.873
},
{
"word": "is",
"start": 1.257,
"end": 1.337,
"score": 0.758
},
{
"word": "a",
"start": 1.377,
"end": 1.417,
"score": 0.5
},
{
"word": "natural",
"start": 1.498,
"end": 1.878,
"score": 0.744
},
{
"word": "circular",
"start": 1.938,
"end": 2.439,
"score": 0.856
},
{
"word": "system.",
"start": 2.479,
"end": 2.859,
"score": 0.82
}
]
},
{
"start": 3.5,
"end": 9.087,
"text": "Water evaporates from the ground, forms clouds, and then returns to the ground in the form of rain.",
"words": [
{
"word": "Water",
"start": 3.5,
"end": 3.76,
"score": 0.862
},
{
"word": "evaporates",
"start": 3.82,
"end": 4.361,
"score": 0.865
},
{
"word": "from",
"start": 4.401,
"end": 4.521,
"score": 0.994
},
{
"word": "the",
"start": 4.561,
"end": 4.621,
"score": 0.999
},
{
"word": "ground,",
"start": 4.661,
"end": 5.002,
"score": 0.691
},
{
"word": "forms",
"start": 5.502,
"end": 5.783,
"score": 0.781
},
{
"word": "clouds,",
"start": 5.843,
"end": 6.243,
"score": 0.845
},
{
"word": "and",
"start": 6.664,
"end": 6.744,
"score": 0.893
},
{
"word": "then",
"start": 6.764,
"end": 6.904,
"score": 0.916
},
{
"word": "returns",
"start": 6.944,
"end": 7.325,
"score": 0.826
},
{
"word": "to",
"start": 7.365,
"end": 7.465,
"score": 0.688
},
{
"word": "the",
"start": 7.505,
"end": 7.565,
"score": 0.999
},
{
"word": "ground",
"start": 7.605,
"end": 7.905,
"score": 0.918
},
{
"word": "in",
"start": 8.206,
"end": 8.286,
"score": 0.819
},
{
"word": "the",
"start": 8.306,
"end": 8.366,
"score": 0.997
},
{
"word": "form",
"start": 8.406,
"end": 8.646,
"score": 0.855
},
{
"word": "of",
"start": 8.686,
"end": 8.746,
"score": 0.75
},
{
"word": "rain.",
"start": 8.826,
"end": 9.087,
"score": 0.827
}
]
},
{
"start": 9.687,
"end": 12.651,
"text": "This cyclical process is vital for life on Earth.",
"words": [
{
"word": "This",
"start": 9.687,
"end": 9.888,
"score": 0.894
},
{
"word": "cyclical",
"start": 9.968,
"end": 10.408,
"score": 0.887
},
{
"word": "process",
"start": 10.448,
"end": 10.969,
"score": 0.867
},
{
"word": "is",
"start": 11.369,
"end": 11.45,
"score": 0.668
},
{
"word": "vital",
"start": 11.51,
"end": 11.85,
"score": 0.884
},
{
"word": "for",
"start": 11.93,
"end": 12.07,
"score": 0.784
},
{
"word": "life",
"start": 12.11,
"end": 12.311,
"score": 0.916
},
{
"word": "on",
"start": 12.411,
"end": 12.471,
"score": 0.843
},
{
"word": "Earth.",
"start": 12.511,
"end": 12.651,
"score": 0.808
}
]
}
],
"word_segments": [
{
"word": "The",
"start": 0.216,
"end": 0.316,
"score": 0.994
},
{
"word": "water",
"start": 0.356,
"end": 0.617,
"score": 0.893
},
{
"word": "cycle",
"start": 0.677,
"end": 1.097,
"score": 0.873
},
{
"word": "is",
"start": 1.257,
"end": 1.337,
"score": 0.758
},
{
"word": "a",
"start": 1.377,
"end": 1.417,
"score": 0.5
},
{
"word": "natural",
"start": 1.498,
"end": 1.878,
"score": 0.744
},
{
"word": "circular",
"start": 1.938,
"end": 2.439,
"score": 0.856
},
{
"word": "system.",
"start": 2.479,
"end": 2.859,
"score": 0.82
},
{
"word": "Water",
"start": 3.5,
"end": 3.76,
"score": 0.862
},
{
"word": "evaporates",
"start": 3.82,
"end": 4.361,
"score": 0.865
},
{
"word": "from",
"start": 4.401,
"end": 4.521,
"score": 0.994
},
{
"word": "the",
"start": 4.561,
"end": 4.621,
"score": 0.999
},
{
"word": "ground,",
"start": 4.661,
"end": 5.002,
"score": 0.691
},
{
"word": "forms",
"start": 5.502,
"end": 5.783,
"score": 0.781
},
{
"word": "clouds,",
"start": 5.843,
"end": 6.243,
"score": 0.845
},
{
"word": "and",
"start": 6.664,
"end": 6.744,
"score": 0.893
},
{
"word": "then",
"start": 6.764,
"end": 6.904,
"score": 0.916
},
{
"word": "returns",
"start": 6.944,
"end": 7.325,
"score": 0.826
},
{
"word": "to",
"start": 7.365,
"end": 7.465,
"score": 0.688
},
{
"word": "the",
"start": 7.505,
"end": 7.565,
"score": 0.999
},
{
"word": "ground",
"start": 7.605,
"end": 7.905,
"score": 0.918
},
{
"word": "in",
"start": 8.206,
"end": 8.286,
"score": 0.819
},
{
"word": "the",
"start": 8.306,
"end": 8.366,
"score": 0.997
},
{
"word": "form",
"start": 8.406,
"end": 8.646,
"score": 0.855
},
{
"word": "of",
"start": 8.686,
"end": 8.746,
"score": 0.75
},
{
"word": "rain.",
"start": 8.826,
"end": 9.087,
"score": 0.827
},
{
"word": "This",
"start": 9.687,
"end": 9.888,
"score": 0.894
},
{
"word": "cyclical",
"start": 9.968,
"end": 10.408,
"score": 0.887
},
{
"word": "process",
"start": 10.448,
"end": 10.969,
"score": 0.867
},
{
"word": "is",
"start": 11.369,
"end": 11.45,
"score": 0.668
},
{
"word": "vital",
"start": 11.51,
"end": 11.85,
"score": 0.884
},
{
"word": "for",
"start": 11.93,
"end": 12.07,
"score": 0.784
},
{
"word": "life",
"start": 12.11,
"end": 12.311,
"score": 0.916
},
{
"word": "on",
"start": 12.411,
"end": 12.471,
"score": 0.843
},
{
"word": "Earth.",
"start": 12.511,
"end": 12.651,
"score": 0.808
}
]
}
}
}
🟢200翻译成功
🟢200烧录成功
🟢200下载成功
Modified at 2024-12-26 02:39:45