google-omni-flash (asynchronous · Vincent Video)
POST
/v1beta/interactionsBody Parametersapplication/json
model* string
background* boolean
input* string
text-to-videoPrompt
store boolean
whether to save Interaction; cannot be false for async
stream boolean
true is not supported; omit or set false
response_format object
generation_config object
Responses
200 OK application/json
response-200 object
400 Bad request or validation failed application/json
response-400 object
properties error* object
401 Missing or invalid API Key application/json
response-401 object
1{
2"model": "gemini-omni-flash-preview",
3"background": true,
4"input": "生成一段 16:9 的海边日出延时视频,固定机位,光线自然,不出现文字。",
5"generation_config": {
6"video_config": {
7"task": "text_to_video"
8}
9},
10"response_format": {
11"type": "video",
12"aspect_ratio": "16:9",
13"delivery": "uri"
14}
15}
1curl -X POST "https://api.digislash.com/v1beta/interactions" \
2-H "Authorization: Bearer <API Key>" \
3-H "Content-Type: application/json" \
4-d '{
5"model": "gemini-omni-flash-preview",
6"background": true,
7"input": "生成一段 16:9 的海边日出延时视频,固定机位,光线自然,不出现文字。",
8"generation_config": {
9"video_config": {
10"task": "text_to_video"
11}
12},
13"response_format": {
14"type": "video",
15"aspect_ratio": "16:9",
16"delivery": "uri"
17}
18}'
1▼{
2"id": "v1_example_interaction_id",
3"status": "in_progress",
4"object": "interaction",
5"model": "gemini-omni-flash-preview"
6}
