Skip to content

Commit a10e47e

Browse files
committed
feat: update params for google video models
1 parent dfba4f2 commit a10e47e

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

  • shared/snippets/google/create-text-to-video-generation

shared/snippets/google/create-text-to-video-generation/js.hbs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ const main = async () => {
88
body: JSON.stringify({
99
model: '{{model}}',
1010
prompt: 'A DJ on the stand is playing, around a World War II battlefield, lots of explosions, thousands of dancing soldiers, between tanks shooting, barbed wire fences, lots of smoke and fire, black and white old video: hyper realistic, photorealistic, photography, super detailed, very sharp, on a very white background',
11-
aspect_ratio: '16:9',
12-
duration: '8',
1311
}),
1412
}).then((res) => res.json());
1513

shared/snippets/google/create-text-to-video-generation/py.hbs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ def main():
66
payload = {
77
"model": "{{model}}",
88
"prompt": "A DJ on the stand is playing, around a World War II battlefield, lots of explosions, thousands of dancing soldiers, between tanks shooting, barbed wire fences, lots of smoke and fire, black and white old video: hyper realistic, photorealistic, photography, super detailed, very sharp, on a very white background",
9-
"aspect_ratio": "16:9",
10-
"duration": "8",
119
}
1210
headers = {"Authorization": "Bearer {{apiKey}}", "Content-Type": "application/json"}
1311

0 commit comments

Comments
 (0)