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 freeDeterministic seeded avatar generator — returns PNG bytes, not JSON.
Deterministic GET: same seed/shuffle/size always renders the same avatar.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
seed | query | str | required | Seed string example: test |
shuffle_index | query | int | optional | Avatar variant index (>=0) default: 0example: 0 |
size | query | int | optional | Square pixel size default: 512example: 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"