happyhorse-1.1-i2v
HappyHorse 1.1 将一张首帧图生成 720P 或 1080P 视频,可指定时长并查询异步结果。
更新于:相同输入,两版 HappyHorse 结果
水墨竹林对决
A white-robed heroine engages in a fierce battle in a bamboo forest, a peak ink-wash wuxia duel. White-Robed Heroine vs. Black-Clad Assassin. [Shot 1: Wide Shot · The Wind Rises] Visual: Distant mountains rendered in soft ink wash, endless green bamboo swaying across the landscape. Wind sweeps through the bamboo tops, leaves rolling like waves. Only shades of green-black remain between heaven and earth. Composition: High-angle distant view with ample negative space. Bamboo branches occupy two-thirds of the frame, with an empty and tranquil lower section. Action / Atmosphere: Stillness conceals danger; the moving wind foreshadows imminent killing intent. Subtitles / Sound Effects: Rustling bamboo leaves, wind gradually intensifying. [Shot 2: Medium Shot · The Heroine Enters the Forest] Visual: The white-robed heroine steps across bamboo stalks, sleeves and robes fluttering like a white crane gliding past. The tip of her sword lightly touches bamboo tops. Her figure is outlined with ink lines, hair flowing in the wind. Composition: Side profile entering the frame, the figure interwoven with bamboo, clean and elegant lines. Action: She taps a bamboo tip with her foot and lands lightly. Style: White robes remain as blank space; bamboo rendered in light ink, creating a clean contrast. [Shot 3: Close Shot · Killing Intent Appears] Visual: A black shadow bursts from the depths of the bamboo grove. The black robe is like ink, revealing only a pair of cold eyes. A brief flash of cold light glints from the short blade in hand. Composition: The black figure hides within bamboo shadows, partially concealed, creating strong oppression. Action: The black-clad assassin launches a surprise attack, blade cutting through the wind. [Shot 4: Extreme Close-Up · Blades Collide] Visual: The heroine blocks horizontally with her sword while the assassin's short blade strikes downward. The weapons collide, releasing a streak of pale ink-like energy (no metallic sparks, only ink diffusion). Composition: Close-up of crossing blades centered in the frame, maximum tension. Style: Dark ink blade, light ink sword, sharp and rigid linework. [Shot 5: Medium Shot · Agile Evasion] Visual: The heroine spins backward to evade. Bamboo branches are severed by the blade wind, broken stalks flying diagonally. She steps on a snapped bamboo tip, suspended in midair. Composition: Dynamic diagonal lines disrupt balance. Ink-wash dry-brush effects express speed. Action: Midair turn, sword aimed directly at the assassin's throat. [Shot 6: Overhead Shot · Encirclement in the Bamboo Forest] Visual: A top-down view. Green bamboo forms an intricate web of ink lines. A single white figure stands among surrounding black-clad enemies, black and white confronting one another. Composition: Symmetrical pressure. Negative space and dense bamboo create a breathing rhythm. [Shot 7: Close Shot · The Heroine Draws Her Sword] Visual: The heroine's eyes are calm and cold. Ink lines define her brows and eyes without excessive expression. With a twist of her wrist, the sword shoots forward like a white snake emerging from its den, piercing toward the dark figure. Composition: Facial close-up with the sword movement extending outward. Suggestive rather than realistic. [Shot 8: Dynamic Shot · Rain of Bamboo Leaves] Visual: The two fighters clash. Bamboo leaves are swept up by their energy, filling the air like an ink rain. Their figures weave between reality and illusion within the storm of leaves. Composition: Soft, blurred edges. Emphasis on mood over precise form. Ink diffusion conveys motion. Style: Motion and stillness united, resembling both dance and combat. [Shot 9: Freeze Frame · Victory Decided] Visual: The heroine's sword tip stops just before the assassin's throat. The assassin stands motionless. The wind ceases, and bamboo leaves drift slowly downward. Composition: Static confrontation with abundant negative space, embodying the spirit of wuxia. Ending: The ink gradually fades, leaving a lingering aftertaste.
happyhorse-1.1-i2v 能做什么
根据提示词生成
提交简洁提示词,通过一个 TTAPI 任务获取视频结果。
常用参数
设置提示词、模型、输出参数和回调即可接入。
异步查询
通过轮询或 Webhook 接收结果,避免耗时生成阻塞界面。
接入产品
HappyHorse 的输出可以展示、保存或交给后续流程处理。
按操作计费,单位为 quota
按模型、操作和输出设置扣除 quota。
请求头与提交参数
使用 TTAPI 密钥,按下方字段向接口发送请求。
/happyhorse/api/v1/services/aigc/video-generation/image-to-video提交 HappyHorse 图生视频任务。
查看接口文档/happyhorse/api/v1/tasks/{task_id}取回 HappyHorse 任务结果。
查看接口文档请求头
TT-API-KEYstring必填填写 TTAPI API 密钥。
Content-Typestring必填使用 application/json。
请求体
modelstring必填HappyHorse 任务的模型 ID,例如 happyhorse-1.1-t2v。
input.promptstring按条件填写描述生成或编辑内容的提示词。
input.mediaobject[]按条件填写按所选操作传入首帧图、参考图或源视频。
parameters.resolutionenum选填输出分辨率为 720P 或 1080P。
parameters.durationinteger选填视频时长,单位为秒。
parameters.ratioenum选填所选工作流支持的输出宽高比。
parameters.watermarkboolean选填是否添加 HappyHorse 水印。
parameters.seedinteger选填随机种子,范围 0 至 2147483647。
发送请求并获取结果
复制当前模型的请求地址、鉴权请求头和请求体。
curl --request POST \
--url https://api.ttapi.io/happyhorse/api/v1/services/aigc/video-generation/image-to-video \
--header "TT-API-KEY: $TTAPI_KEY" \
--header 'Content-Type: application/json' \
--data '{"model":"happyhorse-1.1-i2v","input":{"prompt":"slow dolly shot through a lantern-lit alley","media":[{"type":"first_frame","url":"https://example.com/first-frame.jpg"}]},"parameters":{"resolution":"720P","duration":5,"watermark":false}}'