modelApiDoc_getStartedBeforeModelnvidia/chrono-edit/lora/paintbrushmodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/nvidia/chrono-edit/lora/paintbrush \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Turn the ankle socks into knee-high socks.",
"image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7214/media-files/1-1-input.jpg"
}'modelApiDoc_authP1 YOUR_API_TOKEN modelApiDoc_authP2 modelApiDoc_profilemodelApiDoc_authP3 Authorization modelApiDoc_authP4 Authorization: Bearer $YOUR_API_TOKENmodelApiDoc_authP5
modelApiDoc_submitBody
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/nvidia/chrono-edit/lora/paintbrush \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Turn the ankle socks into knee-high socks.",
"image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7214/media-files/1-1-input.jpg"
}'modelApiDoc_monitorBody
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
--header "Authorization: Bearer <token>"modelApiDoc_retrieveBody
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
--header "Authorization: Bearer <token>"modelApiDoc_cancelBody
curl --request POST \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
--header "Authorization: Bearer <token>"modelApiDoc_hostedFileBody
{
"type": "object",
"title": "modelApiDoc_navInputSchema",
"required": [
"prompt",
"image_url"
],
"properties": {
"image_url": {
"title": "图像",
"description": "需要编辑且可直接访问的源图 URL。",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7214/media-files/1-1-input.jpg"
},
"prompt": {
"title": "提示词",
"description": "描述所需修改的文字指令。",
"type": "string",
"default": "Turn the ankle socks into knee-high socks."
},
"mask_url": {
"title": "蒙版图像",
"description": "可选蒙版图 URL;黑色区域表示需要绘制的部分。",
"type": "string"
},
"num_inference_steps": {
"title": "推理步数",
"description": "推理步数。范围为 2–50,默认值为 8。",
"type": "integer",
"minimum": 2,
"maximum": 50,
"default": 8
},
"resolution": {
"title": "分辨率",
"description": "输出分辨率。可选值:`480p`、`720p`,默认值为 `480p`。",
"type": "string",
"enum": [
"480p",
"720p"
],
"default": "480p"
},
"seed": {
"title": "随机种子",
"description": "用于控制生成过程的整数随机种子,默认值为 0。",
"type": "integer",
"default": 0
},
"output_format": {
"title": "输出格式",
"description": "输出图像格式。可选值:`jpeg`、`png`、`webp`,默认值为 `png`。",
"type": "string",
"enum": [
"jpeg",
"png",
"webp"
],
"default": "png"
}
}
}{
"output": {
"type": "object",
"properties": {
"image": {
"type": "string",
"format": "uri",
"description": "modelApiDoc_outDescImage"
},
"video": {
"type": "string",
"format": "uri",
"description": "modelApiDoc_outDescVideo"
},
"images": {
"type": "array",
"description": "modelApiDoc_outDescImages",
"items": {
"type": "string",
"format": "uri"
}
},
"videos": {
"type": "array",
"description": "modelApiDoc_outDescVideos",
"items": {
"type": "string",
"format": "uri"
}
}
}
}
}RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.