Python class
ProviderOptions
ProviderOptionsβ
class max.pipelines.request.provider_options.ProviderOptions(*, max=None, image=None, video=None)
Bases: BaseModel
Container for all provider-specific options.
Includes both universal MAX options and modality-specific options. All options are validated at the API layer.
Example:
{
"max": {"target_endpoint": "instance-123"},
"image": {"width": 1024, "height": 768}
}-
Parameters:
-
- max (MaxProviderOptions | None)
- image (ImageProviderOptions | None)
- video (VideoProviderOptions | None)
imageβ
image: ImageProviderOptions | None
maxβ
max: MaxProviderOptions | None
model_configβ
model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
videoβ
video: VideoProviderOptions | None
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!