Skip to main content
HappyOyster

Overview

HappyOyster is a real-time interactive open-world model. From a single natural-language prompt and a first-frame image, it generates a digital world you can perform, explore, and interact with in real time, delivered as a joinable live video stream. Well-suited to interactive drama, film previsualization, AI companions, and playable worlds.

Introduction

HappyOyster offers three experience modes, each deployed independently to cover different scenarios:
ModeInputInteraction
AdventurePrompt + first-frame image (landscape)Directional / camera / action commands (sendCommand)
DirectingPrompt or structured script + first-frame image (landscape), optional reference images (used for script generation and character reference)Text instructions (sendInstruct) / script list; supports pause, rewind, resume
ActingPrompt + first-frame image (portrait 9:16 by default, 16:9 also supported)Text instructions (sendInstruct); supports pause and resume; does not support rewind

Architecture

HappyOyster uses a server + client integration model:
  • Your server manages the full World lifecycle through the HappyOyster Open APIs (with the primary API Key, over standard HTTPS REST): create / manage worlds, exchange credentials, and query history and artifacts. The Open APIs are split by experience mode into three separate suites: Adventure, Directing, and Acting.
  • Your client delivers the real-time experience through the HappyOyster SDK (with a temporary API Key + ticket, over an RTC real-time audio / video channel), supporting Android, iOS, and Web. The SDK encapsulates the RTC connection, video playback, status polling, and interactive commands, so you do not have to work with the underlying real-time protocol directly.
image
All endpoints are authenticated through the Alibaba Cloud QwenCloud gateway. For the credential model and how to obtain them, see Get Authentication Credentials.

Open API and SDK

Responsibilities

DimensionServer-side HappyOyster Open APIClient-side HappyOyster SDK
CallerYour backendYour app or web frontend
CredentialsPrimary API Key (long-term, held only on the server)Temporary API Key (token) + one-time ticket (short-lived)
Core responsibilitiesWorld management (create, status polling, query, delete); credential exchange; Travel control; artifact queryRTC connection and video rendering; real-time interaction commands; session control; status callbacks
CommunicationStandard HTTPS RESTRTC real-time audio / video channel (encapsulated inside the SDK)
Supported platformsAny backend language (Python, Java, Node.js, etc.)Android, iOS, Web

Capability Map

CapabilityOpen API (server)SDK (client)
Create / manage WorldSupportedNot supported
Poll world build statusSupportedNot supported
Exchange ticketSupportedNot supported (consumes ticket)
Inject HTTP auth tokenNot supportedSupported (updateToken)
Enter room + RTC connectionSupported (invoked internally by the SDK)Supported (Travel start, encapsulated inside the SDK)
Real-time video playbackNot supportedSupported (attach the SDK-provided video view; for Acting, use the returned aspectRatio to set portrait / landscape orientation)
Status pollingSupported (invoked internally by the SDK)Supported (surfaced via status callbacks)
Directing / Acting text instructionsSupported (instruct)Supported (sendInstruct)
Adventure control commandsNot supportedSupported (sendCommand; not available in Acting)
Pause / resumeSupportedSupported (Directing and Acting; Adventure calls are rejected by the SDK with 103003)
RewindSupported (rewind; Directing only)Supported (Directing only; other modes are rejected with 103003)
End the experienceSupportedSupported (Travel end, encapsulated inside the SDK)
Update script (ScriptList)Supported (update-script; Directing scriptlist only. Acting and Directing simple calls return 409000)Not supported
Query Travel historySupportedNot supported
Retrieve video artifactsSupportedNot supported
The SDK is not responsible for creating or managing worlds. The Directing script (Script List) mode is available only on the server side; the SDK only handles streaming, playback, and text instruction input.

Scenarios

ScenarioRecommended ModeKey server APIKey client SDK capability
Interactive games / playable worldsAdventureCreate world → credential exchangesendCommand + status callbacks
AI companion / virtual guideAdventureCreate with first-frame image + promptReal-time experience + video view
Interactive short drama / film previsualizationDirectingsimple prompt or scriptlist structured scriptsendInstruct + pause / rewind
Video-call / portrait companionActingRequired prompt + firstFrameImage, optional aspectRatiosendInstruct + pause / resume (no rewind)
Content platform / derivative creationDirectingartifacts export after the session endsExperience + server-side artifact retrieval
Educational simulationAdventureBuild the scene with a first-frame image + promptFast room entry experience

Limitations

  • Aspect ratio rules:
    • Adventure: firstFrameImage is required; the video aspect ratio follows the first-frame image.
    • Directing: firstFrameImage is optional in simple sub-mode and required in scriptlist sub-mode. When supplied, it must be landscape (width / height 1.5–2.0) and the aspect ratio follows the first-frame image; any aspectRatio value passed at creation time is ignored.
    • Acting: firstFrameImage is required; the aspect ratio is controlled by aspectRatio at creation time, defaulting to 9:16 (portrait), and 16:9 may be passed explicitly. This field is echoed on room entry and in world details, and the client should set the player orientation accordingly. The first-frame aspect ratio must match the target aspect ratio, otherwise 400000 is returned.
  • Cross-model access: A World and a Travel are strictly bound to the model that created them; cross-model access returns 403001 (world) or 404000 (travel).
  • Mode differences: Acting does not support rewind (rewind) or sendCommand; calling pause / resume in Adventure returns 103003.

Glossary

  • World: A complete definition of a digital world, including characters, scenes, and scripts. A World can be pre-built and reused; it is the foundation of every experience.
  • Travel: A real-time experience session initiated from a World. It generally goes through the stages "initialize → prepare → running → (optionally pause / rewind) → end"; the exact status values are per-SDK — see the corresponding SDK API reference.
  • ticket: A one-time room entry credential issued by the server and delivered to the client.
  • token (temporary API Key): The HTTP-layer credential for the client SDK, signed by the server and injected into the SDK; must be periodically renewed.

Check Model Usage

The console's "Model Usage" module does not yet cover world-model usage statistics. View your usage on the Billing and cost management page instead.

Next Steps

Overview - QwenCloud