1. video-edit
RunningHub-API
  • Log of Update
  • 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
    • Query generation result (V2)
  • ComfyUI Workflows
    • Start ComfyUI Task 1 - Basic
    • Start ComfyUI Task 2 - Advanced
    • Get Workflow JSON
    • Cancel ComfyUI Task
  • AI App
    • Start AI App Task
    • Get API call examples for AI application
  • Resource Upload
    • 文件上传(新)
    • Upload Resource(image\video\audio\Compressed Files)
    • Upload Lora
  • Standard Model API
    • Video Generation & Processing
      • image-to-video
        • Vidu
          • Vidu-start-end-to-video-q2-pro
          • Vidu-start-end-to-video-q2-turbo
          • Vidu-image-to-video-q2-pro
          • Vidu-start-end-to-video-q3-pro
          • Vidu-image-to-video-q2-turbo
          • Vidu-image-to-video-q2-pro-fast
          • Vidu-start-end-to-video-q3-turbo
          • Vidu-image-to-video-q3-turbo
          • Vidu-start-end-to-video-q2-pro-fast
          • Vidu-image-to-video-q3-pro
        • kling
          • kling-video-o3-pro-image-to-video
          • kling-v3.0-4k-image-to-video
          • kling-video-o1/image-to-video
          • kling-elements
          • kling-video-o3-std-image-to-video
          • kling-video-o3-4k-image-to-video
          • kling-video-o1/start-to-end
          • kling-v2.5-turbo-std/image-to-video
          • kling-v3.0-pro-image-to-video
          • kling-v2.5-turbo-pro/image-to-video
          • kling-v3.0-std-image-to-video
          • kling-v2.6-pro-image-to-video
        • seedance
          • seedance-v1.5-pro-image-to-video-fast
          • seedance-2.0-global-fast/image-to-video
          • seedance-v1.5-pro-image-to-video
          • seedance-2.0-global/image-to-video
        • hailuo
          • hailuo-02-standard
          • hailuo-02-i2v-standard
          • hailuo-2.3/i2v-standard
          • hailuo-2.3-fast/image-to-video
          • hailuo-2.3-fast-pro/image-to-video
          • hailuo-2.3/i2v-pro
          • hailuo-02-i2v-pro
          • hailuo-02-fast
        • midjourney
          • midjourney-image-to-video
        • google
          • veo3.1
            • google/veo3.1-pro/start-end-to-video-channel-low-price
            • google/veo3.1-fast/start-end-to-video-channel-low-price
            • google/veo3.1-lite/image-to-video-official-stable
            • google/veo3.1-pro/image-to-video-official-stable
            • google/veo3.1-fast/image-to-video-channel-low-price
            • google/veo3.1-pro/reference-to-video-official-stable
            • google/veo3.1-fast/image-to-video-official-stable
            • google/veo3.1-pro/image-to-video-channel-low-price
        • sora
          • sora-2/image-to-video-realistic-official-stable
          • sora-2/text-to-video-pro-official-stable
          • sora-2/image-to-video-pro-official-stable
          • sora-2/image-to-video-pro-channel-low-price
          • sora-2/image-to-video-official-stable
          • sora-2/image-to-video-channel-low-price
        • wan
          • wan-2.2-video/start-to-end
          • wan-2.6-reference-to-video
          • wan-2.7/image-to-video
          • wan-2.5-preview/image-to-video
          • wan-2.6-reference-to-video-flash
          • wan-2.6-image-to-video-flash
          • wan-2.2/image-to-video
        • ltx
          • ltx-2.3/image-to-video-lora
          • ltx-2.3/image-to-video
        • xai
          • grok
            • xai/grok-imagine/image-to-video-channel-low-price-v1.5
            • xai/grok-imagine/image-to-video-official-stable
        • alibaba
          • wan
            • alibaba/wan-2.6/image-to-video
        • pixverse
          • pixverse-v6/image-to-video
        • happyhorse
          • happyhorse-1.0/image-to-video
        • skyreels
          • skyreels-v4/image-to-video-fast
          • skyreels-v4/image-to-video-std
        • gemini
          • gemini-omni-flash/image-to-video/channel-low-price
      • reference-to-video
        • kling-video-o1-std/refrence-to-video
        • Vidu-reference-to-video-q3-mix
        • wan-2.7-reference-to-video
        • kling-video-o3-pro/reference-to-video
        • kling-video-o3-std/reference-to-video
        • seedance-2.0-global-fast/multimodal-video
        • kling-video-o3-4k-reference-to-video
        • Vidu-reference-to-video-q3
        • seedance-2.0-global/multimodal-video
        • happyhorse-1.0/reference-to-video
        • Vidu-reference-to-video-q2
        • skyreels-v4/omni-reference-fast
        • seedance-v1-lite-reference-to-video
        • skyreels-v4/omni-reference-std
        • xai/grok-imagine-video/reference-to-video-official-stable
        • google/veo3.1-fast/reference-to-video-official-stable
      • text-to-video
        • Vidu
          • Vidu-text-to-video-q2
          • Vidu-text-to-video-q3-turbo
          • Vidu-text-to-video-q3-pro
        • kling
          • kling-video-o3-pro-text-to-video
          • kling-v3-4k-text-to-video
          • kling-video-o1/text-to-video
          • kling-video-o3-std-text-to-video
          • kling-video-o3-4k-text-to-video
          • kling-v2.5-turbo-pro/text-to-video
          • kling-v3.0-pro-text-to-video
          • kling-v2.6-pro-text-to-video
          • kling-v3.0-std-text-to-video
          • kling-v2.5-turbo-std/text-to-video
        • seedance
          • seedance-v1.5-pro-text-to-video-fast
          • seedance-2.0-global/text-to-video
          • seedance-v1.5-pro-text-to-video
          • seedance-2.0-global-fast/text-to-video
        • hailuo
          • hailuo-02-pro
          • hailuo-02-t2v-standard
          • hailuo-2.3-t2v-standard
          • hailuo-2.3-t2v-pro
          • hailuo-02-t2v-pro
        • google
          • veo3.1
            • google/veo3.1-pro/text-to-video-channel-low-price
            • google/veo3.1-lite/start-end-to-video-official-stable
            • google/veo3.1-lite/text-to-video-official-stable
            • google/veo3.1-fast/text-to-video-channel-low-price
            • google/veo3.1-pro/text-to-video-official-stable
            • google/veo3.1-fast/video-extend-official-stable
            • google/veo3.1-pro/video-extend-official-stable
            • google/veo3.1-fast/text-to-video-official-stable
        • xai
          • grok
            • xai/grok-imagine/text-to-video-official-stable
            • xai/grok-imagine/text-to-video-channel-low-price-v1.5
        • wan
          • wan-2.7/text-to-video
          • wan-2.5-preview/text-to-video
          • wan-2.2/text-to-video
        • ltx
          • ltx-2.3/text-to-video-lora
          • ltx-2.3/text-to-video
        • alibaba
          • wan
            • alibaba/wan-2.6/text-to-video
        • sora
          • sora-2/text-to-video-pro-channel-low-price
          • sora-2/text-to-video-official-stable
          • sora-2/text-to-video-channel-low-price
        • pixverse
          • pixverse-v6/text-to-video
        • happyhorse
          • happyhorse-1.0/text-to-video
        • skyreels
          • skyreels-v4/text-to-video-fast
          • skyreels-v4/text-to-video-std
        • gemini
          • gemini-omni-flash/text-to-video/channel-low-price
      • video-edit
        • happyhorse-1.0/video-edit
          POST
        • xai/grok-imagine/edit-video-official-stable
          POST
        • wan-2.7/video-edit
          POST
        • kling-video-o3-pro/video-edit
          POST
        • kling-video-o1-std/edit-video
          POST
        • kling-video-o3-std/video-edit
          POST
        • gemini-omni-flash/video-edit/channel-low-price
          POST
      • video-tools
        • kling-o3/element
        • volc-subtitle-erase/video(Refined version)
        • pixverse-v6/extend
        • rh-video-upscaler
        • sora-upload-character-channel-low-price
        • pixverse-v6/transition
        • rh-video-fps-increaser
        • volc-subtitle-erase/video(Standard Version)
      • motion-control
        • bytedance/dreamactor-v2
        • kling-v3.0-pro-motion-control
        • kling-v2.6-pro-motion-control
        • kling-v3.0-std-motion-control
        • kling-v2.6-std-motion-control
      • audio-to-video
        • kling-lip-sync/lip-sync-video
        • kling-lip-sync/identify-face
      • video-extend
        • wan-2.7/video-extend
        • xai/grok-imagine-video/video-extend-official-stable
      • video-to-video
        • Wan2.2 Character Motion Transfer
    • 3D Generation & Processing
      • text-to-3D
        • hunyuan3d-v3.1/text-to-3d
      • image-to-3D
        • hunyuan3d-v3.1/image-to-3d
        • hitem3d-v2/image-to-3d
        • hitem3d-v15/multi-image-to-3d
        • hitem3d-v2/multi-image-to-3d
        • hitem3d-portrait-v21/image-to-3d
        • hitem3d-portrait-v21/multi-image-to-3d
        • hitem3d-portrait-v20/image-to-3d
        • hitem3d-portrait-v20/multi-image-to-3d
        • hitem3d-portrait-v15/image-to-3d
        • hitem3d-portrait-v15/multi-image-to-3d
        • hitem3d-v15/image-to-3d
    • Image Generation & Processing
      • image-to-image
        • seedream
          • seedream-v5-lite/image-to-image
          • seedream-v4/image-to-image
          • seedream-v4.5/image-to-image
        • grok
          • grok-image/image-to-image/channel-low-price
        • f
          • f-2-dev/edit-lora
          • f-2-dev/edit
          • f-2-klein-9b/edit
          • f-2-klein-4b/edit
          • f-2-klein-4b/edit-lora
          • f-kontext-dev-lora
        • qwen
          • qwen-image/edit-2511-lora
          • qwen-image/edit-2511
          • qwen-image-2.0/image-edit
          • qwen-image-2.0-pro/image-edit
        • z
          • z-image-turbo/image-to-image-lora
          • z-image-turbo/image-to-image
        • wan
          • wan-2.5-preview/image-to-image
          • wan-2.2/image-to-image
        • midjourney
          • midjourney-text-to-image-v8.1
          • midjourney-text-to-image-v6
        • nano
          • nano-banana-pro/edit-channel-low-price
          • nano-banana2-gemini31flash/image-to-image-channel-low-price
          • nano-banana2-gemini31flash/image-to-image-official-stable
          • nano-banana/edit-official-stable
          • nano-banana-pro/edit-official-stable
          • nano-banana-pro/edit-ultra-official-stable
          • nano-banana/edit-channel-low-price
        • gpt
          • gpt-image-2.0/edit-channel-low-price
          • gpt-image-2/image-to-image-official-stable
          • gpt-image-1.5/edit-channel-low-price-[Deprecated] Please use gpt-image-2 instead
          • gpt-image-1.5/image-to-image-official-stable
        • xai
          • grok
            • xai/grok-imagine-image/edit-official-stable
          • rhart
            • xai/rhart-imagine-image-quality/edit-official-stable
        • bytedance
          • jimeng
            • bytedance/jimeng-4.6/image-to-image
      • text-to-image
        • seedream
          • seedream-v5-lite/text-to-image
          • seedream-v4/text-to-image
          • seedream-v4.5/text-to-image
        • grok
          • grok-image/text-to-image/channel-low-price
        • qwen
          • qwen-image/text-to-image-2512-lora
          • qwen-image/text-to-image-2512
          • qwen-image-2.0/text-to-image
          • qwen-image-2.0-pro/text-to-image
        • z
          • z-image/turbo-lora
          • z-image/turbo
        • f
          • f-2-dev/text-to-image-lora
          • f-2-dev/text-to-image
          • f-2-klein-9b/text-to-image-lora
          • f-2-klein-9b/text-to-image
          • f-2-klein-4b/text-to-image
          • f-2-klein-4b/text-to-image-lora
          • f-krea-dev-lora
          • f-dev-lora
          • f-dev
        • wan
          • wan-2.5-preview/text-to-image
          • wan-2.7/text-to-image-pro
          • wan-2.2/text-to-image-lora
          • wan-2.7/text-to-image
        • midjourney
          • midjourney-text-to-image-niji6
          • midjourney-text-to-image-v61
          • midjourney-text-to-image-v7
          • midjourney-text-to-image-niji7
        • nano
          • nano-banana-pro/text-to-image-channel-low-price
          • nano-banana2-gemini31flash/text-to-image-official-stable
          • nano-banana2-gemini31flash/text-to-image-channel-low-price
          • nano-banana/text-to-image-official-stable
          • nano-banana-pro/text-to-image-official-stable
          • nano-banana-pro/text-to-image-ultra-official-stable
          • nano-banana/text-to-image-channel-low-price
        • gpt
          • gpt-image-2/text-to-image-official-stable
          • gpt-image-2.0/text-to-image-channel-low-price
          • gpt-image-1.5/text-to-image-official-stable
          • gpt-image-1.5/text-to-image-channel-low-price-[Deprecated] Please use gpt-image-2 instead
        • xai
          • grok
            • xai/grok-imagine-image/text-to-image-official-stable
          • rhart
            • xai/rhart-imagine-image-quality/text-to-image-official-stable
        • bytedance
          • jimeng
            • bytedance/jimeng-4.6/text-to-image
      • image-tools
        • wan-2.7/image-edit-pro
        • wan-2.7/image-edit
      • reference-to-image
        • Vidu-reference-to-video-q2-pro
    • Audio Generation & Processing
      • text-to-audio
        • minimax/speech-2.8-turbo
        • minimax/music-2.5
        • kling-lip-sync/tts
        • minimax/speech-2.6-turbo
        • minimax/speech-2.6-hd
        • minimax/speech-02-turbo
        • minimax/speech-02-hd
        • minimax/speech-2.8-hd
        • minimax/voice-clone
        • minimax/music-2.6/text-to-instrumental
        • minimax/music-2.6/text-to-music
      • text-to-music
        • suno-single-v5.5
        • suno-custom-v5.5
        • suno-single-v5
        • suno-custom-v5
        • suno-single-v4.5
        • suno-custom-v4.5
      • text-to-lyrics
        • suno-lyrics
      • video-to-audio
        • Separate audio Other
        • Separate audio Vocals
        • Separate audio
  • 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. video-edit

