Query the full metadata and echoable creation parameters of a single Acting World. For build-progress polling, use the Query World Build Status endpoint.
Scope
Query the full metadata and echoable creation parameters of a single Acting World. Before calling, confirm the following:
-
Authentication: Only the primary API Key is supported; temporary API Keys cannot be used (error code
403003).- Get the primary API Key: Get and configure an API Key.
-
Prerequisites: Query with the
encryptedWorldIdreturned by Create World. For build-progress polling, use Query World Build Status. - Caller: Called by your server.
HTTP request
- Singapore
- US (Virginia)
GET https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-acting/openapi/v1/worlds/detailReplace {WorkspaceId} with your actual Workspace ID.Request parameters |
|
Authorization string (Required)API Key authentication. Only the primary API Key is supported; it starts with sk-, e.g. sk-xxx. It is typically configured as the environment variable $DASHSCOPE_API_KEY. A temporary API Key (starting with st-) returns 403003. | |
Query parameters | |
encryptedWorldId string (Required)An Acting encrypted World ID under the current primary account. Returned by Create World. |
Response parameters | Query succeeded |
code integerReturn code. 0 means success; non-zero is an error code. | |
message stringError message. null on success. | |
data objectResponse data. null on failure.
Properties encryptedWorldId stringEncrypted World ID.name stringWorld name.status stringBuild status: generating / ready / failed.mode integerAlways 3 for Acting.creationModel stringAlways simple for Acting.prompt stringThe top-level prompt submitted at creation.eventStyle stringA compatibility return field; when a compliant creation omits this field, the server usually maps it from uploadMode and echoes first_frame. It is not an Acting creation parameter, and clients should not send it back.perspective nullActing does not accept a perspective creation parameter; fixed to null.uploadMode stringFixed to first_frame.resolution string480p / 720p; 480p if not passed at creation.aspectRatio string9:16 / 16:9; 9:16 if not passed at creation.layout nullActing does not accept this creation parameter; fixed to null.narrative nullActing does not accept this creation parameter; fixed to null.refWorldId stringThe Acting encrypted reference World ID used for a derived creation; null if none.firstFrameImage objectThe required first-frame image at creation; returned in URL form only, base64 is not returned. Contains url and referenceType.inputImages nullActing does not currently use this field.sceneImage nullActing does not use the scene/role image slots; fixed to null.roleImage nullActing does not use the scene/role image slots; fixed to null.scenePrompt nullActing does not use scene/role prompts; fixed to null.rolePrompt nullActing does not use scene/role prompts; fixed to null.scriptList nullActing does not support ScriptList; fixed to null.previewUrl nullCurrently fixed to null.createdAt stringCreation time, in ISO 8601 format.updatedAt stringLast update time, in ISO 8601 format. |
Prerequisite states and call notes
- This endpoint can query a
generating,ready, orfailedWorld; some build artifacts may benullbefore they are ready. - The detail endpoint does not echo
async, because it is a call-behavior switch, not a World attribute. - Images are returned only as URL and
referenceType; the base64 content in the creation request is not returned. eventStyleusually has the same value asuploadMode; clients should treatuploadModeas the authoritative field for the Acting creation mode.- The player can pre-read
aspectRatio, but when actually entering the room it should still set the orientation from the Enter Travel response value. - Querying a World from another model, another primary account, or one that has been deleted all return
403001, without revealing whether the resource exists.
Error codes
If the model call fails and returns an error, see HappyOyster Error Codes to resolve it.
Next steps
- Query World List: paginate through all Acting Worlds.
- Delete World: delete a World you no longer use.
- When the World is
ready, you can Get Travel Credential.