[Share] Hello World in Divooka
Charles Zhang

Charles Zhang @methodoxdivooka

About: Visual programming for everyone.

Location:
Toronto
Joined:
May 7, 2025

[Share] Hello World in Divooka

Publish Date: Jun 2
0 0

Originally posted on Methodox Wiki

Overview

Divooka™ is a node‑based visual programming environment that lets you build workflows by connecting functional blocks (called nodes).

In this example, we are going to see a simple but fully functional program in Divooka™. We are going to ask ChatGPT (from OpenAI) to generate a text prompt for an image generator, generate an image, and then preview it.

Node Connection Setup

Prerequisites

  1. A working installation of Divooka™. All functions mentioned in this example is available in standard Divooka™ Explore distribution.
  2. An OpenAI API key configured in Divooka™’s AI Services toolbox. You can use Configure OpenAI node or simply save an environment variable OPENAI_KEY.
  3. Basic familiarity with Divooka™’s interface (e.g., dragging nodes, wiring connections).

Building the Graph

Pick tool to use

To build the above program, use the following nodes:

  1. Chat GPT Complete under OpenAI Helper (You can find it in the AI Services toolbox)
  2. Generate Image under OpenAI Helper category (You can find it in the AI Services toolbox)
  3. Preview from the Basic toolbox

Running the Program

To execute the program, click on the little "Run" button at the upper right corner of the Preview node.

Execution Result

What Happened?

We've asked Chat GPT to "help me generate a prompt with about 300 words for an image generator (in this case Dall E 3) - describe an interesting sci-fi landscape", and used its output as input to the image generator.

This simple example illustrates several basic concepts of using Divooka™:

  1. Functions are available from toolboxes; they are further organized using categories. Certain functions may have variations that differ slightly in behavior.
  2. You can connect inputs and outputs between nodes by holding and dragging the left mouse button. That forms the logic flow of the program.
  3. To run a program, click the Run button on the final node from which you wish to obtain results.

Configure Nodes

If you want to pick a different model, or specifying API Key explicitly, you can use the Configure OpenAI node.

Configure OpenAI

Remarks

Congratulations! You've built your first fully functional and useful Divooka™ program! Embark on an amazing journey and enjoy an unprecedented programming experience with Divooka™. As you learn more about what's available, you will be able to build more and more powerful Divooka™ programs with more sophisticated node setups.

Comments 0 total

    Add comment