happyhorse-1.0/video-edit

POST
/openapi/v2/alibaba/happyhorse-1.0/video-edit
HappyHorse 1.0 Video Edit is an instruction-driven video editing model from Alibaba. It modifies existing videos by changing backgrounds, object colors, or attributes while preserving the original video's structure, characters, and motion logic. No reshoots or frame-by-frame processing is required. Suitable for post-production tweaks, asset re-editing, and ad element replacement scenarios. Supports 720P/1080P output, original audio / auto-dubbing strategies, and random seeds. If the input video exceeds 15 seconds, the upstream will truncate it from the 0-second mark to 15 seconds.

Request

Authorization
Header Params

Body Params application/jsonRequired

Example
{
    "videoUrl": "https://www.runninghub.cn/view?filename=b39e58509dfa7e488ebf15a05a89156c552efe0d7bd57fb710b256bf4d0f2d9f.mp4&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3Nzc5MDA1MDY0OTgsInRzIjoxNzc3Mjk1NzA2NDk4LCJzaWduIjoiN2M2NTY2NWE1NzgxZTBmNTZmNTc3MmIyZjUzYjI5MWIifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.32470266053402075",
    "imageUrls": [
        "https://www.runninghub.cn/view?filename=6c3cad40b41faebf770886a43798285681c9b4690de61aefb520e6f9d7bc22da.jpg&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3Nzc5MDA1MDY0OTgsInRzIjoxNzc3Mjk1NzA2NDk4LCJzaWduIjoiN2M2NTY2NWE1NzgxZTBmNTZmNTc3MmIyZjUzYjI5MWIifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.7067730641010437"
    ],
    "prompt": "Add elements from the image to the video.",
    "resolution": "1080p",
    "audioSetting": "origin"
}

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/alibaba/happyhorse-1.0/video-edit' \
--header 'Authorization: Bearer [Your API KEY]' \
--header 'Authorization: Bearer [Your API KEY]' \
--header 'Content-Type: application/json' \
--data '{
    "videoUrl": "https://www.runninghub.cn/view?filename=b39e58509dfa7e488ebf15a05a89156c552efe0d7bd57fb710b256bf4d0f2d9f.mp4&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3Nzc5MDA1MDY0OTgsInRzIjoxNzc3Mjk1NzA2NDk4LCJzaWduIjoiN2M2NTY2NWE1NzgxZTBmNTZmNTc3MmIyZjUzYjI5MWIifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.32470266053402075",
    "imageUrls": [
        "https://www.runninghub.cn/view?filename=6c3cad40b41faebf770886a43798285681c9b4690de61aefb520e6f9d7bc22da.jpg&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3Nzc5MDA1MDY0OTgsInRzIjoxNzc3Mjk1NzA2NDk4LCJzaWduIjoiN2M2NTY2NWE1NzgxZTBmNTZmNTc3MmIyZjUzYjI5MWIifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.7067730641010437"
    ],
    "prompt": "Add elements from the image to the video.",
    "resolution": "1080p",
    "audioSetting": "origin"
}'

Responses

🟢200成功
application/json
Task result query endpoint: /openapi/v2/query
Bodyapplication/json

Examples
{
    "taskId": "2013508786110730241",
    "status": "RUNNING",
    "errorCode": "",
    "errorMessage": "",
    "results": null,
    "clientId": "f828b9af25161bc066ef152db7b29ccc",
    "promptTips": "{\"result\": true, \"error\": null, \"outputs_to_execute\": [\"4\"], \"node_errors\": {}}"
}
Modified at 2026-05-28 12:00:01
Previous
gemini-omni-flash/text-to-video/channel-low-price
Next
xai/grok-imagine/edit-video-official-stable
Built with