Gan Tu
f9e7b19df8
Add optional animated GIF output to image generation ( #59073 )
...
## What changed
- Gate GIF output behind `features.image_generation_animation`, disabled by default.
- Accept `gif` options for generation and editing, with optional `frame_count` and `frame_duration_ms` controls. Use `gif: {}` for API defaults.
- Preserve animated output with `.gif` filenames and `image/gif` data URLs while providing a still preview to the model.
- Add guidance for simple animations and spritesheet-based GIF edits.
## Testing
Add integration coverage for GIF generation and editing, explicit frame controls and API defaults, saved animation bytes, and still-preview replay across follow-up turns.
GitOrigin-RevId: 08afa0316ae3675921652157836191a649f563cf
2026-11-03 06:24:24 +00:00
..
2026-10-30 18:02:30 +00:00
2026-10-14 07:13:22 +00:00
2026-10-29 17:25:51 +00:00
2026-10-27 05:52:01 +00:00
2026-10-23 14:59:40 +00:00
2026-11-02 20:57:23 +00:00
2026-11-03 06:24:24 +00:00
2026-10-29 11:23:51 +00:00
2026-11-03 04:20:50 +00:00
2026-11-03 02:26:29 +00:00
2026-11-02 16:00:20 +00:00
2026-11-03 02:26:29 +00:00
2026-11-02 17:05:56 +00:00
2026-10-26 20:26:32 +00:00
2026-10-27 22:59:22 +00:00
2026-10-22 19:36:47 +00:00
2026-10-27 17:04:16 +00:00
2026-10-26 21:08:15 +00:00
2026-11-03 05:55:13 +00:00
2026-11-03 05:43:27 +00:00
2026-10-30 02:28:51 +00:00
2026-10-20 15:43:19 +00:00
2026-10-29 16:57:12 +00:00
2026-10-29 16:57:12 +00:00
2026-10-29 01:04:48 +00:00
2026-10-29 01:04:48 +00:00
2026-11-03 06:24:24 +00:00
2026-10-19 21:43:19 +00:00
2026-11-03 01:59:24 +00:00
2026-11-03 01:58:18 +00:00
2026-10-30 20:39:47 +00:00
2026-10-29 18:24:34 +00:00
2026-11-03 06:24:24 +00:00
2026-11-02 19:25:02 +00:00
2026-10-19 15:15:17 +00:00
2026-11-02 19:39:23 +00:00
2026-10-27 05:52:01 +00:00
2026-10-26 19:19:10 +00:00
2026-11-03 04:08:59 +00:00
2026-11-02 20:36:39 +00:00
2026-11-02 21:09:09 +00:00
2026-10-30 14:56:08 +00:00
2026-10-27 23:53:09 +00:00
2026-10-30 18:20:57 +00:00
2026-11-03 06:24:24 +00:00
2026-10-28 21:22:06 +00:00
2026-11-03 06:24:24 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 19:36:47 +00:00
2026-10-27 23:53:09 +00:00
2026-10-13 17:22:34 +00:00
2026-10-26 20:40:53 +00:00
2026-11-02 23:30:58 +00:00
2026-11-03 02:08:56 +00:00
2026-10-26 19:21:08 +00:00
2026-11-01 15:50:50 +00:00
2026-10-22 19:36:47 +00:00
2026-11-02 23:19:47 +00:00
2026-10-30 16:16:57 +00:00
2026-10-30 15:11:02 +00:00
2026-10-22 19:36:47 +00:00
2026-11-03 04:08:59 +00:00
2026-11-02 20:34:35 +00:00
2026-10-22 19:36:47 +00:00
2026-11-02 17:35:57 +00:00
2026-11-02 08:31:14 +00:00
2026-11-03 01:58:18 +00:00
2026-10-29 20:17:58 +00:00
2026-10-26 18:22:40 +00:00
2026-11-03 00:59:43 +00:00
2026-10-27 16:36:32 +00:00
2026-11-03 01:58:18 +00:00
2026-11-03 02:26:29 +00:00
2026-10-30 21:01:23 +00:00
2026-10-19 16:56:42 +00:00
2026-11-03 01:59:24 +00:00
2026-11-03 02:26:29 +00:00
2026-10-30 14:40:32 +00:00
2026-10-28 00:51:29 +00:00
2026-11-02 23:19:47 +00:00
2026-10-27 05:52:01 +00:00
2026-10-22 04:59:19 +00:00
2026-10-27 05:52:01 +00:00
2026-10-29 17:49:51 +00:00
2026-11-03 02:26:29 +00:00
2026-10-22 00:19:02 +00:00
2026-10-30 07:11:56 +00:00
2026-11-02 19:25:02 +00:00
2026-11-03 02:26:29 +00:00
2026-10-30 20:53:25 +00:00
2026-11-03 05:55:13 +00:00
2026-10-13 22:40:57 +00:00
2026-10-30 20:53:25 +00:00
2026-10-30 16:35:54 +00:00
2026-10-27 05:52:01 +00:00
2026-10-27 05:52:01 +00:00
2026-10-28 11:48:00 +00:00
2026-10-28 06:24:24 +00:00
2026-10-29 22:36:06 +00:00
2026-10-28 21:09:05 +00:00
2026-11-03 01:41:16 +00:00
2026-11-02 19:26:15 +00:00
2026-10-30 23:56:12 +00:00
2026-10-27 05:52:01 +00:00