Skip to content

Add Imagine file storage & file-ID inputs to image/video generation#160

Merged
Omar-V2 merged 1 commit into
mainfrom
feat/imagine-file-storage
Jun 8, 2026
Merged

Add Imagine file storage & file-ID inputs to image/video generation#160
Omar-V2 merged 1 commit into
mainfrom
feat/imagine-file-storage

Conversation

@Omar-V2

@Omar-V2 Omar-V2 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator
  • Add storage_options (filename, expires_after, public_url) to image/video generation to persist outputs to the Files API, with file_output/storage_error/public_url/public_url_error response properties
  • Accept Files API file_id references as generation inputs (image_file_id/image_file_ids, video_file_id, reference_image_file_ids), including mixing URLs and file IDs in multi-image requests
  • Regenerate v5/v6 proto stubs for files/image/video
  • Add unit tests across sync/aio for storage options, file-ID inputs, and response properties

- Add storage_options (filename, expires_after, public_url) to image/video generation to persist outputs to the Files API, with file_output/storage_error/public_url/public_url_error response properties
- Accept Files API file_id references as generation inputs (image_file_id/image_file_ids, video_file_id, reference_image_file_ids), including mixing URLs and file IDs in multi-image requests
- Regenerate v5/v6 proto stubs for files/image/video
- Add unit tests across sync/aio for storage options, file-ID inputs, and response properties
@Omar-V2 Omar-V2 requested a review from a team as a code owner June 8, 2026 14:36
@Omar-V2 Omar-V2 merged commit 430fbe2 into main Jun 8, 2026
7 checks passed
@Omar-V2 Omar-V2 deleted the feat/imagine-file-storage branch June 8, 2026 21:51
Omar-V2 added a commit that referenced this pull request Jun 10, 2026
Prepare to release `v1.1.6.0` of the xAI Python SDK following the
addition of #160 #161 and #162
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants