RunAPI Happy Horse API

The HappyHorse API from RunAPI — 6 operation(s) for happyhorse.

Operations 6

POST /api/v1/happyhorse/edit_video HappyHorse Edit-Video #
GET /api/v1/happyhorse/edit_video/{id} Retrieve HappyHorse Edit-Video task #
POST /api/v1/happyhorse/image_to_video HappyHorse Image-to-Video #
GET /api/v1/happyhorse/image_to_video/{id} Retrieve HappyHorse Image-to-Video task #
POST /api/v1/happyhorse/text_to_video HappyHorse Text-to-Video #
GET /api/v1/happyhorse/text_to_video/{id} Retrieve HappyHorse Text-to-Video task #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/runapi:runapi-happyhorse-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

runapi-happyhorse-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RunAPI Happy Horse API
  version: v1
  description: Create and retrieve AI media tasks, or use compatible LLM protocol endpoints.
servers:
- url: https://runapi.ai
security:
- bearerAuth: []
tags:
- name: HappyHorse
paths:
  /api/v1/happyhorse/edit_video:
    post:
      tags:
      - HappyHorse
      summary: HappyHorse Edit-Video
      description: Create an asynchronous task through the HappyHorse edit video endpoint.
      operationId: task_endpoint_happyhorse_edit_video
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                model:
                  type: string
                  const: happyhorse-edit-video
                prompt:
                  type: string
                source_video_url:
                  type: string
                reference_image_urls:
                  type: array
                  maxItems: 5
                output_resolution:
                  type: string
                  enum:
                  - 720p
                  - 1080p
                  default: 1080p
                audio_setting:
                  type: string
                  enum:
                  - auto
                  - original
                  default: auto
                seed:
                  type: integer
                callback_url:
                  type: string
              additionalProperties: false
              required:
              - source_video_url
              - model
      responses:
        '202':
          description: Create acceptance
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                - status
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                    - processing
                  task_replayed:
                    type: boolean
                unevaluatedProperties: false
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  required:
                  - error
                  properties:
                    error:
                      type: string
                      description: Human-readable error message.
                  unevaluatedProperties: false
                - type: object
                  required:
                  - error
                  - errors
                  properties:
                    error:
                      type: string
                      description: Human-readable validation summary.
                    errors:
                      type: object
                      description: Validation messages keyed by public request field, with an array of human-readable strings for each field.
                      additionalProperties:
                        type: array
                        items:
                          type: string
                  unevaluatedProperties: false
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '402':
          description: Insufficient balance
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '409':
          description: Request conflict
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '429':
          description: Api token credit limit exceeded or Rate limited
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '504':
          description: Timeout error
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
  /api/v1/happyhorse/edit_video/{id}:
    get:
      tags:
      - HappyHorse
      summary: Retrieve HappyHorse Edit-Video task
      description: Create an asynchronous task through the HappyHorse edit video endpoint.
      operationId: task_endpoint_happyhorse_edit_video_retrieve
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Polling processing or Polling completed or Polling failed
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  required:
                  - id
                  - status
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                      enum:
                      - processing
                  unevaluatedProperties: false
                - type: object
                  required:
                  - id
                  - status
                  - videos
                  - usage
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                      enum:
                      - completed
                    videos:
                      type: array
                      items:
                        type: object
                        required:
                        - url
                        properties:
                          url:
                            type: string
                            x-runapi-generated-media: true
                        unevaluatedProperties: false
                    usage:
                      type: object
                      properties:
                        cost:
                          type: number
                      unevaluatedProperties: false
                  unevaluatedProperties: false
                - type: object
                  required:
                  - id
                  - status
                  - error
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                      enum:
                      - failed
                    error:
                      type: string
                  unevaluatedProperties: false
        '401':
          description: Polling authentication required
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '404':
          description: Task not found
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
  /api/v1/happyhorse/image_to_video:
    post:
      tags:
      - HappyHorse
      summary: HappyHorse Image-to-Video
      description: Create an asynchronous task through the HappyHorse image to video endpoint.
      operationId: task_endpoint_happyhorse_image_to_video
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - type: object
                properties:
                  model:
                    type: string
                    const: happyhorse-1.0-i2v
                  first_frame_image_url:
                    type: string
                  prompt:
                    type: string
                  output_resolution:
                    type: string
                    enum:
                    - 720p
                    - 1080p
                    default: 1080p
                  duration_seconds:
                    type: integer
                    default: 5
                  seed:
                    type: integer
                  callback_url:
                    type: string
                additionalProperties: false
                required:
                - first_frame_image_url
                - model
              - type: object
                properties:
                  model:
                    type: string
                    const: happyhorse-image-to-video
                  first_frame_image_url:
                    type: string
                  prompt:
                    type: string
                  output_resolution:
                    type: string
                    enum:
                    - 720p
                    - 1080p
                    default: 1080p
                  duration_seconds:
                    type: integer
                    default: 5
                  seed:
                    type: integer
                  callback_url:
                    type: string
                additionalProperties: false
                required:
                - first_frame_image_url
                - model
      responses:
        '202':
          description: Create acceptance
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                - status
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                    - processing
                  task_replayed:
                    type: boolean
                unevaluatedProperties: false
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  required:
                  - error
                  properties:
                    error:
                      type: string
                      description: Human-readable error message.
                  unevaluatedProperties: false
                - type: object
                  required:
                  - error
                  - errors
                  properties:
                    error:
                      type: string
                      description: Human-readable validation summary.
                    errors:
                      type: object
                      description: Validation messages keyed by public request field, with an array of human-readable strings for each field.
                      additionalProperties:
                        type: array
                        items:
                          type: string
                  unevaluatedProperties: false
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '402':
          description: Insufficient balance
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '409':
          description: Request conflict
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '429':
          description: Api token credit limit exceeded or Rate limited
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '504':
          description: Timeout error
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
  /api/v1/happyhorse/image_to_video/{id}:
    get:
      tags:
      - HappyHorse
      summary: Retrieve HappyHorse Image-to-Video task
      description: Create an asynchronous task through the HappyHorse image to video endpoint.
      operationId: task_endpoint_happyhorse_image_to_video_retrieve
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Polling processing or Polling completed or Polling failed
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  required:
                  - id
                  - status
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                      enum:
                      - processing
                  unevaluatedProperties: false
                - type: object
                  required:
                  - id
                  - status
                  - videos
                  - usage
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                      enum:
                      - completed
                    videos:
                      type: array
                      items:
                        type: object
                        required:
                        - url
                        properties:
                          url:
                            type: string
                            x-runapi-generated-media: true
                        unevaluatedProperties: false
                    usage:
                      type: object
                      properties:
                        cost:
                          type: number
                      unevaluatedProperties: false
                  unevaluatedProperties: false
                - type: object
                  required:
                  - id
                  - status
                  - error
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                      enum:
                      - failed
                    error:
                      type: string
                  unevaluatedProperties: false
        '401':
          description: Polling authentication required
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '404':
          description: Task not found
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
  /api/v1/happyhorse/text_to_video:
    post:
      tags:
      - HappyHorse
      summary: HappyHorse Text-to-Video
      description: Create an asynchronous task through the HappyHorse text to video endpoint.
      operationId: task_endpoint_happyhorse_text_to_video
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - type: object
                properties:
                  model:
                    type: string
                    const: happyhorse-1.0-r2v
                  prompt:
                    type: string
                  reference_image_urls:
                    type: array
                    maxItems: 9
                    minItems: 1
                  output_resolution:
                    type: string
                    enum:
                    - 720p
                    - 1080p
                    default: 1080p
                  aspect_ratio:
                    type: string
                    enum:
                    - '16:9'
                    - '9:16'
                    - '1:1'
                    - '4:3'
                    - '3:4'
                    default: '16:9'
                  duration_seconds:
                    type: integer
                    default: 5
                  seed:
                    type: integer
                  callback_url:
                    type: string
                additionalProperties: false
                required:
                - reference_image_urls
                - model
              - type: object
                properties:
                  model:
                    type: string
                    const: happyhorse-1.0-t2v
                  prompt:
                    type: string
                  reference_image_urls:
                    type: array
                  output_resolution:
                    type: string
                    enum:
                    - 720p
                    - 1080p
                    default: 1080p
                  aspect_ratio:
                    type: string
                    enum:
                    - '16:9'
                    - '9:16'
                    - '1:1'
                    - '4:3'
                    - '3:4'
                    default: '16:9'
                  duration_seconds:
                    type: integer
                    default: 5
                  seed:
                    type: integer
                  callback_url:
                    type: string
                additionalProperties: false
                required:
                - model
              - type: object
                properties:
                  model:
                    type: string
                    const: happyhorse-character
                  prompt:
                    type: string
                  reference_image_urls:
                    type: array
                    maxItems: 9
                    minItems: 1
                  output_resolution:
                    type: string
                    enum:
                    - 720p
                    - 1080p
                    default: 1080p
                  aspect_ratio:
                    type: string
                    enum:
                    - '16:9'
                    - '9:16'
                    - '1:1'
                    - '4:3'
                    - '3:4'
                    default: '16:9'
                  duration_seconds:
                    type: integer
                    default: 5
                  seed:
                    type: integer
                  callback_url:
                    type: string
                additionalProperties: false
                required:
                - reference_image_urls
                - model
              - type: object
                properties:
                  model:
                    type: string
                    const: happyhorse-text-to-video
                  prompt:
                    type: string
                  reference_image_urls:
                    type: array
                  output_resolution:
                    type: string
                    enum:
                    - 720p
                    - 1080p
                    default: 1080p
                  aspect_ratio:
                    type: string
                    enum:
                    - '16:9'
                    - '9:16'
                    - '1:1'
                    - '4:3'
                    - '3:4'
                    default: '16:9'
                  duration_seconds:
                    type: integer
                    default: 5
                  seed:
                    type: integer
                  callback_url:
                    type: string
                additionalProperties: false
                required:
                - model
      responses:
        '202':
          description: Create acceptance
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                - status
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                    - processing
                  task_replayed:
                    type: boolean
                unevaluatedProperties: false
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  required:
                  - error
                  properties:
                    error:
                      type: string
                      description: Human-readable error message.
                  unevaluatedProperties: false
                - type: object
                  required:
                  - error
                  - errors
                  properties:
                    error:
                      type: string
                      description: Human-readable validation summary.
                    errors:
                      type: object
                      description: Validation messages keyed by public request field, with an array of human-readable strings for each field.
                      additionalProperties:
                        type: array
                        items:
                          type: string
                  unevaluatedProperties: false
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '402':
          description: Insufficient balance
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '409':
          description: Request conflict
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '429':
          description: Api token credit limit exceeded or Rate limited
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '504':
          description: Timeout error
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
  /api/v1/happyhorse/text_to_video/{id}:
    get:
      tags:
      - HappyHorse
      summary: Retrieve HappyHorse Text-to-Video task
      description: Create an asynchronous task through the HappyHorse text to video endpoint.
      operationId: task_endpoint_happyhorse_text_to_video_retrieve
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Polling processing or Polling completed or Polling failed
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  required:
                  - id
                  - status
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                      enum:
                      - processing
                  unevaluatedProperties: false
                - type: object
                  required:
                  - id
                  - status
                  - videos
                  - usage
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                      enum:
                      - completed
                    videos:
                      type: array
                      items:
                        type: object
                        required:
                        - url
                        properties:
                          url:
                            type: string
                            x-runapi-generated-media: true
                        unevaluatedProperties: false
                    usage:
                      type: object
                      properties:
                        cost:
                          type: number
                      unevaluatedProperties: false
                  unevaluatedProperties: false
                - type: object
                  required:
                  - id
                  - status
                  - error
                  properties:
                    id:
                      type: string
                    status:
                      type: string
                      enum:
                      - failed
                    error:
                      type: string
                  unevaluatedProperties: false
        '401':
          description: Polling authentication required
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '404':
          description: Task not found
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API token