Перейти к основному содержанию
POST
/
midjourney
/
video
/
submit
cURL
curl --request POST \
  --url https://api.ttapi.io/midjourney/video/submit \
  --header 'Content-Type: application/json' \
  --header 'TT-API-KEY: <api-key>' \
  --data '
{
  "prompt": "<string>",
  "imageUrl": "<string>",
  "endingUrl": "<string>",
  "model": "fast",
  "manual": "low",
  "resolution": "sd",
  "bs": "4",
  "hookUrl": "<string>"
}
'
{
  "status": "SUCCESS",
  "message": "success",
  "data": {
    "job_id": "job_id"
  }
}

Авторизации

TT-API-KEY
string
header
обязательно

Вы можете получить API-ключ в TTAPI Dashboard.

Тело

application/json
prompt
string
обязательно

Промпт генерации видео

imageUrl
string
обязательно

Starting frame image URL. Must be a publicly accessible image URL

endingUrl
string

Ending frame image URL. Must be a publicly accessible image URL

model
string

Video generation speed mode. Currently only supports fast mode

Пример:

"fast"

manual
string
по умолчанию:low

Motion intensity. low - Low motion, high - High motion

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

Video resolution
Different resolutions consume different amounts of quota

Доступные опции:
hd,
sd
bs
enum<int>
по умолчанию:4

Number of videos to generate in batch

Доступные опции:
1,
2,
4
hookUrl
string

Callback notification URL. When task completes or fails, this URL will be notified. Notification data structure is consistent with fetch structure. If not set, you need to request the fetch interface for query

Ответ

Запрос выполнен успешно

status
string
обязательно
Пример:

"SUCCESS"

message
string
обязательно
Пример:

"success"

data
object
обязательно
Пример:
{ "job_id": "job_id" }
Last modified on March 26, 2026