Model parameters
- Model IDs:
happyhorse-1.0-t2v/happyhorse-1.0-i2v/happyhorse-1.0-r2v/happyhorse-1.0-video-edit - 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). Reference videos can be 3–60 seconds long.
Pricing
HappyHorse 1.0 pricing depends on output resolution and duration:The
happyhorse-1.0-video-edit editing model bills both input and output duration at the rate for the output resolution.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.0 supports a first frame, but not a first and last frame together.
Reference to video
Reference images Pass one or more reference images inimages:
HappyHorse 1.0 reference generation accepts images only, not audio or video.
Video editing
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.