Spaces:
Paused
Paused
Commit
•
77faa2b
1
Parent(s):
78d1d5a
adding more ideas
Browse files- src/app/main.tsx +15 -8
src/app/main.tsx
CHANGED
@@ -5,19 +5,24 @@ import { useEffect, useState, useTransition } from "react"
|
|
5 |
import { VideoPlayer } from "@/components/business/video-player"
|
6 |
import { renderScene } from "./renderScene"
|
7 |
|
8 |
-
const initialScene = `medium shot of a single clownfish idling near a yellow coral, underwater footage, the clownfish is in the middle of the screen`
|
9 |
|
10 |
const actions = [
|
11 |
"idling",
|
12 |
-
"
|
|
|
|
|
13 |
"escaping an octopus",
|
14 |
-
"
|
15 |
-
"eating
|
|
|
|
|
16 |
]
|
17 |
|
18 |
const positions = [
|
|
|
|
|
19 |
"centered in the middle",
|
20 |
-
"
|
21 |
"hiding in the coral"
|
22 |
]
|
23 |
|
@@ -28,9 +33,11 @@ const getScene = () => {
|
|
28 |
const position = pick(positions)
|
29 |
|
30 |
const prompt = [
|
31 |
-
`medium shot of a
|
32 |
-
|
33 |
-
|
|
|
|
|
34 |
].join(", ")
|
35 |
|
36 |
return {
|
|
|
5 |
import { VideoPlayer } from "@/components/business/video-player"
|
6 |
import { renderScene } from "./renderScene"
|
7 |
|
|
|
8 |
|
9 |
const actions = [
|
10 |
"idling",
|
11 |
+
"making bubbles",
|
12 |
+
"making circles",
|
13 |
+
"opening and closing its mouth",
|
14 |
"escaping an octopus",
|
15 |
+
"playing with another fish",
|
16 |
+
"eating fishfood",
|
17 |
+
"eating a crab",
|
18 |
+
"attacked by a jellyfish"
|
19 |
]
|
20 |
|
21 |
const positions = [
|
22 |
+
"at the top of the coral",
|
23 |
+
"at the bottom of the coral",
|
24 |
"centered in the middle",
|
25 |
+
"burrowing in the sand",
|
26 |
"hiding in the coral"
|
27 |
]
|
28 |
|
|
|
33 |
const position = pick(positions)
|
34 |
|
35 |
const prompt = [
|
36 |
+
`medium shot of a clownfish`,
|
37 |
+
action,
|
38 |
+
position,
|
39 |
+
`in front of yellow coral`,
|
40 |
+
`high res underwater footage`,
|
41 |
].join(", ")
|
42 |
|
43 |
return {
|