venice_client 1.0.23 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -1
  3. data/docs/AssistantMessage.md +2 -0
  4. data/docs/AssistantMessageReasoningDetailsInner.md +28 -0
  5. data/docs/ChatApi.md +1 -1
  6. data/docs/ChatCompletionContentPartInputAudio.md +22 -0
  7. data/docs/ChatCompletionContentPartVideoUrl.md +22 -0
  8. data/docs/ChatCompletionRequestMessagesInner.md +4 -2
  9. data/docs/CreateChatCompletion200Response.md +1 -1
  10. data/docs/CreateChatCompletion200ResponseChoicesInnerMessage.md +2 -0
  11. data/docs/GenerateImageRequest.md +2 -2
  12. data/docs/InputAudio.md +22 -0
  13. data/docs/InputAudioObject.md +20 -0
  14. data/docs/ObjectsInner.md +5 -1
  15. data/docs/UserMessage.md +2 -0
  16. data/docs/VideoURLObject.md +18 -0
  17. data/docs/VideoUrl.md +22 -0
  18. data/lib/venice_client/api/api_keys_api.rb +1 -1
  19. data/lib/venice_client/api/audio_api.rb +1 -1
  20. data/lib/venice_client/api/billing_api.rb +1 -1
  21. data/lib/venice_client/api/characters_api.rb +1 -1
  22. data/lib/venice_client/api/chat_api.rb +3 -3
  23. data/lib/venice_client/api/embeddings_api.rb +1 -1
  24. data/lib/venice_client/api/image_api.rb +1 -1
  25. data/lib/venice_client/api/models_api.rb +1 -1
  26. data/lib/venice_client/api/preview_api.rb +1 -1
  27. data/lib/venice_client/api/speech_api.rb +1 -1
  28. data/lib/venice_client/api/video_api.rb +1 -1
  29. data/lib/venice_client/api_client.rb +1 -1
  30. data/lib/venice_client/api_error.rb +1 -1
  31. data/lib/venice_client/configuration.rb +1 -1
  32. data/lib/venice_client/models/assistant_message.rb +15 -2
  33. data/lib/venice_client/models/assistant_message_content.rb +1 -1
  34. data/lib/venice_client/models/assistant_message_reasoning_details_inner.rb +282 -0
  35. data/lib/venice_client/models/audio_model_pricing.rb +1 -1
  36. data/lib/venice_client/models/audio_model_pricing_input.rb +1 -1
  37. data/lib/venice_client/models/billing_usage_request.rb +1 -1
  38. data/lib/venice_client/models/billing_usage_response.rb +1 -1
  39. data/lib/venice_client/models/cache_control.rb +1 -1
  40. data/lib/venice_client/models/chat_completion_content_part_input_audio.rb +297 -0
  41. data/lib/venice_client/models/chat_completion_content_part_video_url.rb +297 -0
  42. data/lib/venice_client/models/chat_completion_request.rb +1 -1
  43. data/lib/venice_client/models/chat_completion_request_messages_inner.rb +1 -1
  44. data/lib/venice_client/models/chat_completion_request_reasoning.rb +1 -1
  45. data/lib/venice_client/models/chat_completion_request_response_format.rb +1 -1
  46. data/lib/venice_client/models/chat_completion_request_stop.rb +1 -1
  47. data/lib/venice_client/models/chat_completion_request_stream_options.rb +1 -1
  48. data/lib/venice_client/models/chat_completion_request_tool_choice.rb +1 -1
  49. data/lib/venice_client/models/chat_completion_request_tool_choice_any_of.rb +1 -1
  50. data/lib/venice_client/models/chat_completion_request_tool_choice_any_of_function.rb +1 -1
  51. data/lib/venice_client/models/chat_completion_request_venice_parameters.rb +1 -1
  52. data/lib/venice_client/models/complete_video200_response.rb +1 -1
  53. data/lib/venice_client/models/complete_video_request.rb +1 -1
  54. data/lib/venice_client/models/create_api_key200_response.rb +1 -1
  55. data/lib/venice_client/models/create_api_key200_response_data.rb +1 -1
  56. data/lib/venice_client/models/create_api_key_request.rb +1 -1
  57. data/lib/venice_client/models/create_api_key_request_expires_at.rb +1 -1
  58. data/lib/venice_client/models/create_chat_completion200_response.rb +2 -19
  59. data/lib/venice_client/models/create_chat_completion200_response_choices_inner.rb +1 -1
  60. data/lib/venice_client/models/create_chat_completion200_response_choices_inner_logprobs.rb +1 -1
  61. data/lib/venice_client/models/create_chat_completion200_response_choices_inner_logprobs_top_logprobs_inner.rb +1 -1
  62. data/lib/venice_client/models/create_chat_completion200_response_choices_inner_message.rb +4 -2
  63. data/lib/venice_client/models/create_chat_completion200_response_usage.rb +1 -1
  64. data/lib/venice_client/models/create_chat_completion200_response_venice_parameters.rb +1 -1
  65. data/lib/venice_client/models/create_chat_completion200_response_venice_parameters_web_search_citations_inner.rb +1 -1
  66. data/lib/venice_client/models/create_embedding200_response.rb +1 -1
  67. data/lib/venice_client/models/create_embedding200_response_data_inner.rb +1 -1
  68. data/lib/venice_client/models/create_embedding200_response_usage.rb +1 -1
  69. data/lib/venice_client/models/create_embedding_request_schema.rb +1 -1
  70. data/lib/venice_client/models/create_embedding_request_schema_input.rb +1 -1
  71. data/lib/venice_client/models/create_embedding_request_schema_model.rb +1 -1
  72. data/lib/venice_client/models/create_speech_request_schema.rb +1 -1
  73. data/lib/venice_client/models/delete_api_key200_response.rb +1 -1
  74. data/lib/venice_client/models/detailed_error.rb +1 -1
  75. data/lib/venice_client/models/edit_image_request.rb +1 -1
  76. data/lib/venice_client/models/edit_image_request_image.rb +1 -1
  77. data/lib/venice_client/models/generate_image200_response.rb +1 -1
  78. data/lib/venice_client/models/generate_image200_response_timing.rb +1 -1
  79. data/lib/venice_client/models/generate_image_request.rb +2 -2
  80. data/lib/venice_client/models/get_api_key_by_id200_response.rb +1 -1
  81. data/lib/venice_client/models/get_api_key_by_id200_response_data.rb +1 -1
  82. data/lib/venice_client/models/get_api_key_generate_web3_key200_response.rb +1 -1
  83. data/lib/venice_client/models/get_api_key_generate_web3_key200_response_data.rb +1 -1
  84. data/lib/venice_client/models/get_api_key_rate_limit_logs200_response.rb +1 -1
  85. data/lib/venice_client/models/get_api_key_rate_limit_logs200_response_data_inner.rb +1 -1
  86. data/lib/venice_client/models/get_api_key_rate_limits200_response.rb +1 -1
  87. data/lib/venice_client/models/get_api_key_rate_limits200_response_data.rb +1 -1
  88. data/lib/venice_client/models/get_api_key_rate_limits200_response_data_api_tier.rb +1 -1
  89. data/lib/venice_client/models/get_api_key_rate_limits200_response_data_balances.rb +1 -1
  90. data/lib/venice_client/models/get_api_key_rate_limits200_response_data_rate_limits_inner.rb +1 -1
  91. data/lib/venice_client/models/get_api_key_rate_limits200_response_data_rate_limits_inner_rate_limits_inner.rb +1 -1
  92. data/lib/venice_client/models/get_api_keys200_response.rb +1 -1
  93. data/lib/venice_client/models/get_api_keys200_response_data_inner.rb +1 -1
  94. data/lib/venice_client/models/get_api_keys200_response_data_inner_consumption_limits.rb +1 -1
  95. data/lib/venice_client/models/get_api_keys200_response_data_inner_usage.rb +1 -1
  96. data/lib/venice_client/models/get_api_keys200_response_data_inner_usage_trailing_seven_days.rb +1 -1
  97. data/lib/venice_client/models/get_billing_usage200_response.rb +1 -1
  98. data/lib/venice_client/models/get_billing_usage200_response_data_inner.rb +1 -1
  99. data/lib/venice_client/models/get_billing_usage200_response_data_inner_inference_details.rb +1 -1
  100. data/lib/venice_client/models/get_billing_usage200_response_pagination.rb +1 -1
  101. data/lib/venice_client/models/get_character_by_slug200_response.rb +1 -1
  102. data/lib/venice_client/models/image_model_constraints.rb +1 -1
  103. data/lib/venice_client/models/image_model_constraints_steps.rb +1 -1
  104. data/lib/venice_client/models/image_model_pricing.rb +1 -1
  105. data/lib/venice_client/models/image_model_pricing_generation.rb +1 -1
  106. data/lib/venice_client/models/image_model_pricing_upscale.rb +1 -1
  107. data/lib/venice_client/models/image_model_pricing_upscale2x.rb +1 -1
  108. data/lib/venice_client/models/image_model_pricing_upscale4x.rb +1 -1
  109. data/lib/venice_client/models/image_styles_get200_response.rb +1 -1
  110. data/lib/venice_client/models/image_url.rb +1 -1
  111. data/lib/venice_client/models/image_url_object.rb +1 -1
  112. data/lib/venice_client/models/input_audio.rb +297 -0
  113. data/lib/venice_client/models/input_audio_object.rb +285 -0
  114. data/lib/venice_client/models/json_object.rb +1 -1
  115. data/lib/venice_client/models/json_schema.rb +1 -1
  116. data/lib/venice_client/models/list_characters200_response.rb +1 -1
  117. data/lib/venice_client/models/list_characters200_response_data_inner.rb +1 -1
  118. data/lib/venice_client/models/list_characters200_response_data_inner_stats.rb +1 -1
  119. data/lib/venice_client/models/list_model_compatibility_mapping200_response.rb +1 -1
  120. data/lib/venice_client/models/list_model_traits200_response.rb +1 -1
  121. data/lib/venice_client/models/list_models200_response.rb +1 -1
  122. data/lib/venice_client/models/list_models200_response_type.rb +1 -1
  123. data/lib/venice_client/models/list_models_type_parameter.rb +1 -1
  124. data/lib/venice_client/models/llm_model_pricing.rb +1 -1
  125. data/lib/venice_client/models/llm_model_pricing_input.rb +1 -1
  126. data/lib/venice_client/models/llm_model_pricing_output.rb +1 -1
  127. data/lib/venice_client/models/model_response.rb +1 -1
  128. data/lib/venice_client/models/model_response_model_spec.rb +1 -1
  129. data/lib/venice_client/models/model_response_model_spec_capabilities.rb +1 -1
  130. data/lib/venice_client/models/model_response_model_spec_constraints.rb +1 -1
  131. data/lib/venice_client/models/model_response_model_spec_pricing.rb +1 -1
  132. data/lib/venice_client/models/objects_inner.rb +4 -2
  133. data/lib/venice_client/models/post_api_key_generate_web3_key_request.rb +1 -1
  134. data/lib/venice_client/models/queue_video200_response.rb +1 -1
  135. data/lib/venice_client/models/queue_video_request.rb +1 -1
  136. data/lib/venice_client/models/quote_video200_response.rb +1 -1
  137. data/lib/venice_client/models/retrieve_video200_response.rb +1 -1
  138. data/lib/venice_client/models/retrieve_video_request.rb +1 -1
  139. data/lib/venice_client/models/simple_generate_image200_response.rb +1 -1
  140. data/lib/venice_client/models/simple_generate_image200_response_data_inner.rb +1 -1
  141. data/lib/venice_client/models/simple_generate_image200_response_data_inner_any_of.rb +1 -1
  142. data/lib/venice_client/models/simple_generate_image200_response_data_inner_any_of1.rb +1 -1
  143. data/lib/venice_client/models/simple_generate_image_request.rb +1 -1
  144. data/lib/venice_client/models/standard_error.rb +1 -1
  145. data/lib/venice_client/models/system_message.rb +2 -1
  146. data/lib/venice_client/models/system_message_content.rb +1 -1
  147. data/lib/venice_client/models/text.rb +1 -1
  148. data/lib/venice_client/models/text_model_constraints.rb +1 -1
  149. data/lib/venice_client/models/text_model_constraints_temperature.rb +1 -1
  150. data/lib/venice_client/models/text_model_constraints_top_p.rb +1 -1
  151. data/lib/venice_client/models/tool_call.rb +1 -1
  152. data/lib/venice_client/models/tool_call_function.rb +1 -1
  153. data/lib/venice_client/models/tool_message.rb +2 -1
  154. data/lib/venice_client/models/upscale_image_request.rb +1 -1
  155. data/lib/venice_client/models/upscale_image_request_enhance.rb +1 -1
  156. data/lib/venice_client/models/user_message.rb +12 -2
  157. data/lib/venice_client/models/user_message_content.rb +1 -1
  158. data/lib/venice_client/models/video_model_constraints.rb +1 -1
  159. data/lib/venice_client/models/video_url.rb +297 -0
  160. data/lib/venice_client/models/video_url_object.rb +239 -0
  161. data/lib/venice_client/version.rb +2 -2
  162. data/lib/venice_client.rb +8 -1
  163. data/spec/models/assistant_message_reasoning_details_inner_spec.rb +66 -0
  164. data/spec/models/chat_completion_content_part_input_audio_spec.rb +52 -0
  165. data/spec/models/chat_completion_content_part_video_url_spec.rb +52 -0
  166. data/spec/models/create_chat_completion200_response_choices_inner_message_spec.rb +17 -0
  167. data/spec/models/input_audio_object_spec.rb +46 -0
  168. data/spec/models/input_audio_spec.rb +52 -0
  169. data/spec/models/video_url_object_spec.rb +36 -0
  170. data/spec/models/video_url_spec.rb +52 -0
  171. data/spec/spec_helper.rb +1 -1
  172. data/swagger.yaml +307 -15
  173. data/update.sh +10 -0
  174. data/venice_client.gemspec +1 -1
  175. metadata +29 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40b365f471185fed66c7e1166e210433fd45033bc96a1d4b768d05799604a2ae
