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

happyhorse-1.1 API

Generate videos from text, a first-frame image, or reference images with happyhorse-1.1 on APISea.

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

תמחור API של happyhorse-1.1

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

אפשרותAPISeaרשמיחיסכון
ברירת מחדלברירת מחדל$0.1892$0.215−12%
1080P$0.1892$0.215−12%
720P$0.143$0.1625−12%

המחירים הם לכל שנייה.

מהו happyhorse-1.1?

happyhorse-1.1 is Alibaba’s HappyHorse video generation model, available through APISea as one entry for three input modes. Generate video from a text prompt, animate a first-frame image, or supply 1–9 reference images to guide subjects or style in a new scene. The service selects the mode from your request parameters. It supports 720P and 1080P output, integer durations from 3 to 15 seconds, and controls for aspect ratio, watermarking, and random seed.

Submit requests to the video generation endpoint using your APISea key. Responses include a task ID for querying status and results. Billing depends only on resolution and duration, with the same rule across all three modes. APISea charges $0.143 per second for 720P and $0.1892 per second for 1080P or the default configuration. The default configuration is about 12% below the provider list price, with pay-as-you-go billing only for successful requests.

המאפיינים הבולטים של happyhorse-1.1

Three Video Input Modes

Use text alone, a first-frame image, or 1–9 subject/style reference images. A single model entry automatically routes requests to the appropriate mode.

Resolution And Duration Controls

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

Flexible Aspect Ratios

Select landscape, portrait, or square formats for text-to-video and reference-image-to-video. In image-to-video mode, the first-frame image determines the output aspect ratio.

Seed And Watermark Controls

Set a seed to influence output randomness and enable or disable watermarking. Matching seeds can produce similar results, but exact consistency is not guaranteed.

איך לקרוא ל-API של happyhorse-1.1 ב-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.1" והפרמטרים שלהלן.

  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.1",
    "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.1`
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 (**R2V mode**): 1–9 images, used as subject/style references to generate a new scene
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-1.1

Text-Based Video Prototypes

Build a tool that turns scene descriptions into short videos for reviewing creative concepts before further production.

Still-Image Animation

Let users supply a first-frame image and a prompt to generate a video starting from that image.

Reference-Guided Scene Creation

Create a workflow that accepts 1–9 subject or style reference images and generates a new scene from them.

Multi-Format Content Tools

Offer landscape, portrait, and square video generation for different content layouts using text or reference-image inputs.

טיפים לקבלת תוצאות טובות יותר

  • 01

    Choose One Media Input

    Send either a first-frame image or reference images, never both. Providing both returns a 400 mixed_media_not_allowed error.

  • 02

    Set Cost Controls Explicitly

    Specify resolution and duration rather than relying on the 1080P, 5-second defaults. Use 720P at $0.143 per second when that resolution fits your workflow.

  • 03

    Keep Prompts Within Limits

    Describe the video in no more than 2500 characters and avoid special tokens. For image-to-video, remember that the input image—not the aspect-ratio setting—determines the output format.

  • 04

    Save Seeds And Task IDs

    Store the seed with your request when comparing similar generations, without expecting identical outputs. Save the returned task ID to query task status and results.

מגבלות ודברים שכדאי לדעת

  • Videos support only 720P or 1080P and integer durations from 3 to 15 seconds.

  • Reference-image input accepts 1–9 images and cannot be combined with a first-frame image.

  • Generation is task-based; the initial response returns submitted status and a task ID, not the finished video.

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

How much does happyhorse-1.1 cost on APISea?

APISea Default and APISea 1080P each cost $0.1892 per second; APISea 720P costs $0.143 per second. Billing depends on resolution and duration, regardless of input mode, and only successful requests are billed.

How do I call happyhorse-1.1 through APISea?

Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer Token authentication and the model field set to happyhorse-1.1. The response includes a task ID for querying status and results.

Does happyhorse-1.1 support text-to-video and image-to-video?

Yes. A prompt alone selects text-to-video, a first-frame image selects image-to-video, and 1–9 reference images select reference-image-to-video. The two image input fields are mutually exclusive.

What resolutions, durations, and aspect ratios are supported?

Resolution options are 720P and 1080P, with integer durations from 3 to 15 seconds. Supported aspect ratios are 16:9, 9:16, 1:1, 4:3, and 3:4, but image-to-video derives the ratio from the first-frame image.

What image formats and input limits apply?

First-frame and reference images support JPEG, JPG, PNG, BMP, and WEBP, with a maximum file size of 10MB per image. First-frame images need a short side of at least 300px and an aspect ratio from 1:2.5 to 2.5:1; reference images require a short-to-long-side ratio of at least 0.4, with a short side of at least 720p recommended.

Can I use happyhorse-1.1 videos commercially?

Commercial use is subject to the provider's terms. Check those terms for your intended use; the supplied documentation does not specify commercial licensing permissions.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם happyhorse-1.1

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.