You're looking at a specific version of this model. Jump to the model overview.
alibaba /happyhorse-1.0:d867e39d
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
|
Text prompt for video generation. Optional when an image is provided.
|
| image |
string
|
First-frame image to animate. When provided, the model runs in image-to-video mode. Accepts jpg/png/bmp/webp, ≤10MB, aspect ratio between 1:2.5 and 2.5:1, each side ≥300px.
|
|
| resolution |
None
|
1080p
|
Output video resolution
|
| aspect_ratio |
None
|
16:9
|
Aspect ratio of the generated video. Only applies to text-to-video — when an image is provided, the image's aspect ratio is used.
|
| duration |
None
|
5
|
Duration of the generated video in seconds
|
| seed |
integer
|
Random seed for reproducible generation. Range: 0-2147483647
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}