# Setting parameters value to dynamic to initialize an api call

**URL:** <https://forum.bubble.io/t/setting-parameters-value-to-dynamic-to-initialize-an-api-call/333265>\
**Category:** APIs\
**Created:** [July 30, 2024, 9:58am UTC](https://forum.bubble.io/t/setting-parameters-value-to-dynamic-to-initialize-an-api-call/333265 "2024-07-30T09:58:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![susilkhadka503](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@susilkhadka503](https://forum.bubble.io/u/susilkhadka503)\
**Post date:** [July 30, 2024, 9:58am UTC](https://forum.bubble.io/t/setting-parameters-value-to-dynamic-to-initialize-an-api-call/333265/1 "2024-07-30T09:58:25Z")

</div>

![Screenshot (18)](https://us1.discourse-cdn.com/bubble/original/3X/9/c/9c64f299e97b5700f3ffd18b3ca2a0fbb589d1b6.png)  
I want to set this value to dynamic that it takes image url from the database i created here in bubble.  
how to set the parameters value to dynamic  
and also when I enter the static value that is copy pasting the url of the image from the database it says invalid url how to convert the image to its url in my database

 ![Screenshot (19)](https://us1.discourse-cdn.com/bubble/original/3X/0/7/07abe5132fea2a78eb39bc16075f07e887bacf96.png)

---

<div class="post-metadata">

**Author:** ![Zeroic](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zeroic/32/246980_2.png) [@Zeroic](https://forum.bubble.io/u/Zeroic)\
**Post date:** [July 30, 2024, 11:33am UTC](https://forum.bubble.io/t/setting-parameters-value-to-dynamic-to-initialize-an-api-call/333265/2 "2024-07-30T11:33:11Z")

</div>

Hi!

> [@susilkhadka503](#):
>
> ![Screenshot (18)](https://us1.discourse-cdn.com/bubble/original/3X/9/c/9c64f299e97b5700f3ffd18b3ca2a0fbb589d1b6.png)

It says that the API call is yet to be initialized. Ensure that the call is initialized properly and you are receiving a valid response. Once that’s done, change the Use as field from Data to Action in your API call. You can then call this in your workflow and specify the URL there.

> [@susilkhadka503](#):
>
> and also when I enter the static value that is copy pasting the url of the image from the database it says invalid url how to convert the image to its url in my database

What’s the URL? Can you share it here?

---

<div class="post-metadata">

**Author:** ![susilkhadka503](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@susilkhadka503](https://forum.bubble.io/u/susilkhadka503)\
**Post date:** [July 30, 2024, 11:58am UTC](https://forum.bubble.io/t/setting-parameters-value-to-dynamic-to-initialize-an-api-call/333265/3 "2024-07-30T11:58:49Z")

</div>

[//bfa4db18c46153665b0e757a6d500fb9.cdn.bubble.io/f1722317037440x115875275004907900/ryan%202.webp](https://bfa4db18c46153665b0e757a6d500fb9.cdn.bubble.io/f1722317037440x115875275004907900/ryan%202.webp)

that was the url

---

<div class="post-metadata">

**Author:** ![susilkhadka503](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@susilkhadka503](https://forum.bubble.io/u/susilkhadka503)\
**Post date:** [July 30, 2024, 12:04pm UTC](https://forum.bubble.io/t/setting-parameters-value-to-dynamic-to-initialize-an-api-call/333265/4 "2024-07-30T12:04:06Z")

</div>

![Screenshot (20)](https://us1.discourse-cdn.com/bubble/original/3X/e/9/e91dea80b48e1009893685297a2e76a44fe7d651.png)  
 ![Screenshot (21)](https://us1.discourse-cdn.com/bubble/original/3X/e/6/e699bd3480716cc91ad60ac49a7764718957f3cd.png)  
i did use one of the image from unsplash and it works now what to do next i want the images from my database to set their dynamiclly

---

<div class="post-metadata">

**Author:** ![Zeroic](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zeroic/32/246980_2.png) [@Zeroic](https://forum.bubble.io/u/Zeroic)\
**Post date:** [July 30, 2024, 12:13pm UTC](https://forum.bubble.io/t/setting-parameters-value-to-dynamic-to-initialize-an-api-call/333265/5 "2024-07-30T12:13:44Z")

</div>

Cool - you can append https: before the URL to make it valid

Bubble generally returns this kind of path for files stored. To make it accessible, you can do what I said in the first line

---

<div class="post-metadata">

**Author:** ![Zeroic](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zeroic/32/246980_2.png) [@Zeroic](https://forum.bubble.io/u/Zeroic)\
**Post date:** [July 30, 2024, 12:14pm UTC](https://forum.bubble.io/t/setting-parameters-value-to-dynamic-to-initialize-an-api-call/333265/6 "2024-07-30T12:14:59Z")

</div>

Uncheck the private checkbox next to image\_url parameter. You can call this action (Face Detect) in your workflow action. Once you add it, you’ll find the image\_url field in that action where you can specify a URL
