Google Photos API guide

photos.google.com

Upload photos and videos to Google Photos, organize app-created albums, and retrieve media you select from your library.

Actions and inputs

albums create

Create an app-managed album in your library.

Inputs album title

upload file

Upload a photo or video and return an upload token.

Inputs file path

media-items batch-create

Create library media items from uploaded files.

Inputs upload tokens, optional album ID and descriptions

picker list-media-items

List photos and videos you select in a Picker session.

Inputs session ID

App-created Google Photos album

Create

Create an album in your Google Photos library.

Inputs album title

Read

Read the details of your app-created album.

Inputs album ID

Update

Change the title or cover photo of your app-created album.

Inputs album ID, new title or cover media item ID

Delete

Delete the app-created album in Google Photos itself; the Library API does not offer album deletion.

Inputs album selected in Google Photos