Block 1 - Download Image
- Type / Role
- n8n-nodes-base.httpRequest - httpRequest
- Config choices
- Version 4.2
This workflow is provided as-is. Please review and test before using in production.
AI Image Generator Workflow This workflow lets you automatically generate AI images with the APImage API π‘₯ , download the generated image, and upload it to any serivce you w...
n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-base.googledrive
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Gegenfeld.
Original n8n.io sourceThis workflow lets you automatically generate AI images with the APImage API π‘₯, download the generated image, and upload it to any serivce you want (e.g., Google Drive, Notion, Social Media, etc.).
This node contains the following fields:
Square, Landscape, PortraitBasic, PremiumThis acts as the entry point to your workflow.
It collects input and sends it to the APImage API node.
Note: You can swap this node with any other node that lets you define the parameters shown above.
This node sends a POST request to:
https://apimage.org/api/ai-image-generate
The request body is dynamically filled with values from the first node:
{
"prompt": "{{ $json['Describe the image you want'] }}",
"dimensions": "{{ $json['Dimensions'] }}",
"model": "{{ $json['AI Model'] }}"
}
β
Make sure to set your API Key in the Authorization header like this:
Bearer YOUR_API_KEY
π You can find your API Key in your APImage Dashboard π‘₯
Once the image is generated, this node downloads the image file using the URL returned by the API:
{{ $json.images[0] }}
The image is stored in the output field: generated_image
This node takes the image from the generated_image field and uploads it to your connected Google Drive.
π You can configure a different target folder or replace this node with:
Make sure to pass the correct filename and file field, as defined in the "Download Image" node.
Set up Google Drive credentials π‘₯
YOUR_API_KEY with your actual key (keep Bearer prefix).Generate Image β APImage API β Download Image β Upload to Google Drive
β This template is ideal for:
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Generate AI images with APImage and upload to Google Drive |
|---|---|
| Complexity | intermediate |
| Nodes | 8 |
| Categories | Content Creation, Multimodal AI |
| Author | Gegenfeld |
| Published | 24 Jul 2025 |
Use the JSON export at /data/workflows/6398/6398.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
AI Image Generator Workflow This workflow lets you automatically generate AI images with the APImage API π‘₯ , download the generated image, and upload it to any serivce you w...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.