modelApiDoc_getStartedBeforeModelkling/kling-video-o1/standard/image-to-videomodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/kling/kling-video-o1/standard/image-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Close-up: a young black man is holding a spray paint can. He sprayed at the brick wall, but what came out was not paint,but colorful, glowing flowers that quickly bloomed and grew on the wall. He stepped back to admire hismasterpiece, a work of magical realism with vivid colors",
"image": "https://playgrounds-storage-public.runcomfy.net/tools/7288/media-files/input-1-1.png"
}'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/kling/kling-video-o1/standard/image-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Close-up: a young black man is holding a spray paint can. He sprayed at the brick wall, but what came out was not paint,but colorful, glowing flowers that quickly bloomed and grew on the wall. He stepped back to admire hismasterpiece, a work of magical realism with vivid colors",
"image": "https://playgrounds-storage-public.runcomfy.net/tools/7288/media-files/input-1-1.png"
}'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"
],
"properties": {
"prompt": {
"title": "Prompt",
"description": "The positive prompt for the generation.",
"type": "string",
"default": "Close-up: a young black man is holding a spray paint can. He sprayed at the brick wall, but what came out was not paint,but colorful, glowing flowers that quickly bloomed and grew on the wall. He stepped back to admire hismasterpiece, a work of magical realism with vivid colors"
},
"image": {
"title": "Image",
"description": "first_frame is the first frame",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7288/media-files/input-1-1.png"
},
"last_image": {
"title": "Last Frame Image",
"description": "last_frame is the last frame.",
"type": "string"
},
"duration": {
"title": "Duration",
"description": "The duration of the generated media. Only 5s or 10s are supported when last_image is not used.",
"type": "integer",
"enum": [
3,
4,
5,
6,
7,
8,
9,
10
],
"default": 5
}
}
}{
"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.