枭毅API枭毅API
API ReferenceAI Applications
AI Model APIVideosHappyHorse Video API

Submit HappyHorse Video Task

Submit a video generation or video edit task using the HappyHorse native request format.

POST /happyhorse/api/generate uses the HappyHorse native request structure. It is suitable for clients that want to call with HappyHorse-style fields directly.

POST
/happyhorse/api/generate

Authorization

BearerAuth

AuthorizationBearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

In: header

Request Body

application/json

model*string

HappyHorse 模型名。

Value in"happyhorse-1.0-t2v" | "happyhorse-1.0-i2v" | "happyhorse-1.0-r2v" | "happyhorse-1.0-video-edit"
input*
parameters?

Response Body

application/json

curl -X POST "https://open.ospreyai.cn/happyhorse/api/generate" \  -H "Content-Type: application/json" \  -d '{    "model": "happyhorse-1.0-t2v",    "input": {      "prompt": "A white horse runs slowly on a grassland, cinematic shot"    }  }'
{
  "code": 0,
  "message": "success",
  "data": {
    "task_id": "task_xxx",
    "status": "pending"
  }
}