跳到正文
Skillpedia
自动化77k · #2117

googlephotos-automation

它能做什么

这个工具可以帮你整理 Google Photos 中的照片。你可以上传新照片、创建相册、搜索旧照片,还可以把照片添加到已有的相册中。

适用场景

  • ✓想把度假照片整理到一个相册里的时候。
  • ✓想找到很久以前拍的某张照片的时候。
  • ✓想一次性把多张照片上传到 Google Photos 的时候。

技能链接

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/googlephotos-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/googlephotos-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“创建一个名为“Beach Trip”的相册,并把“Downloads/Beach”文件夹里的照片上传到相册中。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具连接 Google Photos,并使用特定的命令来完成你提出的操作,比如创建相册或上传文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Google Photos Automation via Rube MCP

Upload photos, manage albums, search media items, and batch-organize content in Google Photos using Rube MCP (Composio).

Toolkit docs: composio.dev/toolkits/googlephotos

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active connection via RUBE_MANAGE_CONNECTIONS with toolkit googlephotos
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit googlephotos
  3. If connection is not ACTIVE, follow the returned auth link to complete setup
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. List Albums

Use GOOGLEPHOTOS_LIST_ALBUMS to retrieve all albums visible in the user's Albums tab.

Tool: GOOGLEPHOTOS_LIST_ALBUMS
Parameters:
  - pageSize: Number of albums per page
  - pageToken: Pagination token
  - excludeNonAppCreatedData: Only show albums created by this app

2. Create a New Album

Use GOOGLEPHOTOS_CREATE_ALBUM to create a new album in Google Photos.

Tool: GOOGLEPHOTOS_CREATE_ALBUM
Parameters:
  - title (required): Album title

3. Upload Media

Use GOOGLEPHOTOS_UPLOAD_MEDIA to upload an image or video file to Google Photos.

Tool: GOOGLEPHOTOS_UPLOAD_MEDIA
Parameters:
  - file_to_upload: Local file path to upload
  - url: URL of file to upload (alternative to file_to_upload)
  - file_name: Name for the uploaded file
  - description: Description/caption for the media item

4. Batch Upload and Create Media Items

Use GOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMS to upload multiple files and create media items in one operation.

Tool: GOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMS
Parameters:
  - files: Local file paths to upload
  - urls: URLs of files to upload
  - media_files: Mixed input (files and URLs)
  - albumId: Album to add items to
  - albumPosition: Position within the album

5. Search Media Items

Use GOOGLEPHOTOS_SEARCH_MEDIA_ITEMS to search the user's photo library with filters.

Tool: GOOGLEPHOTOS_SEARCH_MEDIA_ITEMS
Parameters:
  - albumId: Filter by album
  - filters: Search filters (date ranges, content categories, media types)
  - orderBy: Sort order
  - pageSize: Results per page
  - pageToken: Pagination token

6. Add Items to an Album

Use GOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMS to add existing media items to an album.

Tool: GOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMS
Parameters:
  - albumId (required): Target album ID
  - mediaItemIds (required): Array of media item IDs to add

Common Patterns

  • Create album then upload: Use GOOGLEPHOTOS_CREATE_ALBUM to create an album, then GOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMS with the album ID to upload and organize photos in one step.
  • List then organize: Use GOOGLEPHOTOS_SEARCH_MEDIA_ITEMS or GOOGLEPHOTOS_LIST_MEDIA_ITEMS to find media item IDs, then GOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMS to add them to albums.
  • Update album metadata: Use GOOGLEPHOTOS_UPDATE_ALBUM to change an album's title or cover photo.
  • Get album details: Use GOOGLEPHOTOS_GET_ALBUM with an album ID to retrieve full album information.
  • Add enrichments: Use GOOGLEPHOTOS_ADD_ENRICHMENT to add text overlays, locations, or map enrichments to album positions.
  • Upload from URLs: Use the url parameter in GOOGLEPHOTOS_UPLOAD_MEDIA or urls in GOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMS to upload images directly from web URLs.

Known Pitfalls

  • GOOGLEPHOTOS_LIST_MEDIA_ITEMS is deprecated -- prefer GOOGLEPHOTOS_SEARCH_MEDIA_ITEMS for listing and filtering media.
  • GOOGLEPHOTOS_UPLOAD_MEDIA supports images up to 200MB and videos up to a larger limit. Exceeding these will fail.
  • Album IDs must be obtained from GOOGLEPHOTOS_LIST_ALBUMS or GOOGLEPHOTOS_CREATE_ALBUM responses -- they are opaque strings.
  • GOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMS can only add items to albums created by the app or albums the user owns.
  • The filters parameter in GOOGLEPHOTOS_SEARCH_MEDIA_ITEMS uses a specific Google Photos API filter structure -- consult the schema for date range and content category formats.

…

常见问题

我需要连接自己的 Google Photos 账号吗?

需要。工具需要获得访问和管理你 Google Photos 中照片的权限。连接过程中会有步骤指引你完成。

我可以从网络链接上传照片吗?

可以,你既可以直接从网址上传照片,也可以上传电脑里的文件。

如果我想上传的照片太大,会怎样?

超过 200MB 的照片可能会上传失败。视频的大小限制更宽松,但如果视频过大,同样可能失败。

详情

作者的原始描述

Automate Google Photos tasks via Rube MCP (Composio): upload media, manage albums, search photos, batch add items, create and update albums. Always search tools first for current schemas.

repo: ComposioHQ/awesome-claude-skills

热度

GitHub 星标
77k
排名
#2117
许可证
—
更新时间
2026/9/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能