File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9829,6 +9829,35 @@ components:
98299829 - type
98309830 - error
98319831 type: object
9832+ ImageGenTextChunkEvent:
9833+ description: Emitted when a text chunk becomes available during streaming generation of text-based formats (e.g. SVG)
9834+ example:
9835+ phase: content
9836+ text: <svg xmlns="http://www.w3.org/2000/svg">
9837+ type: image_generation.text_chunk
9838+ properties:
9839+ phase:
9840+ description: >-
9841+ The generation phase this chunk belongs to. `content` is the renderable output; `reasoning` and `draft` are
9842+ intermediate provider phases.
9843+ enum:
9844+ - content
9845+ - reasoning
9846+ - draft
9847+ type: string
9848+ text:
9849+ description: A text fragment of the image being generated (e.g. partial SVG markup)
9850+ type: string
9851+ type:
9852+ description: The event type
9853+ enum:
9854+ - image_generation.text_chunk
9855+ type: string
9856+ required:
9857+ - type
9858+ - text
9859+ - phase
9860+ type: object
98329861 ImageModelArchitecture:
98339862 example:
98349863 input_modalities:
@@ -10032,6 +10061,7 @@ components:
1003210061 data:
1003310062 anyOf:
1003410063 - $ref: '#/components/schemas/ImageGenPartialImageEvent'
10064+ - $ref: '#/components/schemas/ImageGenTextChunkEvent'
1003510065 - $ref: '#/components/schemas/ImageGenCompletedEvent'
1003610066 - $ref: '#/components/schemas/ImageGenStreamErrorEvent'
1003710067 required:
You can’t perform that action at this time.
0 commit comments