4
- data.tar.gz: 2e423b5c204e079654dbbb1cd39e0414089e406415f709c163633224cee37224
3
+ metadata.gz: 264ea2bbc31ea7eb1c44aede57d37a613aeb2defab8cfffab368511acd6b1a4c
4
+ data.tar.gz: 61c42b0e6b7fb48c7512cb072922b695e488df69bb9aa434498708ece872ba7c
5
5
  SHA512:
6
- metadata.gz: 70f8c36c77bf2bf4b417967aed60d9198886c994ff9957545c4761ebe7ff27249b0981d4acb680670336f13387c3d47b42d7aebabd1448687ac10ecf11348400
7
- data.tar.gz: 2a088907b0ae32217b3e474593b99607d63beb47e107a0a523524717a345029d89d8dc1d5617e2ebf1c64b0e32cb6965ef21cc39bf37e75c5d30698b6e852f18
6
+ metadata.gz: 10426c948343fc2c899b33d8866b5a6147bf68374a1a26fef4c20ebcb07ef558eda8fe84e6902481a2121dd99dbda8c4bec3416b3a89dbaaf9eb54e43acdb270
7
+ data.tar.gz: c68b8a8396027e85a6b5b71e4a7fe9bc8f2e960db3f44a19d3ddd271ba6dbd0fdf0347950a17a5fcb19b0f94012c06034a371e3829ced4395f77e625d06d739d
data/README.md CHANGED
@@ -6,7 +6,7 @@ The Venice.ai API.
6
6
 
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
- - API version: 20251209.153516
9
+ - API version: 20251218.042551
10
10
  - Package version: 1.0.0
11
11
  - Generator version: 7.14.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
@@ -121,11 +121,14 @@ Class | Method | HTTP request | Description
121
121
 
122
122
  - [VeniceClient::AssistantMessage](docs/AssistantMessage.md)
123
123
  - [VeniceClient::AssistantMessageContent](docs/AssistantMessageContent.md)
124
+ - [VeniceClient::AssistantMessageReasoningDetailsInner](docs/AssistantMessageReasoningDetailsInner.md)
124
125
  - [VeniceClient::AudioModelPricing](docs/AudioModelPricing.md)
125
126
  - [VeniceClient::AudioModelPricingInput](docs/AudioModelPricingInput.md)
126
127
  - [VeniceClient::BillingUsageRequest](docs/BillingUsageRequest.md)
127
128
  - [VeniceClient::BillingUsageResponse](docs/BillingUsageResponse.md)
128
129
  - [VeniceClient::CacheControl](docs/CacheControl.md)
130
+ - [VeniceClient::ChatCompletionContentPartInputAudio](docs/ChatCompletionContentPartInputAudio.md)
131
+ - [VeniceClient::ChatCompletionContentPartVideoUrl](docs/ChatCompletionContentPartVideoUrl.md)
129
132
  - [VeniceClient::ChatCompletionRequest](docs/ChatCompletionRequest.md)
130
133
  - [VeniceClient::ChatCompletionRequestMessagesInner](docs/ChatCompletionRequestMessagesInner.md)
131
134
  - [VeniceClient::ChatCompletionRequestReasoning](docs/ChatCompletionRequestReasoning.md)
@@ -196,6 +199,8 @@ Class | Method | HTTP request | Description
196
199
  - [VeniceClient::ImageStylesGet200Response](docs/ImageStylesGet200Response.md)
197
200
  - [VeniceClient::ImageURLObject](docs/ImageURLObject.md)
198
201
  - [VeniceClient::ImageUrl](docs/ImageUrl.md)
202
+ - [VeniceClient::InputAudio](docs/InputAudio.md)
203
+ - [VeniceClient::InputAudioObject](docs/InputAudioObject.md)
199
204
  - [VeniceClient::JsonObject](docs/JsonObject.md)
200
205
  - [VeniceClient::JsonSchema](docs/JsonSchema.md)
201
206
  - [VeniceClient::LLMModelPricing](docs/LLMModelPricing.md)
@@ -241,6 +246,8 @@ Class | Method | HTTP request | Description
241
246
  - [VeniceClient::UserMessage](docs/UserMessage.md)
242
247
  - [VeniceClient::UserMessageContent](docs/UserMessageContent.md)
