Video
Happy Horse 1.0 Video Edit video
Source video + prompt edit. Optional reference imagery. 720p/1080p, source 3–60s, billing cap 15s.
Category: Edit · happy-horse-1-0-video-edit
How to use & limits
- Video edit: send video_url + an edit prompt.
- reference_image_urls is optional in edit; cite them in the prompt as @Image1, @Image2...
- Source video must be 3 to 60 seconds; output follows the video and truncates at the first 15s.
- duration is ignored in edit — duration comes from the source video (billing capped at 15s).
- audio_setting: auto (model decides) or origin (preserves original audio).
- Resolution 720p or 1080p.
Capabilities
What this model supports, straight from the schema — no pricing, no infrastructure detail.
| Capability | Value |
|---|---|
video_edit Video edit | Yes |
multi_shots Multi-shot | — |
multi_prompt Multi-prompt | — |
text_to_video Text-to-video | Yes |
image_to_video Image-to-video | Yes |
max_prompt_length Max prompt length | 2500 |
reference_to_video Reference-to-video | Yes |
named_character_refs Named character references | Yes |
Parameters
Fields accepted in params (or first-class, where applicable) for POST /generations.
| Name | Label | Type | Required | Default | Options | Min / Max | Description |
|---|---|---|---|---|---|---|---|
prompt | Prompt | textarea | Optional | — | — | — | Edit instruction (required for this flow); up to 5,000 characters. |
image_urls | Image references | multi_select | Optional | — | — | — – 1 | Optional supporting image (max 1). |
reference_image_urls | Reference images | multi_select | Optional | — | — | 1 – 9 | Optional reference images to guide the edit. |
aspect_ratio | Aspect ratio | select | Optional | 16:9 | 16:9 · 9:16 · 1:1 · 4:3 · 3:4 | — | Aspect ratio: 16:9, 9:16, 1:1, 4:3 or 3:4. |
duration | Duration | number | Optional | 5 | — | 3 – 15 | Ignored in edit; duration follows the source video. |
audio_setting | Audio setting | select | Optional | auto | auto · origin | — | Audio: auto or origin (preserves the original). |
seed | Seed | number | Optional | — | — | — | Optional integer seed. |
video_url | Source video | url | Optional | — | — | — | Source video to edit (3 to 60 seconds). |
resolution | Resolution | select | Optional | 1080p | 720p · 1080p | — | Resolution: 720p or 1080p (default 1080p). |
enable_safety_checker | Safety filter | boolean | Optional | — | — | — | Toggles the safety filter. |
Example request
curl -X POST https://caranguejo.art/api/v1/dev/generations \
-H "Authorization: Bearer $CK" \
-H "Content-Type: application/json" \
-d '{
"model": "happy-horse-1-0-video-edit",
"prompt": "Replace the sky with a dramatic sunset and add low ground fog.",
"params": {
"resolution": "1080p",
"audio_setting": "auto",
"image_urls": [
"https://media.caranguejo.art/inputs/example.mp4"
]
}
}'
const res = await fetch("https://caranguejo.art/api/v1/dev/generations", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.CK,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "happy-horse-1-0-video-edit",
"prompt": "Replace the sky with a dramatic sunset and add low ground fog.",
"params": {
"resolution": "1080p",
"audio_setting": "auto",
"image_urls": [
"https://media.caranguejo.art/inputs/example.mp4"
]
}
}),
});
const { data } = await res.json();
Example response
{
"id": "9f0c1a7e-…",
"object": "generation",
"model": "happy-horse-1-0-video-edit",
"type": "video",
"status": "completed",
"output": {
"assets": [
{
"url": "https://media.caranguejo.art/outputs/example.mp4",
"type": "video"
}
]
}
}
The job's real cost is returned as credits_charged on the completed response — check GET /balance for the account balance.
Common errors for this job type:
insufficient_credits | Account balance can't cover the job cost. |
content_policy_violation | Prompt or media rejected by content policy. |
generation_timeout | The job exceeded the maximum processing time. |
rate_limited | Too many requests per minute. |
invalid_input | A required parameter is missing or outside the model's schema. |
generation_failed | Generic processing failure. |