# Can't save OpenAI DALL-E images to s3

**URL:** <https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919>\
**Category:** APIs\
**Created:** [February 2, 2023, 8:36pm UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919 "2023-02-02T20:36:09Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dustinstout](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dustinstout/32/210908_2.png) [@dustinstout](https://forum.bubble.io/u/dustinstout)\
**Post date:** [February 2, 2023, 8:36pm UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/1 "2023-02-02T20:36:09Z")

</div>

Hoping that _someone_ has found a solution for this because I can’t find anything that works.

Using the OpenAI DALL-E API I want to save the returned image (url) to my Bubble S3, but that option is not available. I don’t know why that is, but there **has** to be a way to make it work.

Any guidance would be appreciated.

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [February 2, 2023, 8:56pm UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/2 "2023-02-02T20:56:00Z")

</div>

How did you set the response from the API?

---

<div class="post-metadata">

**Author:** ![dustinstout](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dustinstout/32/210908_2.png) [@dustinstout](https://forum.bubble.io/u/dustinstout)\
**Post date:** [February 2, 2023, 10:12pm UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/3 "2023-02-02T22:12:14Z")

</div>

Not sure what you’re asking.

The response from OpenAI comes back as a URL.

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [February 2, 2023, 10:25pm UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/4 "2023-02-02T22:25:52Z")

</div>

Change that URL field in the response to `file` and it auto downloads. Just make sure to also do something with the file like save it in a file field under something else so it doesn’t immediately get “orphaned”

---

<div class="post-metadata">

**Author:** ![Eugene\_West](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eugene_west/32/106508_2.png) [@Eugene\_West](https://forum.bubble.io/u/Eugene_West)\
**Post date:** [February 2, 2023, 10:31pm UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/5 "2023-02-02T22:31:38Z")

</div>

Idk. In my case it works

 ![Screenshot 2023-02-03 at 01.30.47](https://us1.discourse-cdn.com/bubble/original/3X/3/d/3db323af0cec4a9472664ddd7bcfc53e5b82d2a0.png)

---

<div class="post-metadata">

**Author:** ![dustinstout](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dustinstout/32/210908_2.png) [@dustinstout](https://forum.bubble.io/u/dustinstout)\
**Post date:** [February 3, 2023, 12:00am UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/6 "2023-02-03T00:00:25Z")

</div>

@tylerboodman @Eugene_West I’m not following. The API call is set up using the API Connector Plugin.

 ![Screenshot 2023-02-02 at 3.57.08 PM](https://us1.discourse-cdn.com/bubble/original/3X/8/5/8583bf9c4c86cb6ad816ef0bf68caeb954331084.png)

I have a thing called “Image” with 3 different fields (so I can try all the formats). However, I still don’t get the “saved to s3” option when I try to make changes to a thing based on the API response.

---

<div class="post-metadata">

**Author:** ![Eugene\_West](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eugene_west/32/106508_2.png) [@Eugene\_West](https://forum.bubble.io/u/Eugene_West)\
**Post date:** [February 3, 2023, 12:10am UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/7 "2023-02-03T00:10:44Z")

</div>

![Screenshot 2023-02-03 at 03.15.46](https://us1.discourse-cdn.com/bubble/original/3X/0/d/0df0336d9ed4f477a6f52d2c9c403aeedd804f88.png)

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [February 3, 2023, 12:10am UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/8 "2023-02-03T00:10:45Z")

</div>

After the API call action you can do what @Eugene_West showed. If you’re making changes to a Thing in your database with an image field, you set that image field to `Result of [your API call action]'s image:saved to S3`

---

<div class="post-metadata">

**Author:** ![doug.burden](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/doug.burden/32/179967_2.png) [@doug.burden](https://forum.bubble.io/u/doug.burden)\
**Post date:** [February 3, 2023, 12:11am UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/9 "2023-02-03T00:11:14Z")

</div>

Click manually enter api response click ok or save then change the url from text to file

---

<div class="post-metadata">

**Author:** ![Eugene\_West](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/eugene_west/32/106508_2.png) [@Eugene\_West](https://forum.bubble.io/u/Eugene_West)\
**Post date:** [February 3, 2023, 12:17am UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/10 "2023-02-03T00:17:12Z")

</div>

add Step 3 then Step 4.

---

<div class="post-metadata">

**Author:** ![dustinstout](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dustinstout/32/210908_2.png) [@dustinstout](https://forum.bubble.io/u/dustinstout)\
**Post date:** [February 3, 2023, 12:20am UTC](https://forum.bubble.io/t/cant-save-openai-dall-e-images-to-s3/244919/11 "2023-02-03T00:20:05Z")

</div>

I appreciate all your help here guys!

@Eugene_West that was it. I had to make **another** step to take the url and save it to an image field. Thank you!