243
248
  - [VeniceClient::VideoModelConstraints](docs/VideoModelConstraints.md)
249
+ - [VeniceClient::VideoURLObject](docs/VideoURLObject.md)
250
+ - [VeniceClient::VideoUrl](docs/VideoUrl.md)
244
251
 
245
252
 
246
253
  ## Documentation for Authorization
@@ -7,6 +7,7 @@
7
7
  | **content** | [**AssistantMessageContent**](AssistantMessageContent.md) | | [optional] |
8
8
  | **name** | **String** | | [optional] |
9
9
  | **reasoning_content** | **String** | | [optional] |
10
+ | **reasoning_details** | [**Array<AssistantMessageReasoningDetailsInner>**](AssistantMessageReasoningDetailsInner.md) | Reasoning details returned by certain reasoning models that support this feature (e.g., Gemini 3 Pro). Not all reasoning models return this field. For multi-turn conversations with tool calls on supported models, pass back the reasoning_details exactly as received to preserve thought signatures. | [optional] |
10
11
  | **role** | **String** | | |
11
12
  | **tool_calls** | **Array<Object>** | | [optional] |
12
13
 
@@ -19,6 +20,7 @@ instance = VeniceClient::AssistantMessage.new(
19
20
  content: null,
20
21
  name: null,
21
22
  reasoning_content: null,
23
+ reasoning_details: null,
22
24
  role: null,
23
25
  tool_calls: null
24
26
  )
@@ -0,0 +1,28 @@
1
+ # VeniceClient::AssistantMessageReasoningDetailsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | **String** | | [optional] |
8
+ | **format** | **String** | | [optional] |
9
+ | **id** | **String** | | [optional] |
10
+ | **index** | **Float** | | [optional] |
11
+ | **text** | **String** | | [optional] |
12
+ | **type** | **String** | | |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'venice_client'
18
+
19
+ instance = VeniceClient::AssistantMessageReasoningDetailsInner.new(
20
+ data: null,
21
+ format: null,
22
+ id: null,
23
+ index: null,
24
+ text: null,
25
+ type: null
26
+ )
27
+ ```
28
+
data/docs/ChatApi.md CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *https://api.venice.ai/api/v1*
13
13
 
14
14
  /api/v1/chat/completions
15
15
 
16
- Run text inference based on the supplied parameters. Long running requests should use the streaming API by setting stream=true in your request.
16
+ Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), and video (video_url) for compatible models. Long running requests should use the streaming API by setting stream=true in your request.
17
17
 
18
18
  ### Examples
19
19
 
@@ -0,0 +1,22 @@
1
+ # VeniceClient::ChatCompletionContentPartInputAudio
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cache_control** | [**CacheControl**](CacheControl.md) | | [optional] |
8
+ | **input_audio** | [**InputAudioObject**](InputAudioObject.md) | | |
9
+ | **type** | **String** | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'venice_client'
15
+
16
+ instance = VeniceClient::ChatCompletionContentPartInputAudio.new(
17
+ cache_control: null,
18
+ input_audio: null,
19
+ type: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # VeniceClient::ChatCompletionContentPartVideoUrl
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cache_control** | [**CacheControl**](CacheControl.md) | | [optional] |
8
+ | **type** | **String** | | |
9
+ | **video_url** | [**VideoURLObject**](VideoURLObject.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'venice_client'
15
+
16
+ instance = VeniceClient::ChatCompletionContentPartVideoUrl.new(
17
+ cache_control: null,
18
+ type: null,
19
+ video_url: null
20
+ )
21
+ ```
22
+
@@ -5,9 +5,10 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **content** | [**SystemMessageContent**](SystemMessageContent.md) | | |
8
- | **role** | **String** | | |
9
8
  | **name** | **String** | | [optional] |
