You'll create an inference frame in Nodey from three images: a sketch as your layout image, a character reference sheet for the pilot, and a reference image for the environment. The finished frame is shown below.
Inference frames are critical to AI video generation. They are embedded directly into the video and serve as the foundation from which the model infers motion, composition, and imagery over time. There are several types of inference frames: inference start frames, which define the first frame of the video; inference end frames, which define the final frame; and conditioning frames, which are injected mid-generation to better guide motion, visual continuity, and performance.
To create an initial inference frame, it is often helpful to start with an image from previs, a sketch, a frame from a plate, or another asset that can function as a layout image. It is also helpful to provide reference material for the environment, as well as any characters, hero props, or key visual features that should be preserved in the shot.
While it is possible to generate inference frames entirely from a text prompt (in which case no reference images are required), providing reference images generally offers greater control over the final result.
Simplified chart of the AI generative process
Layout image
Environment reference
Pilot reference sheet
Final inference frame
Blank Nodey page
1. How to create and find a node in Nodey
To load images into Nodey's interface, there are two available methods.
From the node menu
-
Right-click anywhere in the graph to open the node menu. A panel titled Search nodes appears, with an alphabetical list of all available node types in Nodey. You can scroll through the list with the scrollbar on the right side of the menu or your middle mouse wheel.
-
Click into the search bar at the top of the menu and type Load Image.
-
When the Load Image node appears in the results, click it, or make sure it's selected (highlighted in blue) and press Enter on your keyboard.
Create a node via right-click
From the Library
You can also create nodes from the Library panel on the left of the canvas. Its Nodes tab lists the node categories (such as Audio, GenAI, and IO).
-
Click IO (Input/Output) to open it.
-
Click Load Image to add the node to your graph, or drag it onto the canvas.
Load Image via the Library
2. Load your image(s)
Now that you have your node, you can load the images you'll use to build the inference frame.
-
Save the layout image, environment reference, and pilot reference images shown at the top of this page to your local machine.
-
To load the layout image, click the Choose File button on the Load Image node and go to where you saved the layout sketch.
You can also drag the image file directly into the Nodey interface. Nodey creates a Load Image node with the image already selected.
Inputting the images into the Load Image node
You still need two more Load Image nodes, one for the pilot reference and one for the environment reference. You can add these in any of the following ways:
-
Create new Load Image nodes and manually load each image
-
Drag each image directly into the Nodey interface
-
Duplicate an existing Load Image node by selecting it and pressing Ctrl/Cmd+C, then Ctrl/Cmd+V, or Ctrl/Cmd+D
If you duplicate an existing node, the copy keeps the currently loaded image. Update the image so each node references the correct asset.
3. Create the nodes that call the generative models
To combine your images and generate the inference frame, you'll use two Gemini nodes. Gemini Pro3.1 Text looks at the layout image and the pilot reference and writes a detailed prompt. Gemini Pro3.0 Image then uses that prompt, with the environment reference, to generate the frame.
Right-click anywhere in the graph and search for each node, or open GenAI, then Google, in the Library and select Gemini Pro3.1 Text and Gemini Pro3.0 Image. The clip below also adds the Save Image node from step 12.
Why two nodes? Gemini Pro3.1 Text takes up to two reference images, so it gets the layout and the pilot. Gemini Pro3.0 Image takes up to six, and here it only needs the environment, because the text node has already described the rest. You may notice that Gemini Flash2.5 Image is also available. It takes two reference images. Gemini Flash3.1 Image and Nano Banana 2.1 Image take up to 14.
Adding the Gemini Pro3.1 Text, Gemini Pro3.0 Image, and Save Image nodes
4. Understanding Gemini's inputs
You'll see a number of inputs that feed into the Gemini models. The only input that's required is the prompt, which describes to the model what you want it to do. If you only input the prompt, it provides the bulk of the information for image generation. If you also provide an image or images (as you do in this tutorial), the prompt describes how you want the model to use, understand, and apply the reference images to your generated output image.
The Prompt, Aspect Ratio, and Size (1K, 2K, or 4K) inputs all have green circles next to them, which means they expect a text input. The Ref Image (optional) inputs have a purple circle, so they expect an image input. Seed has a red circle, so it needs an integer input. You might also see a blue circle, which means the input expects a float (a floating point number): a number with a decimal point, for example 2.5. Yellow circles mean the input needs a boolean value (true or false).
The Gemini Pro3.1 Text node has its own inputs: Prompt, Ref Image1 (optional), Ref Image2 (optional), Agent Instructions, and Seed. Its output, Generated Text, is text, so it can feed a prompt. Step 6 covers it.
The Gemini Pro3.0 Image node
5. Prompting
Create a Text node for your prompt. This tutorial names it Reference Details; step 13 shows how to rename a node.
-
Right-click anywhere in the Nodey graph and search for Text, or press Shift+T to create a Text node at your cursor.
-
Type or paste your prompt into the node's text box.
You can also type your prompt straight into the Prompt box on the Gemini Pro3.1 Text node. To move it into its own Text node, drag from the Prompt port onto an empty part of the canvas. Nodey adds a Text node named Prompt, already connected, with your text in it.
This prompt goes to Gemini Pro3.1 Text, not straight to the image model: Gemini Pro3.1 Text reads it, looks at the images, and writes the prompt that Gemini Pro3.0 Image uses.
Because you're using three reference images, the prompt names each one, says what it shows, and then says how to use it.
Writing the agent instructions and the prompt in two Text nodes
This is the text in the Reference Details node:
["Pilot reference"] - A reference sheet of a stylized, 3D animated male pilot character with a rugged but friendly face. He wears a vintage leather flight jacket with a shearling collar, olive drab trousers, and a leather flight cap with goggles perched on top. The style is high-end cinematic animation with expressive features.
["Environment reference"] - A wide-angle shot of a dusty airfield at golden hour. A massive, weathered corrugated metal airplane hangar sits in the background, with warm sunset light streaming through the gaps. The ground is a flat, sandy tarmac reflecting the orange and amber tones of the sky.
["Layout image"] - A wide composition featuring a vintage P-51 Mustang fighter plane in the foreground on the left, angled toward the camera. On the right, a full-body character stands giving a thumbs-up. The hangar occupies the right background.
A cinematic 3D animation scene that uses [Layout Image] as the absolute structural template for composition and character posing. The pilot character in the layout must remain in his exact position and facial expression as seen in [Layout Image], but his physical appearance, facial features, and clothing textures must be mapped from [Pilot Reference]. Apply the warm, golden hour lighting, amber color grading, and environmental atmosphere from [Environment Reference] to the entire scene. Ensure the P-51 Mustang retains its position from the layout but with high-fidelity metallic textures. Do not adopt the standing pose from the pilot reference sheet; maintain the layout's specific character framing.
Gemini is often able to work out which image is which from a plain description. If your request is very specific, or you're not getting the result you expect, name each image in brackets and describe it before the main instruction, as above. If you swap an image, update its name and description in the prompt too.
This example is intentionally detailed. In practice, it's best to start with a succinct prompt and add specificity over multiple iterations to guide the model toward your desired result. For example, if early outputs show the pilot frowning but you want a friendly expression, you can explicitly specify that the character should be smiling in a follow-up iteration.
If the pilot keeps copying a pose from the character reference sheet, say so in the prompt. The example prompt ends with: Do not adopt the standing pose from the pilot reference sheet.
6. Use Gemini Pro3.1 Text to write the prompt for the image model
In practice, Gemini Pro3.0 Image often follows a prompt better when Gemini has rewritten it, since Gemini has a good sense of the wording its image model works best with. So in this tutorial, Gemini Pro3.1 Text (Google's text-generation model) turns your prompt and two of the images into the prompt for the image model. This is called prompt augmentation.
You added Gemini Pro3.1 Text in step 3. You may also see Gemini Flash Text as an available option. Both are in the Library under GenAI, then Google.
The Gemini Pro3.1 Text node
This node accepts several inputs: Prompt (the only required input), up to two reference images, Agent Instructions, and Seed. Your Reference Details node connects to its Prompt input, and the layout and pilot images connect to its two reference image inputs. Step 10 lists every connection.
Agent instructions (also referred to as system instructions) define the foundational rules the model should follow, while the prompt works more like a creative brief for the current task.
Agent instructions come from their own Text node, connected to the Agent Instructions input. If you find yourself repeatedly correcting the model on aspects such as image composition or artistic style, those corrections are strong candidates. This is the text in the tutorial's Agent Instructions node:
Always prioritize the composition and positioning of "Layout Image" above all other references
Other instructions you might add:
Always use a cinematic, 3D animated aesthetic similar to high-end studio films (e.g., Pixar or Dreamworks).
When a pilot reference is provided, always include a shearling collar and leather cap unless told otherwise.
7. (Optional) Aspect ratio
Gemini Pro3.0 Image lets you define the aspect ratio of the generated output image. If no aspect ratio is specified, the model will generate the image using the aspect ratio of one of your reference images, chosen at random.
Gemini Pro3.0 Image accepts the following aspect ratios as valid inputs:
1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9
To specify an aspect ratio:
-
Create a Text node and enter the aspect ratio exactly as shown above (for example, 16:9).
-
Connect the Text node to the Aspect Ratio input on the Gemini Pro3.0 Image node, as shown below.
Aspect Ratio is a drop-down on the node, and Auto, the default, lets the model choose. A connected Text node still works.
A Text node indicating the desired aspect ratio
8. (Optional) Seed
In generative AI, the process starts with a field of random static (noise). The AI "carves" your image out of that noise. The seed is the specific pattern that random noise takes.
Without a seed, AI is like a goldfish: it has no memory. If you ask it to draw a "Pilot by a plane" twice, it will give you two different pilots.
By using a seed value, you're telling the AI:
-
"Start with this exact static."
-
"Use the same 'random' choices you made last time."
This is the only way to achieve consistency. If you love a specific image but want to change the pilot's hat from brown to blue, you keep the Seed the same and only change the word "brown" to "blue" in your prompt. Without the same seed, the AI would generate a completely different person, plane, and background.
In a tool like Gemini Pro3.0 Image, the seed is the "DNA" of the image.
-
Different prompt + same seed = The same "vibe" or layout, but with new details.
-
Same prompt + different seed = The same "subject," but a totally different look and composition.
If you don't specify a seed value, the model selects one at random. To get consistent results across runs, define a seed with a Whole Number node.
-
Right-click anywhere in the graph and search for Whole Number, or press Shift+I to create a Whole Number node at your cursor.
-
Enter any whole number into the node's value field. This number is used as the seed.
Whole Number node to specify the seed
Using a fixed seed allows you to reproduce results more reliably when adjusting prompts, references, or other parameters.
9. (Optional) Size
You can also use a Text node to specify the output resolution of the generated image. As noted on the Gemini Pro3.0 Image node, it supports output resolutions of 1K, 2K, and 4K. If left unspecified, the default is 2K.
To set the resolution:
-
Create a Text node and enter one of the supported values exactly as listed above (for example, 4K).
-
Connect the Text node to the Size (1K, 2K, or 4K) input on the Gemini Pro3.0 Image node.
Size (1K, 2K, or 4K) is a drop-down on the node and defaults to 2K. A connected Text node still works.
Text node for image resolution or size
10. Connect the nodes
At this point, your nodes exist independently and aren't yet communicating with one another. To define the flow of information, so the model understands which inputs to use and in what order, connect the nodes.
To create a connection:
-
Click the output circle on the right side of a node (for example, the green circle on the right of the Reference Details Text node).
-
Hold the mouse button down and drag toward the matching input circle on the next node in the chain (in this case, the Prompt input on the Gemini Pro3.1 Text node). A line matching the color of the selected output appears and extends with your cursor.
-
Keep dragging until the line connects with the input circle of the target node, then release the mouse button.
Keep the mouse button held down until the connection is made. If you release too early, the line disappears and the connection isn't created.
Make these six connections:
-
Layout image to Ref Image1 (optional) on Gemini Pro3.1 Text
-
Pilot reference to Ref Image2 (optional) on Gemini Pro3.1 Text
-
Agent Instructions to Agent Instructions on Gemini Pro3.1 Text
-
Reference Details to Prompt on Gemini Pro3.1 Text
-
Generated Text on Gemini Pro3.1 Text to Prompt on Gemini Pro3.0 Image
-
Environment reference to the first Ref Image (optional) on Gemini Pro3.0 Image
The clip below also makes the seventh, to Save Image (step 12).
If you create the wrong connection, right-click on the line. A menu appears that lets you choose Disable Connection (grays out the line) or Delete Connection.
Connecting the nodes
11. How to run the node
You run a node by clicking the green play triangle in its upper-right corner. You can run nodes individually or as part of a sequence, though most workflows need several nodes to run together for anything to happen.
Running all the nodes in the graph by running the last node
Node execution is additive. If you run the final node in a chain, all preceding connected nodes will automatically be processed. You don't need to run the entire graph every time, however. You can select a node in the middle of your graph and click its green play triangle; in this case, all nodes connected before that node will run, while any nodes after it will not.
For example, run Gemini Pro3.1 Text on its own to read the prompt it writes before you generate the image.
Running a smaller subgraph of nodes
You can now run your graph by clicking the green play triangle on the Gemini Pro3.0 Image node. Gemini Pro3.1 Text runs first, because its output is the image node's prompt. If you've already run it, it keeps its text, and only the image node runs. Even if the generation is successful, you can't keep it yet.
If the model's safety filters block your request, the node shows Generation Restricted. Try a different prompt, then run the node again.
12. Create a save node
-
Right-click anywhere in the graph and type Save Image into the search bar, or open IO in the Library and click Save Image.
-
Connect Generated Image on Gemini Pro3.0 Image to Image to Save on the Save Image node. This tutorial renames the node Start Frame, since it holds the start frame of the shot.
-
Run the node. You must run it before you can save the image.
-
When the node has finished running, click the Save Image button and choose where to save the image on your machine.
Save Image
The Save Image node doesn't need to be at the very end of the chain. You can place Save Image nodes at multiple points throughout your graph to export intermediate results and capture different stages of the process.
In this example, the elements of the image combined cleanly in a single pass. In many cases, though, you can gain more control by splitting the image into layers or intermediate outputs, as the tutorial AI inference frame creation using Nodey: Part 2 explores.
13. Nodey formatting and options
You can select multiple nodes in Nodey in a few different ways:
-
To select a group of nodes, hold Shift, then left-click and drag to draw a blue selection box around the nodes you want to include. Any nodes inside the box are selected.
-
To select individual nodes, hold Shift and click each node you want to add to the selection.
Selecting nodes
Frames help keep your workflow organized, especially when you work with multiple node chains in a single graph. To put nodes in a frame:
-
Select the nodes.
-
Press G on your keyboard to put them in a frame.
-
Give the frame a name. This tutorial puts the three Load Image nodes in a frame named Director's Sketch.
Grouping nodes
To rename a node:
-
Double-click the node's name. The name becomes an editable text field.
-
Delete the default name and replace it with something more specific to your workflow, as this tutorial does when it renames Save Image to Start Frame.
Renaming nodes
If you're ever unsure what a node does, hover your mouse over it to display a tooltip describing the node's purpose and the inputs it accepts.
Hover your cursor over a node to see its tooltip
To disable or enable a node:
-
Right-click the node.
-
In the menu that appears, select Disable Node (or Enable Node if the node is already disabled).
This is useful if you want to preserve your workflow while testing how it behaves without a specific node, for example, temporarily disabling the Gemini Pro3.1 Text node.
You can similarly enable or disable individual connections by right-clicking on the connection line between nodes.
Enabling and disabling nodes/connections and inserting nodes
There is a fourth way to load an image into your graph, but it is only available once you have a Save Image node. If you click and drag the generated image from the Save Image node into an empty area of your Nodey graph, Nodey creates a Load Image node at the drop location, with the generated image already loaded.
Loading an image from Save Image
Inference frame creation part 2
Now that you have a better understanding of how to use Nodey to create an inference frame, try building one on your own. Below is the reference image you should aim to recreate:
Final AI generated image
Previs
Background
Character reference
Save the previs, background, and character reference images above, and practice recreating the image above using the methods discussed in this tutorial.