Spaces:
Paused
Paused
File size: 1,050 Bytes
734f3d3 bf6568f 68cf43c bf6568f 734f3d3 bf6568f 734f3d3 bf6568f 734f3d3 68cf43c 734f3d3 bf6568f 734f3d3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
import { pick } from "./pick"
import { Agent, Scene } from "./types"
const actions = [
"idling",
"making bubbles",
"making circles",
"opening and closing its mouth",
// "with an octopus",
"playing with another fish",
"eating fishfood",
"eating a crab",
"attacked by a jellyfish"
]
const positions = [
"at the top of the coral",
"at the bottom of the coral",
"centered in the middle",
"burrowing in the sand",
"hiding in the coral"
]
const lights = [
"during the day",
]
const actionnables = [
"fish",
"coral",
"sand"
]
export const agent: Agent = {
title: "Fish",
type: "fish",
simulate: (): Scene => {
const action = pick(actions)
const position = pick(positions)
const light = pick(lights)
const prompt = [
`medium shot of a clownfish`,
action,
position,
light,
`in front of yellow coral`,
`high res`,
`underwater footage`,
].join(", ")
return {
action,
position,
light,
actionnables,
prompt
}
}
} |