Docs / video / HappyHorse 1.1 Image to Video
HappyHorse 1.1 Image to Video online
Animate a still image into fluid video with HappyHorse 1.1 — natural camera moves and consistent subjects.
Rp Mulai Rp5.460 / video
Rp7.550 −27.7%
happyhorse-1-1/image-to-video model id
1 · Create a task
Kirim permintaan untuk membuat tugas generasi video. Wajib header Idempotency-Key. Saldo direservasi sebesar estimasi; task gagal tidak ditagih.
curl -X POST https://run.getcore.id/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: my-task-001" \
-H "Content-Type: application/json" \
-d '{
"model": "happyhorse-1-1/image-to-video",
"input": {
"prompt": "Light-luxury perfume Kie AI stream-of-consciousness visual short film. The theme is relaxed summer memories of the French countryside. The scenes incorporate diverse French pastoral imagery. There is no complete narrative, simulating the feeling of fragrance awakening memories and then drifting away with the wind. The editing rhythm is fragmented, fitting the atmospheric feel of memories. The camera movement is agile and imaginative, with shots shifting between blur and clarity, roaming fluidly.",
"image_urls": [
"https://example.com/input.jpg"
],
"resolution": "1080p"
}
}'const res = await fetch('https://run.getcore.id/v1/tasks', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Idempotency-Key': 'my-task-001',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "happyhorse-1-1/image-to-video",
"input": {
"prompt": "Light-luxury perfume Kie AI stream-of-consciousness visual short film. The theme is relaxed summer memories of the French countryside. The scenes incorporate diverse French pastoral imagery. There is no complete narrative, simulating the feeling of fragrance awakening memories and then drifting away with the wind. The editing rhythm is fragmented, fitting the atmospheric feel of memories. The camera movement is agile and imaginative, with shots shifting between blur and clarity, roaming fluidly.",
"image_urls": [
"https://example.com/input.jpg"
],
"resolution": "1080p"
}
}),
});
const task = await res.json();import requests
res = requests.post(
"https://run.getcore.id/v1/tasks",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "my-task-001",
},
json={
"model": "happyhorse-1-1/image-to-video",
"input": {
"prompt": "Light-luxury perfume Kie AI stream-of-consciousness visual short film. The theme is relaxed summer memories of the French countryside. The scenes incorporate diverse French pastoral imagery. There is no complete narrative, simulating the feeling of fragrance awakening memories and then drifting away with the wind. The editing rhythm is fragmented, fitting the atmospheric feel of memories. The camera movement is agile and imaginative, with shots shifting between blur and clarity, roaming fluidly.",
"image_urls": [
"https://example.com/input.jpg"
],
"resolution": "1080p"
}
},
)
task = res.json()Input parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
prompt |
string | No | Describes the video content to generate. Supports any language. Maximum: 5,000 non-Chinese characters or 2,500 Chinese (max 5000 chars) | Light-luxury perfume Kie AI stream-of-consciou |
duration |
integer | No | The duration of the generated video, in seconds. The value must be an integer in the range [3, 15]. Default: 5 (min 3, max 15) | 5 |
image_urls |
array | Yes | The URL of the first frame image. Image constraints: 1. Formats: JPEG, JPG, PNG, WEBP. 2. Resolution: Width and height must both be at least 300 pixels. 3. Aspect ratio: Between 1:2.5 and 2.5:1. 4. File size: Up to 20 MB. (array of file URLs) | https://example.com/input.jpg |
resolution |
string | No | The resolution of the generated video. Opsi: 720p 1080p |
1080p |
2 · Poll the result
Ambil status tugas hingga selesai — poll tiap 2–5 detik.
Respons saat sukses:
{
"id": "task_9f2c…",
"status": "succeeded",
"model": "happyhorse-1-1/image-to-video",
"price": {
"currency": "IDR",
"estimated": 5460,
"reserved": 5460,
"final": 5460
},
"output": {
"urls": [
"https://storage.getcore.id/outputs/task_9f2c…/0.mp4"
],
"expires_at": "(7 hari setelah selesai)"
}
}
Status values
| Status | Keterangan |
|---|---|
queued | Tugas sedang diantrikan. |
processing | Sedang diproses. |
succeeded | Berhasil. |
failed | Gagal — lihat error detail, tidak ditagih. |
video/mp4, dilayani dari CDN kami dan berlaku 7 hari — salin ke penyimpananmu sendiri untuk jangka panjang.Best practices
Bila generation gagal, task berstatus failed dengan error.code ternormalisasi (mis. moderation_blocked, upstream_error) dan price.final = 0 — saldo dikembalikan otomatis. Daftar lengkap kode error ada di Error handling. Selalu kirim Idempotency-Key unik per tugas agar retry aman.
Coba tanpa kode: jalankan model ini langsung dari Playground atau lihat di API Market.
