ModelStream LogoModelStream Logo
Models
Video API
Image API
Chat API
Audio API
Studio
Pricing
Docs
Menu
IntroductionQuickstartAPI KeysUse with Hermes AgentUse with OpenClaw
Model ListBilling Guide
ModelStream

Video API

  • Seedance 2.0
  • Happyhorse 1.0
  • Vidu Q3
  • Kling V3.0
  • Veo 3.1
  • Wan 2.7
  • More Video Models →

Image API

  • GPT Image 2
  • Nano Banana 2
  • Seedream 5.0
  • Imagen 4
  • Qwen Image 2.0
  • Z-Image Turbo
  • More Image Models →

Audio API

  • Suno Music
  • Qwen3 TTS Flash
  • More Audio Models →

Chat API

  • GLM-5.2
  • Claude Opus 4.8
  • Gemini 3.5 Flash
  • Qwen 3.7 Max
  • GPT 5.5
  • More Chat Models →

About Us

  • Privacy Policy
  • Terms of Service
  • Support
  • Enterprise

© 2026 ModelStream Inc. All rights reserved.

API Documentation
API Reference
Videos
Generate Video

Generate Video

Loading models...
H
HappyHorse-1.0-Video-Edit (happyhorse-1.0-video-edit)
happyhorse-1.0-video-edit0 models support this endpoint

HappyHorse-1.0-V2V supports advanced video editing through natural language instructions. It allows for local or global editing of video elements using up to 5 reference images, precisely preserving original motion dynamics to achieve superior expressiveness. https://bailian.console.alibabacloud.com/cn-beijing?tab=model#/model-market/detail/happyhorse-1.0-video-edit?serviceSite=asia-pacific-china

Generate video

https://api.modelstream.ai
POST/v1/video/generations

Authentication

BearerAuth
AuthenticationBearer <token>

All API requests must be authenticated using a Bearer token in the Authorization header. Please ensure your API key is active.Authorization: Bearer sk-xxxxxx

Parameter Location: Header Param

Request Body

application/json

These parameters come from the selected model form_schema. Switching models updates this list and the request example.

video_url*string

Required. Video to edit. Duration 3–60s, max 100MB.

RequiredExample Value: https://static.modelstream.ai/demo/happyhorse/happyhorse-1.0-video-edit_reference.mp4
reference_images?array

Optional. Upload images to guide the style or specific element modifications.

Value Range: 0 ≤ value ≤ 5
prompt*string
RequiredExample Value: Transform the girl into a celestial being made of translucent sapphire-blue glass. Her skin should have the texture of frosted cobalt crystal with glowing, silver-etched circuit patterns running beneath the surface. Her hair is to be replaced by flowing, weightless strands of deep-blue liquid starlight that trail behind her motion. The Hanfu must be transformed into a gown made of shimmering, semi-transparent solar-sail material in shades of azure and teal, reflecting a distant galaxy. The fan should become a cluster of floating, crystalline shards that move in perfect synchronization with her hand, emitting soft blue light and cold vapor. The background is a deep-space nebula with swirling clouds of violet and turquoise gas and distant, twinkling star clusters. Focus on the refractive quality of the sapphire skin, the metallic sheen of the silver etchings, and the fluid, weightless motion of the starlight hair. Every movement should leave a faint, glittering trail of stardust.Placeholder: Describe how you want to modify the video (e.g., change background to forest, or apply oil painting style)...
resolution?string
Example Value: 720P
Enum/Options:
720P1080P
audio_setting?string
Example Value: auto
Enum/Options:
Auto: autoKeep Original: origin
watermark?boolean
Example Value: false
seed?number
Value Range: 0 ≤ value ≤ 2147483647

Response Parameters

application/json
200apiDocs.responses.successCreateVideoGenTask
task_id?string

Parameter description for Task Id

status?string

Parameter description for Status

400apiDocs.responses.badRequestParams
error?object

Parameter description for Error

message?string

Error Message

type?string

Error Type

param?string

Related Parameters

code?string

Error Code

curl -X POST "https://api.modelstream.ai/v1/video/generations" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "happyhorse-1.0-video-edit",
  "prompt": "Transform the girl into a celestial being made of translucent sapphire-blue glass. Her skin should have the texture of frosted cobalt crystal with glowing, silver-etched circuit patterns running beneath the surface. Her hair is to be replaced by flowing, weightless strands of deep-blue liquid starlight that trail behind her motion. The Hanfu must be transformed into a gown made of shimmering, semi-transparent solar-sail material in shades of azure and teal, reflecting a distant galaxy. The fan should become a cluster of floating, crystalline shards that move in perfect synchronization with her hand, emitting soft blue light and cold vapor. The background is a deep-space nebula with swirling clouds of violet and turquoise gas and distant, twinkling star clusters. Focus on the refractive quality of the sapphire skin, the metallic sheen of the silver etchings, and the fluid, weightless motion of the starlight hair. Every movement should leave a faint, glittering trail of stardust.",
  "size": "720P",
  "metadata": {
    "input": {
      "media": [
        {
          "type": "video",
          "url": "https://static.modelstream.ai/demo/happyhorse/happyhorse-1.0-video-edit_reference.mp4"
        }
      ],
      "audio_setting": "origin"
    },
    "parameters": {
      "watermark": false
    }
  }
}'
{
  "task_id": "abcd1234efgh",
  "status": "queued"
}