下载视频
已上线粘贴视频链接,即可获得带声音的完整视频文件,可直接观看、剪辑或分析。
Download video
Download the complete source video from a link, then watch it or use it for a breakdown.
从余额扣费 · 一个视频 · 最大 256 MB
Files are processed privately and are not published. Analysis sends selected media to an AI model; temporary source files are removed afterward.
Open image generation and editingAPI endpoint
POST /v1/media/video-downloadAuthenticate with an API key. Download accepts JSON with url and optional max_height; inspection accepts multipart file. Keys stay in memory.
示例输出这是对一部知识共享许可预告片的真实运行结果。使用你自己的链接或文件即可替换。
Big Buck Bunny trailer (CC) Blender Foundation | www.bigbuckbunny.org — CC BY 3.0, via Wikimedia Commons
运作方式
- 01粘贴链接来自 YouTube、Instagram、TikTok、Vimeo 等网站的视频页面。
- 02获取完整视频带声音的完整文件,以网站提供的最佳画质。
- 03保存或分析保存 MP4,或直接发送到视频分析。
从代码调用 下载视频
One endpoint and one key, on the same balance as the playground. The request below is the example's own.
https:/ / api.opennan.com/ v1/ media/ video-download获取 API 密钥
在控制台创建密钥。它与试用区使用同一余额。
创建密钥发送第一个请求
与试用区发送的请求相同。把 OPENNAN_KEY 设为你的密钥。
curl https://api.opennan.com/v1/media/video-download \ -H "Authorization: Bearer $OPENNAN_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://commons.wikimedia.org/wiki/File:Big_Buck_Bunny_Trailer_1080p.ogg","max_height":1080}' \ -o video.mp4读取结果
结果在同一个响应里返回。X-Usage-Cost-Usd 响应头写明本次调用的费用。
错误及解决方法
401缺少密钥或密钥错误
用 Authorization: Bearer 请求头发送控制台中的密钥。
402余额不足
在账单页面充值,然后重新发送同一请求。
400有值不被接受
查看 error.message,它会指出字段。请使用参数表中的值。
429请求过多
等几秒再试,每次遇到 429 都等得更久一些。
下载视频:常见问题
下载视频 多少钱?
From $0.392 per run. The Run button shows the exact price for your input before you start.
如何从代码调用?
带上 API 密钥发送 POST https://api.opennan.com/v1/media/video-download。结果在同一个响应里返回。
我的 AI 智能体能用吗?
能。让智能体阅读 https://api.opennan.com/llms.txt,里面说明了这个接口和其他所有接口。
运行失败会怎样?
失败的运行不收费。只为结果付费。