Skip to content
checkaifree

Practical guide

Parse A1111 generation settings without losing the original text

A comma inside a quoted model name or extension value is not a new setting. Parse a defined complex text sample, check its exact seed and decoded multiline value, then keep the original so no unrecognized setting disappears.

18 October 2026 · Check AI Free

Use saved text, not an assumed recipe

Download a1111.txt or open the parameters tool's text section and click Try complex parameters. This is a self-authored parsing fixture with invented prompts, model strings and an extension value. It does not require a PNG or a generator, and the tool never runs the settings.

The supported syntax separates positive prompt text, an optional line beginning Negative prompt:, and a trailing settings section with at least three key/value pairs including a generation-setting anchor. Quoted strings and balanced parentheses, brackets and braces keep their inner commas. The parser does not add upstream defaults, apply styles or reconstruct absent extension behavior.

  • Download the complex saved-parameters text — Project-authored multiline prompts, nine settings, quoted commas and a fictional extension value. Seed is the exact string 18446744073709551615. No generation is performed.
  • Official A1111 infotext parser, fixed revision — Reference 82a973c04367 for saved-generation text syntax. Our local parser preserves the original and unknown settings; it does not execute upstream code or apply upstream defaults/styles.

Parse the complex sample and check the boundaries

  1. Step 1

    Load the stored text into the paste section

    Open Stable Diffusion PNG info, find Or paste A1111 parameters text, paste the downloaded a1111.txt and click Parse parameters text. Alternatively click Try complex parameters. A read result should contain nine saved settings.

    Open the saved-parameters parser

  2. Step 2

    Keep both multiline prompt sections

    Positive prompt is Synthetic café, (paper camera:1.2) followed by Second positive line. Negative prompt is blur, text, (bad hands, fingers) followed by Second negative line. Commas inside those prompts are part of the prompts, not a flat list of settings.

  3. Step 3

    Compare the exact seed with the original

    Seed (exact string) must read 18446744073709551615. It remains a string, without rounding, scientific notation or a JavaScript Number conversion. Compare all digits in Original parameters text and in the downloaded original.

  4. Step 4

    Inspect quoted and unknown values

    Expand All saved settings. Model becomes the single value fictional, model.safetensors. Hires prompt decodes an escaped newline and quotation marks. Extension data stays an unknown retained setting with its complete structured-looking text; the tool does not invoke an extension or decide what it would do.

Expected parsed settings

Expected parsed settings
Stored settingParsed resultCheck
Steps / CFG scale / Sampler24 / 7.5 / DPM++ 2MValues are read from this text, with no runtime behavior inferred.
Seed18446744073709551615Exact 20-digit string
Modelfictional, model.safetensorsQuoted comma stays inside one model value.
Hires promptline one, (quoted) line two "camera"Escaped newline and quotes decode without splitting the setting.
Extension data{"a":[1,2],"b":"x,y"}Unknown setting retained; brackets and quoted comma stay intact.
Model hashsynthetic123A fictional stored declaration, not an authenticated model identity.

Save original text and preserve warnings

  1. Step 1

    Copy the section you actually need

    Copy positive prompt and Copy negative prompt copy only those parsed sections. Copy original parameters preserves the entire input, including all settings and their original escaping. Review the intended scope before pasting into another application.

  2. Step 2

    Download a recoverable original

    Click Download original parameters. The resulting original-parameters.txt should match a1111.txt character for character. Shortened previews never justify shortened downloads, and a parsed display is not a replacement for the source text.

  3. Step 3

    Keep duplicate and unparsed settings visible

    If the same setting key occurs twice, both occurrences remain in All saved settings and a warning reports the duplicate. Convenience fields use the first occurrence. Incomplete quotes/brackets or uninterpreted fragments produce warnings when a settings section can be recognized. Keep those fragments with the original instead of guessing a replacement value.

Try an unrecognized text and an empty input

Click Try unrecognized text. It contains prompt-like text without a supported settings section, so the result is unrecognized and the full original remains available. An empty paste instead produces empty. Neither case fills in seed, steps or a model from defaults or image dimensions.

Pasted text is limited to 1 MiB, 512 settings and 64 candidate settings sections. A limit stops processing explicitly. Reading an actual PNG adds the separate PNG chunk/text limits. A readable seed and model name do not guarantee reproducibility: software versions, extension behavior, missing resources and other generation conditions are not reconstructed by this parser.

Sources and reproducible inputs

  • Download the complex saved-parameters text — Project-authored multiline prompts, nine settings, quoted commas and a fictional extension value. Seed is the exact string 18446744073709551615. No generation is performed.
  • Official A1111 infotext parser, fixed revision — Reference 82a973c04367 for saved-generation text syntax. Our local parser preserves the original and unknown settings; it does not execute upstream code or apply upstream defaults/styles.
  • RFC 8259: JSON syntax and number interoperability — The number section describes interoperability limits of common numeric implementations. This viewer retains original numeric lexemes instead of first passing large seeds through JavaScript Number.

Continue with your file