# The Agent API does not output image URLs

**URL:** <https://community.perplexity.ai/t/the-agent-api-does-not-output-image-urls/6251>\
**Category:** Feature Requests\
**Tags:** api, agent\
**Created:** [October 1, 2026, 3:09am UTC](https://community.perplexity.ai/t/the-agent-api-does-not-output-image-urls/6251 "2026-10-01T03:09:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sato-unity](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/sato-unity/32/885_2.png) [@sato-unity](https://community.perplexity.ai/u/sato-unity)\
**Post date:** [October 1, 2026, 3:09am UTC](https://community.perplexity.ai/t/the-agent-api-does-not-output-image-urls/6251/1 "2026-10-01T03:09:09Z")

</div>

## Pre-flight checklist

- This is a Perplexity API feature request, not a Perplexity app, Comet, or web UI request.
- I have checked whether this already exists in the docs or another forum topic.
- I have described the developer workflow or API use case this would improve.

## Feature type

- New endpoint or API capability
- New model, preset, or model behavior
- New parameter or request option
- New response field or metadata
- SDK improvement
- Dashboard, API key, or auth improvement
- Billing, credits, rate limit, or usage reporting improvement
- Docs or examples improvement
- Other API improvement

## Affected API area

- Agent API
- Search API
- Sonar API
- Embeddings API
- SDKs
- Dashboard, API keys, or auth
- Billing or credits
- Not sure

## Summary

The Agent API does not output image URLs.

## Problem

While `client.chat.completions.create()` returns image URLs,

`client.responses.create()` does not.

This makes it unusable for our business operations.  
Do you have any plans to implement image URL output for `client.responses.create()`?

## Proposed API behavior

## Example usage

```bash

```

## Workarounds tried

## Impact

## Additional context

---

<div class="post-metadata">

**Author:** ![andrewmadson-pplx](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/andrewmadson-pplx/32/3428_2.png) [@andrewmadson-pplx](https://community.perplexity.ai/u/andrewmadson-pplx)\
**Post date:** [October 3, 2026, 12:52am UTC](https://community.perplexity.ai/t/the-agent-api-does-not-output-image-urls/6251/2 "2026-10-03T00:52:34Z")

</div>

Hello @sato-unity,

Thank you for your note. The team worked hard and added the feature to Agent API. Please try it out and let me know what you think!

Andrew

> **[Image Search - Perplexity](https://docs.perplexity.ai/docs/agent-api/tools/image-search)**
>
> Search for web images from the Agent API with result limits, domain and format filters, typed results, streaming events, and per-invocation pricing.

---

<div class="post-metadata">

**Author:** ![andrewmadson-pplx](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/andrewmadson-pplx/32/3428_2.png) [@andrewmadson-pplx](https://community.perplexity.ai/u/andrewmadson-pplx)\
**Post date:** [October 3, 2026, 12:54am UTC](https://community.perplexity.ai/t/the-agent-api-does-not-output-image-urls/6251/3 "2026-10-03T00:54:33Z")

</div>

If you are migrating from Sonar to Agent API, here is the migration guide which now includes this feature - [How to migrate from Sonar - Perplexity](https://docs.perplexity.ai/docs/agent-api/migrate-from-sonar/how-to)

---

<div class="post-metadata">

**Author:** ![sato-unity](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/sato-unity/32/885_2.png) [@sato-unity](https://community.perplexity.ai/u/sato-unity)\
**Post date:** [October 3, 2026, 3:07am UTC](https://community.perplexity.ai/t/the-agent-api-does-not-output-image-urls/6251/4 "2026-10-03T03:07:32Z")

</div>

Hi Andrew,

Thank you very much for the quick response and for adding the image search feature to the Agent API. I really appreciate you and the team taking the feedback into consideration and implementing it so quickly.

I’ll give it a try right away. This is exactly the functionality I was looking for.

Thanks again to you and the team for your support!

Best regards,  
Sato

2026年10月3日(土) 10:02 andrewmadson-pplx \<[notifications@sonar1.discoursemail.com](mailto:notifications@sonar1.discoursemail.com)\>:
