happyhorse-mcp
v0.2.3RunAPI MCP server for HappyHorse: create tasks, poll status, check pricing.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
login
Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.
| Parameter | Type | Description |
|---|---|---|
force | boolean | Re-run browser login when the current credential comes from the local config file. |
edit_video
Create a HappyHorse task on RunAPI (edit video). Returns a task id, status, and output URLs.
| Parameter | Type | Description |
|---|---|---|
source_video_url * | string | Declared type: string. |
audio_setting | string | Declared type: string. Known values: "auto", "original". |
callback_url | string | Declared type: string. |
model | string | RunAPI model slug for this model line. |
output_resolution | string | Declared type: string. Known values: "720p", "1080p". |
poll_interval_ms | integer | |
prompt | string | Declared type: string. |
reference_image_urls | array | Declared type: array. |
seed | integer | Declared type: integer. |
timeout_ms | integer | |
wait | boolean | Poll until the task reaches a terminal status. |
image_to_video
Create a HappyHorse task on RunAPI (image to video). Returns a task id, status, and output URLs.
| Parameter | Type | Description |
|---|---|---|
first_frame_image_url * | string | Declared type: string. |
callback_url | string | Declared type: string. |
duration_seconds | integer | Declared type: integer. |
model | string | RunAPI model slug for this model line. |
output_resolution | string | Declared type: string. Known values: "720p", "1080p". |
poll_interval_ms | integer | |
prompt | string | Declared type: string. |
seed | integer | Declared type: integer. |
timeout_ms | integer | |
wait | boolean | Poll until the task reaches a terminal status. |
text_to_video
Create a HappyHorse task on RunAPI (text to video). Returns a task id, status, and output URLs.
| Parameter | Type | Description |
|---|---|---|
aspect_ratio | string | Declared type: string. Known values: "16:9", "9:16", "1:1", "4:3", "3:4". |
callback_url | string | Declared type: string. |
duration_seconds | integer | Declared type: integer. |
model | string | RunAPI model slug for this model line. |
output_resolution | string | Declared type: string. Known values: "720p", "1080p". |
poll_interval_ms | integer | |
prompt | string | Declared type: string. |
reference_image_urls | array | Declared type: array. |
seed | integer | Declared type: integer. |
timeout_ms | integer | |
wait | boolean | Poll until the task reaches a terminal status. |
get_task
Fetch the current status and latest result payload for a happyhorse task.
| Parameter | Type | Description |
|---|---|---|
action * | string | Asynchronous endpoint the task was created on. |
task_id * | string | Task id returned when the task was created. |
check_pricing
Look up RunAPI pricing for the happyhorse model line.
| Parameter | Type | Description |
|---|---|---|
action | string | Endpoint name. Defaults to the endpoint that offers the model. |
model | string | Model slug. Defaults to the line's primary model. |