1. Kling O1 Models
runninghub-api
  • Log of Update
  • AI App
    • Start AI App Task
      POST
    • Get API call examples for AI application
      GET
  • ComfyUI Workflows
    • Start ComfyUI Task 1 - Basic
      POST
    • Start ComfyUI Task 2 - Advanced
      POST
    • Get Workflow JSON
      POST
    • Cancel ComfyUI Task
      POST
  • Getting Started
    • Instructions for Use
    • About nodeInfoList
    • About Enterprise ComfyUI API
    • Native ComfyUI API Integration Guide
    • API Error Code Reference
  • Integration Example
    • Complete integration example
    • Complete Integration Example – Advanced Edition
    • Task Progress Display Example
    • Full Workflow Integration Example
  • Task Query & webhook
    • Check Task Status
    • Check Task Output
    • Get Webhook Event Details
    • Resend Specific Webhook Event
  • Standard-API
    • Image Generation (New)
      • Nano Banana
        • nano-banana-pro/text-to-image
        • nano-banana-pro/text-to-image
        • nano-banana-pro-official/edit
        • nano-banana/text-to-image
        • nano-banana-pro/edit
        • nano-banana/edit
      • gpt-image
        • gpt-image/text-to-image
        • gpt-image/edit
      • seedream
        • seedream-v4.5-文生图
        • seedream-v4-文生图
        • seedream-v4.5-图生图
        • seedream-v4-图生图
    • Video Generation (New)
      • Sora
        • sora-2/text-to-video-pro
        • sora-2/image-to-video-pro
        • sora-2/image-to-video
        • sora-2-official/image-to-video-realistic
        • sora2-text-to-video
        • sora-2-official/text-to-video
        • sora-2-official/image-to-video
        • sora-2-official/text-to-video-pro
        • sora-2-official/image-to-video-pro
        • sora2/upload-character
      • Veo
        • veo-3.1-fast/image-to-video
        • veo-3.1-fast/text-to-video
        • veo-3.1-pro/text-to-video
      • Kling 2.6 Models
        • kling-v2.6-pro/text-to-video
        • kling-v2.6-pro/image-to-video
      • Wan 2.6 Models
        • alibaba/wan-2.6/text-to-video
        • alibaba/wan-2.6/image-to-video
        • alibaba/wan-2.6/image-to-video
      • Kling 2.5 Models
        • kling-v2.5-turbo-pro/text-to-video
        • kling-v2.5-turbo-pro/image-to-video
        • kling-v2.5-turbo-std/image-to-video
      • Kling O1 Models
        • kling-video-o1/text-to-video
          POST
        • kling-video-o1/image-to-video
          POST
        • kling-video-o1/start-to-end
          POST
        • kling-video-o1-std/refrence-to-video
          POST
        • kling-video-o1-std/edit-video
          POST
      • Minmax Hailuo Models
        • hailuo-02/t2v-standard
        • hailuo-02/t2v-pro
        • hailuo-02/i2v-standard
        • hailuo-02/standard
        • hailuo-02/pro
        • hailuo-02/fast
        • hailuo-02/i2v-pro
        • hailuo-2.3/i2v-standard
        • hailuo-2.3-fast/image-to-video
        • hailuo-2.3-fast-pro/image-to-video
        • hailuo-2.3/image-to-video-pro
        • hailuo-2.3/t2v-standard
        • hailuo-2.3/t2v-pro
      • Vidu
        • vidu/text-to-video
        • vidu/image-to-video-q2-pro
        • vidu/image-to-video-q2-turbo
    • Query generation result (V2)
      POST
  • Resource Upload
    • 文件上传(新)
    • Upload Resource(image\video\audio\Compressed Files)
    • Upload Lora
  • Get Account Information
    POST
  • Schemas
    • Get Workflow JSON Request
    • TaskRunWebappByKeyRequest
    • Generate task submission results
    • Get Workflow JSON Response
    • Start ComfyUI Task Request 1
    • Start ComfyUI Task Request 2
    • Start ComfyUI Task Request -webhook
    • Start ComfyUI Task Response
    • TaskCreateResponse
    • Check Task Status Request
    • Node Input Information
    • Get Account Information Request
    • Upload Resource Request
    • Get Webhook Event Details Request
    • Resend Specific Webhook Request
    • R?
    • RWorkflowDuplicateResponse
    • RAccountStatusResponse
    • WorkflowDuplicateResponse
    • AccountStatusResponse
    • WorkflowDuplicateRequest
    • ApiUploadLoraRequest
    • RString
    • RTaskUploadResponse
    • TaskUploadResponse
  1. Kling O1 Models

