happyhorse-mcp

v0.2.3
io.github.runapi-builder/happyhorse-mcp Checked 2 days ago Published 3 days ago

RunAPI 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.

ParameterTypeDescription
forcebooleanRe-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.

ParameterTypeDescription
source_video_url *stringDeclared type: string.
audio_settingstringDeclared type: string. Known values: "auto", "original".
callback_urlstringDeclared type: string.
modelstringRunAPI model slug for this model line.
output_resolutionstringDeclared type: string. Known values: "720p", "1080p".
poll_interval_msinteger
promptstringDeclared type: string.
reference_image_urlsarrayDeclared type: array.
seedintegerDeclared type: integer.
timeout_msinteger
waitbooleanPoll 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.

ParameterTypeDescription
first_frame_image_url *stringDeclared type: string.
callback_urlstringDeclared type: string.
duration_secondsintegerDeclared type: integer.
modelstringRunAPI model slug for this model line.
output_resolutionstringDeclared type: string. Known values: "720p", "1080p".
poll_interval_msinteger
promptstringDeclared type: string.
seedintegerDeclared type: integer.
timeout_msinteger
waitbooleanPoll 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.

ParameterTypeDescription
aspect_ratiostringDeclared type: string. Known values: "16:9", "9:16", "1:1", "4:3", "3:4".
callback_urlstringDeclared type: string.
duration_secondsintegerDeclared type: integer.
modelstringRunAPI model slug for this model line.
output_resolutionstringDeclared type: string. Known values: "720p", "1080p".
poll_interval_msinteger
promptstringDeclared type: string.
reference_image_urlsarrayDeclared type: array.
seedintegerDeclared type: integer.
timeout_msinteger
waitbooleanPoll until the task reaches a terminal status.

get_task

Fetch the current status and latest result payload for a happyhorse task.

ParameterTypeDescription
action *stringAsynchronous endpoint the task was created on.
task_id *stringTask id returned when the task was created.

check_pricing

Look up RunAPI pricing for the happyhorse model line.

ParameterTypeDescription
actionstringEndpoint name. Defaults to the endpoint that offers the model.
modelstringModel slug. Defaults to the line's primary model.