Skip to content
Halaman ini belum tersedia dalam bahasa anda, jadi kandungannya dipaparkan dalam bahasa Inggeris.
Alibaba · HappyHorse

happyhorse-1.1 API

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

Penjanaan videoVideoTugas tak segerak
ID model
happyhorse-1.1

Harga API happyhorse-1.1

Semua harga dalam USD. Kadar APISea dibandingkan dengan harga senarai rasmi bagi unit yang sama.

PilihanAPISeaRasmiJimat
LalaiLalai$0.1892$0.215−12%
1080P$0.1892$0.215−12%
720P$0.143$0.1625−12%

Harga dinyatakan dalam bagi setiap saat.

Apakah itu 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.

Sorotan 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.

Cara memanggil API happyhorse-1.1 dalam 4 langkah

  1. 01

    Dapatkan API key

    Log masuk ke APISea, tambah nilai sekurang-kurangnya $50 dan cipta kunci sk-sea dalam konsol.

  2. 02

    Tetapkan base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL dalam SDK atau klien HTTP anda.

  3. 03

    Hantar permintaan

    Panggil POST /v1/videos/generations dengan "model": "happyhorse-1.1" dan parameter di bawah.

  4. 04

    Urus respons

    Respons mengandungi task_id. Lakukan tinjauan berkala menggunakan GET /v1/tasks/{task_id} sehingga status menjadi completed, kemudian muat turun URL hasil.

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
  }'

Parameter

ParameterJenisWajibLalaiPenerangan
modelstringWajib—Video generation model name, fixed as `happyhorse-1.1`
nsfw_checkbooleanPilihanfalseWhether to run content moderation before submitting the video task.
promptstringPilihan—Video content description, up to 2500 characters; cannot contain special tokens
first_frame_imagestringPilihan—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\>Pilihan—Image array (**R2V mode**): 1–9 images, used as subject/style references to generate a new scene
resolutionstringPilihan1080PVideo resolution (affects billing)
durationintegerPilihan5Video duration in seconds (affects billing)
sizestringPilihan16:9Aspect ratio
watermarkbooleanPilihanfalseWhether to add a watermark to the generated video
seedintegerPilihan—Random seed used to control the randomness of generated content

Perkara yang boleh anda bina dengan 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.

Petua untuk hasil yang lebih baik

  • 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.

Had dan perkara yang perlu diketahui

  • 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.

Soalan lazim 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.

Model berkaitan

Pilihan: 250+ model · Tambah nilai minimum $50

Mula membina dengan happyhorse-1.1

Satu kunci, bayar mengikut penggunaan bermula daripada $50, hanya dicaj untuk permintaan yang berjaya.