Skip to content
הדף עדיין אינו זמין בשפה שלכם, ולכן הוא מוצג באנגלית.
Alibaba · HappyHorse

happyhorse API

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

יצירת וידאווידאומשימה אסינכרונית
מזהה מודל
happyhorse-1.0

תמחור API של happyhorse

כל המחירים נקובים ב-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.

איך לקרוא ל-API של happyhorse ב-4 שלבים

  1. 01

    יצירת מפתח API

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.

  3. 03

    שליחת הבקשה

    יש לקרוא ל-POST /v1/videos/generations עם "model": "happyhorse-1.0" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    התגובה מכילה task_id. יש לשלוח בקשות GET אל /v1/tasks/{task_id} עד שהסטטוס יהיה completed, ואז להוריד את כתובות ה-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.

שאלות נפוצות על API של happyhorse

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, וחיוב רק על בקשות שהצליחו.