← All models
Kling O3
Seedance 2.5
Grok Imagine 1.5
Wan 3.0
Gemini Omni 1.2 Flash
Kling 4.0
Seedance 1.0 Pro Fast
Seedance 2.0 Mini
Wan 2.2 Fast
HeyGen Lipsync Speed
HeyGen Avatar 3
Veo 3.1 Lite
Grok Imagine 1.5 Lite
HeyGen Video 1
Seedance 1.5 Pro
Seedance 2.0 Fast
PixVerse V6
Pruna P-Video Replace
HeyGen Avatar 4
Runway
HeyGen Avatar 6 Turbo
HeyGen Video 1 Reference
MAGI-2
HeyGen Video 1 Long
HeyGen Avatar 6
HeyGen Avatar 5
Higgsfield Genjutsu
OmniHuman 2.0
HeyGen Translate
HeyGen Lipsync PrecisionSync Lipsync 2
Kling 3.0 Motion Control
Kling 2.6 Motion Control
Kling 3.0 Omni
Veo 3.1 Quality
Veo 3.1 Fast
Seedance 2.0
Seedance 2.5 Flash
Kling 4.0 Flash
MiniMax H3
Vidu Q4
Wan 2.7
Wan 2.5
Kling 3.0
Kling 2.6
Kling 2.5 Turbo
Grok Imagine
Gemini Omni Flash
HeyGen Video 1 Long
Видео со звуком по тексту или первому кадру, 16–30 секунд.
How to get a better result
What, where and in what style
"A ginger cat on a windowsill, rain outside, watercolor".
Add light and mood
"Soft sunset", "neon light", "cozy, warm tones".
Not right? Change a word
Refine the description and press "Another version" — every result is new.
Pass this model in the request heygen-video-1-long
1. Create a task POST /api/v1/jobs/createTask
curl -X POST https://mixmedia.tech/api/v1/jobs/createTask \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-123" \
-d '{
"model": "heygen-video-1-long",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "Ночной поезд проходит мимо платформы, холодный свет, шум колёс и короткое объявление по громкой связи.",
"resolution": "768p",
"duration": "16",
"aspect_ratio": "16:9",
"prompt_enhancement": "quality"
}
}'import time, requests
API = "https://mixmedia.tech/api/v1"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}
task = requests.post(f"{API}/jobs/createTask", headers=HEADERS, json={
"model": "heygen-video-1-long",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "Ночной поезд проходит мимо платформы, холодный свет, шум колёс и короткое объявление по громкой связи.",
"resolution": "768p",
"duration": "16",
"aspect_ratio": "16:9",
"prompt_enhancement": "quality"
}
}).json()
task_id = task["data"]["taskId"]
while True:
info = requests.get(f"{API}/jobs/recordInfo", headers=HEADERS, params={"taskId": task_id}).json()["data"]
if info["state"] in ("success", "fail"):
break
time.sleep(4)
print(info["state"], info.get("resultJson") or info.get("failMsg"))const API = "https://mixmedia.tech/api/v1";
const headers = { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" };
const { data } = await fetch(`${API}/jobs/createTask`, {
method: "POST", headers,
body: JSON.stringify({
"model": "heygen-video-1-long",
"callBackUrl": "https://your-app.example/callback",
"input": {
"prompt": "Ночной поезд проходит мимо платформы, холодный свет, шум колёс и короткое объявление по громкой связи.",
"resolution": "768p",
"duration": "16",
"aspect_ratio": "16:9",
"prompt_enhancement": "quality"
}
}),
}).then((r) => r.json());
let info;
do {
await new Promise((r) => setTimeout(r, 4000));
info = (await fetch(`${API}/jobs/recordInfo?taskId=${data.taskId}`, { headers }).then((r) => r.json())).data;
} while (!["success", "fail"].includes(info.state));
console.log(info.state, info.resultJson ?? info.failMsg);Response: data.taskId. callBackUrl and Idempotency-Key are optional.
2. Status and result GET /api/v1/jobs/recordInfo
curl "https://mixmedia.tech/api/v1/jobs/recordInfo?taskId=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"
data.state: waiting, queuing, generating, success, fail. On success data.resultJson is a JSON string with resultUrls.
3. Upload a file POST /api/v1/files/upload
curl -X POST https://mixmedia.tech/api/v1/files/upload \
-H "Authorization: Bearer YOUR_API_KEY" -F "file=@photo.jpg"
The response has data.url. Pass that URL in the file field. Any public https URL works too.
Input fields
| Field | What to send |
|---|---|
prompt * | text, up to 32000 characters |
first_frame_url | image URL |
resolution | 480p · 768p · 1080p · 2k · default 768p |
duration | 16 · 17 · 18 · 19 · 20 · 21 · 22 · 23 · 24 · 25 · 26 · 27 · 28 · 29 · 30 · default 16 |
aspect_ratio | 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 · default 16:9 |
prompt_enhancement | quality · turbo · default quality |
seed | number from -1 to 4294967295 |
About the model
HeyGen Video 1 снимает сцены со звуком по тексту или оживляет первый кадр. Длительность — 16–30 секунд, разрешение — до 2K.