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

⚑ 1,011 views · 🎬 Content Creation & Video

Description

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:

πŸ’‘ 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:

πŸ’‘ 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:

πŸ’‘ 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:

πŸ’‘ 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

SectionNodesPurposeBenefit
🟒 Trigger & SetupManual Trigger, Set API KeyStart + load credentialsSecure API key management
🟦 Create PredictionHTTP RequestAsk AI to generate imageControl creativity & output
🟣 PollingExtract ID, Wait, Check Status, IfRepeatedly check job statusAuto-wait until done
πŸ”΅ Process ResultProcess ResultExtract image + detailsGet clean output for reuse

πŸš€ Why This Workflow is Useful


πŸ”— Nodes Used

HTTP Request

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup