Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/arkruntime/types/images/image_data_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

from .bounding_box import BoundingBox
from .image_error import ImageError
from .output_format import OutputFormat


class ImageDataItem(BaseModel):
Expand All @@ -35,6 +36,10 @@ class ImageDataItem(BaseModel):
"""
Per-image failure (set when this slot failed while others succeeded).
"""
output_format: Optional[OutputFormat] = None
"""
Actual container/codec used for this image.
"""
z_index: Optional[int] = None
"""
Layer stacking order. The base image is `0`; layers follow bottom-up.
Expand Down
4 changes: 4 additions & 0 deletions src/arkruntime/types/images/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@


class Usage(BaseModel):
input_images: int
"""
Number of reference images supplied by the client.
"""
generated_images: int
"""
Number of images returned in `data`.
Expand Down
Loading