Search Open Media
search_open_media"Find free-to-use / royalty-free / Creative Commons images, audio or video of [X] I can legally use" -- one call across Openverse, Wikimedia Commons, Pixabay and Pexels. Every result has the same shape: title, creator, media url, thumbnail, size or duration, publisher, licence (id, version, url), booleans for commercial use / modification / attribution required, and a ready-to-paste attribution line. Filter by licence class (commercial, commercial without attribution, commercial and modifiable), media type and minimum size. Results from different publishers are interleaved and the same file listed by two of them is returned once. The sources array reports every publisher's status (ok, empty, skipped, needs_key, rate_limited, error) so a failed one is named, never dropped. Pixabay is included for every caller and Pexels for registered callers, with no key needed; anonymous callers get Pexels only with their own pexels_key, otherwise it shows as needs_key.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 10,
"query": "rain",
"media_type": "audio",
"licence_class": "commercial"
},
"name": "search_open_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results returned, 1-60 (default 20). | |
| query | Yes | What to find, e.g. "rain on a window", "red panda". | |
| sources | No | Restrict to some publishers. Default all that carry the media type. | |
| min_width | No | Minimum width in px (images and video). | |
| media_type | No | Default image. Audio: Openverse and Wikimedia Commons. Video: Wikimedia Commons, Pixabay, Pexels. | |
| min_height | No | Minimum height in px (images and video). | |
| pexels_key | No | Optional. Your own Pexels API key. Registered callers do not need it (Pexels is queried with our key); anonymous callers must pass it or Pexels is reported as needs_key. | |
| pixabay_key | No | Optional. Your own Pixabay API key; it takes precedence over the platform key. Normally not needed: Pixabay is queried with our key. Reported as needs_key only if no key is available (for example the platform key is exhausted). | |
| licence_class | No | Default any. commercial = commercial use allowed; commercial_no_attribution = also needs no credit line (CC0, public domain, Pixabay, Pexels); commercial_modifiable = commercial use and derivatives allowed. Results whose licence could not be classified are excluded when a class is set and counted in `excluded_unclassified`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | No | ||
| query | No | ||
| results | No | ||
| sources | No | ||
| media_type | No | ||
| licence_class | No | ||
| excluded_by_filter | No | ||
| excluded_unclassified | No |