跳转到主要内容
client.photos() -> pd.DataFrame
下载照片元数据,包括文件名、图像尺寸和 AI 生成的描述。

返回值

包含照片元数据的 pd.DataFrame

示例

from jmail import JmailClient

client = JmailClient()
photos = client.photos()

# 描述中提到 "pool" 的照片
pool = photos[photos.image_description.str.contains("pool", case=False, na=False)]

ColumnTypeDescription
idint唯一照片编号
sourcestring来源标识符
release_batchstring卷/批次
original_filenamestring原始文件名
content_typestringMIME 类型
widthint图像宽度(像素)
heightint图像高度(像素)
image_descriptionstringAI 生成的描述

直接 URL 地址

https://data.jmail.world/v1/photos.parquet
https://data.jmail.world/v1/photos.ndjson.gz