{
"contentType": "application/json",
"properties": {
"input": {
"properties": {
"aspect_ratio": {
"description": "生成图像的长宽比。使用“match_input_image”来匹配输入图像的长宽比。默认值:“match_input_image”。",
"type": "string",
"x-i18n": {
"en-US": {
"description": "The aspect ratio of the generated image. Use \"match_input_image\" to match the aspect ratio of the input image. Default value: \"match_input_image\"."
}
}
},
"go_fast": {
"description": "使模型运行速度更快,对于更困难的提示,输出质量可能会略有下降。默认值:true。",
"type": "boolean",
"x-i18n": {
"en-US": {
"description": "Makes the model run faster, output quality may suffer slightly for more difficult prompts. Default value: true."
}
}
},
"guidance": {
"description": "提示词引导强度。默认值: 2.5。最小值:0,最大值:10",
"type": "number",
"x-i18n": {
"en-US": {
"description": "Cue words guide intensity. Default value: 2.5. Minimum value: 0, maximum value: 10"
}
}
},
"input_image": {
"description": "用作参考的图片。必须是 jpeg、png、gif 或 webp 格式。",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Pictures to use as reference. Must be in jpeg, png, gif or webp format."
}
}
},
"num_inference_steps": {
"description": "推理步骤数,默认值:28。最小值:4,最大值:50。",
"type": "integer",
"x-i18n": {
"en-US": {
"description": "Number of inference steps, default: 28. Minimum value: 4, maximum value: 50."
}
}
},
"output_format": {
"description": "输出图像格式。默认值:“webp”。",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Output image format. Default: \"webp\"."
}
}
},
"output_quality": {
"description": "保存输出图像时的质量,范围为 0 至 100。100 为最佳质量,0 为最低质量。与 .png 输出无关。默认值:80。最小值:0,最大值:100。",
"type": "integer",
"x-i18n": {
"en-US": {
"description": "The quality at which the output image is saved, from 0 to 100. 100 is the best quality, 0 is the lowest quality. Has nothing to do with .png output. Default value: 80. Minimum value: 0, maximum value: 100."
}
}
},
"prompt": {
"description": "您想要生成的内容的文本描述,或有关如何编辑给定图像的说明。",
"type": "string",
"x-i18n": {
"en-US": {
"description": "A text description of what you want generated, or instructions on how to edit a given image."
}
}
}
},
"required": [
"prompt",
"input_image"
],
"type": "object"
}
},
"required": []
}{
"input": {
"aspect_ratio": "match_input_image",
"go_fast": true,
"guidance": 2.5,
"input_image": "https://replicate.delivery/pbxt/N5YURZv4ifaW2bMwU7hmrwzgtxf99DTQXpBeobLt1O7dEc3h/pexels-jmark-253096.jpg",
"num_inference_steps": 30,
"output_format": "jpg",
"output_quality": 80,
"prompt": "Change the car color to red, turn the headlights on"
}
}{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}{
"created_at": "2025-07-12T07:27:54.577Z",
"data_removed": false,
"error": null,
"id": "w44zs9cet5rmc0cqzp49gpkhf8",
"input": {
"aspect_ratio": "match_input_image",
"input_image": "https://replicate.delivery/xezq/XfwWjHJ7HfrmXE6ukuLVEpXWfeQ3PQeRI5mApuLXRxST7XMmC/tmpc91tlq20.png",
"output_format": "jpg",
"prompt": "Make the letters 3D, floating in space on a city street",
"prompt_upsampling": false,
"safety_tolerance": 2
},
"logs": "",
"model": "black-forest-labs/flux-kontext-dev",
"output": null,
"status": "starting",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/w44zs9cet5rmc0cqzp49gpkhf8/cancel",
"get": "https://api.replicate.com/v1/predictions/w44zs9cet5rmc0cqzp49gpkhf8",
"stream": "https://stream.replicate.com/v1/files/bcwr-h7bu76ujftxzwih5u35puoysogps56mqvpvjz4nrxskhfe7ks42a",
"web": "https://replicate.com/p/w44zs9cet5rmc0cqzp49gpkhf8"
},
"version": "hidden"
}