← 返回
未分类 Key

GTtoken HappyHorse 图生视频

call the user's gttoken openai-compatible relay to generate image-to-video clips with happyhorse-1.0-i2v. use when the user asks to turn an uploaded image or image url into video using happyhorse through gttoken/modagent-homing, or wants openclaw/wechat clawbot to route image-to-video requests to happyhorse-1.0-i2v rather than runcomfy, volcengine, aliyun, or other default video skills.
call the user's gttoken openai-compatible relay to generate image-to-video clips with happyhorse-1.0-i2v. use when the user asks to turn an uploaded image or image url into video using happyhorse through gttoken/modagent-homing, or wants openclaw/wechat clawbot to route image-to-video requests to happyhorse-1.0-i2v rather than runcomfy, volcengine, aliyun, or other default video skills.
user_cf6f4e73
未分类 community v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 22
下载
💾 0
安装
1
版本
#latest

概述

GTtoken HappyHorse I2V

Purpose

Use this skill to generate image-to-video clips through the user's GTtoken/OpenAI-compatible relay.

Default target:

  • Base URL: https://api.modagent-homing.com/v1
  • Model: happyhorse-1.0-i2v
  • Endpoint style: OpenAI-compatible chat/completions with image input.

This skill is for video generation only. Keep OpenClaw's normal Models page on a working chat model such as deepseek-v4-flash; do not set happyhorse-1.0-i2v as the default chat model.

Required environment variables

Set one API key variable before using the script:

export GTTOKEN_API_KEY="sk-..."

Optional overrides:

export GTTOKEN_BASE_URL="https://api.modagent-homing.com/v1"
export HAPPYHORSE_I2V_MODEL="happyhorse-1.0-i2v"

HAPPYHORSE_API_KEY is accepted as a fallback if GTTOKEN_API_KEY is missing.

Workflow

  1. Use this skill only when the request includes an image, image URL, or a recent uploaded image attachment.
  2. Extract or ask for the image URL/path from the OpenClaw/WeChat attachment context.
  3. Call scripts/generate_happyhorse_i2v.py with --prompt plus either --image-url or --image-file.
  4. Return the generated video URL or downloaded output path if the relay returns one.
  5. If the relay returns a task id but no final URL, show the raw JSON and explain that the GTtoken relay requires a polling/result endpoint from its documentation.

Quick commands

Using an image URL:

python scripts/generate_happyhorse_i2v.py \
  --image-url "https://example.com/input.jpg" \
  --prompt "把这张图生成5秒视频,镜头缓慢推进,电影感,4K画质" \
  --duration 5 \
  --aspect-ratio 16:9 \
  --output-dir /tmp/happyhorse-i2v

Using a local image file:

python scripts/generate_happyhorse_i2v.py \
  --image-file /path/to/input.jpg \
  --prompt "人物自然微笑,头发轻微飘动,镜头缓慢推进,画面稳定" \
  --duration 5 \
  --output-dir /tmp/happyhorse-i2v

Prompt rules

For best results, include:

  • what should move in the original image
  • camera movement
  • duration, usually 3-15 seconds
  • aspect ratio: 16:9, 9:16, 1:1, 4:3, or 3:4
  • whether sound or no sound is desired

Prefer one clear visual beat, for example: "镜头缓慢推进,主体保持一致,背景轻微运动,电影感光影".

Troubleshooting

  • 401 or invalid api key: the GTtoken key is wrong, expired, or not authorized for HappyHorse.
  • model not found: the exact model id is wrong or unavailable to this key. Use happyhorse-1.0-i2v from the GTtoken model page.
  • HTML / response: the base URL is wrong; use https://api.modagent-homing.com/v1, not /console/token or the website homepage.
  • bad_response_body when testing in OpenClaw Models: expected for video models. Use this skill instead of the Models connectivity test.
  • Unsupported image input: the relay may use a nonstandard image field. Retry the script with --payload-mode simple or --payload-mode image_url_field.

版本历史

共 1 个版本

  • v1.0.0 Initial release 当前
    2026-06-02 13:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 430 📥 117,283
design-media

Video Frames

steipete
使用 ffmpeg 从视频中提取帧或短片。
★ 134 📥 53,016
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 332 📥 94,164