This section documents the media data returned by the Perplexity endpoint. Media is part of the Perplexity response, so no separate API call is needed.Documentation Index
Fetch the complete documentation index at: https://docs.cloro.dev/llms.txt
Use this file to discover all available pages before exploring further.
Example request
Media is surfaced based on query relevance. Send a prompt where videos or images are likely to be useful (tutorials, visual subjects, news coverage). No flag is required.videos and images arrays documented below.
Overview
Perplexity automatically surfaces videos and images relevant to the query. Media items are returned in thevideos and images arrays.

Media structure
| Field | Type | Description |
|---|---|---|
result.videos | array | Video content found in response |
result.images | array | Image content found in response |
| Field | Type | Description |
|---|---|---|
title | string | Media title |
url | string | Media URL |
thumbnail | string | Thumbnail URL |
medium | string | Media type (“video”, “image”) |
source | string | Source platform (“youtube”, “stock_photo”, etc.) |
image_width | number | Original image width |
image_height | number | Original image height |
thumbnail_width | number | Thumbnail width |
thumbnail_height | number | Thumbnail height |