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 key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم 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، ثم نزّل روابط النتائج.

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؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.