Skip to content

Commit 9d83806

Browse files
committed
chore: sync from ark-apis 1bd1a7d78c
Auto-generated SDK sync from ark-apis at 1bd1a7d78c7eae06ec2849b22f0d018e1a4b216c. Generated files are overwritten by the sync pipeline and should not be edited by hand. Sync-Source-Commit: d2719cc734dd2861d94e3a5a0ce3e8c9825e5112 Ark-APIs-Commit: 1bd1a7d78c7eae06ec2849b22f0d018e1a4b216c
1 parent a27fb47 commit 9d83806

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎src/arkruntime/types/images/image_data_item.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
from .bounding_box import BoundingBox
1414
from .image_error import ImageError
15+
from .output_format import OutputFormat
1516

1617

1718
class ImageDataItem(BaseModel):
@@ -35,6 +36,10 @@ class ImageDataItem(BaseModel):
3536
"""
3637
Per-image failure (set when this slot failed while others succeeded).
3738
"""
39+
output_format: Optional[OutputFormat] = None
40+
"""
41+
Actual container/codec used for this image.
42+
"""
3843
z_index: Optional[int] = None
3944
"""
4045
Layer stacking order. The base image is `0`; layers follow bottom-up.

‎src/arkruntime/types/images/usage.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515

1616
class Usage(BaseModel):
17+
input_images: int
18+
"""
19+
Number of reference images supplied by the client.
20+
"""
1721
generated_images: int
1822
"""
1923
Number of images returned in `data`.

0 commit comments

Comments
 (0)