9
+ | **role** | **String** | | |
10
10
  | **reasoning_content** | **String** | | [optional] |
11
+ | **reasoning_details** | [**Array<AssistantMessageReasoningDetailsInner>**](AssistantMessageReasoningDetailsInner.md) | Reasoning details returned by certain reasoning models that support this feature (e.g., Gemini 3 Pro). Not all reasoning models return this field. For multi-turn conversations with tool calls on supported models, pass back the reasoning_details exactly as received to preserve thought signatures. | [optional] |
11
12
  | **tool_calls** | **Array<Object>** | | [optional] |
12
13
  | **tool_call_id** | **String** | | |
13
14
 
@@ -18,9 +19,10 @@ require 'venice_client'
18
19
 
19
20
  instance = VeniceClient::ChatCompletionRequestMessagesInner.new(
20
21
  content: null,
21
- role: null,
22
22
  name: null,
23
+ role: null,
23
24
  reasoning_content: null,
25
+ reasoning_details: null,
24
26
  tool_calls: null,
25
27
  tool_call_id: null
26
28
  )
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **choices** | [**Array<CreateChatCompletion200ResponseChoicesInner>**](CreateChatCompletion200ResponseChoicesInner.md) | A list of chat completion choices. Can be more than one if n is greater than 1. | |
7
+ | **choices** | [**Array<CreateChatCompletion200ResponseChoicesInner>**](CreateChatCompletion200ResponseChoicesInner.md) | A list of chat completion choices. Can be more than one if n is greater than 1. Certain models may not return this field under certain conditions. | [optional] |
8
8
  | **created** | **Integer** | The time at which the request was created. | |
9
9
  | **id** | **String** | The ID of the request. | |
10
10
  | **model** | **String** | The model id used for the request. | |
@@ -7,6 +7,7 @@
7
7
  | **content** | **String** | | |
8
8
  | **name** | **String** | | [optional] |
9
9
  | **reasoning_content** | **String** | | [optional] |
10
+ | **reasoning_details** | [**Array<AssistantMessageReasoningDetailsInner>**](AssistantMessageReasoningDetailsInner.md) | Reasoning details returned by certain reasoning models that support this feature (e.g., Gemini 3 Pro). Not all reasoning models return this field. For multi-turn conversations with tool calls on supported models, pass back the reasoning_details exactly as received to preserve thought signatures. | [optional] |
10
11
  | **role** | **String** | | |
11
12
  | **tool_calls** | **Array<Object>** | | [optional] |
12
13
  | **tool_call_id** | **String** | | |
