> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goenhance.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# HappyHorse 1.1 Reference

> HappyHorse 1.1 reference-to-video. **`image_urls` is required** (1-9 images) — this model blends reference images and does not support pure text-to-video. Reference each image in the prompt as `[Image 1]`, `[Image 2]`, etc.

**Pricing** — per second of generated video, in tokens (USD at $0.02/token). **Limited-time offer: 20% below official pricing.**

| resolution | tokens/s | our price /s | official /s |
|---|---|---|---|
| 720P | 5.2 | $0.104 | $0.13 |
| 1080P | 7.2 | $0.144 | $0.18 |

Example: a 5s 720P video costs 26 tokens.

Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video.



## OpenAPI

````yaml api-reference/video-generations/openapi-happyhorse-1-1-ref.json POST /api/v1/videos/generations
openapi: 3.1.0
info:
  title: GoEnhance API - HappyHorse 1.1 Reference
  description: Video generation with HappyHorse 1.1 Reference.
  version: 1.0.0
servers:
  - url: https://api.goenhance.ai
security: []
paths:
  /api/v1/videos/generations:
    post:
      tags:
        - VideoGenerations
      summary: HappyHorse 1.1 Reference
      description: >-
        HappyHorse 1.1 reference-to-video. **`image_urls` is required** (1-9
        images) — this model blends reference images and does not support pure
        text-to-video. Reference each image in the prompt as `[Image 1]`,
        `[Image 2]`, etc.


        **Pricing** — per second of generated video, in tokens (USD at
        $0.02/token). **Limited-time offer: 20% below official pricing.**


        | resolution | tokens/s | our price /s | official /s |

        |---|---|---|---|

        | 720P | 5.2 | $0.104 | $0.13 |

        | 1080P | 7.2 | $0.144 | $0.18 |


        Example: a 5s 720P video costs 26 tokens.


        Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use
        `custom_callback_url`) to get the generated video.
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: false
          example: '{{Authorization}}'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                model:
                  type: string
                  enum:
                    - happyhorse-1-1-ref
                  description: Model name. Must be `happyhorse-1-1-ref`.
                prompt:
                  type: string
                  description: >-
                    Text prompt. You can reference each image as `[Image 1]`,
                    `[Image 2]`, etc.
                image_urls:
                  type: array
                  items:
                    type: string
                    format: uri
                  minItems: 1
                  maxItems: 9
                  description: Reference image URLs (required, 1-9 images).
                ratio:
                  type: string
                  enum:
                    - '16:9'
                    - '9:16'
                    - '3:4'
                    - '4:3'
                    - '4:5'
                    - '5:4'
                    - '1:1'
                  default: '16:9'
                  description: >-
                    Aspect ratio. Supports 4:5 and 5:4 in addition to the
                    text-to-video set.
                duration:
                  type: integer
                  minimum: 3
                  maximum: 15
                  default: 5
                  description: Video duration in seconds (3-15).
                resolution:
                  type: string
                  enum:
                    - 720P
                    - 1080P
                  default: 720P
                  description: Output resolution.
                custom_callback_url:
                  type: string
                  format: uri
                  description: >-
                    Optional. A publicly accessible HTTPS URL. When the task
                    status changes (processing / success / failed), GoEnhance
                    sends a POST request to this URL. The request body is
                    identical to the response of GET /api/v1/jobs/detail. If
                    your server does not respond with HTTP 200, the notification
                    is retried up to 3 times, with a 3-second timeout per
                    attempt.
                  example: https://your-server.com/goenhance/callback
              required:
                - model
                - prompt
                - image_urls
            example:
              model: happyhorse-1-1-ref
              prompt: '[Image 1] walks toward [Image 2] in a neon-lit street'
              image_urls:
                - https://your-cdn.com/a.jpg
                - https://your-cdn.com/b.jpg
              duration: 5
              resolution: 720P
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      img_uuid:
                        type: string
                    required:
                      - img_uuid
                required:
                  - code
                  - msg
                  - data
              examples:
                '1':
                  summary: Success
                  value:
                    code: 0
                    msg: Success
                    data:
                      img_uuid: c12b656c-747a-44fd-9c80-add79b0c52d5
                '2':
                  summary: Insufficient tokens
                  value:
                    code: 100
                    msg: tokens is not enough
          headers: {}
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                required:
                  - code
                  - msg
          headers: {}
      deprecated: false
      security: []

````