跳转到主要内容
GET
/
gemini
/
video
/
fetch
cURL
curl --request GET \
  --url https://api.ttapi.org/gemini/video/fetch \
  --header 'TT-API-KEY: <api-key>'
{
  "status": "SUCCESS",
  "message": "success",
  "jobId": "0ccf0606-3f32-4090-85bd-1786e4593be5",
  "data": {
    "jobId": "0ccf0606-3f32-4090-85bd-1786e4593be5",
    "model": "omni-flash",
    "prompt": "A cinematic shot of a futuristic city at sunset",
    "aspect_ratio": "16:9",
    "reference_images": [
      "https://cdn.ttapi.io/example/reference-image.png"
    ],
    "video_url": "https://cdn.ttapi.io/other/2026-06-05/example.mp4",
    "quota": "1",
    "hookUrl": "https://example.com/callback"
  }
}

授权

TT-API-KEY
string
header
必填

请前往 TTAPI 控制台 获取 API 密钥。

查询参数

jobId
string
必填

生成接口返回的 jobId

响应

查询成功

status
enum<string>
必填

任务状态

可用选项:
RUNNING,
SUCCESS,
FAILED
示例:

"SUCCESS"

message
string
必填

任务消息

示例:

"success"

jobId
string
必填

任务 ID

示例:

"0ccf0606-3f32-4090-85bd-1786e4593be5"

data
object
必填

视频任务结果

最后修改于 2026年6月5日