@@ -20,6 +21,7 @@ instance = VeniceClient::CreateChatCompletion200ResponseChoicesInnerMessage.new(
20
21
  content: null,
21
22
  name: null,
22
23
  reasoning_content: null,
24
+ reasoning_details: null,
23
25
  role: null,
24
26
  tool_calls: null,
25
27
  tool_call_id: null
@@ -21,7 +21,7 @@
21
21
  | **steps** | **Integer** | Number of inference steps. This model does not support steps - this field is ignored. | [optional][default to 0] |
22
22
  | **style_preset** | **String** | An image style to apply to the image. Visit https://docs.venice.ai/api-reference/endpoint/image/styles for more details. | [optional] |
23
23
  | **aspect_ratio** | **String** | Aspect ratio (utilized by certain image models including Nano Banana). Examples: \"1:1\", \"16:9\". | [optional] |
24
- | **resolution** | **String** | Resolution (utilized by certain image models including Nano Banana). Examples: \"1024x1024\", \"512x512\". | [optional] |
24
+ | **resolution** | **String** | Resolution (utilized by certain image models including Nano Banana). Examples: \"1K\", \"2K\", \"4K\". | [optional] |
25
25
  | **enable_web_search** | **Boolean** | Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image. Only supported by certain models. If web search is used, additional credits are getting charged. | [optional] |
26
26
  | **width** | **Integer** | Width of the generated image. Each model has a specific height and width divisor listed in the widthHeightDivisor constraint in the model list endpoint. | [optional][default to 1024] |
27
27
 
@@ -48,7 +48,7 @@ instance = VeniceClient::GenerateImageRequest.new(
48
48
  steps: 0,
49
49
  style_preset: 3D Model,
50
50
  aspect_ratio: 61,
51
- resolution: 1024x1024,
51
+ resolution: 1K,
52
52
  enable_web_search: false,
53
53
  width: 1024
54
54
  )
@@ -0,0 +1,22 @@
1
+ # VeniceClient::InputAudio
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cache_control** | [**CacheControl**](CacheControl.md) | | [optional] |
8
+ | **input_audio** | [**InputAudioObject**](InputAudioObject.md) | | |
9
+ | **type** | **String** | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'venice_client'
15
+
16
+ instance = VeniceClient::InputAudio.new(
17
+ cache_control: null,
18
+ input_audio: null,
19
+ type: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # VeniceClient::InputAudioObject
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | **String** | Base64-encoded audio data. Direct URLs are not supported for audio content. | |
8
+ | **format** | **String** | The format of the audio file. Common formats include wav, mp3, aac, ogg, flac, m4a. Defaults to wav. | [optional][default to 'wav'] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'venice_client'
14
+
15
+ instance = VeniceClient::InputAudioObject.new(
16
+ data: null,
17
+ format: wav
18
+ )
19
+ ```
20
+
data/docs/ObjectsInner.md CHANGED
@@ -15,7 +15,9 @@ VeniceClient::ObjectsInner.openapi_one_of
15
15
  # =>
16
16
  # [
17
17
  # :'ImageUrl',
18
- # :'Text'
18
+ # :'InputAudio',
19
+ # :'Text',
20
+ # :'VideoUrl'
19
21
  # ]
20
22
  ```
21
23
 
@@ -44,6 +46,8 @@ VeniceClient::ObjectsInner.build(data_that_doesnt_match)
44
46
  #### Return type
45
47
 
46
48
  - `ImageUrl`
49
+ - `InputAudio`
47
50
  - `Text`
51
+ - `VideoUrl`
48
52
  - `nil` (if no type matches)
49
53
 
data/docs/UserMessage.md CHANGED
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **content** | [**UserMessageContent**](UserMessageContent.md) | | |
8
+ | **name** | **String** | | [optional] |
8
9
  | **role** | **String** | | |
9
10
 
10
11
  ## Example
@@ -14,6 +15,7 @@ require 'venice_client'
14
15
 
15
16
  instance = VeniceClient::UserMessage.new(
16
17
  content: null,
18
+ name: null,
17
19
  role: null
18
20
  )
19
21
  ```
@@ -0,0 +1,18 @@
1
+ # VeniceClient::VideoURLObject
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **url** | **String** | The URL of the video. Can be a direct URL (including YouTube links for some providers), or a base64-encoded data URL (e.g., data:video/mp4;base64,...). Supported formats: mp4, mpeg, mov, webm. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'venice_client'
13
+
14
+ instance = VeniceClient::VideoURLObject.new(
15
+ url: null
16
+ )
17
+ ```
18
+
data/docs/VideoUrl.md ADDED
@@ -0,0 +1,22 @@
1
+ # VeniceClient::VideoUrl
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cache_control** | [**CacheControl**](CacheControl.md) | | [optional] |
8
+ | **type** | **String** | | |
9
+ | **video_url** | [**VideoURLObject**](VideoURLObject.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'venice_client'
15
+
16
+ instance = VeniceClient::VideoUrl.new(
17
+ cache_control: null,
18
+ type: null,
19
+ video_url: null
20
+ )
21
+ ```
22
+
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -20,7 +20,7 @@ module VeniceClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # /api/v1/chat/completions
23
- # Run text inference based on the supplied parameters. Long running requests should use the streaming API by setting stream=true in your request.
23
+ # Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), and video (video_url) for compatible models. Long running requests should use the streaming API by setting stream=true in your request.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [String] :accept_encoding Supported compression encodings (gzip, br). Only applied when stream is false.
26
26
  # @option opts [ChatCompletionRequest] :chat_completion_request
@@ -31,7 +31,7 @@ module VeniceClient
31
31
  end
32
32
 
33
33
  # /api/v1/chat/completions
34
- # Run text inference based on the supplied parameters. Long running requests should use the streaming API by setting stream=true in your request.
34
+ # Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), and video (video_url) for compatible models. Long running requests should use the streaming API by setting stream=true in your request.
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @option opts [String] :accept_encoding Supported compression encodings (gzip, br). Only applied when stream is false.
37
37
  # @option opts [ChatCompletionRequest] :chat_completion_request
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0
@@ -22,6 +22,9 @@ module VeniceClient
22
22
 
23
23
  attr_accessor :reasoning_content
24
24
 
25
+ # Reasoning details returned by certain reasoning models that support this feature (e.g., Gemini 3 Pro). Not all reasoning models return this field. For multi-turn conversations with tool calls on supported models, pass back the reasoning_details exactly as received to preserve thought signatures.
26
+ attr_accessor :reasoning_details
27
+
25
28
  attr_accessor :role
26
29
 
27
30
  attr_accessor :tool_calls
@@ -54,6 +57,7 @@ module VeniceClient
54
57
  :'content' => :'content',
55
58
  :'name' => :'name',
56
59
  :'reasoning_content' => :'reasoning_content',
60
+ :'reasoning_details' => :'reasoning_details',
57
61
  :'role' => :'role',
58
62
  :'tool_calls' => :'tool_calls'
59
63
  }
@@ -75,6 +79,7 @@ module VeniceClient
75
79
  :'content' => :'AssistantMessageContent',
76
80
  :'name' => :'String',
77
81
  :'reasoning_content' => :'String',
82
+ :'reasoning_details' => :'Array<AssistantMessageReasoningDetailsInner>',
78
83
  :'role' => :'String',
79
84
  :'tool_calls' => :'Array<Object>'
80
85
  }
@@ -84,6 +89,7 @@ module VeniceClient
84
89
  def self.openapi_nullable
85
90
  Set.new([
86
91
  :'content',
92
+ :'name',
87
93
  :'reasoning_content',
88
94
  :'tool_calls'
89
95
  ])
@@ -117,6 +123,12 @@ module VeniceClient
117
123
  self.reasoning_content = attributes[:'reasoning_content']
118
124
  end
119
125
 
126
+ if attributes.key?(:'reasoning_details')
127
+ if (value = attributes[:'reasoning_details']).is_a?(Array)
128
+ self.reasoning_details = value
129
+ end
130
+ end
131
+
120
132
  if attributes.key?(:'role')
121
133
  self.role = attributes[:'role']
122
134
  else
@@ -170,6 +182,7 @@ module VeniceClient
170
182
  content == o.content &&
171
183
  name == o.name &&
172
184
  reasoning_content == o.reasoning_content &&
185
+ reasoning_details == o.reasoning_details &&
173
186
  role == o.role &&
174
187
  tool_calls == o.tool_calls
175
188
  end
@@ -183,7 +196,7 @@ module VeniceClient
183
196
  # Calculates hash code according to all attributes.
184
197
  # @return [Integer] Hash code
185
198
  def hash
186
- [content, name, reasoning_content, role, tool_calls].hash
199
+ [content, name, reasoning_content, reasoning_details, role, tool_calls].hash
187
200
  end
188
201
 
189
202
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Venice.ai API.
5
5
 
6
- The version of the OpenAPI document: 20251209.153516
6
+ The version of the OpenAPI document: 20251218.042551
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.14.0