定價頁 | 點此進入 |
免費方式 | N/A |
定價方式 | 商務咨詢 |
采購渠道 | 官網 |
API適用國家/地區(qū) | 美國 |
支持語言 | N/A |
Shutterstock是什么公司
更多Shutterstock是一個提供庫存圖片、照片、矢量圖、視頻和音樂的在線平臺。用戶可以通過搜索關鍵詞,找到數百萬種呈現故事的方式。Shutterstock還提供AI內容生成工具,以及企業(yè)解決方案。主營業(yè)務包括圖片、視頻、新聞傳媒、音樂、音效、模板等。
Shutterstock的API接口(產品與功能)
如果你正在從事涉及照片、視頻或音樂的項目,你可能會發(fā)現Shutterstock的公共API文檔非常有用。它們允許開發(fā)者以編程方式訪問Shutterstock龐大的媒體資產庫。
要訪問Shutterstock的公共API,你需要一個API密鑰。你可以在開發(fā)者門戶注冊一個免費賬戶并申請一個API密鑰。一旦你有了密鑰,你就可以開始探索API端點并開始發(fā)送請求。
Shutterstock提供了幾個API端點來訪問他們的媒體資產。最常用的端點是那些用于搜索和下載圖片、視頻和音樂的端點。
以下是如何使用這些端點的一些示例:
fetch('https://api.shutterstock.com/v2/images/search?query=cat', {
method: 'GET',
headers: {
Authorization: 'Bearer 你的訪問令牌'
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.log(error));
fetch('https://api.shutterstock.com/v2/videos/search?query=cat', {
method: 'GET',
headers: {
Authorization: 'Bearer 你的訪問令牌'
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.log(error));
fetch('https://api.shutterstock.com/v2/image-downloads/圖片ID', {
method: 'POST',
headers: {
Authorization: 'Bearer 你的訪問令牌'
}
})
.then(response => response.blob())
.then(blob => URL.createObjectURL(blob))
.then(url => console.log(url))
.catch(error => console.log(error));
fetch('https://api.shutterstock.com/v2/video-downloads/視頻ID', {
method: 'POST',
headers: {
Authorization: 'Bearer 你的訪問令牌'
}
})
.then(response => response.blob())
.then(blob => URL.createObjectURL(blob))
.then(url => console.log(url))
.catch(error => console.log(error));
Shutterstock的公共API是開發(fā)者在涉及媒體資產的項目中的強大工具。通過上面提供的示例,你可以開始使用API來搜索和下載圖片、視頻和音樂。要了解更多關于不同端點及其參數的信息,請查看Shutterstock開發(fā)者門戶。
Shutterstock API的價格(API免費方式與收費標準)
在選擇API服務商時,綜合評估以下維度,選擇最適合自己需求的API服務商,確保技術兼容性和成本效益。
Shutterstock API Key怎么獲?。ˋPI調用與對接教程)
Shutterstock的最佳替代品(競品對比) (更多)
YAY Images是一個提供免版稅圖片、矢量圖和視頻素材的平臺,擁有超過1571萬張圖片、30.752萬高清視頻和304萬矢量圖。用戶可以免費注冊賬號,享受每日10張免費下載,并使用AI文本到圖像生成器創(chuàng)造無限創(chuàng)意。