Acting (Invitational Preview)
HappyOyster-Acting-Query World Build Status API Reference
Query the build progress of an Acting World. The API returns the encrypted World ID, build status, and first-frame URL; the client polls until the World enters ready.
GET / api / v2 / apps / happyoyster-1.0-acting / openapi / v1 / worlds / build-status
cURL - Query World build status
curl --location 'https://dashscope-intl.aliyuncs.com/api/v2/apps/happyoyster-1.0-acting/openapi/v1/worlds/build-status?encryptedWorldId={encryptedWorldId}' \
-H "Authorization: Bearer $DASHSCOPE_API_KEY "
{
"code" : 0 ,
"message" : null ,
"data" : {
"encryptedWorldId" : "enc_a1b2****" ,
"status" : "generating" ,
"firstFrame" : null
}
}
Scope
Query the build progress of an Acting World. Before calling, confirm the following:
Authentication : The primary API Key is not required ; either the primary or a temporary API Key can call this endpoint.
Prerequisites : Query with the encryptedWorldId returned by Create World . You can start querying from the generating state; the World does not need to be fully built.
Caller : Either your server or your client can call it.
If the model call fails and returns an error, see HappyOyster Error Codes to resolve it.
Authorizations
QwenCloud API Key. Only the primary API Key (sk- prefix) is supported. See Get an API Key .
Header Parameters
API Key authentication. The primary API Key is not required; either the primary or a temporary API Key can call it.
Primary API Key: starts with sk-, e.g. sk-xxx.
Temporary API Key: starts with st-, e.g. st-xxx.
Query Parameters
The Acting encrypted World ID returned by Create World.
Return code. 0 means success; non-zero is an error code.
Error message. null on success.
Response data. null on failure.
Build status: generating (building), ready (ready; you can exchange for a travel credential and enter the room), failed (build failed).
Available options: generating , ready , failed
World first-frame URL; null when not yet generated or when the build failed.
World name. Returned only when status=ready.
Always 3 for Acting. Returned only when status=ready.
HappyOyster-Acting-Get Travel Credential API Reference
A third-party server uses the primary API Key to exchange for a short-lived, single-use ticket, then securely delivers it to the client. This endpoint only validates World ownership, status, and quota; it does not create a Travel.
cURL - Query World build status
curl --location 'https://dashscope-intl.aliyuncs.com/api/v2/apps/happyoyster-1.0-acting/openapi/v1/worlds/build-status?encryptedWorldId={encryptedWorldId}' \
-H "Authorization: Bearer $DASHSCOPE_API_KEY "
{
"code" : 0 ,
"message" : null ,
"data" : {
"encryptedWorldId" : "enc_a1b2****" ,
"status" : "generating" ,
"firstFrame" : null
}
}