Skip to main content
POST
/
generation
/
happyhorse
/
happyhorse-1.0
HappyHorse 1.0
curl --request POST \
  --url https://open.skills.video/api/v1/generation/happyhorse/happyhorse-1.0 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "video_url": "<string>"
}
'
{
  "id": "gen_123",
  "status": "IN_QUEUE",
  "input": {
    "prompt": "a cat walking through neon rain",
    "duration": 5,
    "aspect_ratio": "16:9",
    "n": 1
  },
  "usage": {
    "total": 20,
    "subscription": 20,
    "permanent": 0
  }
}
Alibaba Happy Horse 1.0 with native audio, plus text-to-video, image-to-video, reference-to-video, and video edit workflows.

Authorizations

Authorization
string
header
required

API Key for API endpoints

Body

prompt
string
required

Prompt describing the video scene, motion, style, or requested edit.

Minimum string length: 1
feature
string

Workflow type: text-to-video, image-to-video, reference-to-video, or edit-video.

Allowed value: "text-to-video"
image_url
string<uri>

Source image URL for image-to-video.

image_urls
string<uri>[]

Reference image URLs for reference-to-video. Single-image requests may also use this as a compatibility alias.

Maximum array length: 9
reference_image_urls
string<uri>[]

Reference image URLs. reference-to-video supports 1-9 images; edit-video supports up to 5 guide images.

Maximum array length: 9
video_url
string<uri>

Source video URL for edit-video.

resolution
enum<string>
default:1080p

Output video resolution tier.

Available options:
720p,
1080p
aspect_ratio
enum<string>
default:16:9

Output video aspect ratio for text-to-video and reference-to-video.

Available options:
16:9,
9:16,
1:1,
4:3,
3:4
duration
integer
default:5

Output video duration in seconds.

Required range: 3 <= x <= 15
audio_setting
enum<string>
default:auto

Audio handling for edit-video. 'origin' preserves the input video's audio.

Available options:
auto,
origin
seed
integer | null

Random seed for reproducible generation.

Required range: 0 <= x <= 2147483647
{key}
any

Response

Generation submission accepted

id
string
required

Generation id.

status
enum<string>
required

Queue status

Available options:
IN_QUEUE,
IN_PROGRESS,
COMPLETED,
FAILED,
CANCELED
input
Text To Video · object
required

Normalized input payload for the generation task.

usage
object
required

Credit usage breakdown for the request

code
string

Machine-readable generation error code. Present when status is FAILED.

message
string

Sanitized human-readable failure message. Present when status is FAILED.