# Can tasks return an image?

**URL:** <https://community.crewai.com/t/can-tasks-return-an-image/5526>\
**Category:** General\
**Created:** [April 26, 2025, 8:04am UTC](https://community.crewai.com/t/can-tasks-return-an-image/5526 "2025-04-26T08:04:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Wood](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/tony_wood/32/1876_2.png) [@Tony\_Wood](https://community.crewai.com/u/Tony_Wood)\
**Post date:** [April 26, 2025, 8:04am UTC](https://community.crewai.com/t/can-tasks-return-an-image/5526/1 "2025-04-26T08:04:33Z")

</div>

I have been looking through [Tasks - CrewAI](https://docs.crewai.com/concepts/tasks) and there appears to be no way to output an image.  
Are there any plans to craft a task that would ‘output\_image’? It would be so useful when crafting documents as good documents need a chart or two 🙂

Any ideas welcomed.

---

<div class="post-metadata">

**Author:** ![zinyando](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/zinyando/32/4435_2.png) [@zinyando](https://community.crewai.com/u/zinyando)\
**Post date:** [April 26, 2025, 4:37pm UTC](https://community.crewai.com/t/can-tasks-return-an-image/5526/2 "2025-04-26T16:37:51Z")

</div>

What about a custom tool to generate and download the image from a url and save it? Wouldn’t that work?

---

<div class="post-metadata">

**Author:** ![dkapsalis](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@dkapsalis](https://community.crewai.com/u/dkapsalis)\
**Post date:** [April 26, 2025, 11:09pm UTC](https://community.crewai.com/t/can-tasks-return-an-image/5526/3 "2025-04-26T23:09:54Z")

</div>

Assuming you use a tool to generate the visual, then I think the only way you could export that image today would be to base64 the binary of the image.

This will allow you to transfer it (output it) as a “string”, when it’s time to render it, you can base64 decode it.

I hope this helps!

---

<div class="post-metadata">

**Author:** ![Tony\_Wood](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/tony_wood/32/1876_2.png) [@Tony\_Wood](https://community.crewai.com/u/Tony_Wood)\
**Post date:** [April 27, 2025, 11:40am UTC](https://community.crewai.com/t/can-tasks-return-an-image/5526/4 "2025-04-27T11:40:52Z")

</div>

I wish that CrewAI had an image output. We can build tools, but an official tool for image and video would be great for our agentic flows.

---

<div class="post-metadata">

**Author:** ![zinyando](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/zinyando/32/4435_2.png) [@zinyando](https://community.crewai.com/u/zinyando)\
**Post date:** [April 27, 2025, 11:54am UTC](https://community.crewai.com/t/can-tasks-return-an-image/5526/5 "2025-04-27T11:54:15Z")

</div>

You are right, official support for multimedia output would be a welcome addition. I’ll take a look and see if I can cook something up 😅
