# DALL-E 2 AI Image Generation

**URL:** <https://community.glideapps.com/t/dall-e-2-ai-image-generation/40484>\
**Category:** Project Showcase\
**Created:** [April 7, 2022, 5:23am UTC](https://community.glideapps.com/t/dall-e-2-ai-image-generation/40484 "2022-04-07T05:23:32Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![AyS\_0908](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ays_0908/32/27349_2.png) [@AyS\_0908](https://community.glideapps.com/u/AyS_0908)\
**Post date:** [February 16, 2023, 11:50pm UTC](https://community.glideapps.com/t/dall-e-2-ai-image-generation/40484/21 "2023-02-16T23:50:24Z")

</div>

@Uzo, since I have 0 knowledge about this, sorry for the very basic questions.

To do what you did, is the following approach the right one?

**Database**

- User Specific field: “prompt”
- “Javascript” field: copy your code → but what should we do with the p1, p2, p3… ?  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/e/3e684690e9a4cd9735ce1e651c94752208fce666.png)
- User Specific field: “image”

**Front end**

- component “entry text”: writing to the USC field “prompt”
- button action activating the javascript: → how to activate it?
- component “image”: display the USC field “image”

Many thanks in advance

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [February 16, 2023, 11:53pm UTC](https://community.glideapps.com/t/dall-e-2-ai-image-generation/40484/22 "2023-02-16T23:53:32Z")

</div>

oh no, I don’t think you can prepare a payload in Glide (I might be wrong, and maybe someone here has done it). I used Google WebApp and fetched the result to Glide.

[Previous page](https://community.glideapps.com/t/dall-e-2-ai-image-generation/40484.md?page=1)
