Sociaro Docs
View Markdown

alibaba/happyhorse-video-edit

HappyHorse 1.0 video edit — re-generates a supplied clip following the prompt. prompt (req, the edit to apply); reference_video_urls (req, 1-9 public https video URLs); resolution 720p|1080p (def 1080p; this model has no 480p, and asking for it is a 400); aspect_ratio; duration whole seconds 3-15 (def 5) — NOTE the provider IGNORES it on this model: the output follows your input clip's length, and billing is per second of the provider's own reported total (input + output), so a 10s input costs about 20s of video time; negative_prompt; seed; prompt_extend; watermark (def false); audio_url.

Served via the relay: POST /v1/alibaba/generations, poll GET /v1/alibaba/generations/{task_id}. Per-second pricing (by output resolution and duration) billed by the relay.

Unknown parameters are rejected.

Slugalibaba/happyhorse-video-edit
Kindvideo
Vendoralibaba
EndpointPOST /v1/alibaba/generations

View pricing and billing conditions

Example request

curl https://api.sociaro.com/v1/alibaba/generations \
  -H "Authorization: Bearer $SOCIARO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "model": "alibaba/happyhorse-video-edit",
        "video_url": "https://your-cdn.example.com/cut.mp4",
        "prompt": "a paper boat on a rain-soaked street",
        "resolution": "720p",
        "duration": 5
      }'

# then poll the job id it returns:
curl https://api.sociaro.com/v1/alibaba/generations/JOB_ID \
  -H "Authorization: Bearer $SOCIARO_API_KEY"

Parameters

  • prompt
  • video_url
  • reference_image_urls
  • reference_video_urls
  • resolution
  • aspect_ratio
  • duration
  • negative_prompt
  • seed
  • prompt_extend
  • watermark
  • audio_url

The endpoint rejects unknown request fields.

Pricing

Billable unit and optionsRate (USD)
per second of input and output video
720p
$0.14
per second of input and output video
1080p
$0.24
  • Billed on the seconds the generator reports for the video you send plus the finished clip, at the resolution it reports.
  • Leaving out resolution gives 1080p.
  • The length follows the video you send, not the duration you ask for.

View this model in the pricing catalogue. Your billing logs show the actual charge for each request.