入门
在 Duaer 里查Pixabay 图片与视频
在 Duaer 里:Pixabay:免费照片、插画、矢量图与视频,含标签与文件链接。一次成功查询用 1 额度。
能拿到什么
Duaer 数据市场里的「Pixabay 图片与视频」:Pixabay:免费照片、插画、矢量图与视频,含标签与文件链接。查到结果时用 1 额度,结果交给数字组织的下一个节点。
从节点创建器选 Duaer 数据 → Pixabay 图片与视频,或打开 数据市场。相关:Pexels 图片与视频、图标。
适合做什么
- 为幻灯片找一张矢量插画。
- 找一段短背景视频。
在画布里检索
- 打开节点创建器,选 Duaer 数据 → Pixabay images and videos。
- 填 Words(如 mountain lake);Type(vector)可选。
- Limit 默认 10,最大 20。执行。
查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。
用 API 调用
- GET https://api.duaer.com/v1/data/pixabay?words=mountain%20lake
- Authorization: Bearer <Duaer key>
下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。
调用技能(英文)
与数据市场「复制技能」一致。
---
name: duaer-pixabay
description: >-
Duaer Pixabay images and videos. Pixabay: free photos, illustrations, vectors, and videos with tags and file links.
One successful search uses 1 Duaer credit.
---
# Duaer Pixabay images and videos
Duaer Pixabay images and videos searches Pixabay photos, illustrations, vectors, or videos and returns file links with tags and counts. Duaer holds the upstream API key; you only send your Duaer key.
## When to use
- Find a vector illustration for a slide.
- Find a short background video.
## When not to use
- Freely licensed images with full attribution data. Use https://skills.duaer.com/commons-media.md.
- Music. Use https://skills.duaer.com/jamendo.md.
## Call
`GET https://api.duaer.com/v1/data/pixabay?words=mountain%20lake`
Header: `Authorization: Bearer <Duaer key>`
Use an account key or a model API key.
Get a Duaer key: https://skills.duaer.com/keys.md
## Parameters
Provide `words`.
- `words` — Words describing the image or video, at most 100 characters.
- `type` — Optional. `photo`, `illustration`, `vector`, or `video`. Default `photo`.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.
## Examples
- `GET https://api.duaer.com/v1/data/pixabay?words=mountain%20lake` — mountain lake photos.
- `GET https://api.duaer.com/v1/data/pixabay?words=rocket&type=vector` — rocket vector graphics.
## Result
The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:
- `mediaType`, `pixabayId`, `tags`, `width`, `height`, `durationSeconds` — type, tags, and size.
- `imageUrl`, `previewUrl`, `videoUrl`, `thumbnailUrl` — file links.
- `author`, `views`, `downloads`, `likes`, `license` — author, counts, and the Pixabay Content License.
Pixabay file links are for display; download the file to keep it.
Fields without a value are left out.
## Credits
A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.
## Related
- https://skills.duaer.com/pexels.md — Duaer Pexels photos and videos
- https://skills.duaer.com/icons.md — Duaer Icons
常见问题
Duaer 的Pixabay 图片与视频检索扣多少额度?
查到结果时扣 1 额度;没有结果或出错不扣。
Duaer Pixabay 图片链接能长期使用吗?
Pixabay 的文件链接只适合展示,需要长期使用请下载保存。
同组