Summary: This article walks through how to take a single authorized portrait and have MAGI-2 and HappyHorse 1.1 each generate a talking-head video with audio, then check them one by one inside the same auditable procedure.
Bottom line up front: Both models can use a single portrait as the first frame and generate a video with sound directly. The comparable entry points are limited to the two vendors’ native APIs — Sand’s Ark-compatible endpoint and Alibaba Cloud Bailian’s happyhorse-1.1-i2v first-frame endpoint. The main test is standardized on 10 seconds, portrait 9:16, each model’s own 1080 tier, Mandarin, one person, fixed camera. Whether something “works” isn’t judged by press-release samples — only by the raw output record of each individual attempt, checked through four gates in order: file usable, lines accurate, audio-video sync, face continuity.
A few spec differences feed straight into the acceptance math. MAGI-2 runs at 25 fps and HappyHorse 1.1 at 24 fps, so the milliseconds-per-frame differ. Duration ranges differ too, and MAGI-2’s 1080p is an upsampled output, while HappyHorse’s first-frame endpoint inherits its aspect ratio from the first image. HappyHorse’s first-frame endpoint doesn’t list an audio toggle in its standard field table, so the audio track can only be verified from the finished video.
No generation was actually run for this article. The lines, thresholds, offsets, and prices below are acceptance-design and theoretical worked examples — they contain no finished videos, no scores, and no verdict on which model wins.

MAGI-2 vs HappyHorse 1.1: Knowledge Map

Diagram notes: Starting from the same portrait, Section 1 first locks down the comparison basis, then Section 2 fixes the samples and bookkeeping method. The four checks in Section 3 run in sequence. If any gate fails, record the point of the earliest defect, don’t move on to the next gate, and track the outcome separately as “passed on first attempt,” “passed after manual repair,” or “no video returned.” Section 4 only covers cost and evidence scope; it doesn’t factor into the final video judgment.
Index: Section 1 determines whether both sides are starting from the same baseline, and it’s the prerequisite for every comparison that follows. Section 2 provides reusable source images, dialogue lines, and record fields; every check in Section 3 relies on these fields. The four gates in Section 3 have a fixed order, because if the file is unusable, the later dialogue and lip-sync checks are meaningless. Section 4 can be consulted as needed. Once you’ve read all the sections, you’ll have an acceptance table filled in row by row by attempt number, along with a result basis of “passes / total attempts.”
To Know
| Term | Plain-language explanation |
|---|---|
| First frame (first_frame) | Sets an image as the video’s opening frame; subsequent motion develops from that image |
| Reference image (reference_image) | Used only to constrain the subject’s appearance, not to specify the opening frame |
| Character error rate (CER) | (substitutions + insertions + deletions) ÷ number of characters in the gold-standard transcript |
| Lip-sync anchor | The correspondence point between the frame where a bilabial sound opens the lips on screen and the audio onset time |
| Offset | Audio onset time minus the on-screen mouth-opening time; a positive value means the audio is late |
| Denominator | All attempts in a workflow, including failed attempts and attempts with no video returned |
1 MAGI-2 and HappyHorse 1.1: What’s Actually Comparable
1.1 Spec Differences Between MAGI-2 and HappyHorse 1.1
The facts in the table below come from Sand’s release notes, the Sand Ark compatibility API documentation, and Alibaba Cloud’s video model overview; the sources were accessed on 2026-11-30. For this comparison, we align only the dimensions that can change an acceptance decision: frame rate, duration, resolution tier, and audio source.
| Dimension | MAGI-2 (Sand first-party) | HappyHorse 1.1 (happyhorse-1.1-i2v, Bailian first-party) |
|---|---|---|
| Input | A first-frame image, with an optional last frame; first-frame mode is mutually exclusive with general reference | One first-frame image, placed in input.media |
| Duration | Ark endpoint: 4–30 seconds; release notes say up to 30 seconds | 3–15 seconds |
| Frame rate | 25 fps, 40 ms per frame | 24 fps, about 41.7 ms per frame |
| 1080 tier | resolution:"1080p", produced by upscaling |
resolution:"1080P"; the tier corresponds to an approximate pixel count |
| Aspect ratio | Explicit ratio; six options listed |
Inherited from the first image |
| Audio | Audio and video are generated by the same model; generate_audio:true |
Audio output is included; the standard field table doesn’t list an audio toggle, so check the final video’s audio track |
| Result link | content.video_url, valid for 1 hour; can be refreshed by querying the original task again |
output.video_url; task queries and links follow the documented 24-hour window |

