Adding Eden AI Image URL to a Google Sheet using Add Row

After an image is generated using the Eden AI generation module, the image URL is returned in the output…

But I have some issues with this:
1 - If i just want the image URL, why does it also return the entire actual image under Long String ‘Image’ in the Items array? isnt that just slowing the process… I mean if I have the URL why cant I opt out from receiving the actual image file data?

2 - How exactly do you get the URL? I mean I have eden ai module in an iteration block. directly after the module I have a Google Sheets > Add Row module. Where i try to add the image URL to the Row, like this:

But when i look at the actual google sheet, I do see the values in column B and C and rows for column A are empty/blank, so why is it not adding the image URL (text) where it should??

1 Like

Welcome to the Make community!

How does your scenario and output bundle of the other modules look like?

You have not yet provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any error(s).

To allow others to assist you with your scenario, please provide the following:

1. Relevant Screenshots

Could you please share screenshots of your full scenario? Also include screenshots of any error messages, module settings (fields), relevant filter settings (conditions), and module output bundles. We need to see what you’re working with to give you the best advice.

You can upload images here using the Upload icon in the text editor:

We would appreciate it if you could upload screenshots here instead of linking to them outside of the forum. This allows us to zoom in on the image when clicked, and prevent tracking cookies from third-party websites.

2. Scenario Blueprint

Please export the scenario blueprint. Providing your scenario blueprint file will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return - this would greatly benefit you in implementing our suggestions as you can simply paste module exports back into your scenario editor!

To export your scenario blueprint, click the three dots at the bottom of the editor then choose ‘Export Blueprint’.

You can upload the file here by clicking on this button:

3. Output Bundles of Modules

Please provide the output bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the History tab).

Click on the white speech bubbles on the top-right of each module and select “Download input/output bundles”.

A. Upload as a Text File

Save each bundle contents in a plain text editor (without formatting) as a bundle.txt file.

You can upload the file here by clicking on this button:

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections) or if external services are involved, and help you with mapping the raw property names from collections.

Sharing these details will make it easier for others to assist you.

Yes i can do that. But i dont want to share sensitive information If i a shared the blueprints and bundle outputs as you have described will it share stuff like website urls and api keys?

In this thread what i really need to know is how to get the image URL from the Eden AI module, and for that I have shared a relevant screenshot which shows how i am trying to get the value from items it lists in the pop up.

The Image URL is a ‘text’ so it should just be a case of dragging that into the field where the value is needed,

1 Like

Hey Riaz,

from the screenshots alone:

  1. It looks like the custom field you are mapping is empty. So check your input.
  2. It looks like the custom field is inside a nested array. Are there more items in those arrays? Maybe you need to iterate them first.

That’s pretty much the best that can be done without checking the output bundle it self.

Sharing potentially sensitive information about your account, scenario variables, and output bundles might not be advisable as it is a public forum. In that case you can contact Make support.

You can open a new ticket here, or if you are unable to login for some reason, you can create another new free Make account to access the ticketing system (which is only available to logged-in users). After submitting a new ticket, you will receive an automatic confirmation email with the subject “Ticket Created” in the subject. If you do not receive this, try sending the ticket again.

If you manage to get your issue resolved with support, we’d still love to hear about it! Sharing your solution on the forum can help others facing similar problems.

You can also use the Hire a Pro category to request for private 1-to-1 assistance via video call/screenshare/private messaging/etc. This may help you get your issue resolved faster especially if it is urgent or contain sensitive information. It is important to post your request in the Hire a Pro category, as forum members are not allowed to advertise their services in other categories like here (even if it’s free/unpaid). Posting in the Hire a Pro category will allow other members to assist you over other forms of communication.

Alternatively, you can use the private messaging feature to directly reach out to other forum members. To do this, go to your profile, and click on the “New Message” button:

Hope this helps! Let me know if there are any further questions or issues.

@samliew

I think there is a bug(s) with your Eden AI module, I’ve noticed it with the Image and Text generation modules.

Another issue with the Eden module is that, in the Eden Generate Chat Responses when you get a response, its stored under ‘generated_text’ key in the output bundle:

BUT when you go to select this value to use it in some field in subsequent module, the value for Generated Text is empty, so why is this?

Ive checked the output for the Eden module and it does contain the required response but I cant access that value in the next module:

This is the output bundle from the Eden Generate Chat Responses:

When you click on Generated Text in the options offered when filling out a field in subsequent modules, then copy that to see its actual value, this is what i see:
{{126.result.generated_text}}

BUT, from looking at the bundle output structure we can see that this is wrong, because generated_text is actually at:
result > mistral > generated_text

Anyone help? Im not big fan of nested structures.

1 Like

Yeah it looks like it stored some old data in the visualizer.

Try typing it in manually and add mistral in between result and generated_text.

yeah i got the answer from support:
126.result.mistral.generated_text

But this would only work if the provider I used was mistral

If i used openAI that manual mapping wouldn’t work

Also bear in mind that you can set a fallback provider, so if you set set Mistral as the provider and OpenAI as the fallback provider, what happens if Mistal fails and it uses the fallback provider? Again this solution would not work…

Can we get response from admin on a solution or fix?

1 Like

You can use an ifempty() formula. Check if the mistral one is empty - if its not, use it; if it is, use the openai one instead.