# Is there a way to generate an Open AI image without using a button?

**URL:** <https://community.glideapps.com/t/is-there-a-way-to-generate-an-open-ai-image-without-using-a-button/67437>\
**Category:** Ask for Help\
**Tags:** openai\
**Created:** [November 1, 2023, 6:19am UTC](https://community.glideapps.com/t/is-there-a-way-to-generate-an-open-ai-image-without-using-a-button/67437 "2023-11-01T06:19:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjay\_Adnani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sanjay_adnani/32/64782_2.png) [@Sanjay\_Adnani](https://community.glideapps.com/u/Sanjay_Adnani)\
**Post date:** [November 1, 2023, 6:19am UTC](https://community.glideapps.com/t/is-there-a-way-to-generate-an-open-ai-image-without-using-a-button/67437/1 "2023-11-01T06:19:50Z")

</div>

I wish to create an image in glide app (using open AI) based on a condition rather than a user interaction ( button ) … possible?

Thanks

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 1, 2023, 6:24am UTC](https://community.glideapps.com/t/is-there-a-way-to-generate-an-open-ai-image-without-using-a-button/67437/2 "2023-11-01T06:24:30Z")

</div>

What is the condition, and what causes it to change?

---

<div class="post-metadata">

**Author:** ![Sanjay\_Adnani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sanjay_adnani/32/64782_2.png) [@Sanjay\_Adnani](https://community.glideapps.com/u/Sanjay_Adnani)\
**Post date:** [November 1, 2023, 6:35am UTC](https://community.glideapps.com/t/is-there-a-way-to-generate-an-open-ai-image-without-using-a-button/67437/3 "2023-11-01T06:35:32Z")

</div>

For instance , if the Image Prompt is filled then create the image

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 1, 2023, 7:20am UTC](https://community.glideapps.com/t/is-there-a-way-to-generate-an-open-ai-image-without-using-a-button/67437/4 "2023-11-01T07:20:12Z")

</div>

Okay. I think the answer is no, because this Integration is only available as an action, therefore you need a user interaction to trigger it.

---

<div class="post-metadata">

**Author:** ![Sanjay\_Adnani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sanjay_adnani/32/64782_2.png) [@Sanjay\_Adnani](https://community.glideapps.com/u/Sanjay_Adnani)\
**Post date:** [November 1, 2023, 7:56am UTC](https://community.glideapps.com/t/is-there-a-way-to-generate-an-open-ai-image-without-using-a-button/67437/5 "2023-11-01T07:56:44Z")

</div>

Can this be accomplished by automation in any way?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 1, 2023, 8:01am UTC](https://community.glideapps.com/t/is-there-a-way-to-generate-an-open-ai-image-without-using-a-button/67437/6 "2023-11-01T08:01:47Z")

</div>

No, not that I am aware of.

But, how is the prompt being completed in the first place?  
Normally you’d have a User typing a description, and then you’d want the image to be generated once they are finished - hence click a button. I don’t think it would make sense to have the image being generated as soon as they start typing?

Or do you have some other type of flow?

---

<div class="post-metadata">

**Author:** ![Sanjay\_Adnani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sanjay_adnani/32/64782_2.png) [@Sanjay\_Adnani](https://community.glideapps.com/u/Sanjay_Adnani)\
**Post date:** [November 1, 2023, 11:39am UTC](https://community.glideapps.com/t/is-there-a-way-to-generate-an-open-ai-image-without-using-a-button/67437/7 "2023-11-01T11:39:26Z")

</div>

Many Thanks I figured out, …image prompt is being generated using selection values from drop down.