As shown, the two models’ duration ranges overlap, and 10 seconds falls within the range both support — that’s why we chose it for the main test. The different frame rates mean a “one-frame error” corresponds to a different number of milliseconds, which we’ll handle separately when converting offsets in Section 3.3.
1.2 MAGI-2 and HappyHorse 1.1 Native First-Frame Endpoints
The field names and structures differ a fair bit between the two ends, but you can map them item by item. The request bodies below only include fields that have been verified in the documentation, and <...> marks placeholders.
For the Sand Ark compatible endpoint, submit to https://api.sand.ai/compatible/ark/api/v3/contents/generations/tasks:
{
"model": "magi-2",
"content": [
{"type": "text", "text": "<prompt and dialogue>"},
{"type": "image_url", "role": "first_frame", "image_url": {"url": "<first-frame image URL>"}}
],
"duration": 10,
"ratio": "9:16",
"resolution": "1080p",
"generate_audio": true,
"enhance_prompt": false
}
enhance_prompt:false turns off prompt enhancement on this endpoint. How much of the dialogue actually gets spoken in the end should be judged by the final rendered video. The SDK uses the same Sand compatible address and Sand key. To query a task, append the task ID to the same path.
The Bailian first-frame API, taking the Singapore workspace as an example, uses the domain {WorkspaceId}.ap-southeast-1.maas.aliyuncs.com. The request is POST /api/v1/services/aigc/video-generation/video-synthesis with the header X-DashScope-Async: enable:
{
"model": "happyhorse-1.1-i2v",
"input": {
"prompt": "<prompt and dialogue>",
"media": [{"type": "first_frame", "url": "<first-frame image URL>"}]
},
"parameters": {"duration": 10, "resolution": "1080P", "watermark": false}
}
The model, domain, and credentials must all come from the same region. Only set watermark:false when the project allows removing the default corner mark — and once you set it, record it in the acceptance line. After creating the task, use the returned output.task_id to call the same-region GET /api/v1/tasks/{task_id}, and keep the request_id as well. Download the final videos from both ends locally before quality review, so you can still re-check them after the result links expire.
1.3 Setting Up Separate Reference-Image Groups for MAGI-2 and HappyHorse 1.1
If you want to compare how well a single image works as an identity reference, you’ll need a separate group — don’t mix it into the first-frame group. In the Sand Native API, POST /v2/generations uses reference_image inside parts, along with aspectRatio and generateAudio. On Bailian, the corresponding model is happyhorse-1.1-r2v; you use input.media[].type=reference_image, refer to the image as [Image 1] in the prompt, and can set a portrait orientation with parameters.ratio.
When you tally the two groups, use each group’s own attempt count as the denominator. Reference audio changes the input conditions, so the main test uses only images and text.
2 Samples and Records for MAGI-2 vs. HappyHorse 1.1
2.1 Source Image and Script Design
The source image is an original, synthetic frontal half-body photo of an adult. The person in it is entirely fictional. This sidesteps portrait licensing issues, and both ends of the workflow can share the same file. Specific requirements:
- A 1080×1920 PNG, no larger than 20 MB, with its hash and dimensions recorded
- Both eyes, the jawline, and the lips fully visible and unobstructed, against a solid-color background
- One easy-to-recognize feature on the collar and one beside the ear, for the comparison in Section 3.4
The example line is: “White cup on the left, blue cup on the right. Doors open at eight thirty, one per person.” This sentence packs in direction, time, and quantity, so a skipped or misread word is easy to catch. “白” (bái) and “半” (bàn) are bilabial, which makes them good for checking exactly when the lips close and open.
The prompt needs to spell out both the visuals and the dialogue: one person facing forward, a fixed camera position, no cuts; speech starts at second 1 to 2, with a short pause at commas and a long pause at the period; the full sentence is read word by word within 10 seconds; Mandarin voiceover, clear audio, quiet environment; subtitles are left to post-production.
2.2 Attempts and Bookkeeping
Each workflow is set up for 3 independent attempts; expand the sample only when you need to compare versions. Record these fields for every attempt: model, entry point, region, image hash, original prompt, parameters actually submitted, seed, task ID, final clip hash, elapsed time, and download timestamp.
The seed is only there to record the generation conditions within a single workflow. The same integer seed has no relationship whatsoever between two models, so it can’t be treated as “identical random conditions.”
When bookkeeping, split results into three categories: passed on the first try, passed only after manual repair, and no frames returned by the API. Review the original clips shuffled under anonymous IDs; have different people handle transcription and face checks separately, and have a third person re-check any disputed segments. Keep the denominator and the failure codes for every attempt. If you only keep the best-looking sample, you can’t see the real rework rate.
🚀 Quick-start tip: The first-party endpoint handles generation, while the logging and comparison scripts can run locally. If your team also needs to call text models to help sort out transcription differences, you can access several text models through APIYI apiyi.com with a single key, and new users get free testing credits.
The minimal example below does one thing only: list the models visible to an APIYI account and confirm how HappyHorse-related model IDs are labeled on the aggregator side.
import openai
client = openai.OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.apiyi.com/v1" # APIYI OpenAI-compatible endpoint
)
for m in client.models.list().data:
if "happyhorse" in m.id.lower() or "magi" in m.id.lower():
print(m.id) # Only for checking model labels; generation still goes through the first-party endpoint
View the full acceptance helper script
import json
import subprocess
import openai
# ---------- 3.1 Files and duration ----------
def probe(path: str) -> dict:
out = subprocess.run(
["ffprobe", "-v", "error", "-show_streams", "-show_format",
"-of", "json", path],
capture_output=True, text=True, check=True
).stdout
return json.loads(out)
def duration_ok(meta: dict, target: float = 10.0, tol: float = 0.2) -> bool:
return abs(float(meta["format"]["duration"]) - target) <= tol
# ---------- 3.2 Character error rate ----------
def normalize(s: str) -> str:
drop = ",。、!?;: ,.!?;: "
return "".join(ch for ch in s if ch not in drop)
def cer(ref: str, hyp: str) -> float:
r, h = normalize(ref), normalize(hyp)
d = [[0] * (len(h) + 1) for _ in range(len(r) + 1)]
for i in range(len(r) + 1):
d[i][0] = i
for j in range(len(h) + 1):
d[0][j] = j
for i in range(1, len(r) + 1):
for j in range(1, len(h) + 1):
cost = 0 if r[i - 1] == h[j - 1] else 1
d[i][j] = min(d[i - 1][j] + 1, d[i][j - 1] + 1,
d[i - 1][j - 1] + cost)
return d[len(r)][len(h)] / max(len(r), 1)
KEY_PHRASES = ["左边", "右边", "八点半", "一份"]
def text_pass(ref: str, hyp: str) -> bool:
hits = all(p in normalize(hyp) for p in KEY_PHRASES)
return hits and cer(ref, hyp) <= 0.05
# ---------- 3.3 Lip-sync offset ----------
def offset_ms(audio_release_s: float, mouth_open_s: float) -> float:
return round((audio_release_s - mouth_open_s) * 1000, 1)
def lipsync_verdict(offsets: list, limit: float = 80.0) -> str:
if all(abs(o) <= limit for o in offsets):
return "pass"
if all(abs(o) <= limit + 42 for o in offsets): # roughly one frame of headroom
return "review" # hand off to a second reviewer
return "fail"
# ---------- Optional: use a text model to list transcription differences ----------
def explain_diff(ref: str, hyp: str, model: str = "YOUR_CHAT_MODEL") -> str:
client = openai.OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.apiyi.com/v1"
)
resp = client.chat.completions.create(
model=model,
messages=[
{"role": "system", "content": "逐字对比两段中文,只列出替换、插入、删除,不做评价。"},
{"role": "user", "content": f"金标:{ref}\n转写:{hyp}"}
]
)
return resp.choices[0].message.content
if __name__ == "__main__":
ref = "白杯放在左边,蓝杯放在右边。八点半开门,每人只领一份。"
print(text_pass(ref, "白杯放在左边,蓝杯放在右边。八点开门,每人只领一份。"))
print(offset_ms(4.296, 4.200), lipsync_verdict([30.0, 96.0, -20.0]))
The script only does the math and the pinpointing — whether something ultimately passes is up to a human reviewer. The helper function explain_diff is optional; reviewers should still write down the words they actually heard first, and only then align them against the original script.
3 Item-by-Item Acceptance: MAGI-2 vs. HappyHorse 1.1
The four gates run in order. If any gate fails, record the timestamp of the earliest defect and note which stage it came from: video generation, audio transcription, post-production dubbing, or export.
| Gate | Check method | In-project example threshold |
|---|---|---|
| 3.1 File | Full decode, listening test, ffprobe metadata | Duration within 10 ± 0.2 seconds, dialogue finished before the end card |
| 3.2 Lines | Transcribe from audio alone, then align against the original script | All key phrases correct, character error rate ≤ 5% |
| 3.3 Lip shape | Three bilabial anchor points: start, middle, end | Each offset within ±80 ms, with no drift |
| 3.4 Face | Mute the audio and inspect frames before and after each cut, segment by segment | Same person throughout, mouth clearly visible, no shot changes |
The thresholds in the table are design values for this project, not vendor standards. For a different project, you should set them again based on delivery requirements.
3.1 Acceptance of the Finished Video File from MAGI-2 and HappyHorse 1.1
Play from second 0 to the end card and confirm that the file decodes completely, has audible human voice, the audio track covers the entire delivery segment, and the last line isn’t cut off. Use ffprobe -v error -show_streams -show_format -of json sample.mp4 to save the container duration and track metadata, then read the start_time of the audio and video streams and the actual timing of the video frames.
An audio track in the container only proves that an audio stream exists — it doesn’t prove the sound is usable. Problems like silence, clipping, or ambient noise drowning out the dialogue have to be located by listening to it yourself.
3.2 MAGI-2 and HappyHorse 1.1 Dialogue Accuracy
Reviewers listen only to the audio and first write down the words they hear. Automatic transcription can speed up locating problem spots, but any disputed points need to be confirmed by listening again. Before alignment, strip punctuation and spaces consistently, and agree in advance on how numbers should be written, while preserving word meaning and word order.
Key phrases get a one-strike veto. For example, if “8:30” is read as “8:00”, it’s a failure even when the overall character error rate is very low. Handle dropped words by re-dubbing or regenerating, and make subtitles from the final approved recording.
3.3 MAGI-2 and HappyHorse 1.1 Lip-Sync Alignment
On the waveform, find the release point of bilabial sounds such as the /b/ in “bái” (白) and “bàn” (半), then find, frame by frame, the first frame where the lips reopen after closing, and calculate the offset: offset = audio release time − frame mouth-opening time. Place the frame anchor on the same timeline using the video frame’s best_effort_timestamp_time. When converting, pay attention to the frame rate: at 24 frames per second, each frame is about 41.7 ms; at 25 fps, each frame is 40 ms.

