基础 URL、请求方法和必需请求头均按当前模型的协议模板渲染。

HappyHorse 1.0 T2V
Generates 3–15 second clips at up to 1080p from a written description, across a range of aspect ratios. Suited for taking a script straight to creative content and short-form social video.
价格
| 规格 | 720p | 1080p |
|---|---|---|
| 视频 | $0.123769/ 秒 | $0.220034/ 秒 |
快速开始
可直接粘贴运行下方示例代码。Gate.AI API 与 OpenAI 兼容,多数 SDK 只需替换 base URL;切换模型时,只需修改模型 ID。
Get your API key
Sign in to the Gate.AI console and create a new key under "API Keys". Keep it safe and send it via the Authorization header on every request.
前往控制台创建密钥export GATEAI_API_KEY="YOUR_API_KEY"; export GATEAI_API_URL="https://api.gate.ai/api/v1/videos"Make a request
Send a POST request to the Chat Completions endpoint with a model ID and an array of messages to get a reply.
curl --location "https://api.gate.ai/api/v1/videos" --header "Authorization: Bearer {API_KEY}" --header "Content-Type: application/json" --header "Idempotency-Key: {IDEMPOTENCY_KEY}" --data '{"model":"happyhorse-1.0-t2v","prompt":"A golden retriever running on a sunny beach, cinematic camera movement","duration":6,"resolution":"720p","aspect_ratio":"16:9","generate_audio":false,"seed":-1}'Handle the response & streaming
By default a full JSON response is returned. Add "stream": true to the request body to receive incremental chunks over SSE.
JOB_ID=$(curl --silent --location "https://api.gate.ai/api/v1/videos" --header "Authorization: Bearer {API_KEY}" --header "Content-Type: application/json" --header "Idempotency-Key: {IDEMPOTENCY_KEY}" --data '{"model":"happyhorse-1.0-t2v","prompt":"A golden retriever running on a sunny beach, cinematic camera movement","duration":6,"resolution":"720p"}' | jq -r '.data.job_id'); curl --location "https://api.gate.ai/api/v1/videos/${JOB_ID}" --header "Authorization: Bearer {API_KEY}"端点
相关模型
HappyHorse 1.1 T2VStronger prompt adherence than 1.0 on complex instructions. Generates 3–15 second clips at up to 1080p from a written description, suited for producing creative content directly from a script.
HappyHorse 1.1 I2VSmoother motion than 1.0 across camera moves and body movement. Extends a single starting image into a full shot, outputting 3–15 second clips at up to 1080p.
HappyHorse 1.1 R2VHolds characters more consistent across frames than 1.0. Takes a set of reference images to lock character, scene, and style, outputting 3–15 second clips at up to 1080p.
HappyHorse 1.0 I2VExtends a single starting image into a full shot, preserving its composition and style, and outputs 3–15 second clips at up to 1080p. Suited for turning still assets into motion.
HappyHorse 1.0 R2VTakes a set of reference images to lock character, scene, and style, holding the subject consistent across shots. Outputs 3–15 second clips at up to 1080p.
Wan 2.6 T2VGenerate 720p/1080p video from text prompts and come with synchronized audio tracks. The picture has movie-level aesthetics and complex motion performance, suitable for creative video creation.
Wan2.6 R2V FlashSpeed-optimized Wan 2.6 reference-to-video variant with optional audio output, replicating reference-video motion into up to 10 second 720p/1080p clips for fast, cost-effective production.
Wan 2.6 R2VAlibaba Tongyi Wanxiang Wan 2.6 reference-to-video model replicates the actions, effects, and camera movement of a reference video to produce up to 10 second 720p/1080p clips with synchronized audio.
Wan 2.6 I2V FlashSpeed-optimized Wan 2.6 image-to-video variant with optional audio output, generating 720p/1080p clips quickly and cost-effectively for high-throughput image animation.
Wan 2.6 I2VAlibaba Tongyi Wanxiang Wan 2.6 image-to-video model animates a reference image into 720p/1080p clips with synchronized audio, preserving subject consistency with cinematic motion.