EN

AI 产品动态

查看新模型发布、限免和订阅覆盖变化。

时间线

查看统计

第 3 / 3 页 · 本页 14 条

    1. 动态

      Batch API supports Image and Video generation

      The [Batch API](/developers/advanced-api-usage/batch-api) now supports [image generation](/developers/model-capabilities/images/generation), [image editing](/developers/model-capabilities/images/editing), and [video generation](/developers/model-capabilities/video/generation) in addition to chat completions. Both [server-side tools](/developers/tools/overview) and client-side function tools are also now supported in batch requests. Image and video URLs in batch results expire after 1 hour.

    1. 动态

      Structured Outputs

      We're excited to announce that Grok now supports structured outputs. Grok can now format responses in a predefined, organized format rather than free-form text. 1. Specify the desired schema ``` { "name": "movie_response", "schema": { "type": "object", "properties": { "title": { "type": "string" }, "rating": { "type": "number" } }, "required": [ "title", "rating" ], "additionalProperties": false }, "strict": true } ``` 2. Get the desired data ``` { "title": "Star Wars", "rating": 8.6 } ``` Start building more reliable applications. Check out the [docs](/developers/model-capabilities/text/structured-outputs) for more information.