Skip to main content

Try Happy Horse - Video Edit in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: happyhorse-1.0-video-edit HappyHorse 1.0 video edit performs local or global edits to a source video from natural-language instructions, optionally guided by up to 5 reference images, and can keep or regenerate the audio track. Output is 720P or 1080P, preserves the source aspect ratio, and matches the input duration capped at the first 15 seconds.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
This blocks until the video is ready (typically 5-15 minutes). Prefer Async or Async with SSE for anything beyond quick experimentation.See the video generation reference for more details.
curl -X POST https://hub.oxen.ai/api/ai/videos/generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OXEN_API_KEY" \
  -d '{
  "model": "happyhorse-1.0-video-edit",
  "prompt": "<prompt>",
  "input_video": "https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/images/winter_summer_ox.mp4"
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/happyhorse-1.0-video-edit

Request parameters

Required parameters

FieldTypeDefaultDescription
promptstringText prompt describing the desired edit. Reference supplied reference images using ‘@Image1’, ‘@Image2’, … up to ‘@Image5’. Max 2500 characters.
input_videostringURL of the source video to edit. Formats: MP4, MOV (H.264 recommended). Duration 3-60 seconds. Longer side at most 2160 pixels, shorter side at least 320 pixels. Aspect ratio between 1:2.5 and 2.5:1. Frame rate above 8 fps. Max 100 MB. Output preserves the source aspect ratio and matches the input duration, capped at the first 15 seconds. Format: uri.

Optional parameters

FieldTypeDefaultDescription
reference_imagesarray<string>Optional array of up to 5 reference image URLs to guide the edit. Order maps to ‘@Image1’, ‘@Image2’, etc. Formats: JPEG, JPG, PNG, WEBP. Each side must be at least 300 pixels. Aspect ratio between 1:2.5 and 2.5:1. Max 10 MB each.
resolutionstring"1080P"Output video resolution tier. One of: 720P, 1080P.
audio_settingstring"auto"Audio handling: ‘auto’ generates a new synchronized audio track, ‘origin’ keeps the source video’s audio. One of: auto, origin.