Model parameters
- Model IDs:
happyhorse-1.1-t2v/happyhorse-1.1-i2v/happyhorse-1.1-r2v - Pricing: see the model catalog for current rates.
- Endpoint:
https://geekai.co/api/v1/videos/generations - Parameters: Video API reference
- Authentication: Get an API key
The following video API parameters are not supported:
with_audiosizequalityfpsaudio
aspect_ratio):
1:116:99:164:33:44:55:49:2121:9
resolution):
720P1080P(default)
Use an uppercase P in
resolution: 720P or 1080P (default).duration of 3–15 seconds (default: 5 seconds).
Pricing
HappyHorse 1.1 pricing depends on output resolution and duration:
For discounted GeekAI channels, multiply the listed rate by the channel multiplier. For example, with a multiplier of
0.8 on the high-availability, speed-first channel, a 5-second standard 720p video costs 0.9x5x0.8=3.6 CNY. Apply the same calculation to other configurations.
Text to video
Image to video
From the first frame Pass the first frame image inimage:
HappyHorse 1.1 supports a first frame, but not a first and last frame together.
Reference to video
Reference images Pass one to nine reference images inimages:
HappyHorse 1.1 reference generation accepts images only, not audio or video.
Asynchronous tasks
Video generation can take a while. We recommend GeekAI’s asynchronous workflow. The video API usesasync to control asynchronous generation. The default, false, waits for the finished video. Set it to true to receive a task ID you can poll.
Follow the asynchronous task example to retrieve the result.