Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt

Use this file to discover all available pages before exploring further.

Model ID
happyhorse1.0-t2v

happyhorse1.0-t2v API Usage Guide

Overview

happyhorse1.0-t2v is Wan AI’s latest text-to-video model with improved visual quality and more flexible controls. It supports separate resolution and aspect-ratio selection, continuous duration from 2 to 15 seconds, and optional audio-driven generation. Requests are submitted to the request-queue API and results are retrieved via polling.

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header: Authorization: Bearer YOUR_API_KEY

Submit Video Generation Request

POST /api/v1/ie/requestqueue/apikey/requests
{
  "model": "happyhorse1.0-t2v",
  "payload": {
    "prompt": "A drone shot gliding over a misty forest at sunrise, golden light breaking through the canopy",
    "negative_prompt": "blurry, low quality, distorted",
    "resolution": "1080P",
    "ratio": "16:9",
    "duration": 10,
    "audio_url": null,
    "prompt_extend": true,
    "watermark": false,
    "seed": 12345
  }
}

## API Usage

Submit a generation task via the GMI request queue. Polling and full parameter docs are in the [API reference](/inference-engine/api-reference/video-api-reference).

### Submit request

```bash
curl -X POST "https://console.gmicloud.ai/api/v1/ie/requestqueue/apikey/requests" \
  -H "Authorization: Bearer $GMI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "happyhorse1.0-t2v",
    "payload": {
      "prompt": "your prompt here"
    }
  }'
The response includes a request_id. Poll the status endpoint until the video is ready, then download from the returned URL.
curl "https://console.gmicloud.ai/api/v1/ie/requestqueue/apikey/requests/<request_id>" \
  -H "Authorization: Bearer $GMI_API_KEY"