happyhorse-1.1-t2v
happyhorse/happyhorse-1.1-t2vGenerate a five-second video from text.
- second
- UnavailableUnavailableUnavailable
- Happyhorse
- 5 min
Overview
Requires an active price tier and configured supplier. Accepted tasks retain their original order and price for read-only recovery. Billing uses validated native output seconds; never submit another generation to recover the same task.
After COMPLETED, read run.output.video_url, task_id, duration and resolution. Download the temporary video URL promptly.
Input
These go in the input object of the run request.
| Field | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | Scene and movement. Maximum: 5000 |
| ratio | string | No | Output aspect ratio. Allowed: 16:9, 9:16, 1:1, 4:3, 3:4, 4:5, 5:4, 9:21, 21:9 Default: "16:9" |
| seed | integer | No | Generation seed. Minimum: 0 Maximum: 2147483647 |
| watermark | boolean | No | Include a watermark. Default: true |
| duration | integer | No | Requested output seconds. Default: 5Minimum: 5 Maximum: 5 |
| resolution | string | No | Output resolution and billing tier. Allowed: 480P, 720P, 1080P Default: "1080P" |
Requests up to 1 MB.
Example
Use your own API key and a saved idempotency key for each new job. Replace image or media placeholders with your own publicly reachable HTTPS URLs. Keep the same key and request body when recovering a timeout.
# Set once per job; reuse this key and the identical body after a timeout.
: "${AGENTSKY_IDEMPOTENCY_KEY:?Set a unique, saved key for this job}"
curl --fail-with-body https://gateway.agentsky.dev/v1/run \
-H "authorization: Bearer $AGENTSKY_API_KEY" \
-H "content-type: application/json" \
-H "Idempotency-Key: $AGENTSKY_IDEMPOTENCY_KEY" \
-d '{"provider":"happyhorse","endpoint":"happyhorse-1.1-t2v","input":{"prompt":"A blue ceramic cup on a white table","duration":5,"resolution":"1080P"}}'
# If status is READY/RUNNING, poll GET /v1/runs/{runId} with the same API key.Pricing
Prices by input conditions in USD per second, using your plan when signed in. Read the final customer charge from price.amount.value after the run finishes. A RUNNING response is not the final bill.
| Input conditions | Availability | USD per second |
|---|---|---|
| 480P | Unavailable | — |
| 720P | Unavailable | — |
| 1080P (default) | Unavailable | — |
