返回顶部
f

free-resource免费资源搜索

Search and retrieve royalty-free media from Pixabay (images/videos), Freesound (audio effects), and Jamendo (music/BGM). Use when the user needs to find stock photos, illustrations, vectors, videos, sound effects, or background music, download media, or query media libraries with filters.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
393
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

free-resource

免费资源

从Pixabay、Freesound和Jamendo搜索并下载免版税图片、视频、音效和音乐。

快速开始

bash

1. 复制配置模板并填写你的API密钥


cp config.example.json config.json

2. 使用你的API密钥编辑config.json

3. 无需传递API密钥即可使用

bun ./scripts/jamendo.ts search --query 背景 --limit 5 bun ./scripts/freesound.ts search --query 钢琴 bun ./scripts/pixabay.ts search-images --query 自然

配置

API密钥存储在config.json中。复制config.example.json并填写你的密钥:

json
{
pixabay: {
apikey: 你的PIXABAYAPI_KEY
},
freesound: {
apitoken: 你的FREESOUNDTOKEN
},
jamendo: {
clientid: 你的JAMENDOCLIENT_ID
}
}

获取API密钥

平台类型获取API密钥
Pixabay图片/视频https://pixabay.com/accounts/register/
Freesound
音效 | https://freesound.org/apiv2/apply | | Jamendo | 音乐/BGM | https://devportal.jamendo.com/ |

API密钥优先级

  1. 1. CLI标志:--key、--token或--client-id
  2. 环境变量:PIXABAYAPIKEY、FREESOUNDAPITOKEN、JAMENDOCLIENTID
  3. 配置文件:config.json

Pixabay(图片和视频)

搜索图片

bash
bun ./scripts/pixabay.ts search-images --query 黄色花朵 --image-type photo --orientation horizontal --per-page 5

标志:--query、--id、--lang、--image-type(all|photo|illustration|vector)、--orientation(all|horizontal|vertical)、--category、--colors(逗号分隔)、--min-width、--min-height、--editors-choice、--safesearch、--order(popular|latest)、--page、--per-page(5-200)、--output(保存到文件)。

搜索视频

bash
bun ./scripts/pixabay.ts search-videos --query 海浪 --video-type film --per-page 5

下载

bash
bun ./scripts/pixabay.ts download --url https://pixabay.com/get/... --output /保存路径/图片.jpg



Freesound(音效)

搜索声音

bash
bun ./scripts/freesound.ts search --query 钢琴音符 --page-size 10

标志:--query、--filter、--sort、--fields、--page、--page-size(最大150)、--group-by-pack、--output。

筛选示例

bash
bun ./scripts/freesound.ts search --query 鼓 --filter duration:[0 TO 2]
bun ./scripts/freesound.ts search --query 环境 --filter type:wav
bun ./scripts/freesound.ts search --query 爆炸 --sort downloads_desc

获取声音详情

bash
bun ./scripts/freesound.ts get --id 12345 --fields id,name,previews,duration

下载预览

bash
bun ./scripts/freesound.ts download --id 12345 --output ./声音.mp3



Jamendo(音乐和BGM)

搜索音乐

bash
bun ./scripts/jamendo.ts search --query 摇滚 --limit 10

标志:--query、--tags、--fuzzytags、--artist-name、--album-name、--order、--limit(最大200)、--offset、--output。

音乐属性筛选

bash

器乐背景音乐


bun ./scripts/jamendo.ts search --query 背景 --vocalinstrumental instrumental

按标签搜索(AND逻辑)

bun ./scripts/jamendo.ts search --tags 电子+轻松 --order popularitytotaldesc

按速度搜索

bun ./scripts/jamendo.ts search --query 充满活力 --speed high+veryhigh

获取曲目详情

bash
bun ./scripts/jamendo.ts track --id 12345 --include musicinfo,stats

下载曲目

bash
bun ./scripts/jamendo.ts download --id 12345 --output ./音乐.mp3



API参考

有关完整的参数表、响应字段描述和速率限制详情,请参阅./references/api_reference.md。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 free-resource-1776278974 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 free-resource-1776278974 技能

通过命令行安装

skillhub install free-resource-1776278974

下载

⬇ 下载 free-resource v0.1.0(免费)

文件大小: 15.51 KB | 发布时间: 2026-4-16 18:28

v0.1.0 最新 2026-4-16 18:28
Initial release: Search and download royalty-free media from multiple sources.

- Supports Pixabay for images and videos, Freesound for sound effects, and Jamendo for music/BGM.
- CLI scripts provided for searching, filtering, and downloading content from all three platforms.
- Flexible API key management via CLI flags, environment variables, or config file.
- Documentation includes usage examples and filter options for each media type.
- Full API reference included for advanced queries.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部