← All posts
Prompt LabFreeArtGen Field Notes

JSON Prompts for AI Images: Separate Intent From Invariants

A controlled toolbox test turns subject, composition, materials, lighting, and invariants into fields, then shows what each field fixes—and what JSON cannot guarantee.

Four matching fictional toolbox photographs compare vague prompting, overloaded prose, structured fields, and structured fields with invariants.
Original editorial structured-prompt comparison generated for FreeArtGen with OpenAI image generation on 2026-08-27; fictional unbranded product, field design, and contact-sheet direction by FreeArtGen visual editor Nora Adeyemi.

A JSON prompt improves AI image work when each field owns one decision—subject, composition, materials, lighting, palette, constraints, or invariants—and the same schema is reused across variants. Braces do not create control by themselves. Separation makes missing requirements and collateral changes visible.

Search demand is emerging around that practical distinction. On August 27, 2026, Google Autocomplete returned “json prompt for ai image generation,” while a second AI image prompt JSON snapshot preserved the direct wording.

The timely primary signal is BRIA's official Fibo 1.5 model record, which Hugging Face showed as updated August 25 and trending when observed August 27. Its model card describes VLM-expanded structured JSON captions, field-level refinement, a 4–6-step distilled path without classifier-free guidance, and a non-commercial license for the published weights unless commercial access is obtained separately. The underlying technical paper describes long structured captions as a method for improving fine-grained control. This guide does not claim every image model parses JSON natively; it teaches a human-auditable brief that can be serialized when a tool accepts structured input.

The cover test: structure versus verbosity

The cover keeps one fictional red field toolbox, brass flashlight, canvas gloves, blue-gray bench, frosted window, and camera family. A vague request creates an attractive but cluttered workshop. A long prose request adds conflicts: extra props, competing lights, and a redesigned box. Structured fields restore subject count, materials, and composition. The final frame adds invariants for two latches, one handle, one front-right scratch, prop positions, crop, and light direction.

The comparison does not prove JSON outperforms prose on every model. It shows why a schema is easier to inspect. You can point to the materials field when the steel becomes plastic, or the invariants field when a latch moves. A paragraph can contain the same information, but its jobs are harder to audit.

Six matching toolbox photographs add subject, composition, materials, lighting, invariants, and a resolved full prompt schema one stage at a time.
The field-ablation plate starts with subject identity, then adds composition, material, light, and invariants. The last two cells are the only ones required to preserve geometry and prop positions closely.

Seven fields that earn their place

FieldDecision it ownsObservable check
deliverablewhat the image is forcrop and information density match the use
subjectidentity, count, action, geometryrequired objects exist once and look correct
sceneenvironment and supporting objectsno unrequested clutter or brand leakage
compositioncamera, crop, placement, negative spacethe frame can be compared across runs
lightingsource direction, width, contrast, moodhighlights and shadows agree
materials_palettesurface behavior and color rolesmetal, cloth, wood, and accent colors stay distinct
invariants_constraintswhat must not change or appearapproved geometry survives; forbidden content stays absent

Keep related values together. Do not create 40 fields because a schema can hold them. A field deserves to exist when it changes independently or needs a separate review owner.

A copy-ready schema

The following renders as a JSON object. Replace the values, keep the keys stable, and remove fields your tool does not use.

{

  "deliverable": "editorial product photograph, landscape",

  "subject": "one unbranded red steel toolbox with two brass latches and one top handle",

  "scene": "blue-gray workbench, neutral wall, frosted window, brass flashlight front-left, folded canvas gloves front-right",

  "composition": "eye-level three-quarter view, toolbox centered, moderate negative space, every prop fully visible",

  "lighting": "one broad soft window source upper-left, quiet contact shadows, no second color cast",

  "materials_palette": "worn oxide-red powder-coated steel, aged brass, tan woven canvas, blue-gray laminate",

  "invariants_constraints": "preserve latch count, handle, front-right scratch, camera, crop, prop positions, object count; no text, logo, watermark, extra tools"

}

This is valid JSON after rendered entities become braces. If your interface accepts only text, use the same keys as short headings. The organizational benefit remains.

Run the schema as an ablation test

  1. Subject baseline: submit deliverable plus subject. Reject incorrect count or geometry.
  2. Composition lock: add camera, crop, placement, and negative space. Save the approved frame.
  3. Material pass: add only surface and palette fields. Check whether geometry drifts.
  4. Lighting pass: add source direction and contrast. Inspect all shadows, not just mood.
  5. Invariant pass: list the five details most expensive to lose. Regenerate from the approved baseline rather than endlessly editing a degraded result.
  6. Variation: change one field per run and record it. If two fields change, you cannot identify the cause.

The FreeArtGen realistic AI image generator can run the prose version of this brief. Start with the field values joined as short sentences; compare the same subject and crop before deciding whether a tool's native structured interface adds more control.

Failure modes and smallest repairs

Valid JSON, vague values: “cinematic,” “premium,” and “beautiful” are still untestable. Replace them with camera, source, material, and hierarchy decisions.

Schema bloat: dozens of nullable fields make the prompt longer without assigning useful jobs. Merge values reviewed together.

Conflicting fields: “soft overcast” in lighting and “hard noon shadow” in mood cannot both own shadow behavior. Give each decision one owner.

False invariance: a model may still move latches, faces, or props. Compare against the approved source and use an editing or reference workflow when exact preservation matters.

Tool mismatch: some interfaces flatten structured input into text, ignore unknown keys, impose length limits, or use their own schema. Check product documentation and log the serialized request.

Secrets in prompts: never place API keys, customer data, private reference URLs, or unlicensed assets inside a reusable prompt object.

The visual plates are editorial simulations from one generation session, not a benchmark of Fibo 1.5, OpenAI image generation, or another model. BRIA's card makes model-specific claims about its own structured pipeline and license; those details should not be generalized to every tool. JSON also does not grant rights to a source image or make a generated claim truthful.

Use JSON when the brief will be reused, reviewed, transformed by software, or varied one field at a time. For a one-off sketch, a short clear paragraph may be faster. The decision rule is whether separate fields reduce ambiguity and make failures traceable—not whether the prompt looks technical.

References

  1. Google. Search suggestions for json prompt for ai image. Autocomplete snapshot. https://suggestqueries.google.com/complete/search?client=firefox&hl=en&gl=us&q=json%20prompt%20for%20ai%20image Accessed August 27, 2026.
  2. Google. Search suggestions for ai image prompt json. Autocomplete snapshot. https://suggestqueries.google.com/complete/search?client=firefox&hl=en&gl=us&q=ai%20image%20prompt%20json Accessed August 27, 2026.
  3. BRIA AI. Fibo 1.5 model card. Official model record and usage notes. https://huggingface.co/briaai/Fibo-1.5 Accessed August 27, 2026.
  4. Eyal Gutflaish et al.. Generating an Image From 1,000 Words: Enhancing Text-to-Image With Structured Captions. Technical paper, 2025. https://arxiv.org/abs/2511.06876 Accessed August 27, 2026.

Cite this article

Nora Adeyemi. “JSON Prompts for AI Images: Separate Intent From Invariants.” FreeArtGen. Version 2026-08-27. Updated August 27, 2026. https://www.freeartgen.com/blog/json-prompt-ai-image