🍿 @lorenzopant/tmdb

Images

Query the profile images associated with a person.

This endpoint returns the profile images for a person. Unlike some movie and TV image endpoints, the official TMDB OpenAPI contract does not expose language filtering for person images.

async images(params: PersonImagesParams): Promise<PersonImages>

TMDB Reference: Person Images

Parameters

NameTypeRequiredDescription
person_idnumberTMDB person identifier.

Returns

A PersonImages object containing the person's profile images.

Example

const images = await tmdb.people.images({ person_id: 31 });
console.log(images.profiles.length);

On this page