Skip to main content
POST
HappyHorse 1.1 - Image to Video
Generate a video from a single first-frame image using the HappyHorse 1.1 model.

Create a Video Generation Task

Authentication

All API requests require a Bearer Token.

Parameters

string
default:"happyhorse-1-1/image-to-video"
required
Must be happyhorse-1-1/image-to-video.

input Parameters

object
required
The input object contains the parameters used to generate the video.
string
Use prompt to describe the video motion you want to generate any language or Chinese.Note: Extra content is truncated.Maximum length: 5,000 non-Chinese characters.
Maximum length: 2,500 Chinese characters.
string[]
required
Use the provided image URL as the first frame.
The image_urls must contain the URL of an uploaded image. The value must be an uploaded file URL, not the file content itself.
Supported image constraints:
  • Formats: JPEG, JPG, PNG, WEBP
  • Minimum resolution: 300 × 300 pixels
  • Aspect ratio: 1:2.5 to 2.5:1
  • Maximum file size: 20 MB
string
default:"1080p"
Specify the resolution of the output video.Supported output resolutions:
  • 720p
  • 1080p
Default: 1080p
integer
Generated video duration in seconds.Supported range : 315, in one-second steps.Default: 5

Request

Example

Successful Response

integer
default:"200"
Response status code.
string
Response message. Contains the error description when the request fails.Example: success
object
required
The task data object containing task id.
string
required
The unique identifier for this task.Example: task_1765180586443

Query Task Status

After submitting a task, use the unified query endpoint to check the task progress and retrieve the generated results.

Get Task Details

Check task status, monitor generation progress, and retrieve results.

Error Response

Response Codes