Choose a first frame
The first frame is the opening picture of the world, so it sets the place, the style, and where the character stands. Atstart the image is scaled to cover 832 × 480 and center-cropped. Use a
landscape picture close to that shape and keep the character away from the edges.
Show the character in the frame, seen from behind or over the shoulder, as in a third-person game.
Leave open ground ahead of it, so the first steps have somewhere to go.
Write the scene prompt
The scene prompt describes the world in plain English. It can be up to 1,024 tokens. Describe what the first frame shows and what should stay true as the character moves:- Name the place and its visual style.
- Describe the lighting, time of day, and weather.
- Name the character and what it wears or carries.
- Mention what lies beyond the first view, so new areas match.
A cool fantasy level.
A third-person fantasy game. A young wizard in a dark blue robe walks through the courtyard of a
stone castle at dusk. Torches burn along the walls, and a covered walkway leads toward a tall arched
gate. Painterly style with warm torchlight and cool blue shadows.
Keep actions out of the scene prompt. Movement comes from set_move and set_look, and actions
come from set_action.
Change the scene live
During a session,set_prompt replaces the scene for every later chunk. Write the whole scene
again with the change in it, not the change alone. Keep the character and the place the
same unless you want them to change.
Make it snow.
A third-person fantasy game. A young wizard in a dark blue robe walks through the courtyard of a
stone castle at night. Heavy snow falls and settles on the stones, and lanterns glow along the
walls. Painterly style with cold blue light.
A live scene has less room than the first one. applied.scene_max_tokens in state_update gives
the limit for the current session, so keep live scenes about as long as the opening one. Each
chunk_complete reports the scene it ran with, which shows when your change took effect.
Write a custom action
Six preset actions are ready to use:sprint, shield, jump, energy_projectile, crouch, and
repeated_casting. For anything else, send set_action with name: "custom" and your own text,
up to 512 tokens.
The presets show the style that works. Start with “The character”, then describe the motion in the
order it happens. For a skill or spell, describe the stance, the effect, and how it ends:
Attack!
The character unleashes a skill - The caster plants the feet and sweeps the wand upward. A ring of
pale green light spreads across the ground around the caster and rises into a thin wall of sparks.
The sparks drift upward and fade, and the caster lowers the wand into a ready position.
For movement-style actions, tie the motion to the movement controls, the way sprint and crouch
do:
The character rolls forward in the direction indicated by the movement controls, tucks the shoulders, and comes back up to a run.Hold an action for as long as it should last, then send
none. A custom text is prepared the first
time a session uses it, so the first chunk with it takes longer. The same text is quicker after
that.
Character pictures
set_references takes up to five pictures of the playable character. The model keeps the
character’s look to them for the whole session. Send them in this order, as far as you have them:
- Head
- Left side
- Right side
- Front
- Back
Five pictures of different outfits, in no particular order, one of them a 3:1 strip.
The same wizard in the same robe, shown as a head close-up, then left, right, front, and back
full-body views, each cropped to the character.
Match the pictures to the character in the first frame. When they disagree, the result can drift
between the two looks.