What is JSON Prompt?

Understanding the difference between Text Prompts and JSON Prompts for AI image and video generation.

Understanding JSON Prompts

A JSON Prompt is a structured format that contains additional technical parameters alongside the text prompt. It provides more control over the AI generation process by specifying settings like seed values, guidance scale, number of inference steps, and other model-specific parameters.

While a text prompt describes what you want to generate, a JSON prompt tells the AI how to generate it with precise technical specifications.

{
  "prompt": "A majestic dragon flying over mountains at sunset",
  "seed": 123456,
  "steps": 30,
  "cfg_scale": 7.5,
  "sampler": "DPM++ 2M Karras",
  "width": 1024,
  "height": 768
}

When to Use Each Type

Comparison: Text vs JSON Prompts

Feature Text Prompt JSON Prompt
Easy to understand
Quick to copy & use
Exact reproducibility
Control generation settings
Specify seed value
Set image dimensions
Adjust quality/steps
Best for Photo Generation
Best for Video Generation
Beginner Friendly
Professional Use

Pro Tip

Most AI generation tools allow you to paste JSON directly into their settings. Copy the JSON prompt, then look for an "Import Settings" or "Load from JSON" option in your preferred tool.

If a JSON prompt isn't available for a creation you like, you can still use the text prompt and experiment with different settings until you achieve a similar result!

Browse Prompts