When watching the whole video straight through at full speed, watch for three patterns: the same offset throughout the video, an offset that grows toward the end of the clip, and the mouth staying open during pauses. Take the example in the diagram: the frame opens the mouth at 4.200 s, the audio is released at 4.296 s, so the offset is +96 ms—past the 80 ms threshold, but only by about one frame. Don’t fail this borderline case outright; send it to a second reviewer and go with their conclusion.
3.4 MAGI-2 and HappyHorse 1.1: Face and Shot Continuity
Mute the audio and review the opening, middle, and ending segment by segment, along with the frames before and after every abrupt visual change. Compare against the reference image and check the face shape, hairline, ear area, and collar. Record these issues: sudden face swaps, flickering teeth, jawline glitches, collar drift, cuts that come out of nowhere, and background jitter.
Blinks and slight nods are natural motion—they don’t count as defects. This checkpoint passes only if it’s the same person throughout and the mouth stays clear. For every issue, keep a timestamp and screenshots of the before and after frames.
Write the final conclusion one more time at the end of the acceptance table, and record separate hashes for the original clip and the revised file. That way, a revised version can’t be swapped in and overwrite the comparison conclusions based on the originals.
4 MAGI-2 and HappyHorse 1.1: Cost and Evidence Scope
4.1 Theoretical Worked Example Using First-Party Pricing
The following calculation assumes “10 seconds of successful output.” The data comes from the Sand pricing page and the price list for Bailian’s Singapore international deployment. It’s a theoretical example, not an actual bill.
| Item | MAGI-2 (Sand 1080p) | HappyHorse 1.1 i2v (Bailian Singapore 1080P) |
|---|---|---|
| List price | $0.08 per second | $0.18 per second |
| 10-second example | $0.80 | $1.80 |
| Not included | Retries | Regional differences, free quota, retries |
The formula for cost per qualified clip is: total spend for the same workflow ÷ number of qualified clips. Finished clips that generated successfully but were rejected because of missing words still count toward total spend.
4.2 APIYI Public Table: Entry-Point Boundary
As of November 30, 2026, at 11:14 (UTC+8), the APIYI public model table (docs.apiyi.com) labels this HappyHorse model as type chat, mapped to the /v1/chat/completions endpoint. The first-frame fields in Section 1 of this article apply only to the respective first-party APIs from Sand and Bailian—they can’t be directly applied to the aggregator side.
If you want to call it through APIYI at apiyi.com, follow the live labels in the public table and the model’s API documentation, and validate with a small sample request first. Keep results from the aggregator entry point in a separate table—don’t merge them into the denominator for the first-party first-frame group.
Frequently Asked Questions
Q1: Can I compare MAGI-2 and HappyHorse 1.1 directly using the same portrait image?
Yes, as long as you use the same file, the same line of dialogue, 10 seconds, their respective 1080 tiers, and route both through the native first-frame endpoint. Since the two models handle frame rates and aspect ratios differently, you’ll need to calculate lip-sync offsets separately for each one.
Q2: Can the sample clips in the press release serve as acceptance criteria?
No. Sample clips only show what a vendor has publicly demonstrated. The pass rate for your project has to be calculated from the raw output recordings of every attempt you make yourself.
Q3: Why doesn’t the same seed guarantee identical conditions on both sides?
A seed only makes sense within a single workflow. There’s no corresponding random process across two different models, so the same integer isn’t comparable between them.
Q4: Can I call this first-frame workflow through APIYI?
The first-frame fields in this article only apply to the two native vendors. APIYI apiyi.com’s public table lists this HappyHorse model as `chat` — check the platform docs and verify with free credits before relying on any specific invocation method.
Q5: Is 3 attempts per workflow enough?
Three attempts only gets you a first-round screening. When comparing versions or drawing conclusions, you should expand the sample — and always keep every attempt as part of the denominator.
Q6: Can a Large Language Model judge the transcription differences?
A Large Language Model can help list substituted, inserted, or deleted words — for example, by connecting a text model through APIYI apiyi.com. But the final verdict still rests on human listening review: if a key phrase is wrong, it’s an automatic fail.
The final deliverable is an acceptance table filled in row by row, one row per attempt number. Each row should include: whether the file was delivered, whether the key phrases matched, the three lip-sync anchors, face continuity, the location of the earliest defect, and the final verdict. Results are always reported as “passes / total attempts,” with the raw first frames, the reference image sets, and the post-fix outputs stored separately. Only with this table in hand can you answer the question: “Which model is right for your talking-head project?”
References
- Sand MAGI-2 release announcement (published 2026-11-24)
- Link:
sand.ai/blog/magi-2
- Link:
- Sand Ark-compatible API / Native API / models and pricing (accessed 2026-11-30)
- Links:
platform.sand.ai/docs/ark-generations,platform.sand.ai/docs/api-reference,platform.sand.ai/docs/model-pricing
- Links:
- Alibaba Cloud video model overview (updated 2026-11-20)
- Link:
alibabacloud.com/help/en/model-studio/video-generate-edit-model
- Link:
- HappyHorse first-frame and reference-image APIs (updated 2026-11-23)
- Links:
alibabacloud.com/help/en/model-studio/happyhorse-image-to-video-api-reference,alibabacloud.com/help/en/model-studio/happyhorse-reference-to-video-api-reference
- Links:
- Bailian (Model Studio) price list (updated 2026-11-27)
- Link:
alibabacloud.com/help/en/model-studio/model-pricing
- Link:
- APIYI public model list / FFprobe docs (accessed 2026-11-30)
- Links:
docs.apiyi.com/models,ffmpeg.org/ffprobe.html
- Links:
Author: APIYI Technical Team
Technical discussion: You’re welcome to reach us through the APIYI homepage at apiyi.com. For more API documentation, see the docs.apiyi.com documentation center.
