Blenderv1.0.0+

Blender CLI Integration Guide

Control Blender with terminal-based AI tools like Claude Code, Codex CLI, and Gemini CLI. Natural language control via HTTP API without MCP.

About This Page

This guide explains how to control Blender from terminal-based AI CLIs (Claude Code, Codex CLI, Gemini CLI, ChatGPT, etc.). Uses HTTP API instead of MCP.

For MCP-based setup (Claude Desktop, VS Code, Cursor), see the Setup Guide instead.

Requirements

  • Node.js 18.0+ (If not installed, download from nodejs.org )
  • Claude Code / Codex CLI / Gemini CLI / ChatGPT
  • Synaptic AI Pro for Blender (installed)

Install CLI Tools

Install your preferred CLI tool.

C

Claude Code

Anthropic

Anthropic's official CLI agent. Powerful coding assistance.

npm install -g @anthropic-ai/claude-code
Anthropic API key requiredPay-per-use API
O

Codex CLI

OpenAI

OpenAI's terminal agent. Powered by GPT-4.

npm install -g @openai/codex
OpenAI API key requiredPay-per-use API
G

Gemini CLI

Google

Google's Gemini AI in your terminal.

npm install -g @anthropic-ai/gemini-cli
Google API key requiredFree tier available
G

ChatGPT

OpenAI

Also works with ChatGPT web or app.

Just copy and paste the prompt

How to Use (Visual Guide)

1

Open Preferences

In Blender, go to Edit → Preferences

Step 1: Open Preferences
2

Select Add-ons

Click Add-ons in the left sidebar

Step 2: Select Add-ons
3

Install from Disk

Click the dropdown in the top right, select 'Install from Disk', and choose the downloaded zip file

Step 3: Install from Disk
4

Open Side Panel

In the 3D viewport, press N key to show the side panel and select the Synaptic AI tab

Step 4: Open Side Panel
5

Copy Prompt

Click the 'Copy Prompt' button to copy the system prompt

Step 5: Copy Prompt
6

Paste to CLI

Paste the copied prompt into your CLI and execute

Step 6: Paste to CLI
7

Start HTTP Server

Click the 'Start HTTP Server' button in the Blender panel

Step 7: Start HTTP Server

Setup Complete!

You can now control Blender with natural language from your CLI.

Key Point

Pasting the prompt first lets the AI understand Blender operations. After that, you can give instructions in natural language.

Try these:

Create a cubeMake the selected object redCreate a walk animation

Conversation Examples

You:Create 5 cubes arranged horizontally
AI:Created 5 cubes in a horizontal row. Each cube is spaced 2m apart.
You:Give all cubes random colors
AI:Applied random material colors to all 5 cubes.
You:Make the middle cube twice as large
AI:Scaled the center cube to 2x its original size.

Troubleshooting

Cannot connect to HTTP server

Make sure 'Start HTTP Server' has been clicked in the Blender panel. Also check if port 5001 is not being used by another application.

AI doesn't control Blender

Make sure the system prompt was copied correctly. You need to paste the prompt first before sending requests.

Operations don't take effect

Make sure Blender is in focus and responding. Try clicking in the Blender window.

Back to Documentation
Synaptic AI - Professional AI Tools for Unity & Creative Software