- 语言大模型
- 迁移API指南
- 独家功能
- 列出模型
- OpenAI
- Anthropic
- Gemini
- 国产模型
- 硅基流动
- 开源模型
- Chat(LLaMA3.3)
- Chat(LLaMA3.2多模态)
- Chat(LLaMA3.1)
- Chat(Mixtral-8x7B)
- Chat(Mistral-Large-2411)
- Chat(Mistral-small-2503)
- Chat(Pixtral-Large-2411多模态)
- 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)
- 专业模型
- 其他模型
- 图片生成
- 图片处理
- 302.AI
- Upscale(图片放大)
- Upscale-V2(图片放大V2)
- Upscale-V3(图片放大V3)
- Upscale-V4(图片放大V4)
- Super-Upscale(超级图片放大)
- Super-Upscale-V2(超级图片放大V2)
- Face-upscale(人像照片放大)
- Colorize(黑白照片上色)
- Colorize(黑白照片上色V2)
- Removebg(背景消除)
- Removebg-V2(背景消除V2)
- Inpaint(图片修改)
- Erase(物体消除)
- Face-to-many(人像照片风格化)
- Llava(图像识别)
- Relight(二次打光)
- Relight-background(二次打光背景合成)
- Relight-V2(二次打光-V2)
- Face-swap-V2(AI换脸V2)
- Fetch(获取任务结果)
- HtmltoPng(HTML转PNG格式)
- SvgToPng(SVG转PNG格式)
- image-translate(图片翻译)
- image-translate-query(图片翻译结果)
- image-translate-redo(图片翻译修改)
- Flux-selfie(自拍照片风格化)
- Trellis(图片转3D模型)
- Pose-Transfer(人物姿态变换)
- Pose-Transfer(人物姿态变换结果)
- Virtual-Tryon(虚拟穿衣)
- Virtual-Tryon(虚拟穿衣结果)
- Denoise(AI降噪)
- Deblur(AI去模糊)
- 302.AI-ComfyUI
- Vectorizer
- Stability.ai
- Fast Upscale(快速图片放大)
- Creative Upscale(创意图片放大)
- Conservative Upscale(保守图片放大)
- Fetch Creative Upscale(超级图片放大)
- Erase(物体消除)
- Inpaint(图片修改)
- Outpaint(图片扩展)
- Search-and-replace(内容替换)
- Search-and-recolor(内容重着色)
- Remove-background(背景消除)
- Sketch(草图转图片)
- Structure(以图生图)
- Style(风格一致性)
- Replace-Background(更换背景)
- Stable-Fast-3D(图片转3D模型)
- Stable-Point-3D(图片转3D模型新版)
- Glif
- Clipdrop
- Recraft
- BRIA
- Remove Background(背景消除)
- Blur Background(背景模糊)
- Generate Background(背景生成)
- Erase Foreground(擦除前景)
- Eraser(物体擦除)
- Expand Image(图片扩展)
- Increase Resolution(图片放大)
- Crop(图片裁切)
- Cutout(产品图裁剪)
- Packshot(产品图特写)
- Shadow (产品图阴影)
- Scene (产品图场景生成)
- Caption(图片描述)
- Register(图片上传)
- Mask(图片分割)
- Presenter info (人脸分析)
- Modify Presenter(人脸修改)
- Delayer Image(图片转PSD)
- Flux
- Hyper3D
- Tripo3D
- FASHN
- Ideogram
- Doubao
- Kling可灵
- 302.AI
- 视频生成
- 统一接口
- 302.AI
- Stable Diffusion
- Luma AI
- Runway
- Kling可灵
- Txt2Video(文生视频1.0-快速-5秒)
- Image2Video(图生视频1.0-快速-5秒)
- Image2Video(图生视频1.0-快速-10秒)
- Txt2Video_HQ(文生视频1.5-高清-5秒)
- Txt2Video_HQ(文生视频1.5-高清-10秒)
- Image2Video(图生视频1.5-快速-5秒)
- Image2Video(图生视频1.5-快速-10秒)
- Image2Video_HQ(图生视频1.5-高清-5秒)
- Image2Video_HQ(图生视频1.5-高清-10秒)
- Txt2Video(文生视频1.6-标准-5秒)
- Txt2Video(文生视频1.6-标准-10秒)
- Txt2Video(文生视频1.6-高清-5秒)
- Txt2Video(文生视频1.6-高清-10秒)
- Image2Video(图生视频1.6-标准-5秒)
- Image2Video(图生视频1.6-标准-10秒)
- Image2Video(图生视频1.6-高清-5秒)
- Image2Video(图生视频1.6-高清-10秒)
- Txt2Video(文生视频2.0-高清-5秒)
- Image2Video(图生视频2.0-高清-5秒)
- Image2Video(图生视频2.0-高清-10秒)
- Image2Video(多图参考)
- Extend_Video(视频扩展)
- Fetch(获取任务结果)
- CogVideoX智谱
- Minimax海螺
- Pika
- PixVerse
- Genmo
- Hedra
- Haiper
- Sync.
- Lightricks
- Hunyuan混元
- Vidu
- 通义万相
- 即梦
- 硅基流动
- 昆仑万维
- 音视频处理
- 信息处理
- 302.AI
- 管理后台
- 信息搜索
- Xiaohongshu_Search(小红书搜索笔记)
- Xiaohongshu_Note(小红书获取笔记)
- Tiktok_Search(Tiktok搜索视频)
- Douyin_Search(抖音搜索视频)
- Twitter_Search(X搜索内容)
- Twitter_Post(X获取用户帖子)
- Twitter_User(X获取用户信息)
- Weibo_Post(微博获取用户帖子)
- Search_Video(Youtube搜索视频)
- Youtube_Info(Youtube获取视频信息)
- Youtube_Subtitles(Youtube获取字幕)
- Bilibili_Info(B站获取视频信息)
- MP_Article_List(获取微信公众号文章列表)
- MP_Article(获取微信公众号文章)
- 文件处理
- 代码运行
- 远程浏览器
- Tavily
- SearchAPI
- Search1API
- Exa
- 博查AI
- Doc2x
- Glif
- Jina
- DeepL
- RSSHub
- 流光卡片
- 有道
- Mistral
- RAG相关
- 工具API
- 帮助中心
查询浏览器任务状态
正式环境
正式环境
GET
https://api.302.ai/302/browser/tasks/{task_id}
请求参数
Path 参数
task_id
string
必需
Header 参数
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.302.ai/302/browser/tasks/' \
--header 'Authorization: Bearer '
返回响应
🟢200成功
application/json
Body
task_id
string
必需
status
enum<string>
必需
枚举值:
queuerunningfinishedfail
result
string
最终结果
is_successful
boolean
任务是否成功
current_step
integer
当前处于第几轮子任务
steps
array [object {6}]
子任务信息
evaluation_previous_goal
string
评估当前子任务完成情况
next_goal
string
下一个子任务的模板
memory
string
当前子任务的操作日志信息
action
array [object {5}]
当前任务的操作
step
integer
必需
extracted_content
array[string]
提取出的内容列表
示例
{
"task_id": "26cbe8e5-2386-4fd9-8043-ab460aa6b4cd",
"status": "finished",
"result": "Today's weather in Guangzhou on April 9, 2025, includes a high of 26°C, a low of 19°C, and conditions such as cloudy skies, sunny in the afternoon, cloudy and windy at times. Precipitation is forecasted with around 5.9 mm of rain.",
"is_successful": true,
"current_step": 3,
"steps": [
{
"evaluation_previous_goal": "Unknown - I am starting with an empty page and need to gather information.",
"next_goal": "Search for Guangzhou's weather for today using Google to find the information.",
"memory": "Ultimate task is to find Guangzhou's weather for today as of 2025-04-09. Starting from a blank page with no interactive elements.",
"action": [
{
"search_google": {
"query": "Guangzhou weather April 9 2025"
}
}
],
"step": 1
},
{
"evaluation_previous_goal": "Success - Search query executed correctly, and results are visible.",
"next_goal": "Extract information from one of the top results to find today's weather in Guangzhou.",
"memory": "I have searched for the weather in Guangzhou for April 9, 2025. The search query returned multiple weather websites with relevant information.",
"action": [
{
"extract_content": {
"goal": "Extract weather information for Guangzhou on April 9, 2025",
"should_strip_link_urls": true
}
}
],
"extracted_content": [
"```json\n{\n \"weather_information\": {\n \"date\": \"April 9, 2025\",\n \"location\": \"Guangzhou, Guangdong, China\",\n \"weather_summary\": {\n \"temperature\": {\n \"daytime_high\": \"26°C\",\n \"nighttime_low\": \"19°C\",\n \"average\": \"Between 71°F and 82°F\"\n },\n \"conditions\": \"Cloudy skies, Sunny in afternoon, Cloudy and windy at times in the evening\",\n \"precipitation\": {\n \"amount\": \"Heavy rainfall with roughly 20 rainy days expected in April\",\n \"daily\": \"5.9 mm on April 9 with rain expected in the month\"\n },\n \"wind\": \"Winds S at 5 to 10 mph\",\n \"humidity\": \"Low heat and humidity\"\n }\n }\n}\n```"
],
"step": 2
},
{
"evaluation_previous_goal": "Success - I extracted the required weather information for Guangzhou on April 9, 2025.",
"next_goal": "Complete the task as the ultimate goal has been achieved.",
"memory": "I have obtained today's weather for Guangzhou on April 9, 2025: High of 26°C, Low of 19°C, conditions include clouds and wind. Used 3/100 steps.",
"action": [
{
"done": {
"text": "Today's weather in Guangzhou on April 9, 2025, includes a high of 26°C, a low of 19°C, and conditions such as cloudy skies, sunny in the afternoon, cloudy and windy at times. Precipitation is forecasted with around 5.9 mm of rain.",
"success": true
}
}
],
"step": 3
}
]
}
修改于 2025-04-09 11:44:12