kling-video-o1/start-to-end

POST
/openapi/v2/kling-video-o1/start-to-end

Request

Authorization
Header Params

Body Params application/jsonRequired

Example
{
  "prompt": "衔接提供的首帧和尾帧。书页开始像被魔法风吹动一样快速翻动,边缘溢出金色火星。随后发生剧烈的光芒爆发,书页演变成尾帧中所见的火焰凤凰羽翼。摄像机执行平滑的拉远镜头以捕捉完整的转化过程。保持桌面背景的一致性与专业电影级光影。",
  "aspectRatio": "9:16",
  "duration": "5",
  "firstImageUrl": "https://www.runninghub.cn/view?filename=1518761923043e2382fc7c86c33d034fc8e5d9dd3447cf27682b86087f52de0f.jpg&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NjkyMzc3OTAxMjYsInRzIjoxNzY4NjMyOTkwMTI2LCJzaWduIjoiODRiYWE5YmFjYmRhOTA5N2YwNmExMTY3M2UzMTIyMzUifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.5734588178612448",
  "lastImageUrl": "https://www.runninghub.cn/view?filename=9be292b2ff59987c400e41fd56d1a79154e6361930a8920eb04e497662074e7e.jpg&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NjkyMzc3OTAxMjYsInRzIjoxNzY4NjMyOTkwMTI2LCJzaWduIjoiODRiYWE5YmFjYmRhOTA5N2YwNmExMTY3M2UzMTIyMzUifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.4928345448568886",
  "mode": "std"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://www.runninghub.ai/openapi/v2/kling-video-o1/start-to-end' \
--header 'Authorization: Bearer [Your API KEY]' \
--header 'Content-Type: application/json' \
--data '{
  "prompt": "衔接提供的首帧和尾帧。书页开始像被魔法风吹动一样快速翻动,边缘溢出金色火星。随后发生剧烈的光芒爆发,书页演变成尾帧中所见的火焰凤凰羽翼。摄像机执行平滑的拉远镜头以捕捉完整的转化过程。保持桌面背景的一致性与专业电影级光影。",
  "aspectRatio": "9:16",
  "duration": "5",
  "firstImageUrl": "https://www.runninghub.cn/view?filename=1518761923043e2382fc7c86c33d034fc8e5d9dd3447cf27682b86087f52de0f.jpg&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NjkyMzc3OTAxMjYsInRzIjoxNzY4NjMyOTkwMTI2LCJzaWduIjoiODRiYWE5YmFjYmRhOTA5N2YwNmExMTY3M2UzMTIyMzUifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.5734588178612448",
  "lastImageUrl": "https://www.runninghub.cn/view?filename=9be292b2ff59987c400e41fd56d1a79154e6361930a8920eb04e497662074e7e.jpg&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NjkyMzc3OTAxMjYsInRzIjoxNzY4NjMyOTkwMTI2LCJzaWduIjoiODRiYWE5YmFjYmRhOTA5N2YwNmExMTY3M2UzMTIyMzUifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.4928345448568886",
  "mode": "std"
}'

Responses

🟢200成功
application/json
Bodyapplication/json

Example
{}
Modified at 2026-01-20 12:05:52
Previous
kling-video-o1/image-to-video
Next
kling-video-o1-std/refrence-to-video
Built with