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.