- Strips leading/trailing whitespace
- Removes accidental `Bearer ` prefixes from pasted keys
This prevents xAI API rejection errors such as "Incorrect API key provided" when the key format is slightly off.
Co-authored-by: austin1997 <18709560+austin1997@users.noreply.github.com>
This adds an optional `xai_api_key` input to all Grok image and video nodes.
When provided, requests bypass the Comfy proxy and directly call the
official xAI endpoints, allowing users to use their own keys and bypass
Comfy org limits.
Co-authored-by: austin1997 <18709560+austin1997@users.noreply.github.com>