gemini-veo-3.1-quality
Veo 3.1 Quality 按提示词生成 8 秒 1080P 视频,可查询异步结果或续写。
更新于:Gemini Video 的提示词、参考素材和成片
Create a fluid, realistic UGC-style product review video with the content creator naturally presenting and discussing the shampoo. Preserve the creator's identity and the product design from both reference images.
Create a smooth cinematic transformation from the lamb in the first frame into the tiger in the final frame, preserving natural anatomy, coherent motion, and the surrounding environment throughout the transition.
Transform the original room into the redesigned interior shown in the final frame. Use a seamless architectural transition with stable walls, natural material changes, consistent perspective, and a restrained cinematic camera move.
gemini-veo-3.1-quality 能做什么
根据提示词生成
提交简洁提示词,通过一个 TTAPI 任务获取视频结果。
常用参数
设置提示词、模型、输出参数和回调即可接入。
异步查询
通过轮询或 Webhook 接收结果,避免耗时生成阻塞界面。
接入产品
Gemini Video 的输出可以展示、保存或交给后续流程处理。
按操作计费,单位为 quota
按模型、操作和输出设置扣除 quota。
请求头与提交参数
使用 TTAPI 密钥,按下方字段向接口发送请求。
/gemini/video/generations提交 Gemini Video 生成任务。
查看接口文档/gemini/video/extend续写已完成的 Gemini 视频。
查看接口文档/gemini/video/fetch查询 Gemini Video 任务结果。
查看接口文档请求头
TT-API-KEYstring必填填写 TTAPI API 密钥。
Content-Typestring必填使用 application/json。
请求体
promptstring必填描述场景和动作的提示词。
modelstring必填Veo 或 Omni 模型 ID。
aspect_ratioenum必填可选 16:9 或 9:16。
durationstring选填所选模型支持的视频时长。
resolutionenum选填所需的输出分辨率。
generation_typeenum选填选择 frame 或 reference 生成方式。
reference_imagesstring[]按条件填写用于首帧或参考图生成的图像素材。
reference_videosstring[]选填所选工作流支持的参考视频。
hookUrlstring选填任务完成时调用的回调 URL。
发送请求并获取结果
复制当前模型的请求地址、鉴权请求头和请求体。
curl --request POST \
--url https://api.ttapi.io/gemini/video/generations \
--header "TT-API-KEY: $TTAPI_KEY" \
--header 'Content-Type: application/json' \
--data '{"prompt":"a paper plane above a city","model":"veo-3.1-quality","aspect_ratio":"16:9","resolution":"1080p","duration":"8","hookUrl":"https://example.com/webhooks/gemini-video"}'