Skip to main content
ABot World Halo from AMAP turns a picture and a scene description into a game world you can play. Give it a first frame, up to five pictures of your character, and a scene prompt. Then walk, look around, and trigger actions, either from the built-in set or from an action prompt you write. You can also change the scene while it plays. Video and sound stream together, and a session runs until you reset or leave. This reference has four pages: this overview, the schema, the prompt guide, and a tutorial. The typed SDK, @reactor-models/abot-world-halo, gives you AbotWorldHaloModel: a client with a named method for every command and typed messages back.

At a glance

Key features

Play a character

Walk with WASD-style movement and turn the view. Each change applies from the next chunk.

Hold actions

Sprint, jump, crouch, cast, or describe an action of your own and hold it like a key.

Change the scene live

Send a new scene prompt while the world plays. Video and its matching sound keep streaming.

Quick start

Scaffold the example project with create-reactor-app. The tutorial walks through the same steps in your own app.
The example app uses the typed SDK, @reactor-models/abot-world-halo. For your own browser code, install that package:
Your server issues the session token. See Authentication. Then connect, set the inputs, and start:

How it works

  1. Connect a session and attach main_video and main_audio.
  2. In idle, set a first frame and a scene prompt. Character pictures, a seed, and a resolution are optional.
  3. Call start. The state moves to running, and generation_started arrives with the first chunk.
  4. Send set_move, set_look, and set_action as the player presses and releases keys. Send set_prompt to change the scene. Each change applies from the next chunk.
  5. Call reset to end the session and clear every input. Leaving also ends it.