- Introduced new image model picker component for selecting models and qualities. - Updated image model utilities to handle new models and quality options. - Implemented backend logic for validating image model options and handling requests. - Added tests for image model selection, quality handling, and API interactions. - Adjusted existing tests to accommodate new model features and ensure compatibility.
30 lines
694 B
Python
Executable File
30 lines
694 B
Python
Executable File
"""NodeImage upload integration."""
|
|
|
|
from .client import (
|
|
NODEIMAGE_API_URL,
|
|
NodeImageAuthError,
|
|
NodeImageConfigurationError,
|
|
NodeImageEffectiveSettings,
|
|
NodeImageTransientError,
|
|
NodeImageUploadError,
|
|
NodeImageUploadResult,
|
|
resolve_nodeimage_settings,
|
|
upload_image_bytes,
|
|
upload_image_file,
|
|
upload_image_source,
|
|
)
|
|
|
|
__all__ = [
|
|
"NODEIMAGE_API_URL",
|
|
"NodeImageAuthError",
|
|
"NodeImageConfigurationError",
|
|
"NodeImageEffectiveSettings",
|
|
"NodeImageTransientError",
|
|
"NodeImageUploadError",
|
|
"NodeImageUploadResult",
|
|
"resolve_nodeimage_settings",
|
|
"upload_image_bytes",
|
|
"upload_image_file",
|
|
"upload_image_source",
|
|
]
|