Skip to main content
POST
Happyhorse Videos

Авторизации

Authorization
string
header
обязательно

Заголовки

accept
enum<string>

Happyhorse Videos Param Accept

Доступные опции:
application/json,
application/x-ndjson

Тело

application/json
action
enum<string>
по умолчанию:generate

Happyhorse Videos Action

Доступные опции:
generate,
image_to_video,
reference_to_video,
video_edit
Пример:

"generate"

model
enum<string>
по умолчанию:happyhorse-1.1-t2v

Happyhorse Videos Model

Доступные опции:
happyhorse-1.0-t2v,
happyhorse-1.1-t2v,
happyhorse-1.0-i2v,
happyhorse-1.1-i2v,
happyhorse-1.0-r2v,
happyhorse-1.1-r2v,
happyhorse-1.0-video-edit
Пример:

"happyhorse-1.1-t2v"

prompt
string

Happyhorse Videos Prompt

Пример:

"A cinematic white horse lifts its head, the mane moves gently in the sunrise wind, slow camera push in, warm film lighting"

image_url
string

Happyhorse Videos Image Url

Пример:

"https://cdn.acedata.cloud/b1c82e4937.png"

image_urls
string[]

Happyhorse Videos Image Urls

video_url
string

Happyhorse Videos Video Url

Пример:

"https://cdn.acedata.cloud/assets/examples/happyhorse/27837f92-d1c1-4db4-ad9a-4e6e81d9f6c1-2c108ce23554.mp4"

resolution
enum<string>
по умолчанию:1080P

Happyhorse Videos Resolution

Доступные опции:
720P,
1080P
Пример:

"720P"

ratio
enum<string>
по умолчанию:16:9

Happyhorse Videos Ratio

Доступные опции:
16:9,
9:16,
1:1,
4:3,
3:4
Пример:

"16:9"

duration
integer
по умолчанию:5

Happyhorse Videos Duration

Требуемый диапазон: 3 <= x <= 15
Пример:

5

watermark
boolean
по умолчанию:false

Happyhorse Videos Watermark

audio_setting
enum<string>
по умолчанию:auto

Happyhorse Videos Audio Setting

Доступные опции:
auto,
origin
seed
integer

Happyhorse Videos Seed

Требуемый диапазон: 0 <= x <= 2147483647
callback_url
string

Happyhorse Videos Callback Url

async
boolean

Happyhorse Videos Async

Ответ

Happyhorse Videos Response 200

success
boolean

Happyhorse Videos Response 200 Success

task_id
string

Happyhorse Videos Response 200 Task Id

trace_id
string

Happyhorse Videos Response 200 Trace Id

data
object[]

Happyhorse Videos Response 200 Data