立即开始
Imgix Tools

Imgix Fit

通过 Aident Loadout 使用 Imgix Tools 的 Imgix Fit。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Tool to control how an image fits target dimensions after resizing. Use when specifying width, height, and fit behavior.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • h
    必填
    Output height in pixels (1-8192) or ratio (0.0-1.0) of source height
  • w
    必填
    Output width in pixels (1-8192) or ratio (0.0-1.0) of source width
  • fitstring
    必填
    Specifies how to fit the image within the target dimensions. One of: clamp, clip, crop, facearea, fill, fillmax, max, min, scale.
  • facepadnumber
    Padding around detected faces as fraction of face bounding box when fit='facearea'
  • faceindexinteger
    Select which detected face to prioritize when fit='facearea'
  • image_pathstring
    必填
    Path to the image within the source, e.g., 'images/photo.jpg' (omit leading slash)
  • source_domainstring
    必填
    Imgix source domain (hostname), e.g., 'example-source.imgix.net' (exclude protocol)

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源