im trying to make an automation with make integromate and hugging face to use a space…
- User
im trying to make an automation with make integromate and hugging face to use a space api and generate an image from a text then download the image and put it in a sheet
- Assistant
To automate the process of generating an image from text using Hugging Face's Spaces and storing it in a spreadsheet using Make (formerly Integromat), you can follow these steps:
- User
i did make the steps 1 2 3 i need more details on the steps after
- Assistant
- User
here is the responce i get from the step 3
- Assistant
Great! To help you effectively process the response from Step 3, please provide the actual response data you receive after making the API call to Hugging Face. This will allow me to guide you on exactly how to extract the necessary information, such as the image URL, from the response. If you can share the structure or a sample of the response, I'll be able to assist you better.
- User
event: complete data: [{"path": "/tmp/gradio/0ac08296307296331a32c44dbf0bf74863cb5fee5a2b9e302a5e104308812914/image.webp", "url": "https://zyanfarhan-alvdansen-flux-koda.hf.space/c/file=/tmp/gradio/0ac08296307296331a32c44dbf0bf74863cb5fee5a2b9e302a5e104308812914/image.webp", "size": null, "orig_name": "image.webp", "mime_type": null, "is_stream": false, "meta": {"_type": "gradio.FileData"}}]
- Assistant
Based on the response you've provided, it looks like you have the image URL contained in a JSON array within the
data:section. Here’s how you can process this response in Make to achieve your goal of downloading the image and adding it to a Google Sheet:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.