instr-v0.json had one accepted object and 28 refused ones, none at an inclusive bound, so a second sink stricter by one passed every vector; and the CLI test held only that each object was refused, not why, so a rule relaxed (a quotation mark let into the prompt) stayed green while the canonical-bytes check refused the object in its place. - The reader (wai_cli/instr.rs) refuses with a reason code, the first rule broken in a stated order; a member given twice is refused as such (strict_json). - The vector gains twelve accepted objects (seed 0 and 2^32 - 1, steps 1 and 64, an empty prompt, 256 bytes, 0x20 and 0x7e, JSON's structural characters, a side of 1, a side of 4096 and 2^23 pixels, 16 sizes, the w-then-h order), each with the SHA-256 of its first listed size made natively; eight more refused objects (types, a fraction in a size, a negative side, an escaped line feed, a backslash, cut-short JSON); and a reason for every refused object. - tests/cli_generate_score.rs asserts each refusal's reason through `wai generate --instr` and `wai wrap`, and makes and wraps every accepted object. - tests/generate.rs states form v0 a second time, independently of the reader, and holds the object, the accepted and the refused lists to it, making each accepted object's output with the library. Co-Authored-By: Claude Opus 5.5 <[email protected]>
362 lines
18 KiB
JSON
362 lines
18 KiB
JSON
{
|
|
"form": "the instruction object of wai.generate.spectral, form v0 (SPEC \u00a75)",
|
|
"model_file": "generate_spectral_model.json",
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"buffer": "RGB8: rows top to bottom, pixels left to right, R, G, B bytes",
|
|
"outputs": [
|
|
{
|
|
"w": 256,
|
|
"h": 128,
|
|
"bytes": 98304,
|
|
"sha256": "6c7eabbc826affc752394fa67bf74e135331664d53edf13a4f6eabb9b1f80704"
|
|
},
|
|
{
|
|
"w": 640,
|
|
"h": 320,
|
|
"bytes": 614400,
|
|
"sha256": "54bc40567935a8b264d1836bd94439623b233c3551b535ea54960f35327e5bf2"
|
|
},
|
|
{
|
|
"w": 1280,
|
|
"h": 720,
|
|
"bytes": 2764800,
|
|
"sha256": "909aa2d54cc1ab3a98912b173e5b031c8634a794b9ad58f0526a543b4cb7acc8"
|
|
},
|
|
{
|
|
"w": 1920,
|
|
"h": 1080,
|
|
"bytes": 6220800,
|
|
"sha256": "763e9f672810db934d8c492db77230d6d1e7ab1375c6ff1f076222fa4dfcc83a"
|
|
}
|
|
],
|
|
"accepted": [
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":0,\"sizes\":[[8,4]],\"steps\":4}",
|
|
"why": "the lowest seed",
|
|
"outputs": [
|
|
{
|
|
"w": 8,
|
|
"h": 4,
|
|
"bytes": 96,
|
|
"sha256": "37c9ac2ede8565a90cbc3769c6faf48e86e1bc695df8fb63b363696afcd2acae"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":4294967295,\"sizes\":[[8,4]],\"steps\":4}",
|
|
"why": "the highest seed, 2^32 - 1",
|
|
"outputs": [
|
|
{
|
|
"w": 8,
|
|
"h": 4,
|
|
"bytes": 96,
|
|
"sha256": "d09d427c1d8182f3cf44ca55db6fac364303c509ea16a7eb288a9ca32f629a5c"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[8,4]],\"steps\":1}",
|
|
"why": "the fewest steps",
|
|
"outputs": [
|
|
{
|
|
"w": 8,
|
|
"h": 4,
|
|
"bytes": 96,
|
|
"sha256": "707e58d2a194d59497b9bb4763f97752f40d80eb2c0bf3edf2cb862fa733393d"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[8,4]],\"steps\":64}",
|
|
"why": "the most steps",
|
|
"outputs": [
|
|
{
|
|
"w": 8,
|
|
"h": 4,
|
|
"bytes": 96,
|
|
"sha256": "f145c90692d30290e9da0512f2880aefca5eee93e7992c2dfcaf79fb077ce1aa"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"\",\"seed\":7,\"sizes\":[[8,4]],\"steps\":4}",
|
|
"why": "an empty prompt",
|
|
"outputs": [
|
|
{
|
|
"w": 8,
|
|
"h": 4,
|
|
"bytes": 96,
|
|
"sha256": "f168eff06763c5a1895305aacba2d7802cf163fb18d2c0868851a8cf23a02db4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocean horizon calm ocea\",\"seed\":7,\"sizes\":[[8,4]],\"steps\":4}",
|
|
"why": "a prompt of 256 bytes",
|
|
"outputs": [
|
|
{
|
|
"w": 8,
|
|
"h": 4,
|
|
"bytes": 96,
|
|
"sha256": "7a9a5293a09a809cd59cea1d7ed469e0180ff7ffe073d30c53917318e10d08db"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\" calm ~ horizon~\",\"seed\":7,\"sizes\":[[8,4]],\"steps\":4}",
|
|
"why": "a prompt holding 0x20 and 0x7e, the ends of the printable range, at its ends",
|
|
"outputs": [
|
|
{
|
|
"w": 8,
|
|
"h": 4,
|
|
"bytes": 96,
|
|
"sha256": "4c7e761f20124363436c74f70183d19e25c825c4a2f2ea921a8efb1bd9d0d879"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"{[calm]:,horizon}\",\"seed\":7,\"sizes\":[[8,4]],\"steps\":4}",
|
|
"why": "a prompt holding JSON's structural characters",
|
|
"outputs": [
|
|
{
|
|
"w": 8,
|
|
"h": 4,
|
|
"bytes": 96,
|
|
"sha256": "a6d9f1d58c870a5a0c9467e1827e8d729239732d9309ecb63b13d43ee5f92936"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[1,1]],\"steps\":4}",
|
|
"why": "a side of 1",
|
|
"outputs": [
|
|
{
|
|
"w": 1,
|
|
"h": 1,
|
|
"bytes": 3,
|
|
"sha256": "9b97f74eae3b8f5f3694abd0b760621410003a832599cb528ff0bc07e294ccc4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[1,4096],[4096,1],[4096,2048]],\"steps\":4}",
|
|
"why": "a side of 4096, and 2^23 pixels",
|
|
"outputs": [
|
|
{
|
|
"w": 1,
|
|
"h": 4096,
|
|
"bytes": 12288,
|
|
"sha256": "37639a70c24aa12497a4c20082669957f5cc46c9afeef7d076a8e48b060e6d66"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[1,1],[1,2],[1,3],[1,4],[1,5],[1,6],[1,7],[1,8],[1,9],[1,10],[1,11],[1,12],[1,13],[1,14],[1,15],[1,16]],\"steps\":4}",
|
|
"why": "16 sizes",
|
|
"outputs": [
|
|
{
|
|
"w": 1,
|
|
"h": 1,
|
|
"bytes": 3,
|
|
"sha256": "9b97f74eae3b8f5f3694abd0b760621410003a832599cb528ff0bc07e294ccc4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[2,8],[2,9],[3,1]],\"steps\":4}",
|
|
"why": "sizes in ascending order of w and then h",
|
|
"outputs": [
|
|
{
|
|
"w": 2,
|
|
"h": 8,
|
|
"bytes": 48,
|
|
"sha256": "37da067fc8966309c3000f4f020857b8be04923beb4bdd0ef018d44f8e072efd"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"accepted_note": "objects at each inclusive bound of form v0, each of which a sink MUST accept; each output is the picture at the object's first listed size, made natively by `wai generate --instr`",
|
|
"refused": [
|
|
{
|
|
"object": "{\"prompt\":\"a calm spectral horizon\",\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "members out of ascending byte order",
|
|
"reason": "not_canonical"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\": 7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "whitespace",
|
|
"reason": "not_canonical"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}\n",
|
|
"why": "a line feed after the object",
|
|
"reason": "not_canonical"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":4294967296,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "seed past 2^32 - 1",
|
|
"reason": "seed_range"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":-1,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a negative seed",
|
|
"reason": "seed_range"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7.0,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a seed written with a fraction",
|
|
"reason": "not_integer"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7e0,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a seed written with an exponent",
|
|
"reason": "not_integer"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":0}",
|
|
"why": "steps below 1",
|
|
"reason": "steps_range"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":65}",
|
|
"why": "steps past 64",
|
|
"reason": "steps_range"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[],\"steps\":4}",
|
|
"why": "no size",
|
|
"reason": "sizes_count"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[640,320],[256,128]],\"steps\":4}",
|
|
"why": "sizes out of ascending order",
|
|
"reason": "sizes_order"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[256,128]],\"steps\":4}",
|
|
"why": "a size listed twice",
|
|
"reason": "sizes_order"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[0,128]],\"steps\":4}",
|
|
"why": "a side of 0",
|
|
"reason": "size_side"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[4097,1]],\"steps\":4}",
|
|
"why": "a side past 4096",
|
|
"reason": "size_side"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[4096,4096]],\"steps\":4}",
|
|
"why": "more than 2^23 pixels",
|
|
"reason": "size_pixels"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128,1]],\"steps\":4}",
|
|
"why": "a size that is not a pair",
|
|
"reason": "size_not_pair"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[1,1],[2,1],[3,1],[4,1],[5,1],[6,1],[7,1],[8,1],[9,1],[10,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1]],\"steps\":4}",
|
|
"why": "more than 16 sizes",
|
|
"reason": "sizes_count"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral \\u0068orizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "an escape in the prompt",
|
|
"reason": "not_canonical"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a \\\"calm\\\" horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a quotation mark in the prompt",
|
|
"reason": "prompt_byte"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horiz\u00f3n\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a byte outside printable ASCII in the prompt",
|
|
"reason": "prompt_byte"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a prompt of 257 bytes",
|
|
"reason": "prompt_length"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963EE634DB1A964D14004618B139FD7E32598F627C023FAF9526B14611504F9E\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a model digest in uppercase",
|
|
"reason": "model_digest"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a model digest without `sha256:`",
|
|
"reason": "model_digest"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a model digest of 63 digits",
|
|
"reason": "model_digest"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4,\"version\":0}",
|
|
"why": "a member form v0 does not define",
|
|
"reason": "member_unknown"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]]}",
|
|
"why": "a member missing",
|
|
"reason": "member_missing"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a member given twice",
|
|
"reason": "member_repeated"
|
|
},
|
|
{
|
|
"object": "[{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}]",
|
|
"why": "not an object",
|
|
"reason": "not_object"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4",
|
|
"why": "not JSON: the object is cut short",
|
|
"reason": "not_json"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":7,\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a prompt that is not a string",
|
|
"reason": "member_type"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":\"7\",\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a seed written as a string",
|
|
"reason": "member_type"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":\"256x128\",\"steps\":4}",
|
|
"why": "sizes that are not an array",
|
|
"reason": "member_type"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[256.0,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a side written with a fraction",
|
|
"reason": "not_integer"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm spectral horizon\",\"seed\":7,\"sizes\":[[-256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a negative side",
|
|
"reason": "size_side"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm\\nhorizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "an escaped line feed in the prompt",
|
|
"reason": "prompt_byte"
|
|
},
|
|
{
|
|
"object": "{\"model\":\"sha256:963ee634db1a964d14004618b139fd7e32598f627c023faf9526b14611504f9e\",\"prompt\":\"a calm\\\\horizon\",\"seed\":7,\"sizes\":[[256,128],[640,320],[1280,720],[1920,1080]],\"steps\":4}",
|
|
"why": "a backslash in the prompt",
|
|
"reason": "prompt_byte"
|
|
}
|
|
],
|
|
"reason_note": "the first rule the reference reader (wai generate --instr, wai wrap) finds broken, in the order it checks them; informative: a sink MUST refuse each object, and may say why in its own words"
|
|
}
|