Gemini Omni Flash
通过 APIMart 或 Evolink 生成、引用或编辑带原生同步音频的视频。
Authorization
BearerAuth
AuthorizationBearer <token>
In: header
Request Body
application/json
model*string
Value in
"gemini-omni-flash"prompt*string
Length
1 <= lengthduration?integer
Range
3 <= value <= 10aspect_ratio?string
Value in
"16:9" | "9:16"image?string
Image-to-Video 的单张输入图。
images?array<string>
Reference-to-Video 的参考图列表。
Items
1 <= items <= 6video_urls?array<string>
Video Edit 的源视频,只支持一个。
Items
1 <= items <= 1[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://api.apimp.ai/api/generate/submit" \ -H "Content-Type: application/json" \ -d '{ "model": "gemini-omni-flash", "prompt": "A glass marble rolls down a wooden track", "duration": 10, "aspect_ratio": "16:9" }'{
"code": 200,
"data": {
"task_id": "string",
"status": "not_started",
"created_time": "string",
"error_message": "string"
}
}{
"code": 0,
"error": {
"message": "string",
"type": "string"
}
}Empty
Empty
Empty
Empty
这篇文档对您有帮助吗?
最后更新于