modelApiDoc_getStartedBeforeModelkling/kling-3.0/standard/text-to-videomodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/kling/kling-3.0/standard/text-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Cinematic multi-shot of a young American father teaching his 6-year-old daughter to ride a bike on a sun-dappled suburban street in autumn. Wide establishing shot of the leafy neighborhood with Craftsman-style houses, then cut to a low tracking shot following the wobbling pink bike as the father runs alongside holding the seat, his blue flannel shirt fluttering. Cut to a close-up of the girl's face, golden braids whipping in the wind, her wide blue eyes shifting from nervous to joyful as she breaks into laughter. Final shot: a slow-motion crane pull-back as he lets go and she pedals freely down the street, golden hour light, lens flares, warm cinematic color grade, shot on 35mm film, shallow depth of field."
}'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-3.0/standard/text-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Cinematic multi-shot of a young American father teaching his 6-year-old daughter to ride a bike on a sun-dappled suburban street in autumn. Wide establishing shot of the leafy neighborhood with Craftsman-style houses, then cut to a low tracking shot following the wobbling pink bike as the father runs alongside holding the seat, his blue flannel shirt fluttering. Cut to a close-up of the girl's face, golden braids whipping in the wind, her wide blue eyes shifting from nervous to joyful as she breaks into laughter. Final shot: a slow-motion crane pull-back as he lets go and she pedals freely down the street, golden hour light, lens flares, warm cinematic color grade, shot on 35mm film, shallow depth of field."
}'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"
],
"properties": {
"prompt": {
"title": "Prompt",
"description": "Text description of the scene, motion, camera style, and atmosphere.",
"type": "string",
"default": "Cinematic multi-shot of a young American father teaching his 6-year-old daughter to ride a bike on a sun-dappled suburban street in autumn. Wide establishing shot of the leafy neighborhood with Craftsman-style houses, then cut to a low tracking shot following the wobbling pink bike as the father runs alongside holding the seat, his blue flannel shirt fluttering. Cut to a close-up of the girl's face, golden braids whipping in the wind, her wide blue eyes shifting from nervous to joyful as she breaks into laughter. Final shot: a slow-motion crane pull-back as he lets go and she pedals freely down the street, golden hour light, lens flares, warm cinematic color grade, shot on 35mm film, shallow depth of field."
},
"negative_prompt": {
"title": "Negative Prompt",
"description": "Elements to exclude from the video.",
"type": "string"
},
"duration": {
"title": "Duration",
"description": "Video length in seconds.",
"type": "integer",
"minimum": 3,
"maximum": 15,
"default": 5
},
"aspect_ratio": {
"title": "Aspect Ratio",
"description": "Output ratio of the generated video.",
"type": "string",
"enum": [
"16:9",
"9:16",
"1:1"
],
"default": "16:9"
},
"cfg_scale": {
"title": "CFG Scale",
"description": "Prompt guidance strength.",
"type": "float",
"minimum": 0,
"maximum": 1,
"default": 0.5
},
"sound": {
"title": "Sound",
"description": "Generate synchronized sound alongside the video.",
"type": "boolean",
"default": true
},
"shot_type": {
"title": "Shot Type",
"description": "Editing mode: intelligent (default, auto-determines scope) or customize.",
"type": "string",
"enum": [
"intelligent",
"customize"
],
"default": "intelligent"
},
"multi_prompt": {
"title": "Multi Prompt",
"description": "Additional prompt segments to guide scene transitions and progressions. The sum of durations in multi_prompt must equal to total video duration",
"type": "array",
"items": {
"prompt": {
"title": "Prompt",
"description": "Additional prompt segments to guide scene transitions and progressions.",
"type": "string",
"format": "str"
},
"duration": {
"title": "Duration",
"description": "Duration of the prompt segment in seconds.",
"type": "integer",
"format": "int_slider_with_range",
"minimum": 3,
"maximum": 15,
"default": 5
}
},
"maxItems": 20,
"minItems": 0
}
}
}{
"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.