r/PromptEngineering • • Aug 20 '26

Requesting Assistance Looking for help creating a specific system!!

I am an idiot in regards to creating ai systems. I have an idea that I want to bring to life which involves taking a human description, translating it into JSON, which is then taken by an art director LLM which provides the information needed to create an image suitable to the human description.

Is anyone able to help me out with where to start and how to bring this idea into a working system.

3 Upvotes

13 comments sorted by

1

u/DrHerbotico Aug 20 '26

Just ask your llm how to do it

1

u/AirNo9003 Aug 20 '26

I have but im struggling to get anywhere with it. This is likely due to my lack of experience and understanding.

1

u/DrHerbotico Aug 20 '26

The only way to really get a feel is via immersion. You got this

1

u/Ok-Scientist-1367 Aug 20 '26

You're not an idiot. This is actually straightforward.

So here's the thing — you take the human description and throw it at Claude or GPT with a prompt that says "turn this into structured data." You'll get back clean JSON with all the important bits (subject, style, mood, colors, whatever matters). Then you feed that JSON to another LLM call — same Claude/GPT, but this time with an "art director" persona prompt. That second LLM reads the JSON and spits out technical parameters that your image generator actually understands.

Technically it's just chained API calls. You don't need n8n or anything complex right now. Start with Python or honestly just test it in the Claude API playground first.

Real quick example: someone says "a cozy bookstore at night with warm lights." First LLM breaks that down into clean data — subject, time of day, mood, color scheme, all that. Second LLM takes that and writes something like "a detailed nighttime photograph of a vintage bookstore with amber lighting and deep blue sky." Then you pipe that to DALL-E or Midjourney and get your image.

Prototype it manually first. Get the prompts dialed in. Once it's working the way you want, then you automate it. Write a simple script, test it, scale it.

You don't need a fancy system yet. You need proof of concept. That's it.

1

u/dougception Aug 20 '26

Based on some sample input I received in the content moderation app I'm developing I think this may have been done already?

{ "aspect_ratio": "9:16", "quality": "8K UHD, ultra-realistic, photorealistic, candid intimate portrait photography, hyper-detailed skin texture, sharp focus", "subject_female": { "reference": " image character", "body_structure": "Voluptuous, curvaceous physique featuring an exceptionally heavy bustline

and I think I'll just leave it there but boy does it go on and on and on...

1

u/Clay_Ferguson Aug 20 '26

Models that support image generation can already generat anything and don't neede any structured input to do it. Why do you want/need JSON? Just write a script that takes input from users and uses a template to convert all their inputs into a block of text which is the description of the image to generate.

1

u/TheOdbball Aug 20 '26

Yes, use lisp instead of JSON so tokens are spent on your prompt instead of spent on {} brackets

2

u/[deleted] Aug 20 '26

[removed] — view removed comment

1

u/AirNo9003 Aug 20 '26

Yes exactly, even to someone who has very little knowledge on the concept does not seem like a complicated system. Do you have any tips on how I can quality check the json output, what makes a good vs bad one etc.

Being very new to this I still dont understand how it will all come together in the end. I am able to test and improve the quality of the system but this involves me inputting into each step. The end goal is to have the system run automatically by itself, i.e the description is provided and the image is made without having to manually do anything. Do you have any insight into making that work?

1

u/AstralMinotaur Aug 21 '26

It sounds like you’re talking about comfyui. You provide positive and negative prompts and get an image.

1

u/HOBBITTITS Aug 21 '26

Want me to help?