xAI has detailed a requirement for Grok Build video tools: under Zero Data Retention (ZDR), generated videos must be stored in user-supplied storage. Until this storage is configured, the video tools within Grok Build will return an error. This mechanism ensures that videos land directly in the user's bucket and are never stored by xAI.
Key Points
- Grok Build video tools require user-supplied storage under Zero Data Retention (ZDR).
- Without configured storage, Grok Build video tools will return an error.
- Users must configure an S3-compatible bucket for video output.
- The configuration involves setting parameters in
~/.grok/managed_config.toml. - Grok Build presigns an upload URL for each video generation.
- The presigned URL directs the video to the user's bucket, bypassing xAI storage.
- Credentials for S3 access are used to presign URLs but are not sent to xAI.
- Grok Build must be restarted after configuration changes for them to take effect.
Context
According to xAI Docs, the Grok Build environment, specifically when operating with Zero Data Retention, mandates that all video output is handled by the user's own storage infrastructure. This approach is designed to maintain user data privacy by preventing xAI from retaining generated video content.
Why It Matters
This requirement impacts builders using Grok Build for video generation under ZDR, as they must integrate and manage their own S3-compatible storage. This shifts responsibility for video data retention and access directly to the user, aligning with privacy-focused operational models.
What To Do
- Configure an S3-compatible bucket (e.g., AWS S3, Cloudflare R2, MinIO).
- Edit
~/.grok/managed_config.tomlto specify the bucket name, endpoint, and region. - Provide
access_key_idandsecret_access_keyforread_writeoperations. - Consider providing
read_onlycredentials for playback/download URLs, or manage retrieval independently. - Restart Grok Build after making configuration changes.
