Recipes

Computes Civitai content hashes (SHA256, AutoV1/2/3, Blake3, CRC32) of a model file.

post/v2/consumer/recipes/modelHash

Request

  • The document declares no server URL.
  • Auth: none required

Query parameters

experimentalboolean
allowMatureContentboolean
whatifboolean
ephemeralboolean
tier'paid' | 'free'

How a workflow is paid for.

Request body

modelstring required

Response

OK

sha256string nullable

SHA256 hash of the full file.

autoV1string nullable

AutoV1 short hash (8 chars of SHA256 over a 64 KB block starting at 1 MB).

autoV2string nullable

AutoV2 short hash (first 10 chars of SHA256).

autoV3string nullable

AutoV3 hash (SHA256 of the file with safetensors header metadata stripped).

blake3string nullable

Blake3 hash of the full file.

crc32string nullable

CRC32 of the full file.

Changes