DEV Community

uni928
uni928

Posted on

I Created a Website That Helps You Easily Generate ChatGPT Prompts for Blender Python API Code

Did you know you can use ChatGPT to generate Blender Python API code when creating models in Blender?

These days, ChatGPT has become so accessible that you can start using it instantly—no account required.

For example, if you want to “create a food stall”, you can ask ChatGPT to write code that automates the process of building the framework in Blender.

And if you’re using the ChatGPT mobile app, you can even take a photo of a real-world object and say:
“I want to create a 3D model like this image.”

Surprisingly often, you’ll get a result close to what you envisioned.

But… do you ever feel stuck?
Many Blender users might think:
“I don’t know how to ask ChatGPT the right way...”

That’s why I created a simple website where you just type what you want to generate in a text box, and it automatically converts your input into what I believe is a well-structured, effective prompt.

👉 Here’s the site

✨ How It Works
The usage is super simple.

For example, enter something like this:

Japanese Festival Set
  - Food stalls (takoyaki, goldfish scooping, shooting gallery)
  - Lanterns, curtains, and signboards
  - Mini-game props (goldfish buckets, balloon dolls)
Enter fullscreen mode Exit fullscreen mode

The site will then generate the following prompt and copy it to your clipboard automatically:

# Blender Python API Generated Code
# Please write this code with as much quality as possible to meet the requirements below

import bpy

# User instructions:
# Japanese Festival Set
  - Food stalls (takoyaki, goldfish scooping, shooting gallery)
  - Lanterns, curtains, and signboards
  - Mini-game props (goldfish buckets, balloon dolls)

# TODO: Implement high-quality processing here
# Example: create objects, apply settings, handle animations, etc.
Enter fullscreen mode Exit fullscreen mode

When you feed this prompt to ChatGPT, you’ll likely get a much more accurate and higher-quality response compared to a normal query.

💡 In Summary
If you want to boost your Blender workflow, definitely give this tool a try.
You’ll quickly realize:
“The way you ask questions can completely change the quality of AI’s answers!”

🙏 Thank you for reading!

Once again:
👉 Here’s the site

Top comments (0)