外观
查询任务
GET
https://www.aipro2.com/replicate/v1/predictions/{任务id}Path 参数
id*string路径中的资源 / 任务 ID
请求体参数
noneaspect_ratio*string图片比例: 枚举值Possible enum values: 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21modelstring用于图像生成的模型。ninteger要生成的图像数。必须介于 1 和 10 之间。prompt*string所需图像的文本描述。最大长度为 1000 个字符。qualitystring将生成的图像的质量。hd创建具有更精细细节和更高一致性的图像。此参数仅支持dall-e-3.response_formatstring返回生成的图像的格式。必须是 或url之一b64_json。sizestring生成图像的大小。必须是256x256、512x512或 1024x1024之一。stylestring风格userstring生成图像的风格。必须是 或vivid之一natural。生动使模型倾向于生成超真实和戏剧性的图像。自然使模型生成更自然、不太真实的图像。此参数仅支持dall-e-3.
响应
成功
application/json无响应结构说明
