ナビゲーションにスキップ

HappyHorse 1.1

The cheaper HappyHorse — the same image-to-video contract as 1.0 at a lower per-second rate.

Supported modes

ModeRequired inputRules
Image to videomodel, prompt, imagesRequired. This model publishes no text-to-video mode.
Multiple source imagesmodel, prompt, imagesUp to nine angles of the same subject.

Async flow: Create the task, save data.id, then poll the Task with GET /v1/tasks/{task_id}. On succeeded, read data.output.media. On failed, read data.error_code and data.error_message, then follow the error and retry policy.

Using a local file? upload a local input first and pass the returned data.url.

認証

AuthorizationBearer

Send your API key as Authorization: Bearer <BEATAPI_API_KEY>.

ヘッダー

Idempotency-Keystringオプション<=255 characters

リクエスト

This endpoint expects an object.
model"happyhorse-1.1"必須

Must be happyhorse-1.1.

promptstring必須1-5000 characters

What should happen in the shot — the motion, the expression, the camera.

imageslist of strings必須
Source images as public HTTPS URLs. At least one is required.
durationintegerオプション3-15デフォルト値 5
Requested output duration in seconds.
aspect_ratioenumオプションデフォルト値 16:9
Output video aspect ratio.
許可された値:
resolutionenumオプションデフォルト値 720p
Output resolution tier. Price scales with it.
許可された値:

レスポンス

Video generation task accepted

エラー

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error