Skip to content

Commit a029623

Browse files
authored
feat: update google video snippets
feat: update google video snippets
2 parents a1cf585 + a10e47e commit a029623

4 files changed

Lines changed: 0 additions & 8 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ const main = async () => {
99
model: '{{model}}',
1010
image_url: 'https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg',
1111
prompt: 'Mona Lisa puts on glasses with her hands.',
12-
aspect_ratio: '16:9',
13-
duration: '5',
1412
}),
1513
}).then((res) => res.json());
1614

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ def main():
77
"model": "{{model}}",
88
"prompt": "Mona Lisa puts on glasses with her hands.",
99
"image_url": "https://s2-111386.kwimgs.com/bs2/mmu-aiplatform-temp/kling/20240620/1.jpeg",
10-
"aspect_ratio": "16:9",
11-
"duration": "5",
1210
}
1311
headers = {"Authorization": "Bearer {{apiKey}}", "Content-Type": "application/json"}
1412

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)