Show HN: Structured JSON Prompts for AI Image Generation

https://github.com/xcaeser/image-json-gen
by caeser • 1 year ago
1 0 1 year ago

I've been experimenting with structured approaches to text-to-image generation with chatgpt and google imagen 3.0 and built two complementary tools:

image-json-gen: A simple ts to create structured image prompts as JSON for generative models. generation-schemas: An evolving schema spec to standardize and validate image generation prompts across tools.

The goal is to move away from messy natural language prompts and toward reproducible, composable, and tool-friendly formats.

Useful for devs building image pipelines, creative tooling, or anyone who wants stricter control over prompt structure.

Feedback, ideas, and contributions welcome. Cheers!

Related Stories

Loading related stories...

Source preview

github.com