GET /social/generated_profile_image

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/kalshi/social/generated_profile_imageCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Deterministic seeded avatar generator — returns PNG bytes, not JSON.

Deterministic GET: same seed/shuffle/size always renders the same avatar.

Parameters

nameintypedescription
seedquerystrrequiredSeed string
example: test
shuffle_indexqueryintoptionalAvatar variant index (>=0)
default: 0
example: 0
sizequeryintoptionalSquare pixel size
default: 512
example: 64

Response

type: scalar
pagination: none
sample: {
  "value": "str"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/kalshi/social/generated_profile_image?seed=test&shuffle_index=0&size=64"