Skip to main content

Generate images from text with IBM Granite Vision 3.3 2B AI model

Workflow preview

Workflow preview
100%
Generate images from text with IBM Granite Vision 3.3 2B AI model preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Generate Images from Text with IBM Granite Vision 3.3 2B AI Model Overview This workflow uses the ibm granite/granite vision 3.3 2b model (hosted on Replicate) to generate AI images. It starts m...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yaron Been.

Original n8n.io source

1.1 Workflow description

Title
Generate images from text with IBM Granite Vision 3.3 2B AI model
Workflow name
Generate images from text with IBM Granite Vision 3.3 2B AI model

Generate Images from Text with IBM Granite Vision 3.3 2B AI Model

🌍 Overview

This workflow uses the ibm-granite/granite-vision-3.3-2b model (hosted on Replicate) to generate AI images. It starts manually, sends a request to the Replicate API, waits for the result, and finally outputs the generated image link.

Think of it as your AI art assistant β€” you click once, and it handles the full request/response cycle for image generation.


🟒 Section 1: Trigger & API Setup

πŸ”— Nodes:

  • Manual Trigger β†’ Starts when you click Execute.
  • Set API Key β†’ Stores your Replicate API Key safely in the workflow.

πŸ’‘ Beginner takeaway: This section is like turning the key in the ignition. You start the workflow, and it loads your credentials so you can talk to Replicate’s API.

πŸ“ˆ Advantage: Keeps your API key stored inside the workflow instead of hard-coding it everywhere.


🟦 Section 2: Create Prediction

πŸ”— Nodes:

  • HTTP Request (Create Prediction) β†’ Sends a request to Replicate with the chosen model (granite-vision-3.3-2b) and input parameters (seed, temperature, max_tokens, etc.).

πŸ’‘ Beginner takeaway: This is where the workflow actually asks the AI model to generate an image.

πŸ“ˆ Advantage: You can tweak parameters like creativity (temperature) or randomness (seed) to control results.


🟣 Section 3: Polling & Status Check

πŸ”— Nodes:

  • Extract Prediction ID (Code) β†’ Saves the unique job ID.

  • Wait (2s) β†’ Pauses before checking status.

  • Check Prediction Status (HTTP Request) β†’ Calls Replicate to see if the image is ready.

  • If Condition (Check If Complete) β†’

    • βœ… If status = succeeded β†’ move to result
    • πŸ”„ Else β†’ go back to Wait and check again

πŸ’‘ Beginner takeaway: Since image generation takes a few seconds, this section keeps asking the AI β€œare you done yet?” until the image is ready.

πŸ“ˆ Advantage: No need to guess β€” the workflow waits automatically and retries until success.


πŸ”΅ Section 4: Process Result

πŸ”— Nodes:

  • Process Result (Code) β†’ Extracts the final data:

    • βœ… Status
    • βœ… Output image URL
    • βœ… Metrics (time taken, etc.)
    • βœ… Model info

πŸ’‘ Beginner takeaway: This section collects the finished image link and prepares it neatly for you.

πŸ“ˆ Advantage: You get structured output that you can save, display, or use in another workflow (like auto-sending images to Slack or saving to Google Drive).


πŸ“Š Final Overview Table

Section Nodes Purpose Benefit
🟒 Trigger & Setup Manual Trigger, Set API Key Start + load credentials Secure API key management
🟦 Create Prediction HTTP Request Ask AI to generate image Control creativity & output
🟣 Polling Extract ID, Wait, Check Status, If Repeatedly check job status Auto-wait until done
πŸ”΅ Process Result Process Result Extract image + details Get clean output for reuse

πŸš€ Why This Workflow is Useful

  • Automates full API cycle β†’ From request to final image URL
  • Handles delays automatically β†’ Keeps checking until your image is ready
  • Customizable parameters β†’ Adjust creativity, randomness, and token limits
  • Reusable β†’ Connect it to email, Slack, Notion, or storage for instant sharing
  • Beginner-friendly β†’ Just plug in your API key and hit Execute

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - On clicking 'execute'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Set API Key

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 3 - Create Prediction

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Extract Prediction ID

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1

Block 6 - Check Prediction Status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Check If Complete

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 8 - Process Result

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate images from text with IBM Granite Vision 3.3 2B AI model
Complexity intermediate
Nodes 14
Categories Content Creation, Multimodal AI
Author Yaron Been
Published 05 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7012/7012.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Generate images from text with IBM Granite Vision 3.3 2B AI model do?

Generate Images from Text with IBM Granite Vision 3.3 2B AI Model Overview This workflow uses the ibm granite/granite vision 3.3 2b model (hosted on Replicate) to generate AI images. It starts m...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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.