跳转到内容

ImageModelConstraints

图像模型受理约束(bundle platformModels.imageGen 行 constraints 加法键,2026-09-01; 网关侧单源 = /t1 运行时校验档同一 classify 词表)。工具描述逐模型拼注——智能体首发即中, 不再靠拒收错误试错。

optional actionRequired?: boolean;

动词行必携 action{taskId,actionId}。


imageInput:
| {
b64Ok: boolean;
max: number;
min: number;
urlOk: boolean;
}
| null;

富输入 imageUrls 受理域(null = 纯文生行,在场即拒)。


maxImages: number;

单请求张数帽(n 超帽由网关钳)。


negativePrompt: boolean;

promptRequired: boolean;

false = 动词行(引用既有任务),prompt 在场即拒。


seed: boolean;

size: boolean;

false = 模型定档分辨率,size 在场即拒。