You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9306,8 +9306,8 @@ components:
9306
9306
type: integer
9307
9307
media_type:
9308
9308
description: >-
9309
-
Media type (MIME type) of the image. Omitted when the output is a standard raster format (PNG). Present for non-raster outputs such as SVG (`image/svg+xml`).
9310
-
example: image/svg+xml
9309
+
Media type (MIME type) of the image, e.g. `image/png`, `image/jpeg`, `image/webp`, `image/svg+xml`. May be omitted if the format could not be determined.
9310
+
example: image/png
9311
9311
type: string
9312
9312
type:
9313
9313
description: The event type
@@ -9471,8 +9471,8 @@ components:
9471
9471
type: string
9472
9472
media_type:
9473
9473
description: >-
9474
-
Media type (MIME type) of the image. Omitted when the output is a standard raster format (PNG). Present for non-raster outputs such as SVG (`image/svg+xml`).
9475
-
example: image/svg+xml
9474
+
Media type (MIME type) of the image, e.g. `image/png`, `image/jpeg`, `image/webp`, `image/svg+xml`. May be omitted if the format could not be determined.
|`b64_json`|*str*|:heavy_check_mark:| Base64-encoded final image data ||
13
-
|`created`|*int*|:heavy_check_mark:| Unix timestamp (seconds) when the image was generated ||
14
-
|`media_type`|*Optional[str]*|:heavy_minus_sign:| Media type (MIME type) of the image. Omitted when the output is a standard raster format (PNG). Present for non-raster outputs such as SVG (`image/svg+xml`). | image/svg+xml|
15
-
|`type`|[components.ImageGenCompletedEventType](../components/imagegencompletedeventtype.mdx)|:heavy_check_mark:| The event type ||
16
-
|`usage`|[Optional[components.ImageGenerationUsage]](../components/imagegenerationusage.mdx)|:heavy_minus_sign:| Token and cost usage for the image generation request, when available |\{<br/>"completion_tokens": 4175,<br/>"cost": 0.04,<br/>"prompt_tokens": 0,<br/>"total_tokens": 4175<br/>}|
10
+
| Field | Type | Required | Description | Example |
|`b64_json`|*str*|:heavy_check_mark:| Base64-encoded final image data ||
13
+
|`created`|*int*|:heavy_check_mark:| Unix timestamp (seconds) when the image was generated ||
14
+
|`media_type`|*Optional[str]*|:heavy_minus_sign:| Media type (MIME type) of the image, e.g. `image/png`, `image/jpeg`, `image/webp`, `image/svg+xml`. May be omitted if the format could not be determined. | image/png|
15
+
|`type`|[components.ImageGenCompletedEventType](../components/imagegencompletedeventtype.mdx)|:heavy_check_mark:| The event type ||
16
+
|`usage`|[Optional[components.ImageGenerationUsage]](../components/imagegenerationusage.mdx)|:heavy_minus_sign:| Token and cost usage for the image generation request, when available |\{<br/>"completion_tokens": 4175,<br/>"cost": 0.04,<br/>"prompt_tokens": 0,<br/>"total_tokens": 4175<br/>} |
0 commit comments