Skip to main content

UNLIMITED

FLUX 3 Klein, Qwen 2.1, H3 Turbo, 310+ effectsSee plans
Back to API Platform

Video Generation

Happy Horse Video Edit API

Alibaba Happy Horse 1.0 video edit: apply style transfer or local replacement to a source video using text prompts and optional reference images. 720p / 1080p, 3-15 second output. Integrate this model via REST with endpoint docs, parameters, and code examples.

Img2Vid
Credit Cost
5 credits/sec
Type
Video

API Endpoint

POST
/api/v1/models/happyhorse-1.0-video-edit/run

Test This Model

Run a real request through the API pipeline and inspect the exact input and output your integration will handle. Uses your credits like any API call; failed runs are refunded automatically.

Parameters

Input parameters accepted by this model

ParameterTypeDefault
prompt
required
string
-
video_url
required
url
-
video_duration
required
number
-
reference_urls
array
-
resolution
enum
720p
audio_setting
enum
auto
seed
integer
-

Use saved characters (@Name)

Write @Name in the prompt to use a character, product, outfit, location, prop or style saved in the account's Character Studio, for example "@Mara on a beach at sunset". Its photos are added to reference_urls automatically, after any images you send yourself, so your own image numbering is unchanged. List saved names with GET /api/v1/characters and save new ones with POST /api/v1/characters. An @word that names nothing saved stays plain text.

See also

Related endpoints on this model. You may need a different apiId for a different operation (e.g. image edit vs generation).

Example Outputs

Real outputs generated by this model

View Details

a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."

0 credits
0

Code Examples

Video → edited video: copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/happyhorse-1.0-video-edit/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Make the character wear the striped sweater from the image",
    "video_url": "https://...",
    "video_duration": 6,
    "reference_urls": [
      "https://..."
    ],
    "resolution": "720p"
  }'

Response Format

Submit Response (202 Accepted)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "creditCost": 25,
  "creditsRemaining": 95,
  "expiresAt": "2026-10-30T11:04:43Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "video": "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.mp4"
  },
  "creditCost": 25,
  "expiresAt": "2026-10-30T11:04:43Z"
}