Skip to content
이 페이지는 아직 해당 언어로 제공되지 않아 영어로 표시됩니다.
Alibaba · HappyHorse

happyhorse API

Generate and edit videos from text, images, or source footage with happyhorse on APISea.

동영상 생성동영상비동기 작업
모델 ID
happyhorse-1.0

happyhorse API 가격

모든 가격은 USD 기준입니다. 동일한 단위에 대해 APISea 요금과 공식 가격표를 비교합니다.

옵션APISea공식절약
기본값기본값$0.253$0.2875−12%
1080P$0.253$0.2875−12%
720P$0.143$0.1625−12%
edit-1080P$0.253$0.2875−12%
edit-720P$0.143$0.1625−12%

가격 단위: 초당.

happyhorse이란?

happyhorse is Alibaba's HappyHorse family video model, available on APISea through the unified model ID happyhorse-1.0. It generates video from text, animates a first-frame image, creates scenes from reference images, or rewrites and restyles source footage. The request's media fields determine the mode automatically, so developers can support these workflows through one model entry. Generation supports 720P and 1080P output and integer durations from 3 to 15 seconds, with controls for aspect ratio, watermark, and random seed.

APISea bills by resolution and video duration only, regardless of mode, and charges only for successful requests. The 720P and edit-720P configurations cost $0.143 per second; Default, 1080P, and edit-1080P cost $0.253 per second. The default configuration is about 12% below the provider list price. In edit mode, output length follows the source video, capped at 15 seconds, rather than the requested duration.

happyhorse 주요 특징

Four Video Workflows

Generate from text, animate a first-frame image, build scenes from reference images, or edit source footage. Input parameters automatically select the mode.

Reference Image Support

Use 1–9 images as subject or style references for a new scene. Video editing accepts up to 5 style-reference images alongside the source video.

Resolution And Duration Controls

Choose 720P or 1080P and an integer generation duration from 3 to 15 seconds. Defaults are 1080P and 5 seconds.

Output Configuration Controls

Set aspect ratio, watermark inclusion, and a random seed to control generation randomness. Optional pre-submission moderation reviews prompts and input images.

happyhorse API를 호출하는 4단계

  1. 01

    API 키 발급

    APISea에 로그인하고 $50부터 충전한 다음, 콘솔에서 sk-sea 키를 생성합니다.

  2. 02

    base URL 설정

    SDK 또는 HTTP 클라이언트에서 https://api.apisea.ai/v1를 base URL로 사용합니다.

  3. 03

    요청 전송

    "model": "happyhorse-1.0"와 아래 매개변수를 지정해 POST /v1/videos/generations를 호출합니다.

  4. 04

    응답 처리

    응답에 task_id가 포함됩니다. 상태가 completed가 될 때까지 GET /v1/tasks/{task_id}를 폴링한 다음 결과 URL에서 파일을 다운로드합니다.

curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "happyhorse-1.0",
    "prompt": "A little girl walking down the road, cinematic feel",
    "resolution": "1080P",
    "size": "16:9",
    "duration": 5,
    "seed": 42
  }'

매개변수

매개변수유형필수 여부기본값설명
modelstring필수 여부—Video generation model name, fixed as `happyhorse-1.0`
nsfw_checkboolean선택 사항falseWhether to run content moderation before submitting the video task.
promptstring선택 사항—Video content description, up to 2500 characters; cannot contain special tokens
first_frame_imagestring선택 사항—First-frame image, triggers **I2V** (Image-to-Video). Supports URL or base64 (`data:image/<mime>;base64,<payload>`, the gateway uploads it to OSS automatically)
image_urlsarray\<string\>선택 사항—Image array:
video_urlstring선택 사항—Source video URL, triggers **EDIT** (Video Edit). **Base64 is not supported** — provide an HTTP/HTTPS direct link
audio_settingstring선택 사항autoAudio setting, **only effective in EDIT mode** (must pass `video_url`)
resolutionstring선택 사항1080PVideo resolution (affects billing)
durationinteger선택 사항5Video duration in seconds (affects billing)
sizestring선택 사항16:9Aspect ratio
watermarkboolean선택 사항falseWhether to add a watermark to the generated video
seedinteger선택 사항—Random seed used to control the randomness of generated content

happyhorse으로 만들 수 있는 것

Text-to-Video Prototypes

Build a tool that turns written scene descriptions into short video drafts for creative review.

Still Image Animation

Let users supply a first-frame image and a prompt describing actions or camera movement to create an animated clip.

Reference-Based Scene Creation

Create a scene-generation workflow where teams submit subject or style reference images alongside a text description.

Source Footage Restyling

Build an editing interface that rewrites or restyles an uploaded source video, optionally using reference images for style guidance.

더 나은 결과를 위한 팁

  • 01

    Choose Inputs Deliberately

    Use only the media fields needed for your mode. The only supported pairing is a source video with reference images; other paired media fields return a 400 mixed_media_not_allowed error.

  • 02

    Budget By Resolution

    Choose 720P at $0.143 per second when that resolution meets your needs, or 1080P at $0.253 per second. Billing depends on resolution and seconds, not the selected workflow.

  • 03

    Trim Before Editing

    Trim source footage to the desired output length before submitting it. The duration parameter has no effect in edit mode, and sources longer than 15 seconds are truncated to their first 15 seconds.

  • 04

    Guide Image Animation

    Although a prompt is optional for first-frame image animation, include one to guide camera movement and actions. Keep prompts within 2500 characters and avoid special tokens.

제한 사항 및 알아둘 점

  • Generated duration is limited to 3–15 seconds; edit output follows the source length, capped at 15 seconds.

  • Source videos must use an HTTP/HTTPS direct link; base64 video input is not supported.

  • The audio_setting parameter is effective only in edit mode with a source video.

happyhorse API FAQ

How much does happyhorse cost on APISea?

APISea 720P and edit-720P cost $0.143 per second. Default, 1080P, and edit-1080P cost $0.253 per second; the default configuration is about 12% below the provider list price. Only successful requests are billed.

How do I call the happyhorse API?

Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer Token authentication and the model field set to happyhorse-1.0. Include a prompt and the appropriate media fields for your workflow.

Does happyhorse support image-to-video and video editing?

Yes. A first-frame image selects image-to-video, reference images select reference-image-to-video, and a source video URL selects editing. A prompt alone selects text-to-video.

What resolutions and video lengths are supported?

Generation supports 720P and 1080P with integer durations from 3 to 15 seconds. Defaults are 1080P and 5 seconds; in edit mode, output duration matches the source, capped at 15 seconds.

What input limits should I check before submitting?

Prompts allow up to 2500 characters and cannot contain special tokens. Reference-based generation accepts 1–9 images, while editing accepts up to 5 reference images. Source videos must be MP4 or MOV, 3–60 seconds long, and no larger than 100MB; sources over 15 seconds are truncated.

Can I use happyhorse videos commercially?

Commercial use is subject to the provider's terms. Review the applicable terms and confirm that you have the necessary rights to your input images and source footage.

관련 모델

모델 250개 이상 · 최소 충전 금액 $50

happyhorse으로 개발을 시작하세요

하나의 키로 $50부터 사용한 만큼 결제하며, 성공한 요청에만 요금이 청구됩니다.