modelApiDoc_getStartedBeforeModelblackforestlabs/flux-3/first-last-frame-to-videomodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/blackforestlabs/flux-3/first-last-frame-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"start_image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7398/media-files/ref-promo-start.webp",
"end_image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7398/media-files/ref-promo-end.webp",
"prompt": "He grips the rope tightly on the dock, then moves beside the boat as the camera follows in one continuous shot. Soft harbor water and distant gulls."
}'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/blackforestlabs/flux-3/first-last-frame-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"start_image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7398/media-files/ref-promo-start.webp",
"end_image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7398/media-files/ref-promo-end.webp",
"prompt": "He grips the rope tightly on the dock, then moves beside the boat as the camera follows in one continuous shot. Soft harbor water and distant gulls."
}'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": [
"start_image_url",
"end_image_url",
"prompt"
],
"properties": {
"start_image_url": {
"title": "URL начального кадра",
"description": "URL изображения для первого кадра видео (PNG, JPEG или WebP).",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7398/media-files/ref-promo-start.webp"
},
"end_image_url": {
"title": "URL конечного кадра",
"description": "URL изображения для последнего кадра видео (PNG, JPEG или WebP).",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7398/media-files/ref-promo-end.webp"
},
"prompt": {
"title": "Промпт",
"description": "Текстовый промпт, описывающий нужное видео.",
"type": "string",
"default": "He grips the rope tightly on the dock, then moves beside the boat as the camera follows in one continuous shot. Soft harbor water and distant gulls."
},
"aspect_ratio": {
"title": "Соотношение сторон",
"description": "Соотношение сторон сгенерированного видео. auto — выбор модели.",
"type": "string",
"enum": [
"auto",
"21:9",
"2:1",
"16:9",
"4:3",
"1:1",
"3:4",
"9:16"
],
"default": "16:9"
},
"resolution": {
"title": "Разрешение",
"description": "Разрешение сгенерированного видео.",
"type": "string",
"enum": [
"720p",
"1080p"
],
"default": "720p"
},
"duration": {
"title": "Длительность",
"description": "Длительность сгенерированного видео в секундах. Явная длительность нужна, чтобы поставить конечный кадр.",
"type": "integer",
"enum": [
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"default": 5
},
"generate_audio": {
"title": "Генерировать аудио",
"description": "Генерировать ли синхронизированное аудио для видео.",
"type": "boolean",
"default": true
},
"safety_tolerance": {
"title": "Допуск безопасности",
"description": "Уровень допуска безопасности сгенерированного видео. 0 — самый строгий, 4 — самый мягкий.",
"type": "integer",
"minimum": 0,
"maximum": 4,
"default": 2
}
}
}{
"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.